:root {
  --ink: #171412;
  --ink-soft: #403b35;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --mist: #eef3ef;
  --stone: #d9d3c9;
  --graphite: #2f3935;
  --graphite-2: #111715;
  --brass: #b77a2b;
  --brass-light: #f4c16d;
  --teal: #116d6e;
  --teal-deep: #0a4d4f;
  --clay: #a55232;
  --focus: #0d7f80;
  --shadow: 0 24px 80px rgba(23, 20, 18, 0.14);
  --shadow-soft: 0 14px 36px rgba(23, 20, 18, 0.1);
  --radius: 8px;
  --container: 1180px;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(17, 109, 110, 0.08), transparent 34rem),
    linear-gradient(315deg, rgba(183, 122, 43, 0.09), transparent 32rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  opacity: 1;
  animation: page-in 220ms var(--ease) both;
  overflow-x: hidden;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

img,
svg {
  display: block;
}

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

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

a:hover {
  color: var(--teal-deep);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 1001;
  transform: translateY(-140%);
  background: var(--surface);
  border: 1px solid var(--stone);
  border-radius: 6px;
  padding: 10px 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 250, 247, 0.84);
  border-bottom: 1px solid rgba(217, 211, 201, 0.78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: var(--container);
  margin: 0 auto;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  color: var(--ink);
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand span {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: var(--brass);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 13px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: .94rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: rgba(183, 122, 43, 0.12);
}

.nav-cta,
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}

.nav-cta {
  color: #fff;
  background: var(--graphite);
  padding: 0 16px;
  box-shadow: 0 12px 28px rgba(47, 57, 53, 0.22);
}

.nav-cta svg,
.button svg,
.card-link svg,
.check-list svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.nav-cta:hover,
.button.primary:hover {
  color: #fff;
  background: var(--teal-deep);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--stone);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 76dvh;
  display: grid;
  align-items: center;
  isolation: isolate;
  color: #fff;
  background: var(--graphite-2);
}

.hero.compact {
  min-height: 58dvh;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(17, 23, 21, .91), rgba(17, 23, 21, .67) 48%, rgba(17, 23, 21, .34)),
    linear-gradient(0deg, rgba(17, 23, 21, .46), transparent 46%),
    var(--hero-image) center / cover no-repeat;
}

.hero::after {
  background:
    linear-gradient(135deg, rgba(244, 193, 109, .16), transparent 32%),
    radial-gradient(circle at 78% 22%, rgba(17, 109, 110, .25), transparent 28%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-content {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 104px 24px 72px;
}

.home-hero-content {
  padding-top: 88px;
  padding-bottom: 58px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  align-items: center;
  gap: 54px;
  min-width: 0;
}

.home-hero-copy {
  max-width: 760px;
  min-width: 0;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 6px;
  color: var(--brass-light);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  max-width: 850px;
  margin: 16px 0 18px;
  font-size: 3.6rem;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 440px;
  min-width: 0;
  justify-self: end;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 193, 109, .18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)),
    rgba(17, 23, 21, .34);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .18);
  overflow: hidden;
  transform: perspective(900px) rotateX(calc(var(--my, 0) * -1.2deg)) rotateY(calc(var(--mx, 0) * 1.2deg));
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-visual::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

.hero-visual::after {
  width: 210px;
  height: 210px;
  right: -58px;
  top: -52px;
  border-radius: 50%;
  border: 1px solid rgba(244, 193, 109, .18);
  background: radial-gradient(circle, rgba(244, 193, 109, .08), transparent 62%);
}

.visual-lock {
  position: absolute;
  top: 30px;
  right: 34px;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  color: var(--brass-light);
  opacity: .82;
}

.visual-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 193, 109, .28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(244, 193, 109, .06);
}

.visual-ring::before,
.visual-ring::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.visual-ring::after {
  inset: 40px;
  opacity: .5;
}

.visual-key {
  position: relative;
  width: 10px;
  height: 76px;
  border-radius: 8px;
  background: currentColor;
  box-shadow: 0 0 28px rgba(244, 193, 109, .22);
}

.visual-key::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -24px;
  width: 38px;
  height: 38px;
  transform: translateX(-50%);
  border: 7px solid currentColor;
  border-radius: 50%;
}

.visual-key::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: 12px;
  width: 24px;
  height: 10px;
  background: currentColor;
  box-shadow: -10px -18px 0 currentColor;
}

.dispatch-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 30px;
  bottom: auto;
  z-index: 2;
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(17, 23, 21, .68);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}

.dispatch-panel .eyebrow {
  color: var(--brass-light);
}

.dispatch-panel h2 {
  margin: 8px 0 14px;
  max-width: 310px;
  font-size: 1.18rem;
  line-height: 1.22;
}

.dispatch-steps {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dispatch-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 9px;
  align-items: start;
  border-radius: 6px;
  padding: 9px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
}

.dispatch-steps span {
  display: grid;
  place-items: center;
  min-height: 32px;
  border-radius: 6px;
  color: var(--graphite-2);
  background: var(--brass-light);
  font-weight: 900;
  font-size: .78rem;
}

.dispatch-steps strong,
.dispatch-steps small {
  display: block;
  grid-column: 2;
}

.dispatch-steps strong {
  line-height: 1.2;
}

.dispatch-steps small {
  color: rgba(255, 255, 255, .7);
  margin-top: 3px;
  display: none;
}

.hero-service-rail {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.hero-service-rail span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  font-weight: 800;
  font-size: .78rem;
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  padding: 14px 18px;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--graphite));
  box-shadow: 0 16px 38px rgba(17, 109, 110, 0.24);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.button.secondary:hover {
  color: var(--ink);
  background: #fff;
}

.button.light {
  color: var(--ink);
  border-color: var(--stone);
  background: var(--surface);
}

.button.light:hover {
  background: var(--mist);
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.hero-meta span,
.proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 6px;
  padding: 0 12px;
  font-weight: 800;
  font-size: .9rem;
}

.hero-meta span {
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .18);
}

.proof-strip {
  width: min(calc(100% - 48px), var(--container));
  margin: -30px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  background: var(--stone);
  box-shadow: var(--shadow-soft);
}

.proof-strip span {
  min-height: 80px;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
}

.section {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 96px 24px;
}

.section.tight {
  padding-top: 58px;
  padding-bottom: 58px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.service-showcase {
  width: min(100%, 1260px);
}

.service-showcase .section-header {
  max-width: 860px;
}

.section-header h2,
.matrix-panel h2,
.faq-section h2 {
  margin: 8px 0 14px;
  font-size: 2.2rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-header p,
.copy-block p,
.matrix-panel p {
  color: var(--ink-soft);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, .97fr);
  align-items: center;
  gap: 52px;
}

.split.reverse {
  grid-template-columns: minmax(340px, .97fr) minmax(0, 1.03fr);
}

.grid-2,
.grid-3,
.service-grid,
.content-grid {
  display: grid;
  gap: 18px;
}

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

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

.service-grid.wide {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

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

.service-card,
.feature-card,
.step-card,
.brief-card,
.faq-item,
.credit-card {
  border: 1px solid rgba(217, 211, 201, .9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
}

.service-card {
  position: relative;
  min-height: 268px;
  padding: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transform: perspective(900px) rotateX(calc(var(--my, 0) * -2deg)) rotateY(calc(var(--mx, 0) * 2deg));
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}

.service-grid.wide .service-card {
  grid-column: span 2;
}

.service-grid.wide .service-card:nth-child(1),
.service-grid.wide .service-card:nth-child(2) {
  grid-column: span 3;
  min-height: 244px;
}

.service-grid.wide .service-card:nth-child(1),
.service-grid.wide .service-card:nth-child(2) {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 20px;
  align-items: start;
}

.service-grid.wide .service-card:nth-child(1) .card-icon,
.service-grid.wide .service-card:nth-child(2) .card-icon {
  grid-row: 1 / 5;
  width: 64px;
  height: 64px;
  margin: 2px 0 0;
}

.service-grid.wide .service-card:nth-child(1) .card-icon svg,
.service-grid.wide .service-card:nth-child(2) .card-icon svg {
  width: 31px;
  height: 31px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(115deg, transparent, rgba(244, 193, 109, .18), transparent 42%),
    radial-gradient(circle at calc(50% + var(--mx, 0) * 28%) calc(18% + var(--my, 0) * 24%), rgba(17, 109, 110, .14), transparent 32%);
  opacity: 0;
  transition: opacity 240ms var(--ease);
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(183, 122, 43, .62);
  box-shadow: 0 22px 48px rgba(23, 20, 18, .12);
  color: var(--ink);
}

.service-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 6px;
  color: var(--teal-deep);
  background: rgba(17, 109, 110, .1);
}

.card-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.service-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 5px 0 10px;
  font-size: 1.32rem;
  line-height: 1.2;
}

.service-grid.wide .service-card:nth-child(1) strong,
.service-grid.wide .service-card:nth-child(2) strong {
  font-size: 1.55rem;
}

.service-card p,
.feature-card p,
.step-card p,
.brief-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
}

.service-card p {
  max-width: 34rem;
}

.card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--teal-deep);
  font-weight: 900;
}

.feature-card,
.brief-card,
.step-card,
.credit-card {
  padding: 24px;
}

.feature-card h3,
.brief-card h3,
.step-card h3,
.credit-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.image-panel,
.image-tilt,
.media-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.image-panel img,
.image-tilt img,
.media-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-panel {
  aspect-ratio: 4 / 5;
}

.image-tilt {
  aspect-ratio: 16 / 12;
  transform: perspective(900px) rotateX(calc(var(--my, 0) * -1.6deg)) rotateY(calc(var(--mx, 0) * 1.6deg));
  transition: transform 260ms var(--ease);
}

.image-panel::after,
.image-tilt::after,
.media-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .18), rgba(255, 255, 255, 0)),
    linear-gradient(0deg, rgba(17, 23, 21, .42), transparent 40%);
  transform: translateX(calc(var(--mx, 0) * 7%));
  pointer-events: none;
}

.image-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  border-radius: 6px;
  padding: 14px;
  color: #fff;
  background: rgba(17, 23, 21, .72);
  backdrop-filter: blur(10px);
}

.image-caption strong {
  line-height: 1.2;
}

.image-caption span {
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
}

.check-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
}

.check-list svg {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: var(--teal-deep);
}

.plain-list li {
  border-left: 3px solid var(--brass);
  padding-left: 14px;
  color: var(--ink-soft);
}

.band {
  background: var(--graphite-2);
  color: #fff;
}

.band .section-header p,
.band .copy-block p {
  color: rgba(255, 255, 255, .76);
}

.band .eyebrow {
  color: var(--brass-light);
}

.process {
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  align-items: stretch;
}

.process-lock {
  position: sticky;
  top: 108px;
  height: 390px;
  border: 1px solid rgba(244, 193, 109, .3);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(244, 193, 109, .13), transparent),
    rgba(255, 255, 255, .04);
  overflow: hidden;
}

.lock-track {
  position: absolute;
  left: 50%;
  top: 34px;
  bottom: 34px;
  width: 4px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: rgba(255, 255, 255, .15);
}

.lock-track::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(var(--progress, 0) * 100%);
  border-radius: inherit;
  background: linear-gradient(var(--brass-light), var(--teal));
}

.lock-knob {
  position: absolute;
  left: 50%;
  top: calc(34px + var(--progress, 0) * 322px);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) rotate(calc(var(--progress, 0) * 180deg));
  border-radius: 50%;
  color: var(--graphite-2);
  background: var(--brass-light);
  box-shadow: 0 0 0 8px rgba(244, 193, 109, .13);
}

.lock-knob svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.step-stack {
  display: grid;
  gap: 16px;
}

.step-card {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
}

.step-card p {
  color: rgba(255, 255, 255, .72);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--graphite-2);
  background: var(--brass-light);
  font-weight: 900;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 42px;
  align-items: end;
}

.service-hero-grid .hero-copy {
  padding: 132px 0 76px;
}

.service-hero-grid .image-tilt {
  margin-bottom: 58px;
}

.service-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.service-points span {
  min-height: 82px;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 16px;
  color: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  font-weight: 800;
}

.matrix {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.matrix-tabs {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 10px;
}

.matrix-tabs button {
  min-height: 58px;
  border: 1px solid var(--stone);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  padding: 0 16px;
}

.matrix-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--graphite);
  border-color: var(--graphite);
}

.matrix-panel {
  min-height: 342px;
  border-radius: var(--radius);
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(17, 109, 110, .13), transparent),
    var(--surface);
  border: 1px solid var(--stone);
  box-shadow: var(--shadow-soft);
}

.rekey-slider {
  --split: 52%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--graphite);
}

.rekey-stage {
  position: relative;
  aspect-ratio: 16 / 10;
}

.rekey-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rekey-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
  filter: saturate(1.1) contrast(1.06);
}

.rekey-slider input {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  width: calc(100% - 48px);
  accent-color: var(--brass-light);
}

.rekey-labels {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.rekey-labels span {
  border-radius: 6px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(17, 23, 21, .72);
  font-weight: 900;
}

.faq-section {
  max-width: 860px;
  margin: 0 auto;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 18px 20px;
  text-align: left;
  font-weight: 900;
}

.faq-mark {
  width: 22px;
  height: 22px;
  position: relative;
  flex: 0 0 auto;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--teal-deep);
  transform: translate(-50%, -50%);
}

.faq-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms var(--ease);
}

.faq-item button[aria-expanded="true"] .faq-mark::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-panel {
  padding: 0 20px 20px;
  color: var(--ink-soft);
}

.faq-panel p {
  margin: 0;
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.state-grid span {
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid var(--stone);
  border-radius: 6px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .86);
  color: var(--ink-soft);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

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

.field {
  display: grid;
  gap: 7px;
}

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

.field label {
  color: var(--ink);
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--stone);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field small {
  color: var(--ink-soft);
}

.contact-output {
  min-height: 50px;
}

.contact-output p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.media-band {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto 76px;
  aspect-ratio: 16 / 6;
}

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

.credit-card a {
  color: var(--teal-deep);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer {
  color: rgba(255, 255, 255, .78);
  background: var(--graphite-2);
  padding: 64px 24px 26px;
}

.footer-grid,
.footer-bottom {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 34px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  margin: 16px 0 0;
}

.site-footer a {
  display: block;
  min-height: 34px;
  color: rgba(255, 255, 255, .78);
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  color: #fff;
}

.footer-email {
  color: var(--brass-light) !important;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .92rem;
}

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

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

@media (max-width: 1100px) {
  .service-grid.wide,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid.wide .service-card,
  .service-grid.wide .service-card:nth-child(1),
  .service-grid.wide .service-card:nth-child(2) {
    grid-column: auto;
    display: flex;
    min-height: 268px;
  }

  .service-grid.wide .service-card:nth-child(1) .card-icon,
  .service-grid.wide .service-card:nth-child(2) .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }

  .service-grid.wide .service-card:nth-child(1) strong,
  .service-grid.wide .service-card:nth-child(2) strong {
    font-size: 1.32rem;
  }

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

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

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

@media (max-width: 920px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .menu-open .site-nav,
  .menu-open .nav-cta {
    display: flex;
  }

  .menu-open .nav-shell {
    grid-template-columns: 1fr auto;
    align-items: start;
    padding-top: 14px;
    padding-bottom: 16px;
  }

  .menu-open .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .menu-open .site-nav a,
  .menu-open .nav-cta {
    width: 100%;
    justify-content: flex-start;
  }

  .menu-open .nav-cta {
    grid-column: 1 / -1;
  }

  .hero h1,
  .page-title {
    font-size: 2.55rem;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    justify-self: stretch;
    max-width: none;
    min-height: 420px;
  }

  .visual-lock {
    width: 126px;
    height: 126px;
  }

  .split,
  .split.reverse,
  .service-hero-grid,
  .contact-layout,
  .matrix,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .image-panel {
    order: -1;
  }

  .service-hero-grid .hero-copy {
    padding: 120px 0 18px;
  }

  .service-hero-grid .image-tilt {
    margin: 0 0 64px;
  }

  .matrix-tabs,
  .process-lock {
    position: relative;
    top: auto;
  }

  .process-lock {
    height: 120px;
  }

  .lock-track {
    left: 34px;
    right: 34px;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 4px;
    transform: translateY(-50%);
  }

  .lock-track::after {
    width: calc(var(--progress, 0) * 100%);
    height: 100%;
  }

  .lock-knob {
    left: calc(34px + var(--progress, 0) * (100% - 68px));
    top: 50%;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .nav-shell,
  .hero-content,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: 86dvh;
  }

  .hero.compact {
    min-height: 66dvh;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(17, 23, 21, .96), rgba(17, 23, 21, .7)),
      linear-gradient(0deg, rgba(17, 23, 21, .64), transparent 42%),
      var(--hero-image) center / cover no-repeat;
  }

  .hero-content {
    padding-top: 112px;
    padding-bottom: 64px;
  }

  .home-hero-content {
    padding-top: 72px;
    padding-bottom: 42px;
  }

  .hero h1,
  .page-title {
    font-size: 2.18rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-header h2,
  .matrix-panel h2,
  .faq-section h2 {
    font-size: 1.8rem;
  }

  .grid-2,
  .grid-3,
  .service-grid,
  .service-grid.wide,
  .content-grid,
  .service-points,
  .credits-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
  }

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

  .media-band {
    width: calc(100% - 36px);
    aspect-ratio: 4 / 3;
  }

  .hero-visual {
    min-height: 390px;
  }

  .dispatch-panel {
    left: 16px;
    right: 16px;
    top: 18px;
    bottom: auto;
    padding: 18px;
  }

  .visual-lock {
    top: 24px;
    right: 24px;
    width: 104px;
    height: 104px;
  }

  .hero-service-rail {
    left: 16px;
    right: 16px;
    bottom: 16px;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

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

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