:root {
  --ink: #222222;
  --muted: #70757a;
  --line: #dddddd;
  --paper: #ffffff;
  --soft: #f7f7f4;
  --mist: #eef4f6;
  --paint: #d85f4f;
  --code: #167286;
  --split: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #111111;
  color: #ffffff;
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  color: #d7d7d7;
  font-size: 0.96rem;
}

.site-nav a,
.nav-dropdown-toggle {
  text-decoration: none;
  text-transform: lowercase;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: #ffffff;
}

.site-nav a[aria-current="page"] {
  color: #ffffff;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
}

.nav-dropdown-toggle {
  width: 24px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: #d7d7d7;
  cursor: pointer;
}

.nav-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown.is-open .nav-caret,
.nav-dropdown-toggle[aria-expanded="true"] .nav-caret {
  transform: translateY(1px) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  width: max-content;
  min-width: 250px;
  max-width: min(320px, calc(100vw - 40px));
  padding: 10px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #111111;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #d7d7d7;
  line-height: 1.25;
  text-transform: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.mobile-menu[hidden],
.mobile-submenu[hidden] {
  display: none !important;
}

.mobile-menu-toggle {
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.mobile-menu-toggle-line {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-submenu-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

@keyframes mobileMenuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, #ffffff 0 50%, var(--mist) 50% 100%);
  touch-action: pan-y;
}

.hero-shell {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  min-height: clamp(520px, calc(100svh - 132px), 680px);
  margin: 0 auto;
  display: flex;
  align-items: end;
  justify-content: center;
  padding-top: 44px;
}

.hero-side {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: 50%;
  display: flex;
  align-items: center;
  color: #62676c;
  text-decoration: none;
}

.hero-side-designer {
  left: 0;
  justify-content: flex-start;
  text-align: left;
}

.hero-side-coder {
  right: 0;
  justify-content: flex-end;
  text-align: right;
}

.role-copy {
  display: block;
  width: min(380px, 44vw);
  margin-top: -42px;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.role-title {
  display: block;
  color: #333333;
  font-size: clamp(3rem, 8vw, 5.25rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: 0;
  transition: color 220ms ease, transform 220ms ease;
}

.role-text {
  display: block;
  max-width: 290px;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.45;
}

.hero-side-coder .role-text {
  margin-left: auto;
}

.hero[data-active="designer"] .hero-side-designer .role-title,
.hero-side-designer:focus-visible .role-title {
  color: var(--paint);
  transform: translateX(4px);
}

.hero[data-active="coder"] .hero-side-coder .role-title,
.hero-side-coder:focus-visible .role-title {
  color: var(--code);
  transform: translateX(-4px);
}

.hero[data-active="designer"] .hero-side-coder .role-copy {
  opacity: 0;
  transform: translateX(12px);
}

.hero[data-active="coder"] .hero-side-designer .role-copy {
  opacity: 0;
  transform: translateX(-12px);
}

.portrait {
  position: relative;
  z-index: 6;
  width: clamp(305px, 42vw, 500px);
  aspect-ratio: 1 / 1;
  margin: 0;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.portrait-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  transition: clip-path 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}

.portrait-paint {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
  filter: saturate(1.05);
}

.portrait-color {
  clip-path: inset(0 0 0 var(--split));
}

.split-line {
  position: absolute;
  top: 4%;
  bottom: 0;
  left: var(--split);
  width: 2px;
  pointer-events: none;
  transform: translateX(-1px);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0), rgba(20, 20, 20, 0.34) 18%, rgba(20, 20, 20, 0.3) 84%, rgba(20, 20, 20, 0));
  transition: left 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.code-cloud {
  position: absolute;
  right: clamp(10px, 8vw, 96px);
  bottom: clamp(34px, 7vw, 92px);
  z-index: 1;
  width: clamp(240px, 29vw, 360px);
  height: clamp(180px, 22vw, 280px);
  pointer-events: none;
  color: rgba(25, 31, 39, 0.16);
  font-family: "SFMono-Regular", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  user-select: none;
}

.code-chip {
  position: absolute;
  display: block;
  line-height: 1;
  white-space: nowrap;
}

.code-chip-html {
  top: 8%;
  left: 8%;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.code-chip-rule {
  top: 26%;
  left: 0;
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
}

.code-chip-size {
  top: 41%;
  left: 12%;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
}

.code-chip-tag {
  top: 52%;
  left: 4%;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.code-chip-word {
  top: 58%;
  right: 0;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  letter-spacing: 0;
}

.code-chip-color {
  bottom: 19%;
  left: 18%;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.code-chip-media {
  bottom: 6%;
  left: 10%;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
}

.code-chip-js {
  top: 72%;
  right: 11%;
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
}

@media (min-width: 901px) {
  .hero-side {
    align-items: flex-start;
    padding-top: clamp(48px, 7svh, 72px);
  }

  .role-copy {
    margin-top: 0;
  }
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  background: #111111;
  color: #ffffff;
  padding: clamp(36px, 6vw, 72px) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro-heading-group {
  display: grid;
  gap: 14px;
}

.intro-name {
  margin: 0;
  color: #f3f5f6;
  font-size: clamp(1.02rem, 1.6vw, 1.24rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.intro-lead {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  font-weight: 800;
}

.intro-copy {
  margin: 0;
  color: #d0d5d8;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.section {
  padding: clamp(70px, 10vw, 120px) 0;
}

.work-section {
  background: var(--soft);
}

.section-heading {
  max-width: 690px;
  margin-bottom: clamp(34px, 6vw, 64px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #777d82;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading :is(h1, h2),
.contact-layout :is(h1, h2) {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-subhead {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  min-height: 430px;
  padding: 24px;
  border: 1px solid #d9d9d4;
  border-radius: 8px;
  background: #ffffff;
  position: relative;
  z-index: 1;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.work-card:hover,
.work-card:focus-within {
  z-index: 3;
  border-color: #c7c7c0;
  box-shadow: 0 18px 42px rgba(25, 31, 39, 0.11);
}

.work-card h2,
.service-list h2 {
  margin: 24px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.work-card p,
.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.work-preview {
  position: relative;
  overflow: hidden;
  height: 210px;
  border: 1px solid #d7dbdd;
  border-radius: 6px;
  background: #eef4f6;
  transform-origin: center top;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.work-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.work-card:hover .work-preview,
.work-card:focus-within .work-preview {
  transform: scale(1.08);
  box-shadow: 0 22px 50px rgba(22, 30, 36, 0.22);
}

.mockup-site {
  position: absolute;
  inset: 16px;
  overflow: hidden;
  border: 1px solid rgba(18, 24, 28, 0.12);
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(22, 30, 36, 0.12);
}

.mockup-site span,
.mockup-site div {
  border-radius: 4px;
}

.mockup-bar {
  height: 30px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 0;
  background: #ffffff;
}

.mockup-bar span {
  display: block;
  width: 24px;
  height: 5px;
  background: rgba(32, 37, 42, 0.22);
}

.mockup-bar .mockup-logo {
  width: 34px;
  height: 8px;
  margin-right: auto;
  background: #222222;
}

.mockup-kicker,
.mockup-title,
.mockup-copy,
.mockup-button {
  display: block;
}

.mockup-kicker {
  width: 48px;
  height: 5px;
  margin-bottom: 8px;
  background: rgba(22, 114, 134, 0.42);
}

.mockup-title {
  width: 94px;
  height: 28px;
  margin-bottom: 9px;
  background: #222222;
}

.mockup-copy {
  width: 108px;
  height: 18px;
  margin-bottom: 14px;
  background: repeating-linear-gradient(180deg, rgba(112, 117, 122, 0.42) 0 4px, transparent 4px 8px);
}

.mockup-button {
  width: 62px;
  height: 18px;
  background: #d85f4f;
}

.preview-business {
  background: linear-gradient(145deg, #e6eef1, #f6f4ef);
}

.mockup-hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 12px;
  min-height: 112px;
  padding: 16px 13px 10px;
  border-radius: 0;
  background: #fffaf2;
}

.mockup-photo {
  min-height: 88px;
  background:
    linear-gradient(140deg, rgba(216, 95, 79, 0.78), rgba(216, 95, 79, 0) 54%),
    linear-gradient(45deg, #f0c66d, #7eb8c0);
}

.mockup-card-row,
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 13px 13px;
  border-radius: 0;
}

.mockup-card-row span,
.proof-strip span {
  display: block;
  height: 28px;
  background: #ffffff;
  border: 1px solid rgba(32, 37, 42, 0.12);
}

.preview-leads {
  background: linear-gradient(145deg, #122124, #29434a);
}

.leads-site {
  display: flex;
  flex-direction: column;
  background: #132124;
  color: #ffffff;
}

.leads-site .mockup-bar {
  background: #ffffff;
}

.leads-site .mockup-bar .mockup-logo {
  background: #132124;
}

.lead-layout {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 12px;
  padding: 16px 13px 11px;
  border-radius: 0;
}

.leads-site .mockup-kicker {
  background: rgba(134, 199, 210, 0.72);
}

.leads-site .mockup-title {
  background: #ffffff;
}

.leads-site .mockup-copy {
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0 4px, transparent 4px 8px);
}

.leads-site .mockup-button {
  background: #f3c660;
}

.lead-call-button {
  width: max-content;
  min-width: 70px;
  height: 22px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #132124;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
}

.lead-form {
  padding: 9px;
  display: grid;
  gap: 7px;
  background: #ffffff;
}

.lead-form span {
  display: block;
  height: 11px;
  background: #dcecef;
}

.lead-form span:last-child {
  height: 17px;
  background: #d85f4f;
}

.proof-strip span {
  height: 24px;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}

.preview-seo {
  background: linear-gradient(145deg, #f8fbfb, #d6e9ed);
}

.seo-site {
  background: #111b1f;
}

.seo-site .mockup-bar {
  background: #f7f7f4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.html-code-preview {
  padding: 13px 14px;
  display: block;
  color: #b8d7dd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.72;
  white-space: nowrap;
}

.html-code-preview span {
  display: block;
}

.tablet-code-line {
  display: none;
}

.html-code-preview em {
  color: #f3c660;
  font-style: normal;
}

.visibility-section {
  background: #eef4f1;
}

.visibility-heading {
  max-width: 860px;
}

.visibility-proof {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(250px, 0.64fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.proof-panel {
  min-width: 0;
  min-height: 360px;
  padding: 22px;
  border: 1px solid #d5ddd8;
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
}

.proof-panel-feature {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: clamp(22px, 2.6vw, 30px);
  border-color: #151719;
  background:
    linear-gradient(135deg, #141414 0%, #192425 58%, #172019 100%);
  color: #ffffff;
}

.proof-panel-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.28;
  pointer-events: none;
}

.proof-panel-heading {
  display: grid;
  gap: 6px;
}

.proof-panel-heading .eyebrow {
  margin-bottom: 0;
}

.proof-panel-feature .proof-panel-heading,
.local-dashboard {
  position: relative;
  z-index: 1;
}

.proof-panel-feature .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.proof-panel h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.22;
}

.proof-panel-feature h2 {
  max-width: 700px;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.local-dashboard {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-self: stretch;
}

.dashboard-search {
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #eef4f1;
  font-size: 0.98rem;
  font-weight: 700;
}

.dashboard-search span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dashboard-search-icon {
  position: relative;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 2px solid #d85f4f;
  border-radius: 999px;
}

.dashboard-search-icon::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #d85f4f;
  transform: rotate(45deg);
}

.dashboard-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
  align-items: stretch;
}

.local-result-card {
  min-width: 0;
  min-height: 250px;
  padding: 18px;
  display: grid;
  align-content: center;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.local-result-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  line-height: 1.16;
}

.local-result-card p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.4;
}

.business-photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 10px 0 4px;
}

.business-photo {
  display: block;
  min-height: 48px;
  border-radius: 6px;
  background: #dcecef;
}

.photo-shop {
  background:
    linear-gradient(135deg, rgba(216, 95, 79, 0.74), rgba(216, 95, 79, 0) 58%),
    linear-gradient(45deg, #f3c660, #86c7d2);
}

.photo-team {
  background:
    radial-gradient(circle at 35% 35%, #ffffff 0 10px, transparent 11px),
    linear-gradient(135deg, #167286, #dcecef);
}

.photo-work {
  background:
    linear-gradient(135deg, rgba(19, 33, 36, 0.82), rgba(19, 33, 36, 0) 56%),
    linear-gradient(45deg, #d85f4f, #f7f7f4);
}

.local-result-card .rating {
  color: #806200;
  font-weight: 800;
}

.pack-badge {
  width: max-content;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef4f6;
  color: #167286;
  font-size: 0.72rem;
  font-weight: 800;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.result-actions span {
  padding: 7px 10px;
  border: 1px solid rgba(22, 114, 134, 0.22);
  border-radius: 999px;
  color: #167286;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.map-frame {
  min-width: 0;
  position: relative;
  overflow: hidden;
  min-height: 294px;
  border: 1px solid #d7dbdd;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(22, 114, 134, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 114, 134, 0.08) 1px, transparent 1px),
    #f7f7f4;
  background-size: 46px 46px;
}

.dashboard-map {
  height: 100%;
  min-height: 250px;
  border-color: rgba(255, 255, 255, 0.18);
}

.map-road {
  position: absolute;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(32, 37, 42, 0.08);
}

.map-road-main {
  top: 132px;
  left: -34px;
  width: 118%;
  height: 34px;
  transform: rotate(-18deg);
}

.map-road-cross {
  top: -26px;
  left: 47%;
  width: 30px;
  height: 122%;
  transform: rotate(28deg);
}

.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid #ffffff;
  border-radius: 999px 999px 999px 0;
  background: #d85f4f;
  box-shadow: 0 10px 18px rgba(32, 37, 42, 0.18);
  transform: rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: #ffffff;
}

.pin-primary {
  top: 92px;
  left: 58%;
}

.pin-secondary {
  top: 174px;
  left: 28%;
  background: #167286;
}

.pin-tertiary {
  top: 198px;
  right: 20%;
  background: #222222;
}

.map-place-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(32, 37, 42, 0.11);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(22, 30, 36, 0.14);
}

.map-place-card strong {
  font-size: 0.98rem;
}

.map-place-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.visibility-proof-stack {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.metric-card {
  min-width: 0;
  min-height: 132px;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid #d5ddd8;
  border-radius: 8px;
  background: #ffffff;
}

.metric-card .eyebrow {
  margin: 0;
}

.metric-card strong {
  color: #167286;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.38;
}

.metric-card-strong {
  border-color: #167286;
  background: #167286;
  color: #ffffff;
}

.metric-card-strong .eyebrow,
.metric-card-strong span,
.metric-card-strong strong {
  color: #ffffff;
}

.metric-card-strong .eyebrow {
  opacity: 0.72;
}

.metric-card-strong strong {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.05;
}

.mini-trend {
  height: 54px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  align-items: end;
  margin: 8px 0 4px;
}

.mini-trend span {
  display: block;
  height: var(--bar-height);
  min-height: 18px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #167286, #8fc8d1);
}

.visibility-card-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.visibility-card {
  --card-accent: #d85f4f;
  --card-accent-deep: #a84235;
  --card-tint: #fff1ee;
  --card-line: rgba(216, 95, 79, 0.24);
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 286px;
  padding: 24px;
  border: 1px solid rgba(28, 39, 43, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--card-tint) 0, rgba(255, 255, 255, 0) 90px),
    #ffffff;
  box-shadow:
    0 18px 34px rgba(22, 30, 36, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.visibility-card:nth-child(2) {
  --card-accent: #167286;
  --card-accent-deep: #0f5968;
  --card-tint: #e7f5f7;
  --card-line: rgba(22, 114, 134, 0.24);
}

.visibility-card:nth-child(3) {
  --card-accent: #5d7437;
  --card-accent-deep: #405426;
  --card-tint: #f0f5e7;
  --card-line: rgba(93, 116, 55, 0.24);
}

.visibility-card:nth-child(4) {
  --card-accent: #b57916;
  --card-accent-deep: #80540e;
  --card-tint: #fff5dd;
  --card-line: rgba(181, 121, 22, 0.24);
}

.visibility-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--card-accent), var(--card-accent-deep));
}

.visibility-card::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 0;
  width: 68px;
  height: 68px;
  border-left: 1px solid var(--card-line);
  border-bottom: 1px solid var(--card-line);
  background: rgba(255, 255, 255, 0.36);
  transform: skewX(-18deg) translateX(30px);
  pointer-events: none;
}

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

.visibility-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  margin-bottom: 22px;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--card-accent);
  box-shadow: 0 8px 16px rgba(22, 30, 36, 0.06);
  font-size: 0.76rem;
  font-weight: 800;
}

.visibility-card h2 {
  margin: 0;
  color: #202326;
  font-size: 1.24rem;
  line-height: 1.22;
}

.visibility-card ul {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  border-top: 1px solid rgba(28, 39, 43, 0.1);
  padding-top: 18px;
  color: #5c6468;
  font-size: 0.94rem;
  line-height: 1.42;
  list-style: none;
}

.visibility-card li {
  position: relative;
  padding-left: 30px;
}

.visibility-card li::before {
  content: "";
  position: absolute;
  top: 0.12em;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: var(--card-tint);
}

.visibility-card li::after {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 6px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--card-accent);
  border-bottom: 2px solid var(--card-accent);
  transform: translateY(-50%) rotate(-45deg);
}

@media (hover: hover) {
  .visibility-card:hover {
    border-color: var(--card-line);
    box-shadow:
      0 22px 42px rgba(22, 30, 36, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
  }
}

.service-section {
  background:
    linear-gradient(180deg, rgba(231, 245, 247, 0.42), rgba(255, 255, 255, 0) 180px),
    #ffffff;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 8vw, 92px);
  align-items: start;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-list > * {
  --service-accent: #d85f4f;
  --service-tint: #fff1ee;
  position: relative;
  overflow: hidden;
  padding: 28px 30px 30px;
  border: 1px solid rgba(28, 39, 43, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(180deg, var(--service-tint), rgba(255, 255, 255, 0) 120px),
    #ffffff;
  box-shadow:
    0 16px 34px rgba(25, 31, 39, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-list > *::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--service-accent);
}

.service-list > *::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 20px;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--service-accent), white 82%);
  opacity: 0.55;
  filter: blur(2px);
}

.service-list > *:nth-child(2) {
  --service-accent: #167286;
  --service-tint: #e7f5f7;
}

.service-list > *:nth-child(3) {
  --service-accent: #b57916;
  --service-tint: #fff5dd;
}

.service-list > *:nth-child(4) {
  --service-accent: #5b6fbc;
  --service-tint: #f0f3ff;
}

@media (hover: hover) {
  .service-list > *:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--service-accent), transparent 62%);
    box-shadow:
      0 22px 42px rgba(22, 30, 36, 0.11),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }
}

.service-list h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  max-width: 16ch;
}

.service-list a,
.work-card h2 a {
  text-decoration: none;
}

.service-list a:hover,
.service-list a:focus-visible,
.work-card h2 a:hover,
.work-card h2 a:focus-visible {
  color: var(--code);
}

.service-list p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #61696e;
  line-height: 1.6;
}

.contact-band {
  padding: clamp(58px, 8vw, 96px) 0;
  background: #111111;
  color: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.contact-layout .eyebrow {
  color: #9ea7ac;
}

.contact-layout :is(h1, h2) {
  max-width: 760px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: #ffffff;
  color: #111111;
}

.contact-modal-open {
  overflow: hidden;
}

.contact-modal-root {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.contact-modal-root.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-modal {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(90svh, 920px);
  overflow: auto;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(18, 27, 34, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(233, 242, 247, 0.72), rgba(255, 255, 255, 0) 160px),
    #fbfcfd;
  box-shadow:
    0 30px 80px rgba(15, 23, 32, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transform: translateY(14px) scale(0.985);
  transition: transform 220ms ease;
}

.contact-modal-root.is-open .contact-modal {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(18, 27, 34, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #1a232b;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  border-color: rgba(22, 114, 134, 0.36);
  background: #ffffff;
  transform: translateY(-1px);
}

.contact-modal-close svg {
  width: 18px;
  height: 18px;
}

.contact-modal-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4vw, 38px);
  align-items: start;
}

.contact-modal-copy {
  display: grid;
  gap: 22px;
}

.contact-modal-heading {
  display: grid;
  gap: 10px;
  padding-right: 34px;
}

.contact-modal-heading .eyebrow {
  margin: 0;
  color: #5a6770;
}

.contact-modal-heading h2 {
  margin: 0;
  color: #121b22;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.contact-modal-heading p {
  margin: 0;
  color: #59656d;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-intent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-intent-card {
  position: relative;
  min-height: 116px;
  padding: 18px 18px 18px 20px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(18, 27, 34, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-intent-card:hover,
.contact-intent-card:focus-visible {
  border-color: rgba(22, 114, 134, 0.24);
  box-shadow: 0 16px 30px rgba(17, 26, 34, 0.08);
  transform: translateY(-2px);
}

.contact-intent-card[aria-pressed="true"] {
  border-color: rgba(22, 114, 134, 0.5);
  background:
    linear-gradient(180deg, rgba(22, 114, 134, 0.11), rgba(255, 255, 255, 0) 110px),
    #ffffff;
  box-shadow:
    0 18px 34px rgba(17, 26, 34, 0.1),
    inset 0 0 0 1px rgba(22, 114, 134, 0.14);
}

.contact-intent-card strong {
  display: block;
  color: #13212a;
  font-size: 1rem;
  line-height: 1.3;
}

.contact-intent-card span {
  color: #5e6a73;
  font-size: 0.94rem;
  line-height: 1.5;
}

.contact-intent-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(18, 27, 34, 0.14);
  background: #ffffff;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.contact-intent-card[aria-pressed="true"] .contact-intent-check {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(22, 114, 134, 0.7);
  background: rgba(22, 114, 134, 0.12);
}

.contact-intent-check::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 10px;
  height: 5px;
  border-left: 2px solid #167286;
  border-bottom: 2px solid #167286;
  transform: rotate(-45deg);
}

.contact-intent-error {
  min-height: 20px;
  margin: 0;
  color: #b43f34;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-intent-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 2.5vw, 24px);
  border: 1px solid rgba(18, 27, 34, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(17, 26, 34, 0.08);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-field,
.contact-field-full {
  display: grid;
  gap: 8px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-field label,
.contact-field-full label {
  color: #22313c;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea,
.contact-field-full input,
.contact-field-full select,
.contact-field-full textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid rgba(22, 30, 36, 0.14);
  border-radius: 12px;
  background: #ffffff;
  color: #15212a;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-field textarea,
.contact-field-full textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus,
.contact-field-full input:focus,
.contact-field-full select:focus,
.contact-field-full textarea:focus {
  outline: none;
  border-color: rgba(22, 114, 134, 0.5);
  box-shadow: 0 0 0 4px rgba(22, 114, 134, 0.12);
}

.contact-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.contact-form-close {
  padding: 0;
  border: 0;
  background: transparent;
  color: #5e6a73;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-form-close:hover,
.contact-form-close:focus-visible {
  color: #13212a;
}

.contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid #167286;
  border-radius: 12px;
  background: #167286;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-form-submit:hover,
.contact-form-submit:focus-visible {
  background: #0f6172;
  border-color: #0f6172;
  transform: translateY(-1px);
}

.contact-form-submit:disabled {
  opacity: 0.72;
  cursor: progress;
  transform: none;
}

.contact-form-note {
  margin: 0;
  color: #6a757c;
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-modal-success {
  display: none;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(22, 114, 134, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(22, 114, 134, 0.08), rgba(255, 255, 255, 0) 120px),
    #ffffff;
}

.contact-modal-success.is-visible {
  display: grid;
}

.contact-modal-success.is-error {
  border-color: rgba(180, 63, 52, 0.24);
  background:
    linear-gradient(180deg, rgba(180, 63, 52, 0.08), rgba(255, 255, 255, 0) 120px),
    #ffffff;
}

.contact-modal-success h3,
.contact-modal-success p {
  margin: 0;
}

.contact-modal-success h3 {
  color: #13212a;
  font-size: 1.25rem;
}

.contact-modal-success p {
  color: #5f6b73;
  line-height: 1.6;
}

.contact-modal-success button {
  width: max-content;
}

.button-link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid #111111;
  border-radius: 6px;
  background: #111111;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  background: #ffffff;
  color: #111111;
}

.about-page {
  background: #f7f7f4;
}

.about-main {
  background:
    linear-gradient(180deg, #ffffff 0 520px, #f7f7f4 520px 100%);
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 112px) 0 clamp(64px, 8vw, 98px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(216, 95, 79, 0.11), rgba(216, 95, 79, 0) 34%),
    linear-gradient(230deg, rgba(22, 114, 134, 0.14), rgba(22, 114, 134, 0) 38%),
    #ffffff;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 30, 36, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 30, 36, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000000, transparent 78%);
  pointer-events: none;
}

.about-hero-layout,
.about-two-column {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 8vw, 92px);
  align-items: start;
}

.about-hero-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  align-items: center;
}

.about-hero-heading,
.about-wide-heading {
  margin-bottom: 0;
}

.about-hero-heading {
  max-width: 780px;
}

.about-hero-heading h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.about-copy-stack {
  display: grid;
  gap: 18px;
}

.about-hero-copy {
  max-width: 690px;
  margin-top: clamp(28px, 4vw, 42px);
}

.about-copy-stack p,
.contact-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.72;
}

.about-hero-copy p:first-child {
  color: #2e3438;
  font-size: clamp(1.16rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.about-hero-visual {
  position: relative;
  min-height: clamp(430px, 45vw, 560px);
}

.about-portrait-card {
  position: absolute;
  inset: 0 0 38px 34px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(24, 32, 36, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.18)),
    linear-gradient(135deg, #dcecef, #fff1ee 52%, #f7f7f4);
  box-shadow:
    0 24px 60px rgba(22, 30, 36, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.about-portrait-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 7px;
}

.about-portrait-card img {
  position: absolute;
  right: max(-42px, -5vw);
  bottom: -18px;
  width: min(112%, 530px);
  max-width: none;
  filter: drop-shadow(0 22px 24px rgba(22, 30, 36, 0.24));
}

.about-code-card,
.about-signal-card {
  position: absolute;
  z-index: 2;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(22, 30, 36, 0.18);
}

.about-code-card {
  left: 0;
  bottom: 0;
  width: min(300px, 70%);
  padding: 18px;
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #111b1f;
  color: #b8d7dd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.35;
}

.about-code-card span:first-child,
.about-code-card span:last-child {
  color: #f3c660;
}

.about-signal-card {
  top: 28px;
  right: 0;
  width: min(178px, 42%);
  padding: 18px;
  border: 1px solid rgba(216, 95, 79, 0.24);
  background: #ffffff;
}

.about-signal-number,
.about-signal-label {
  display: block;
}

.about-signal-number {
  color: var(--paint);
  font-size: clamp(2.65rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
}

.about-signal-label {
  margin-top: 9px;
  color: #4d5559;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.28;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-section {
  background: transparent;
}

.about-section-soft {
  background:
    linear-gradient(90deg, rgba(22, 114, 134, 0.08), transparent 44%),
    var(--soft);
  border-bottom: 1px solid #e2e2dc;
  border-top: 1px solid #e6e6df;
}

.about-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.about-proof-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.about-proof-list span {
  min-height: 82px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(22, 114, 134, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: #244047;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.2;
}

.about-wide-heading {
  max-width: 920px;
}

.about-wide-heading .about-copy-stack {
  max-width: 760px;
  margin-top: 24px;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.about-feature-card {
  --feature-accent: #d85f4f;
  --feature-tint: #fff1ee;
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(28, 39, 43, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--feature-tint), rgba(255, 255, 255, 0) 112px),
    #ffffff;
  box-shadow: 0 16px 34px rgba(25, 31, 39, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-feature-card:nth-child(2) {
  --feature-accent: #167286;
  --feature-tint: #e7f5f7;
}

.about-feature-card:nth-child(3) {
  --feature-accent: #5d7437;
  --feature-tint: #f0f5e7;
}

.about-feature-card:nth-child(4) {
  --feature-accent: #b57916;
  --feature-tint: #fff5dd;
}

.about-feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--feature-accent);
}

.about-feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  margin-bottom: 24px;
  border: 1px solid color-mix(in srgb, var(--feature-accent), transparent 70%);
  border-radius: 999px;
  background: #ffffff;
  color: var(--feature-accent);
  font-size: 0.76rem;
  font-weight: 900;
}

.about-feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.38rem;
  line-height: 1.2;
}

.about-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.about-feature-card:hover,
.about-feature-card:focus-within {
  border-color: color-mix(in srgb, var(--feature-accent), transparent 65%);
  box-shadow: 0 22px 44px rgba(25, 31, 39, 0.11);
  transform: translateY(-3px);
}

.about-section-quote {
  background:
    linear-gradient(135deg, #111111, #172426 68%, #1d241b);
  color: #ffffff;
}

.about-philosophy {
  display: grid;
  gap: 28px;
}

.about-quote {
  margin: 0;
  padding: clamp(26px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid #f3c660;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.about-quote p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.18;
  font-weight: 800;
}

.about-section-quote .eyebrow,
.about-section-quote .about-copy-stack p {
  color: rgba(255, 255, 255, 0.68);
}

.content-page {
  background: var(--soft);
}

.content-main {
  background:
    linear-gradient(180deg, #ffffff 0 520px, var(--soft) 520px 100%);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 118px) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(216, 95, 79, 0.1), rgba(216, 95, 79, 0) 34%),
    linear-gradient(230deg, rgba(22, 114, 134, 0.14), rgba(22, 114, 134, 0) 38%),
    #ffffff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 30, 36, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 30, 36, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000000, transparent 78%);
  pointer-events: none;
}

.page-hero .section-inner {
  position: relative;
  z-index: 1;
}

.page-hero-content {
  max-width: 860px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-intro {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.62;
}

.page-section {
  padding: clamp(58px, 8vw, 96px) 0;
}

.page-section-white {
  background: #ffffff;
}

.page-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 8vw, 92px);
  align-items: start;
}

.page-section-heading {
  max-width: 680px;
}

.page-section-heading h2,
.guide-outline h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.page-copy {
  display: grid;
  gap: 16px;
}

.page-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.72;
}

.page-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.page-list li {
  position: relative;
  padding-left: 30px;
  color: #586166;
  font-size: 1rem;
  line-height: 1.58;
}

.page-list li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(22, 114, 134, 0.28);
  border-radius: 999px;
  background: #e7f5f7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

.link-card {
  --card-accent: #d85f4f;
  --card-tint: #fff1ee;
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(28, 39, 43, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--card-tint), rgba(255, 255, 255, 0) 112px),
    #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(25, 31, 39, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.link-card:nth-child(2n) {
  --card-accent: #167286;
  --card-tint: #e7f5f7;
}

.link-card:nth-child(3n) {
  --card-accent: #b57916;
  --card-tint: #fff5dd;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--card-accent);
}

.link-card:hover,
.link-card:focus-visible {
  border-color: color-mix(in srgb, var(--card-accent), transparent 65%);
  box-shadow: 0 22px 44px rgba(25, 31, 39, 0.11);
  transform: translateY(-3px);
}

.link-card h2,
.link-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.22;
}

.link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  padding: 9px 12px;
  border: 1px solid rgba(22, 30, 36, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #2f383d;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.related-links a:hover,
.related-links a:focus-visible {
  border-color: rgba(22, 114, 134, 0.34);
  color: var(--code);
}

.guide-preview-section {
  background: #ffffff;
}

.guide-preview-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(34px, 6vw, 56px);
}

.guide-preview-heading .section-heading {
  margin-bottom: 0;
}

.guide-note {
  padding: 18px 20px;
  border: 1px solid rgba(181, 121, 22, 0.24);
  border-radius: 8px;
  background: #fff8e6;
  color: #5f4b1f;
  font-weight: 700;
  line-height: 1.5;
}

.guide-outline {
  display: grid;
  gap: 20px;
}

.outline-block {
  padding: 24px;
  border: 1px solid rgba(28, 39, 43, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(25, 31, 39, 0.05);
}

.outline-block h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  line-height: 1.25;
}

.outline-block h4 {
  margin: 14px 0 8px;
  color: #2f383d;
  font-size: 1rem;
  line-height: 1.3;
}

.outline-block p,
.placeholder-note {
  margin: 0;
  color: #667176;
  font-size: 0.98rem;
  line-height: 1.62;
}

.outline-block p + p,
.outline-block ul + p,
.outline-block p + ul {
  margin-top: 12px;
}

.outline-block ul {
  margin: 0;
  padding-left: 20px;
  color: #667176;
  font-size: 0.98rem;
  line-height: 1.62;
}

.outline-block li + li {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .hero {
    background: linear-gradient(180deg, #ffffff 0 56%, var(--mist) 56% 100%);
  }

  .hero-shell {
    min-height: auto;
    padding: 34px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .portrait {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: min(78vw, 430px);
  }

  .code-cloud {
    display: none;
  }

  .hero-side {
    position: relative;
    grid-row: 1;
    width: auto;
    min-height: auto;
    align-items: start;
    padding-bottom: 18px;
  }

  .hero-side-designer {
    grid-column: 1;
  }

  .hero-side-coder {
    grid-column: 2;
  }

  .role-copy {
    width: 100%;
    margin-top: 0;
  }

  .role-title {
    font-size: clamp(2.2rem, 10vw, 4.6rem);
  }

  .role-text {
    display: none;
  }

  .intro-grid,
  .about-hero-layout,
  .about-two-column,
  .page-two-column,
  .services-layout,
  .contact-layout,
  .contact-modal-shell {
    grid-template-columns: 1fr;
  }

  .about-hero-visual {
    width: min(100%, 560px);
    justify-self: center;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .visibility-proof {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .guide-preview-heading {
    align-items: start;
    flex-direction: column;
  }

  .work-card {
    min-height: auto;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .work-grid {
    justify-items: center;
  }

  .work-card {
    width: min(100%, 660px);
  }

  .work-preview {
    height: auto;
    aspect-ratio: 1.58 / 1;
  }

  .preview-leads {
    aspect-ratio: 1.82 / 1;
  }

  .lead-call-button {
    min-width: 132px;
    height: 40px;
    padding: 0 18px;
    font-size: 1rem;
  }

  .html-code-preview {
    padding: 12px 14px;
    font-size: 0.72rem;
    line-height: 1.52;
  }

  .tablet-code-line {
    display: block;
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: min(100% - 28px, 1120px);
    height: 64px;
  }

  .brand {
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus-visible {
    border-color: rgba(255, 255, 255, 0.42);
  }

  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    width: min(100% - 28px, 1120px);
    margin: 0 auto;
    padding: 0 0 14px;
    color: #d7d7d7;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-menu:not([hidden]) {
    display: grid;
    animation: mobileMenuSlideDown 180ms ease;
  }

  .mobile-menu a,
  .mobile-submenu-toggle {
    width: 100%;
    min-height: 44px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-menu > a:first-child {
    border-top: 0;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible,
  .mobile-submenu-toggle:hover,
  .mobile-submenu-toggle:focus-visible,
  .mobile-menu a[aria-current="page"] {
    color: #ffffff;
  }

  .mobile-menu-group {
    display: grid;
  }

  .mobile-submenu {
    padding: 0 0 6px 14px;
    display: none;
  }

  .mobile-submenu:not([hidden]) {
    display: grid;
  }

  .mobile-submenu a {
    min-height: 40px;
    padding: 10px 0;
    border-top: 0;
    color: #cfcfcf;
    font-size: 0.92rem;
    text-transform: none;
  }

  .mobile-submenu-toggle[aria-expanded="true"] .mobile-submenu-caret {
    transform: translateY(1px) rotate(225deg);
  }
}

@media (max-width: 560px) {
  .hero-shell,
  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .content-page .section-inner {
    width: auto;
    max-width: 362px;
    margin-left: 14px;
    margin-right: 14px;
  }

  .content-page :is(h1, h2, h3, p, li, a) {
    overflow-wrap: anywhere;
  }

  .hero-shell {
    padding-top: 28px;
  }

  .about-hero {
    padding-top: 58px;
  }

  .page-hero {
    padding-top: 58px;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 2.5rem);
    line-height: 1.02;
  }

  .about-hero-heading h1 {
    font-size: clamp(1.72rem, 8vw, 1.95rem);
    line-height: 1.02;
  }

  .about-copy-stack p,
  .contact-copy {
    font-size: 1rem;
  }

  .about-hero-visual {
    min-height: 420px;
  }

  .about-portrait-card {
    inset: 0 0 34px 20px;
  }

  .about-portrait-card img {
    right: -22px;
    bottom: -8px;
    width: 94%;
  }

  .about-code-card {
    width: min(280px, 76%);
    padding: 16px;
    font-size: 0.82rem;
  }

  .about-signal-card {
    top: 26px;
    right: 10px;
    width: 132px;
    padding: 14px;
  }

  .about-signal-label {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero-side {
    padding-bottom: 12px;
  }

  .role-title {
    font-size: clamp(1.9rem, 8.4vw, 3.4rem);
  }

  .portrait {
    width: min(88vw, 360px);
  }

  .contact-link {
    width: 100%;
  }

  .button-link {
    width: 100%;
  }

  .contact-modal-root {
    padding: 14px;
  }

  .contact-modal {
    max-height: min(92svh, 1000px);
    padding: 18px;
    border-radius: 18px;
  }

  .contact-modal-heading {
    padding-right: 44px;
  }

  .contact-intent-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-intent-card {
    min-height: auto;
  }

  .contact-form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .contact-form-submit,
  .contact-form-close {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .contact-form-close {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(18, 27, 34, 0.12);
    border-radius: 12px;
    background: #ffffff;
  }

  .proof-panel-feature h2 {
    font-size: clamp(1.45rem, 8vw, 2.05rem);
  }

  .dashboard-search {
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .visibility-card-grid {
    grid-template-columns: 1fr;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid-two {
    grid-template-columns: 1fr;
  }

  .about-proof-list {
    grid-template-columns: 1fr;
  }

  .visibility-proof-stack {
    grid-template-columns: 1fr;
  }

  .about-feature-card {
    min-height: auto;
    padding: 22px;
  }

  .visibility-card,
  .proof-panel,
  .metric-card {
    min-height: auto;
    padding: 20px;
  }

  .local-result-card {
    min-height: auto;
    padding: 20px;
  }

  .dashboard-map {
    min-height: 270px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
