:root {
  --ink: #102438;
  --muted: #5f6f7f;
  --line: #d7e0e8;
  --paper: #fbfcfd;
  --mist: #eef4f8;
  --blue: #0f5f8f;
  --blue-dark: #093654;
  --green: #2f7b68;
  --coral: #c96a55;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-strong: #f8fbfd;
  --surface-soft: rgba(16, 36, 56, 0.045);
  --deep: #15110d;
  --radius: 8px;
  --shadow: 0 28px 78px rgba(16, 36, 56, 0.2);
  --shadow-soft: 0 16px 48px rgba(16, 36, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

:focus-visible {
  outline: 3px solid rgba(15, 95, 143, 0.28);
  outline-offset: 3px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--green), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
}

.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;
}

.site-header {
  position: fixed;
  top: 0;
  left: clamp(12px, 2vw, 28px);
  right: clamp(12px, 2vw, 28px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: auto;
  margin: 14px 0 0;
  padding: 0 18px;
  color: var(--white);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  backdrop-filter: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.brand {
  position: absolute;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  font-weight: 800;
  letter-spacing: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.brand img {
  width: 54px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand span {
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.site-header.is-scrolled .brand img,
.site-footer .brand img {
  filter: none;
}

.site-header.is-scrolled .brand {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.site-footer .brand span {
  opacity: 1;
  pointer-events: auto;
}


.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  color: var(--white);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  backdrop-filter: blur(18px);
}

.nav-home {
  display: none;
}

.site-header.is-scrolled .nav-home {
  display: block;
}

.site-nav a {
  position: relative;
  padding: 9px 12px;
  color: inherit;
  font-size: 0.94rem;
  font-weight: 650;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: inherit;
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-scrolled .site-nav a.is-active {
  color: var(--blue-dark);
  background: rgba(15, 95, 143, 0.1);
}

.site-header.is-scrolled .site-nav {
  color: var(--ink);
  background: rgba(251, 252, 253, 0.94);
  border-color: rgba(16, 36, 56, 0.08);
  box-shadow: 0 14px 38px rgba(16, 36, 56, 0.14);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(16, 36, 56, 0.18);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(16, 36, 56, 0.22);
}

.nav-toggle span:not(.sr-only) {
  grid-area: 1 / 1;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 200ms ease, opacity 160ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

main {
  overflow: hidden;
  background: var(--white);
}

section,
.site-footer {
  width: 100%;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 64px);
  padding-right: clamp(16px, 4vw, 64px);
}

.section-band {
  width: 100%;
  padding-left: clamp(16px, 4vw, 64px);
  padding-right: clamp(16px, 4vw, 64px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: center;
  min-height: max(760px, 100svh);
  padding-top: 126px;
  padding-bottom: 64px;
  color: var(--white);
  overflow: hidden;
  background: #061423;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 46%, rgba(0, 0, 0, 0.02) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(5, 16, 28, 0.18) 70%, rgba(6, 20, 35, 0.82) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 360px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 16, 28, 0) 0%,
      rgba(5, 16, 28, 0.08) 22%,
      rgba(5, 16, 28, 0.28) 46%,
      rgba(6, 20, 35, 0.68) 74%,
      #061423 100%
    );
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero > *:not(.hero__video) {
  position: relative;
  z-index: 2;
}

.hero__content,
.split-section > *,
.cta > * {
  min-width: 0;
}

.hero__content {
  width: 100%;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  justify-self: center;
  gap: 12px;
  margin: 0 auto;
}

.hero__scroll-cue {
  display: inline-grid;
  justify-self: center;
  justify-items: center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.hero__scroll-cue svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: scroll-cue 1.8s ease-in-out infinite;
}

.hero__headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 12vw, 240px) minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(100%, 1800px);
  max-width: 100%;
  margin: 0 auto;
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  line-height: 0.9;
  letter-spacing: 0;
  white-space: nowrap;
  transform: translateY(-0.9em);
}

.hero__headline::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
}

.hero__headline span:first-child {
  grid-column: 1;
  justify-self: end;
  padding-right: clamp(16px, 2.2vw, 36px);
  max-width: none;
  text-align: right;
}

.hero__headline span:last-child {
  grid-column: 3;
  justify-self: start;
  padding-left: clamp(16px, 2.2vw, 36px);
  max-width: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 750;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #eef4f8;
}

.button--secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.82);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  box-shadow: none;
}

.intro {
  position: relative;
  padding-top: 180px;
  padding-bottom: 0;
  background: linear-gradient(
    180deg,
    #061423 0%,
    rgba(6, 20, 35, 0.98) 18%,
    rgba(13, 35, 52, 0.9) 34%,
    rgba(48, 78, 96, 0.52) 56%,
    rgba(219, 230, 236, 0.76) 82%,
    rgba(251, 252, 253, 0) 100%
  );
}

.intro p {
  display: none;
}

.referral {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: calc(100% - clamp(32px, 12vw, 180px));
  margin-top: -96px;
  margin-bottom: 54px;
  padding: 0;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.referral article {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(15, 95, 143, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.referral p {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 700;
  line-height: 1.45;
}

.referral span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  width: calc(100% - clamp(32px, 12vw, 180px));
  margin-bottom: 88px;
  padding: 42px 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.founders-visual,
.about-copy {
  display: grid;
  align-content: start;
}

.about-copy {
  align-self: start;
}

.about-copy h2 {
  max-width: 720px;
}

.founders-portraits {
  position: relative;
  min-height: clamp(360px, 34vw, 470px);
  padding: 0;
  margin-top: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(15, 95, 143, 0.1), transparent 30%),
    radial-gradient(circle at 24% 82%, rgba(47, 123, 104, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6fafc 58%, #e8f1f6 100%);
  border: 1px solid rgba(16, 36, 56, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 50px rgba(16, 36, 56, 0.08);
}

.founders-portraits::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -2%;
  z-index: -1;
  height: 28%;
  background: radial-gradient(ellipse, rgba(16, 36, 56, 0.16), transparent 68%);
}

.founders-portrait {
  position: absolute;
  bottom: -1px;
  height: auto;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 28px rgba(16, 36, 56, 0.18));
}

.founders-portrait--josh {
  right: -3%;
  z-index: 2;
  height: 95%;
}

.founders-portrait--riley {
  left: -7%;
  z-index: 1;
  height: 82%;
  opacity: 0.96;
}

.copy-stack p {
  color: var(--muted);
  font-size: 1.06rem;
}

.values,
.why {
  padding-top: 88px;
  padding-bottom: 88px;
  background:
    linear-gradient(180deg, rgba(21, 17, 13, 0.1), rgba(255, 255, 255, 0.18) 44%, rgba(9, 54, 84, 0.09)),
    radial-gradient(circle at 14% 8%, rgba(9, 54, 84, 0.18), transparent 28vw),
    radial-gradient(circle at 88% 80%, rgba(91, 63, 38, 0.16), transparent 30vw),
    var(--mist);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.value-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-grid article,
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(16, 36, 56, 0.03);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.value-grid article:hover,
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 95, 143, 0.26);
  box-shadow: var(--shadow-soft);
}

.value-grid article::after,
.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.value-grid article:hover::after,
.service-card:hover::after {
  transform: scaleX(1);
}

.value-grid p,
.service-card li {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(15, 95, 143, 0.08);
  border: 1px solid rgba(15, 95, 143, 0.14);
  border-radius: var(--radius);
}

.service-card__mark {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 10px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(15, 95, 143, 0.08);
  border: 1px solid rgba(15, 95, 143, 0.14);
  border-radius: var(--radius);
}

.services {
  padding-top: 94px;
  padding-bottom: 94px;
  background: var(--white);
}

.work-preview {
  padding-top: 156px;
  padding-bottom: 156px;
  color: var(--white);
  background:
    linear-gradient(
      180deg,
      var(--white) 0%,
      #f8fafc 8%,
      #dfe8ef 19%,
      #8fa4b4 34%,
      #314555 48%,
      #263947 58%,
      #7f98aa 74%,
      #e5edf2 90%,
      var(--white) 100%
    );
}

.work-preview .eyebrow {
  color: #87d8c7;
}

.work-preview h2 {
  color: var(--white);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

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

.work-browser {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 36, 56, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.work-browser:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 95, 143, 0.26);
  box-shadow: var(--shadow);
}

.work-browser__visit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: end;
  padding: 18px;
  text-decoration: none;
}

.work-browser__visit span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  font-weight: 800;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(15, 95, 143, 0.28);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.work-browser:hover .work-browser__visit span,
.work-browser:focus-within .work-browser__visit span {
  opacity: 1;
  transform: translateY(0);
}

.work-browser__visit:hover span,
.work-browser__visit:focus-visible span {
  background: var(--blue-dark);
}

.work-browser__bar {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: #e9f1f6;
  border-bottom: 1px solid var(--line);
}

.work-browser__bar span {
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 999px;
}

.work-browser__bar span:nth-child(2) {
  background: var(--blue);
}

.work-browser__bar span:nth-child(3) {
  background: var(--green);
}

.work-browser__body {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.work-browser__body--screenshot {
  display: block;
  padding: 0;
  background: #f8fbfd;
}

.work-browser__screenshot {
  width: 100%;
  aspect-ratio: 2940 / 1602;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.work-browser__hero {
  position: relative;
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 95, 143, 0.92), rgba(47, 123, 104, 0.86)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24));
  border-radius: var(--radius);
}

.work-browser__hero--alt {
  background:
    linear-gradient(135deg, rgba(201, 106, 85, 0.9), rgba(9, 54, 84, 0.88)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24));
}

.work-browser__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 48%, transparent 72%);
  transform: translateX(-100%);
  animation: preview-sheen 5.2s ease-in-out infinite;
}

.work-browser__hero span {
  position: relative;
  z-index: 1;
  height: 13px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
}

.work-browser__hero span:first-child {
  width: 52%;
}

.work-browser__hero span:last-child {
  width: 34%;
  background: rgba(255, 255, 255, 0.94);
}

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

.work-browser__columns span {
  aspect-ratio: 1.25;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.work-browser__lines span {
  display: block;
  height: 12px;
  margin-top: 12px;
  background: #dce7ee;
  border-radius: 999px;
}

.work-browser__lines span:first-child {
  width: 82%;
}

.work-browser__lines span:last-child {
  width: 58%;
}

.service-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 24px;
}

.service-card li::before,
.why-list div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 999px;
}

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

.why-list div {
  position: relative;
  min-height: 72px;
  padding: 22px 22px 22px 42px;
  font-weight: 720;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(16, 36, 56, 0.03);
}

.why-list div::before {
  left: 20px;
  top: 30px;
  background: var(--green);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
  padding-top: 88px;
  padding-bottom: 88px;
  background: var(--white);
}

.cta p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta .button {
  overflow-wrap: anywhere;
}

.cta .button--primary {
  width: 100%;
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 16px 34px rgba(9, 54, 84, 0.18);
}

.cta .button--primary:hover,
.cta .button--primary:focus-visible {
  background: var(--blue);
}

.contact-form {
  display: grid;
  gap: 16px;
  width: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contact-form [name="_gotcha"] {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: rgba(15, 95, 143, 0.48);
  box-shadow: 0 0 0 4px rgba(15, 95, 143, 0.12);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  padding-top: 34px;
  padding-bottom: 42px;
  color: var(--muted);
  border-top: 0;
  background: var(--white);
}

.site-footer .brand {
  position: static;
  padding: 0;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-footer__brand {
  display: grid;
  gap: 10px;
}

.site-footer__brand p,
.site-footer__meta {
  margin: 0;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.site-footer__nav a {
  padding: 8px 10px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--blue-dark);
  background: rgba(15, 95, 143, 0.1);
}

.site-footer__meta {
  justify-self: end;
  font-size: 0.9rem;
  font-weight: 650;
  white-space: nowrap;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes preview-sheen {
  0%,
  46% {
    transform: translateX(-100%);
  }

  72%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes scroll-cue {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

@media (max-width: 940px) {
  .hero,
  .split-section,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: max(780px, 100svh);
    gap: 28px;
  }

  .value-grid,
  .services-grid,
  .why-list,
  .referral,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .referral article:first-child {
    grid-column: 1 / -1;
  }

  .cta .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    left: 12px;
    right: 12px;
    width: auto;
    justify-content: space-between;
    margin-top: 10px;
    gap: 12px;
    padding: 0 10px;
  }

  .brand {
    position: static;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 12px;
    right: 12px;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(251, 252, 253, 0.96);
    color: var(--ink);
    border: 1px solid rgba(16, 36, 56, 0.08);
    border-radius: 18px;
    box-shadow: 0 28px 78px rgba(16, 36, 56, 0.22);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .site-nav a {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    color: var(--blue-dark);
    background: rgba(15, 95, 143, 0.1);
  }

  .hero {
    display: grid;
    min-height: 100svh;
    align-items: stretch;
    padding-top: 112px;
    padding-bottom: 42px;
    background: #061423;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02) 50%, rgba(5, 16, 28, 0.3) 76%, rgba(6, 20, 35, 0.82));
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.85rem);
    line-height: 1.05;
  }

  .hero__headline {
    display: block;
    width: min(100%, 520px);
    height: auto;
    margin: 0 auto;
    font-size: clamp(1.6rem, 6.8vw, 2.3rem);
    line-height: 0.92;
    white-space: normal;
    transform: none;
    text-align: center;
    text-wrap: balance;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  }

  .hero__headline span:first-child,
  .hero__headline span:last-child {
    display: block;
    position: static;
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    transform: none;
    white-space: nowrap;
  }

  .hero__content {
    position: relative;
    inset: auto;
    align-self: end;
    justify-self: center;
    display: grid;
    justify-items: center;
    width: 100%;
    margin: 0 0 24px;
  }

  .intro,
  .services,
  .values,
  .why,
  .cta {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .intro {
    padding-top: 62px;
  }

  .referral {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    margin-top: 0;
    margin-bottom: 34px;
  }

  .referral article:first-child {
    grid-column: auto;
  }

  .referral article {
    min-height: 0;
    padding: 24px;
  }

  .split-section {
    width: calc(100% - 40px);
    padding-top: 62px;
    padding-bottom: 62px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .founders-portraits {
    min-height: 360px;
    margin-top: 8px;
  }

  .value-grid,
  .services-grid,
  .why-list,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }

  .site-footer__meta {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  section,
  .site-footer,
  .section-band {
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand {
    gap: 8px;
  }

  .brand span {
    font-size: 1.02rem;
  }

  .hero {
    padding-top: 104px;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  .hero__actions {
    margin-top: 0;
  }

  .intro p {
    font-size: clamp(1.45rem, 7vw, 2.1rem);
  }

  .split-section {
    width: calc(100% - 32px);
    padding: 24px;
  }

  .founders-portraits {
    min-height: 360px;
  }

  .founders-portrait--josh {
    right: -14%;
    height: 88%;
  }

  .founders-portrait--riley {
    left: -18%;
    height: 76%;
  }

  .referral {
    width: calc(100% - 32px);
    padding: 24px;
  }

  .value-grid article,
  .service-card {
    padding: 20px;
  }

  .why-list div {
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .cta {
    gap: 20px;
  }

  .cta .button {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 430px) {
  section,
  .site-footer,
  .section-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    left: 8px;
    right: 8px;
    padding: 7px 8px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .brand img {
    width: 46px;
    height: 36px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 2.95rem);
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .intro {
    padding-top: 62px;
  }

  .hero__headline {
    max-width: none;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .hero__content {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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