/* Location landing pages use the homepage design. Baseline: home-redesign.css v71. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(
      circle at 75% 12%,
      rgba(25, 200, 255, 0.06),
      transparent 26rem
    ),
    var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

::selection {
  color: #031019;
  background: var(--brand);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

#main-content > section {
  padding: 0;
}

#main-content > .section {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

.sr-only {
  position: absolute;
  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;
  left: 18px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: #031019;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 400;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  box-shadow: 0 0 18px rgba(25, 200, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  animation: page-progress linear both;
  animation-timeline: scroll(root block);
}

@keyframes page-progress {
  to {
    transform: scaleX(1);
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--white);
  font-family: "Clash Display", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 6vw, 4.75rem);
  line-height: 0.96;
}

h1 span {
  color: var(--brand);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-page #main-content .eyebrow {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 400;
  box-shadow: inset 0 -1px var(--line-brand);
  transition:
    color 180ms ease,
    box-shadow 180ms ease;
}

.text-link:hover {
  color: var(--brand);
  box-shadow: inset 0 -1px var(--brand);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    backdrop-filter 200ms ease;
}

.site-header.is-scrolled,
.site-header:has(.mobile-nav:not([hidden])) {
  border-color: var(--line);
  background: rgba(6, 9, 17, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  height: var(--header-height);
  align-items: center;
  gap: 20px;
}

.logo {
  position: relative;
  display: block;
  flex: 0 0 156px;
  width: 156px;
  height: 40px;
  overflow: hidden;
}

.logo img {
  width: 156px;
  height: 156px;
  max-width: none;
  transform: translateY(-56px);
}

.desktop-nav {
  display: none;
}

.desktop-nav > a,
.nav-group > summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  color: rgba(248, 251, 255, 0.78);
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1;
  list-style: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-group > summary span {
  color: var(--brand);
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.nav-group[open] > summary span {
  transform: rotate(45deg);
}

.desktop-nav > a:hover,
.nav-group > summary:hover,
.desktop-nav > a[aria-current="page"] {
  color: var(--white);
}

.nav-group {
  position: relative;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  display: grid;
  width: 230px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 14, 26, 0.98);
  box-shadow: 0 24px 70px rgba(0, 8, 18, 0.42);
}

.nav-panel a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.25;
}

.nav-panel a:hover {
  color: var(--white);
  background: rgba(25, 200, 255, 0.08);
}

.nav-group-wide .nav-panel,
.nav-group-locations .nav-panel {
  grid-template-columns: 1fr 1fr;
  width: 410px;
}

.nav-group-locations .nav-panel {
  right: -40px;
  left: auto;
}

.nav-cta {
  display: none;
  margin-left: auto;
}

.menu-button {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 13px 11px;
  place-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20px;
  height: 1px;
  background: var(--white);
  transition: transform 180ms ease;
}

.menu-button > span:nth-child(2) {
  transform: translate(-50%, -4px);
}

.menu-button > span:nth-child(3) {
  transform: translate(-50%, 4px);
}

.menu-button[aria-expanded="true"] > span:nth-child(2) {
  transform: translate(-50%, 0) rotate(45deg);
}

.menu-button[aria-expanded="true"] > span:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg);
}

.mobile-nav {
  height: calc(100dvh - var(--header-height));
  padding: 18px 20px 42px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
  background: rgba(6, 9, 17, 0.98);
}

.mobile-nav > a,
.mobile-nav summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  cursor: pointer;
  font-family: "Clash Display", Arial, sans-serif;
  font-size: 1.1rem;
  list-style: none;
}

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

.mobile-nav details a {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding-left: 16px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav .mobile-demo {
  justify-content: center;
  margin-top: 20px;
  border: 0;
  border-radius: 999px;
  color: #031019;
  background: var(--brand);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100dvh;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  opacity: 0.28;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 76% 44%,
      rgba(25, 200, 255, 0.2),
      transparent 10rem
    ),
    radial-gradient(
      circle at 76% 44%,
      rgba(25, 200, 255, 0.08),
      transparent 28rem
    ),
    linear-gradient(
      90deg,
      rgba(6, 9, 17, 0.99) 0%,
      rgba(6, 9, 17, 0.92) 46%,
      rgba(6, 9, 17, 0.58) 100%
    ),
    var(--ink);
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: -16%;
  background-image:
    linear-gradient(rgba(25, 200, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 200, 255, 0.12) 1px, transparent 1px),
    linear-gradient(
      135deg,
      transparent 47%,
      rgba(25, 200, 255, 0.14) 49%,
      transparent 51%
    );
  background-size:
    70px 70px,
    70px 70px,
    210px 210px;
  -webkit-mask-image: radial-gradient(
    circle at 76% 46%,
    #000 0%,
    transparent 63%
  );
  mask-image: radial-gradient(circle at 76% 46%, #000 0%, transparent 63%);
  transform: perspective(900px) rotateX(58deg) rotateZ(-18deg) scale(1.25);
  transform-origin: 74% 48%;
}

.hero-image::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12%;
  width: clamp(220px, 33vw, 500px);
  aspect-ratio: 1;
  border: 1px solid rgba(25, 200, 255, 0.5);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(25, 200, 255, 0.08),
    0 0 90px rgba(25, 200, 255, 0.18),
    0 0 180px rgba(25, 200, 255, 0.1);
  transform: translateY(-50%);
  animation: hero-sphere-breathe 7s ease-in-out infinite;
}

@keyframes hero-sphere-breathe {
  0%,
  100% {
    opacity: 0.74;
    transform: translateY(-50%) scale(0.96);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.045);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + 34px);
  padding-bottom: 48px;
}

.hero-copy {
  max-width: 820px;
}
.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 40px;
  color: rgba(248, 251, 255, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button .button-avatar {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.home-page .button.button-with-avatar {
  position: relative;
  min-height: 3.125rem;
  padding: 0.75rem 1.375rem 0.75rem 3.5rem;
}
.button-with-avatar .button-avatar {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 760px) {
  .home-page .button.button-with-avatar {
    width: fit-content;
    max-width: 100%;
    flex: 0 0 auto;
    margin-inline: auto;
    justify-self: center;
  }
}
@media (max-width: 679px) {
  .home-page .button.button-with-avatar {
    justify-content: center;
    gap: 8px;
    padding: 0.5rem 1.375rem;
    text-align: center;
  }
  .home-page .button-with-avatar .button-avatar {
    position: static;
    order: 1;
    transform: none;
  }
  .home-page .home-contact-actions {
    justify-content: center;
  }
}
@media (min-width: 680px) and (max-width: 760px) {
  .home-page .business-fit__action .button-with-avatar {
    justify-content: center;
    gap: 8px;
    padding: 0.5rem 1.375rem;
    text-align: center;
  }
  .home-page .business-fit__action .button-avatar {
    position: static;
    order: 1;
    transform: none;
  }
}
.home-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.process-actions .home-contact-actions {
  justify-content: center;
}

.quote-reassurance,
.pricing-hero .quote-reassurance,
.final-actions .quote-reassurance {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.75rem 0 0;
}
.final-actions .quote-reassurance {
  max-width: 20rem;
  margin: 0;
}
.pricing-hero .quote-reassurance {
  margin-inline: auto;
  text-align: center;
}

.hero-google-rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-top: 1.75rem;
  min-height: 44px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
}
.hero-google-rating__stars {
  color: var(--brand);
  letter-spacing: 0.12em;
}
.hero-google-rating__link {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.hero-google-rating:hover .hero-google-rating__link {
  color: var(--brand);
}
@media (prefers-reduced-motion: reduce) {
  .hero-google-rating__link {
    transition: none;
  }
}

.proof-strip {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--line);
  background: var(--ink-2);
}

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

.proof-grid > * {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  justify-content: center;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}

.proof-grid > :last-child {
  border-right: 0;
}

.proof-grid strong {
  color: var(--white);
  font-family: "Clash Display", Arial, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1;
}

.proof-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.proof-grid a:hover strong {
  color: var(--brand);
}

.trust-star {
  color: var(--brand);
  font: inherit;
}

/* Who SemDev works with */
.business-fit__heading {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.business-fit__heading h2 {
  margin-bottom: 0;
}
.home-page h2 .heading-accent {
  color: var(--brand);
}
.business-fit__heading .inline-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.home-page #main-content .portfolio-heading .eyebrow {
  color: var(--muted);
}
.business-fit__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.business-fit__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--radius);
  box-shadow: 0 18px 32px -14px rgba(0, 0, 0, 0.75);
}
.business-fit__panel--yes {
  background: linear-gradient(145deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-brand);
}
.business-fit__panel--other {
  background: var(--ink);
  border: 1px solid var(--line);
}
.business-fit__panel h3 {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0;
  padding-bottom: 1.25rem;
}
.business-fit__panel--yes h3 {
  color: var(--brand);
  font-size: 1.15rem;
}
.business-fit__panel--other h3 {
  color: var(--muted);
}
.business-fit__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.business-fit__list li {
  display: flex;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}
.business-fit__icon {
  display: grid;
  place-items: center;
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
}
.business-fit__icon svg {
  width: 1rem;
  height: 1rem;
}
.business-fit__panel--other .business-fit__icon {
  background: var(--ink-3);
  color: var(--muted);
}
.business-fit__list p {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
.business-fit__panel--other
  :is(
    .business-fit__list p,
    .business-fit__resources strong,
    .business-fit__resources p
  ) {
  color: var(--muted);
}
.business-fit__action,
.business-fit__resources {
  margin-top: auto;
}
.business-fit__action p {
  max-width: 22rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.business-fit__resources {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.business-fit__resources strong {
  color: var(--white);
  font-weight: 500;
}
.business-fit__resources p {
  margin: 0.5rem 0 1rem;
  font-size: 1rem;
}
.business-fit__resources .text-link {
  font-size: 1rem;
  transition:
    color 0.3s,
    box-shadow 0.3s;
}
@media (max-width: 760px) {
  .business-fit__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .business-fit__list {
    margin-bottom: 1.5rem;
  }
  .business-fit__action .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

.demo-section {
  background: var(--ink);
}

.demo-layout {
  display: grid;
  gap: 48px;
}

.demo-portrait {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line-brand);
  border-radius: var(--radius);
  background: var(--ink-3);
}

.demo-portrait::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(6, 9, 17, 0.92));
}

.demo-portrait img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 22%;
}

.portrait-meta {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.portrait-meta strong {
  color: var(--white);
  font-family: "Clash Display", Arial, sans-serif;
  font-size: 1.55rem;
}

.portrait-meta span {
  color: var(--muted);
  font-size: 0.88rem;
}

.demo-copy {
  align-self: center;
}

.demo-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1rem;
}

.services-section {
  background: var(--ink-2);
}

.services-layout {
  display: grid;
  gap: 52px;
}

.services-heading {
  max-width: 650px;
}

.services-heading > p {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-list {
  border-top: 1px solid var(--line-brand);
}

.service-list article {
  display: grid;
  gap: 22px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-list article > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--brand);
  font-weight: 400;
}

.portfolio-section {
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 36rem 28rem at 100% 18%,
      rgba(25, 200, 255, 0.055),
      transparent 75%
    ),
    radial-gradient(
      ellipse 36rem 30rem at 0% 52%,
      rgba(25, 200, 255, 0.045),
      transparent 75%
    ),
    radial-gradient(
      ellipse 32rem 26rem at 100% 88%,
      rgba(25, 200, 255, 0.05),
      transparent 75%
    ),
    var(--ink);
}

.portfolio-heading {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.portfolio-heading h2 {
  max-width: 820px;
}

.portfolio-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 550px;
}

.portfolio-list {
  display: grid;
  gap: clamp(5rem, 10vw, 9rem);
}

.project {
  display: grid;
  min-width: 0;
  gap: 34px;
  align-items: center;
}

.project-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink-3);
}

.project-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 700ms var(--ease);
}

@media (max-width: 899px) {
  .home-page .project-image {
    background: transparent;
  }
}

.project:hover .project-image img {
  transform: scale(1.025);
}

.project-copy > p:first-child {
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-copy > p:not(:first-child) {
  max-width: 500px;
  color: var(--muted);
}

.project-copy dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0 0;
}

.project-copy dl div {
  padding-top: 18px;
  border-top: 1px solid var(--line-brand);
}

.project-copy dt {
  color: var(--white);
  font-family: "Clash Display", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.project .text-link {
  padding-top: 2rem;
}

.project-copy dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.portfolio-action {
  margin-top: 60px;
  text-align: center;
}

.reviews-section {
  background: linear-gradient(180deg, #0c1623, #0a131f);
}

.reviews-shell {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.reviews-summary {
  max-width: 30rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.review-google-link {
  margin-top: 2rem;
}

/* Shared surfaces and spacing for the offer, ongoing work and build process. */
.home-offer,
.home-growth,
.process-section {
  --home-card-background: linear-gradient(
    135deg,
    #102033,
    #0d1a2a 45%,
    #0b1624
  );
  --home-card-radius: 16px;
  --home-card-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.65);
  --home-card-padding: clamp(1.75rem, 3.5vw, 2.75rem);
  --home-card-heading-size: 1.25rem;
}
.home-offer .offer-deliverable,
.home-offer .offer-inclusions,
.home-growth__layout,
.process-track > li {
  padding: var(--home-card-padding);
  border-radius: var(--home-card-radius);
  background: var(--home-card-background);
  box-shadow: var(--home-card-shadow);
}

/* Complete website overview — adapted from the demo landing page, scoped to the homepage. */
.home-offer {
  --offer-line: #26384c;
  --offer-muted: #a4b0bf;
  --offer-text: #c9d1dc;
  background: #08101b;
}
#main-content > .home-offer {
  padding-block: 112px;
}
.home-offer-inner {
  max-width: 70rem;
}
.home-offer :is(h2, h3, p) {
  margin: 0;
}
.home-offer p {
  color: var(--offer-text);
  line-height: 1.65;
}
.home-offer .ph {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: currentColor;
  vertical-align: -0.125em;
}
.home-offer .offer-heading {
  max-width: 870px;
  margin-bottom: 48px;
}
.home-offer .offer-heading .eyebrow {
  margin-bottom: 24px;
  color: var(--brand);
}
.home-offer .offer-heading h2 {
  letter-spacing: -0.025em;
  line-height: 1.06;
}
.home-offer .offer-heading p:not(.eyebrow) {
  max-width: 630px;
  margin-top: 22px;
  color: var(--offer-muted);
}
.home-offer .offer-purpose {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 30px 0;
  margin: 0 0 48px;
  list-style: none;
  border-block: 1px solid var(--offer-line);
}
.home-offer .offer-purpose li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-inline: 26px;
}
.home-offer .offer-purpose li:first-child {
  padding-left: 0;
}
.home-offer .offer-purpose li:last-child {
  padding-right: 0;
}
.home-offer .offer-purpose li + li {
  border-left: 1px solid var(--offer-line);
}
.home-offer .offer-purpose > li > .ph {
  color: var(--brand);
  font-size: 1.65rem;
  margin-top: 2px;
}
.home-offer .offer-purpose h3 {
  font-size: 1.5rem;
}
.home-offer .offer-purpose p {
  font-size: 0.9rem;
  color: var(--offer-muted);
  margin-top: 10px;
  line-height: 1.6;
}
.home-offer .offer-package {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}
.home-offer .offer-page-count {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin: 0 0 32px;
}
.home-offer .offer-page-count strong {
  font-family: var(--headerFont);
  font-size: 3rem;
  line-height: 0.85;
  color: var(--brand);
  letter-spacing: -0.04em;
}
.home-offer .offer-page-count span {
  font-size: 1rem;
  color: var(--white);
  max-width: 85px;
  line-height: 1.4;
}
.home-offer .offer-deliverable > p:not(.offer-page-count) {
  color: var(--muted);
  font-size: 0.9rem;
}
.home-offer .offer-person {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--offer-line);
}
.home-offer .offer-person img {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}
.home-offer .offer-person p {
  color: var(--offer-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.home-offer .offer-person b {
  display: block;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}
.home-offer .offer-inclusions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 28px;
}
/* SemDev's compact cyan service icons. */
.home-offer .offer-illustration {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0 0 1rem;
}
.home-offer .offer-inclusions h3 {
  font-size: var(--home-card-heading-size);
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.home-offer .offer-inclusions p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 8px;
}
.home-offer .offer-aftercare {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 45px;
  margin-top: 44px;
}
.home-offer .offer-aftercare > div {
  position: relative;
  padding-left: 38px;
}
.home-offer .offer-aftercare > div > .ph {
  color: var(--brand);
  font-size: 1.45rem;
  position: absolute;
  top: 0;
  left: 0;
}
.home-offer .offer-aftercare h3 {
  font-size: 1.2rem;
  letter-spacing: normal;
}
.home-offer .offer-aftercare p {
  color: var(--offer-muted);
  font-size: 0.9rem;
  margin-top: 11px;
}
.home-offer .offer-next {
  color: var(--offer-text);
  font-size: 0.9rem;
  max-width: 740px;
  margin-top: 44px;
}
.home-offer .offer-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 36px;
}
.home-offer .offer-quote-reassurance {
  font-size: 0.9rem;
  color: var(--offer-muted);
  line-height: 1.5;
}
.home-offer .offer-actions .button {
  min-height: 50px;
  padding-block: 12px;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
@media (max-width: 980px) {
  .home-offer .offer-package {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-offer .offer-purpose li {
    padding-inline: 18px;
  }
}
@media (max-width: 767px) {
  #main-content > .home-offer {
    padding-block: 80px;
  }
  .home-offer-inner {
    width: var(--shell);
  }
  .home-offer .offer-heading {
    margin-bottom: 36px;
  }
  .home-offer .offer-heading p:not(.eyebrow) {
    margin-top: 17px;
  }
  .home-offer .offer-purpose,
  .home-offer .offer-package,
  .home-offer .offer-aftercare {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-offer .offer-purpose {
    padding-block: 8px;
    margin-bottom: 30px;
  }
  .home-offer .offer-purpose li,
  .home-offer .offer-purpose li:first-child,
  .home-offer .offer-purpose li:last-child {
    padding: 21px 0;
  }
  .home-offer .offer-purpose li + li {
    border-left: 0;
    border-top: 1px solid var(--offer-line);
  }
  .home-offer .offer-inclusions {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .home-offer .offer-aftercare {
    gap: 27px;
  }
  .home-offer .offer-purpose p,
  .home-offer .offer-aftercare p,
  .home-offer .offer-next {
    font-size: 1rem;
  }
  .home-offer .offer-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .home-offer .offer-actions .button {
    width: 100%;
  }
}

/* Optional growth: an editorial introduction paired with practical work. */
.home-growth {
  background: var(--ink);
}
.home-growth__layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: 70rem;
}
.home-growth__intro h2 {
  max-width: 43rem;
  line-height: 1.06;
  text-wrap: balance;
}
.home-growth__intro > p:not(.eyebrow) {
  max-width: 38rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.home-growth__intro > .eyebrow {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.home-growth__intro .text-link {
  margin-top: 0.5rem;
}
.home-growth__work {
  position: relative;
}
/* A connected monthly cycle, with each stage anchored to the same line. */
.home-growth__work article {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0 0 2rem;
}
.home-growth__work article:not(:last-of-type)::before {
  content: "";
  position: absolute;
  top: 3rem;
  bottom: 0;
  left: 1.5rem;
  width: 1px;
  background: linear-gradient(var(--brand), rgba(25, 200, 255, 0.2));
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.25);
}
.home-growth__work svg {
  box-sizing: content-box;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.75rem;
  color: var(--brand);
  border-radius: 50%;
  background: linear-gradient(135deg, #21465d, #142c40 55%, #0d1e30);
  box-shadow:
    inset 0 0 0 1px rgba(25, 200, 255, 0.2),
    inset 1px 1px 1px rgba(153, 222, 255, 0.18),
    inset -1px -1px 2px rgba(0, 0, 0, 0.35),
    1px 2px 0 rgba(8, 23, 37, 0.6),
    2px 3px 6px rgba(0, 0, 0, 0.18);
}
.home-growth__work h3 {
  margin-bottom: 8px;
  font-size: var(--home-card-heading-size);
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.home-growth__work article p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.home-growth__note {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* A single, end-to-end journey. */
.process-section {
  --home-card-padding: clamp(1.5rem, 2.25vw, 1.75rem);
  background: #08101b;
}
.process-heading {
  max-width: 70rem;
  margin-bottom: 48px;
}
.process-heading h2 {
  max-width: 870px;
  line-height: 1.06;
  text-wrap: balance;
}
@media (max-width: 767px) {
  .process-heading {
    margin-bottom: 36px;
  }
}
.process-heading > p {
  margin-bottom: 0;
  max-width: 39rem;
  color: var(--muted);
  font-size: 1rem;
}
.process-track {
  max-width: 70rem;
  display: grid;
  gap: 3.5rem;
  margin-block: 0;
  padding: 0;
  list-style: none;
}
.process-track li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
}
.process-track__arrow {
  position: absolute;
  bottom: -46px;
  left: calc(50% - 18px);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #21465d, #142c40 55%, #0d1e30);
  box-shadow: 0 2px 4px -1px rgb(0 0 0 / 35%);
  color: var(--brand);
  pointer-events: none;
}
.process-track__arrow svg {
  display: block;
  width: 20px;
  height: 20px;
  transform: rotate(90deg);
}
.process-track__visual {
  display: block;
  align-self: flex-start;
  width: 11rem;
  max-width: 100%;
  height: auto;
  margin: 0 0 1rem;
  background: radial-gradient(
    ellipse at center,
    rgba(25, 200, 255, 0.055),
    transparent 70%
  );
}
.process-track h3 {
  margin-bottom: 8px;
  font-size: var(--home-card-heading-size);
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.process-track p {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.process-track__foot {
  margin-top: auto;
  color: var(--white);
  font-size: 0.9rem;
}
.process-actions {
  margin-top: 2.5rem;
  text-align: center;
}
.process-actions .button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

/* Buying questions: native, keyboard-accessible accordions. */
.home-faq {
  background: #0a131f;
}
.home-faq__layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.home-faq__intro h2 {
  max-width: 27rem;
  line-height: 1.06;
  text-wrap: balance;
}
.home-faq__intro p {
  color: var(--muted);
}
.home-faq__list {
  border-top: 1px solid var(--line);
  min-width: 0;
}
.home-faq__item {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.home-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
  padding-block: 1.35rem;
  color: var(--white);
  font-family: var(--headerFont);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
}
.home-faq__item summary::-webkit-details-marker {
  display: none;
}
.home-faq__item summary::marker {
  content: "";
}
.home-faq__item summary svg {
  flex-shrink: 0;
  color: var(--brand);
  transition: transform 0.3s var(--ease);
}
.home-faq__item summary:hover,
.home-faq__item[open] summary {
  color: var(--brand);
}
.home-faq__item[open] {
  border-bottom-color: var(--line-brand);
}
.home-faq__item[open] summary svg {
  transform: rotate(45deg);
}
.home-faq__answer {
  padding: 0 2.5rem 1.5rem 0;
  color: var(--muted);
  font-size: 1rem;
}
.home-faq__answer p:last-child {
  margin-bottom: 0;
}
.home-faq__answer p + p {
  margin-top: 1rem;
}
.home-faq__answer a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--line-brand);
  transition:
    color 0.3s ease,
    text-decoration-color 0.3s ease;
}
.home-faq__answer a:hover {
  color: var(--brand);
  text-decoration-color: var(--brand);
}
@supports (interpolate-size: allow-keywords) {
  .home-faq__item::details-content {
    interpolate-size: allow-keywords;
    height: 0;
    overflow: clip;
    transition:
      height 0.3s ease,
      content-visibility 0.3s ease allow-discrete;
  }
  .home-faq__item[open]::details-content {
    height: auto;
  }
}
@media (min-width: 900px) {
  .home-growth__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
  .process-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
  .process-track__arrow {
    top: calc(50% - 18px);
    right: -42px;
    bottom: auto;
    left: auto;
  }
  .process-track__arrow svg {
    transform: none;
  }
  .home-faq__layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  }
  .home-faq__intro {
    position: sticky;
    top: calc(var(--header-height) + 2.5rem);
  }
}
@media (max-width: 679px) {
  .home-growth__work article {
    gap: 1rem;
  }
  .home-faq__answer {
    padding-right: 0;
  }
  .home-faq__item summary {
    font-size: 1.1rem;
    gap: 1rem;
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Homepage motion: reveal once, with short sequencing and no layout changes. */
.js .home-page [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}
.js .home-page [data-reveal].reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1100ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 1100ms cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 600ms ease,
    border-color 500ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.js .home-page [data-reveal].reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Small sequences make the card's reading order visible as it arrives. */
@media (prefers-reduced-motion: no-preference) {
  .js
    .home-page
    .process-track
    > .reveal-ready.is-visible
    > :where(:not(.process-track__arrow)) {
    animation: home-detail-reveal 800ms cubic-bezier(0.19, 1, 0.22, 1) both;
    animation-delay: calc(var(--reveal-delay, 80ms) + 80ms);
  }
  .js .home-page .process-track > .reveal-ready.is-visible > h3 {
    animation-delay: calc(var(--reveal-delay, 80ms) + 160ms);
  }
  .js .home-page .process-track > .reveal-ready.is-visible > p {
    animation-delay: calc(var(--reveal-delay, 80ms) + 240ms);
  }
  .js
    .home-page
    .process-track
    > .reveal-ready.is-visible
    > .process-track__foot {
    animation-delay: calc(var(--reveal-delay, 80ms) + 320ms);
  }
}
/* The same staged showcase, used selectively outside the process cards. */
@media (prefers-reduced-motion: no-preference) {
  .js .home-page [data-showcase].reveal-ready.is-visible > [data-showcase-item],
  .js
    .home-page
    [data-showcase].reveal-ready.is-visible
    > [data-showcase-container]
    > [data-showcase-item] {
    animation: home-detail-reveal 800ms cubic-bezier(0.19, 1, 0.22, 1) both;
    animation-delay: var(--showcase-delay, 60ms);
  }
}
@keyframes home-detail-reveal {
  from {
    opacity: 0;
    translate: 0 10px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.home-page .button {
  transition:
    transform 350ms var(--ease),
    background-color 300ms ease,
    color 300ms ease,
    border-color 300ms ease,
    box-shadow 350ms ease;
}
.home-page .text-link {
  transition:
    color 300ms ease,
    box-shadow 300ms ease;
}
.home-page .text-link > span[aria-hidden="true"] {
  transition: transform 350ms var(--ease);
}
.home-page .text-link:is(:hover, :focus-visible) > span[aria-hidden="true"] {
  transform: translateX(3px);
}
.home-page .button-avatar {
  transition: box-shadow 350ms ease;
}
.home-page .button:is(:hover, :focus-visible) .button-avatar {
  box-shadow: 0 0 0 2px rgba(25, 200, 255, 0.3);
}
.home-page .process-track__visual {
  transition: transform 550ms var(--ease);
}
.home-page .offer-inclusions .offer-illustration,
.home-page .home-growth__work article > svg {
  transform-origin: center;
  transition:
    transform 550ms var(--ease),
    filter 350ms ease;
}
.home-page .offer-inclusions h3 {
  transition: color 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .home-page .project-image img {
    transition-duration: 950ms;
  }
  .home-page .project:hover .project-image img {
    transform: scale(1.015);
  }
  .home-page .business-fit__panel {
    transition:
      border-color 500ms ease,
      box-shadow 600ms ease;
  }
  .home-page .business-fit__panel--yes:hover {
    border-color: rgba(25, 200, 255, 0.3);
    box-shadow: 0 20px 36px -14px rgba(0, 0, 0, 0.8);
  }
  .home-page .process-track li:hover .process-track__visual {
    transform: translateY(-8px);
  }
  .home-page .offer-inclusions > div:hover .offer-illustration {
    transform: translateY(-5px) scale(1.08);
    filter: brightness(1.15);
  }
  .home-page .offer-inclusions > div:hover h3 {
    color: var(--brand);
  }
  .home-page .home-growth__work article:hover > svg {
    transform: translateY(-4px) scale(1.06);
    filter: brightness(1.15);
  }
  .home-page .home-growth__work article:first-of-type:hover > svg {
    transform: translateY(-4px) rotate(-8deg);
  }
  .home-page .home-growth__work article:nth-of-type(2):hover > svg {
    transform: translate(3px, -4px) rotate(-5deg);
  }
}

@media (min-width: 680px) {
  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-grid > * {
    min-height: 142px;
    padding: 28px;
    border-bottom: 0;
  }

  .service-list article {
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .demo-layout {
    grid-template-columns: minmax(320px, 0.8fr) minmax(440px, 1.2fr);
    gap: clamp(60px, 8vw, 120px);
  }

  .demo-portrait {
    min-height: 650px;
  }

  .demo-portrait img {
    min-height: 650px;
  }

  .services-layout {
    grid-template-columns: minmax(320px, 0.8fr) minmax(500px, 1.2fr);
    gap: clamp(60px, 9vw, 130px);
  }

  .services-heading {
    position: sticky;
    top: calc(var(--header-height) + 50px);
    align-self: start;
  }

  .project {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: clamp(50px, 7vw, 100px);
  }

  .project-reverse {
    grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  }

  .project-reverse .project-image {
    grid-column: 2;
    grid-row: 1;
  }

  .project-reverse .project-copy {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (min-width: 1120px) {
  .desktop-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: clamp(13px, 1.3vw, 22px);
  }

  .nav-cta {
    display: inline-flex;
  }

  .menu-button {
    display: none;
  }
}

@media (max-width: 679px) {
  .hero-image::before {
    inset: -8% -75% -8% -40%;
    opacity: 0.8;
  }

  .hero-image::after {
    right: -32%;
    width: 90vw;
  }

  .hero-inner {
    padding-top: calc(var(--header-height) + 42px);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-grid > * {
    padding-inline: 10px;
  }

  .proof-grid strong {
    font-size: clamp(1.3rem, 5.5vw, 1.65rem);
  }

  .proof-grid span {
    font-size: 0.72rem;
  }

  .portrait-meta {
    align-items: start;
    flex-direction: column;
  }

  .project-image img,
  .project:hover .project-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    transform: none;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .js .home-page [data-reveal].reveal-ready,
  .js .home-page [data-reveal].reveal-ready.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .home-page .offer-inclusions .offer-illustration,
  .home-page .offer-inclusions > div:hover .offer-illustration,
  .home-page .home-growth__work article > svg,
  .home-page .home-growth__work article:hover > svg,
  .home-page .home-growth__work article:first-of-type:hover > svg,
  .home-page .home-growth__work article:nth-of-type(2):hover > svg {
    transform: none;
    filter: none;
    transition: none;
  }
  .home-page .offer-inclusions h3 {
    transition: none;
  }
  .home-page .process-track li:hover .process-track__visual,
  .home-page .text-link:is(:hover, :focus-visible) > span[aria-hidden="true"] {
    transform: none;
  }

  .hero-image::after {
    animation: none;
    opacity: 1;
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled,
  .site-header:has(.mobile-nav:not([hidden])) {
    background: var(--ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* A more restrained desktop hero scale; H2 sizes use the shared homepage rule. */
@media (min-width: 900px) {
  main h1 {
    font-size: clamp(3rem, 5.2vw, 4.25rem);
  }
}

/* Restored homepage pricing, using the archived design. */
.pricing-section {
  background: var(--ink-2);
}

.pricing-heading {
  max-width: 780px;
  margin-bottom: 50px;
}

.pricing-heading > p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.plan-compare {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.plan {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(28px, 5vw, 50px);
  background: var(--ink);
}

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

.plan-featured {
  background:
    linear-gradient(145deg, rgba(25, 200, 255, 0.1), transparent 44%),
    var(--ink-3);
}

.plan-header {
  min-width: 0;
}

.plan-header > p:last-child {
  max-width: 470px;
  min-height: 52px;
  margin-bottom: 0;
  color: var(--muted);
}

.plan-type {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-header h3 {
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  min-height: 68px;
  align-items: flex-end;
  gap: 8px;
  margin: 10px 0 6px;
}

.plan-price strong {
  color: var(--white);
  font-family: var(--headerFont);
  font-size: clamp(3rem, 7vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.plan-price span {
  padding-bottom: 5px;
  color: var(--muted);
}

.plan-note {
  margin-bottom: 0;
  color: var(--brand);
  font-size: 0.9rem;
}

.plan-recurring-note {
  display: grid;
  gap: 3px;
  min-height: 68px;
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 1rem;
  line-height: 1.45;
}

.plan-recurring-note strong {
  color: var(--white);
  font-family: var(--headerFont);
  font-size: 1rem;
  font-weight: 600;
}

.plan ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
}

.plan li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.plan-list-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-top: 0.22em;
  color: var(--brand);
}

.plan-features {
  margin: 26px 0 34px;
}

.plan-features > summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  color: var(--white);
  font-size: 1rem;
  list-style: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.plan-features > summary::-webkit-details-marker {
  display: none;
}

.plan-features > summary::marker {
  content: "";
}

.plan-features > summary:hover {
  color: var(--brand);
}

.plan-features > summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 5px;
  border-radius: 3px;
}

.plan-features__title {
  font-weight: 600;
}

.plan-features__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-features__chevron {
  flex: 0 0 auto;
  transition: transform 0.3s ease;
}

.plan-features[open] .plan-features__chevron {
  transform: rotate(180deg);
}

.plan-features__hide,
.plan-features[open] .plan-features__show {
  display: none;
}

.plan-features[open] .plan-features__hide {
  display: inline;
}

.plan-features ul {
  margin: 20px 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .plan-features > summary,
  .plan-features__chevron {
    transition: none;
  }
}

.plan .button {
  align-self: flex-start;
  margin-top: auto;
}

.specialist-offers {
  display: grid;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.specialist-offers a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 20px;
  min-height: 88px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.specialist-offers strong {
  color: var(--white);
  font-family: var(--headerFont);
  font-size: 1.15rem;
}

.specialist-offers span {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.9rem;
}

.specialist-offers b {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--brand);
  font-weight: 400;
  transition: transform 180ms var(--ease);
}

.specialist-offers a:hover b {
  transform: translateX(5px);
}

.pricing-note {
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 860px) {
  .plan-compare {
    grid-template-columns: 1fr 1fr;
  }

  .plan + .plan {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .specialist-offers {
    grid-template-columns: 1fr 1fr;
  }

  .specialist-offers a:first-child {
    padding-right: 36px;
  }

  .specialist-offers a + a {
    padding-left: 36px;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 679px) {
  .plan ul {
    grid-template-columns: 1fr;
  }

  .plan .button {
    width: 100%;
  }
}

/* Client reviews: quiet navy surfaces and a continuous carousel. */
.reviews-heading h2 {
  max-width: 46rem;
  line-height: 1.06;
  text-wrap: balance;
}
.reviews-section .review-google-link {
  font-size: 1rem;
}
@media (min-width: 1000px) {
  .reviews-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr);
    column-gap: 4rem;
    align-items: start;
  }
  .reviews-heading .eyebrow {
    grid-column: 1 / -1;
  }
  .reviews-heading h2 {
    grid-column: 1;
    grid-row: 2 / 4;
    margin-bottom: 0;
  }
  .reviews-heading .reviews-summary {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }
  .reviews-heading .review-google-link {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    margin-top: 1rem;
  }
}
.reviews-section .stars {
  color: var(--brand);
  letter-spacing: 0.08em;
}
.reviews-section .review-marquee {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-block: 0.5rem 1.5rem;
}
.reviews-section .review-marquee {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    black 7%,
    black 93%,
    transparent 100%
  );
}
.reviews-section .review-loop {
  display: flex;
  width: max-content;
  animation: reviews-scroll 42s linear infinite;
  will-change: transform;
}
.reviews-section .review-set {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}
.reviews-section .marquee-review {
  width: 360px;
  min-height: 280px;
  margin: 0;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #16263a, #101e2f 70%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 12px 24px -16px rgba(0, 0, 0, 0.8);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.reviews-section .marquee-review:hover,
.reviews-section .marquee-review:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.065),
    0 16px 28px -16px rgba(0, 0, 0, 0.85);
}
.reviews-section .marquee-review blockquote {
  font-family: inherit;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.6;
  letter-spacing: normal;
  margin: 22px 0 28px;
}
.reviews-section .marquee-review figcaption {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.reviews-section .marquee-review figcaption strong {
  color: var(--white);
  font-size: 1rem;
}
.reviews-section .marquee-review figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2px;
}
.reviews-section .review-marquee:hover .review-loop,
.reviews-section .review-marquee:focus-within .review-loop {
  animation-play-state: paused;
}
.reviews-section .marquee-note {
  text-align: right;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 10px 4px 0;
}
.reviews-section .marquee-review:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -4px;
}
@keyframes reviews-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .reviews-section .marquee-review {
    width: 310px;
    min-height: 280px;
    padding: 24px;
  }
  .reviews-section .marquee-note {
    text-align: left;
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-section .marquee-review {
    transition: none;
  }
  .reviews-section .marquee-review:hover,
  .reviews-section .marquee-review:focus-visible {
    transform: none;
  }
  .reviews-section .review-marquee {
    overflow-x: auto;
    mask-image: none;
    padding-bottom: 10px;
  }
  .reviews-section .review-loop {
    animation: none;
  }
  .reviews-section .review-set[aria-hidden="true"] {
    display: none;
  }
}

.reviews-section .reviews-shell {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.reviews-section .stars {
  display: flex;
  gap: 4px;
}
.reviews-section .stars svg {
  width: 1em;
  height: 1em;
}

/* Static audit callout: the homepage orb and grid, without motion. */
#main-content > .home-audit {
  padding-block: 1rem clamp(3rem, 5vw, 5rem);
  background: #0a131f;
}
.home-audit-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 4.5vw, 4rem);
  border: 0;
  border-radius: 20px;
  background: linear-gradient(115deg, #142438 25%, #101e2e 100%);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.65);
}
.home-audit-copy {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  text-align: left;
}
.home-audit h2 {
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-wrap: balance;
}
.home-audit p {
  max-width: 39rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}
.home-audit .home-contact-actions {
  margin-top: 2rem;
}
.home-audit-graphic {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 100% 55%, #19c8ff24, transparent 65%);
  mask-image: linear-gradient(90deg, transparent 40%, #000 83%);
}
.home-audit-graphic::before {
  content: "";
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(#19c8ff25 1px, transparent 1px),
    linear-gradient(90deg, #19c8ff25 1px, transparent 1px);
  background-size: 55px 55px;
  transform: perspective(700px) rotateX(55deg) rotateZ(-22deg);
  transform-origin: 75% 55%;
  mask-image: radial-gradient(ellipse at 75% 55%, #000, transparent 55%);
}
.home-audit-orb {
  position: absolute;
  width: clamp(20rem, 34vw, 30rem);
  aspect-ratio: 1;
  right: -5rem;
  top: 50%;
  transform: translateY(-50%) rotate(-24deg);
  border: 1px solid #65dcffb3;
  border-radius: 50%;
  background: radial-gradient(
    circle at 28% 25%,
    #19c8ff25,
    #0a172330 50%,
    #040a1266 85%
  );
  box-shadow:
    inset 0 0 65px #19c8ff12,
    inset -15px -12px 35px #03101b99,
    0 0 80px #19c8ff1f;
}
.home-audit-orb::before,
.home-audit-orb::after {
  content: "";
  position: absolute;
  border: 1px solid #45d3ff55;
  border-radius: 50%;
}
.home-audit-orb::before {
  inset: 0 27%;
}
.home-audit-orb::after {
  inset: 27% 0;
}
@media (max-width: 700px) {
  .home-audit-inner {
    border-radius: var(--radius);
  }
  .home-audit p {
    font-size: 1rem;
  }
  .home-audit-graphic {
    opacity: 0.5;
    mask-image: linear-gradient(180deg, transparent 30%, #000);
  }
  .home-audit-orb {
    width: 21rem;
    top: auto;
    bottom: -8rem;
    right: -10rem;
    transform: rotate(-24deg);
  }
}

/* Quote invitation with a quiet alternative for existing websites. */
.home-audit .quote-reassurance {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.home-audit-alternative {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.home-audit-alternative p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--muted);
}
.home-audit-alternative strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: var(--white);
}
.home-audit-alternative .text-link {
  font-size: 1rem;
  line-height: 1.5;
}

/* ===== EXPERIMENT: retained homepage background graphics =====
   Toggle off by removing `home-experiments` from the homepage body.
   Decorative only: no content, pointer handling, libraries or looping animation. */
.home-experimental {
  display: none;
}
.home-page.home-experiments .home-experimental {
  display: block;
}
.home-page.home-experiments :is(.portfolio-section, .home-growth) {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.home-experiment-art {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.home-experiment-art--signal {
  top: 9rem;
  right: -13rem;
  width: min(80rem, 115vw);
  aspect-ratio: 6 / 7;
  opacity: 0.18;
  background-image: url("/assets/images/backgrounds/semdev-signal-flow.svg");
}
.home-experiment-art--contours {
  top: -15rem;
  right: -16rem;
  width: min(64rem, 110vw);
  aspect-ratio: 1;
  opacity: 0.2;
  background-image: url("/assets/images/backgrounds/semdev-growth-contours.svg");
}
@media (max-width: 679px) {
  .home-experiment-art--signal {
    top: 22rem;
    right: -14rem;
    width: 46rem;
    opacity: 0.14;
  }
  .home-experiment-art--contours {
    top: -4rem;
    right: -19rem;
    width: 42rem;
    opacity: 0.16;
  }
}
@media print {
  .home-page.home-experiments .home-experimental {
    display: none;
  }
}
/* ===== END EXPERIMENT ===== */

/* Location-specific introduction, using the homepage's demo layout. */
.location-intro .demo-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.location-intro .demo-copy > p:last-child {
  margin-bottom: 0;
}
.location-intro__photo {
  align-self: center;
  min-width: 0;
  margin: 0;
}
.location-intro__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.location-intro__photo figcaption {
  margin-top: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  font-size: 0.75rem;
}
.location-intro__place {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
  font-size: 0.8125rem;
}
.location-intro__photo a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.location-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0 0 1.5rem;
  list-style: none;
  color: var(--muted);
  font-size: 0.8125rem;
}
.location-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  line-height: 1.5;
}
.location-breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.6rem;
}
@media (max-width: 899px) {
  .location-intro .demo-layout {
    grid-template-columns: 1fr;
  }
}

/* Area map within the location landing-page footer. */
.location-footer-map {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
}
.location-footer-map__copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.3;
}
.location-footer-map__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.location-footer-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius);
}
@media (max-width: 679px) {
  .location-footer-map {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  .location-footer-map iframe {
    height: 240px;
  }
}
