:root {
  color-scheme: light dark;
  --bg: #f4f8fb;
  --panel: #ffffff;
  --panel-soft: #e9f1f5;
  --ink: #102033;
  --muted: #546879;
  --line: rgba(23, 48, 71, 0.14);
  --deep: #173047;
  --accent: #d95b35;
  --accent-soft: #fff0e8;
  --success: #13795b;
  --error: #b42318;
  --button-bg: #173047;
  --button-text: #ffffff;
  --button-bg-hover: #0d2338;
  --shadow: 0 24px 80px rgba(20, 40, 58, 0.14);
  --radius-card: 28px;
  --radius-panel: 36px;
  --radius-pill: 999px;
  --container: min(1180px, calc(100vw - 40px));
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08131d;
    --panel: #101f2b;
    --panel-soft: #132838;
    --ink: #edf6fb;
    --muted: #a5b6c4;
    --line: rgba(230, 243, 250, 0.14);
    --deep: #0f2a3b;
    --accent: #f0a65a;
    --accent-soft: rgba(240, 166, 90, 0.14);
    --success: #68d6a6;
    --error: #ff8a80;
    --button-bg: #f0a65a;
    --button-text: #08131d;
    --button-bg-hover: #ffc078;
    --shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(217, 91, 53, 0.14), transparent 32vw),
    linear-gradient(180deg, var(--bg), var(--bg));
  color: var(--ink);
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.055;
  background-image:
    linear-gradient(90deg, var(--ink) 1px, transparent 1px),
    linear-gradient(var(--ink) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 65%);
}

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

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--button-bg);
  color: var(--button-text);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  z-index: 40;
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  inset: 18px 0 auto 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-shell {
  width: min(1180px, calc(100vw - 32px));
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  pointer-events: auto;
}

@supports not (backdrop-filter: blur(1px)) {
  .nav-shell {
    background: var(--panel);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand img {
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(16, 32, 51, 0.18);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  background: var(--accent-soft);
  color: var(--ink);
  outline: none;
}

.nav-links a:active,
.footer-links a:active,
.button:active,
.social:active {
  transform: translateY(1px) scale(0.99);
}

.nav-actions,
.footer-socials,
.contact-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--panel) 76%, transparent);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social:hover,
.social:focus-visible {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  outline: none;
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--button-bg);
  border-radius: var(--radius-pill);
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 850;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(23, 48, 71, 0.18);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--button-bg-hover);
  border-color: var(--button-bg-hover);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(23, 48, 71, 0.22);
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 0.9rem;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--accent-soft);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel);
  color: var(--ink);
  place-items: center;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100dvh;
  padding: 128px 0 78px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-photo,
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  z-index: -2;
}

.hero-photo img {
  object-fit: cover;
  object-position: 54% 42%;
  filter: saturate(0.92) contrast(1.08) brightness(0.72);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 14, 23, 0.94) 0%, rgba(5, 14, 23, 0.76) 44%, rgba(5, 14, 23, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 14, 23, 0.48) 0%, rgba(5, 14, 23, 0.18) 48%, rgba(5, 14, 23, 0.82) 100%);
}

.hero-grid {
  display: grid;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-panel);
  background: linear-gradient(135deg, rgba(8, 19, 29, 0.72), rgba(8, 19, 29, 0.38));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px) saturate(132%);
  -webkit-backdrop-filter: blur(14px) saturate(132%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  color: #f4f8fb;
  font-size: clamp(3.4rem, 8vw, 7.3rem);
  line-height: 0.9;
  letter-spacing: -0.078em;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(244, 248, 251, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

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

.hero .button-ghost {
  color: #f4f8fb;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.hero .button-ghost:hover,
.hero .button-ghost:focus-visible {
  color: #08131d;
  background: #f4f8fb;
  border-color: #f4f8fb;
}

.service-strip {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: color-mix(in srgb, var(--panel-soft) 56%, transparent);
}

.strip-track {
  display: flex;
  width: max-content;
  gap: 24px;
  padding: 18px 0;
  animation: stripMove 26s linear infinite;
}

.strip-track span {
  min-width: max-content;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.section {
  padding: clamp(72px, 10vw, 126px) 0;
}

.stacked {
  display: grid;
  gap: 36px;
}

.section-head {
  max-width: 720px;
}

.section-head.narrow {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.lane-copy h2,
.proof-copy h2,
.contact-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-head p,
.lane-copy p,
.proof-copy p,
.contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: minmax(230px, auto);
  gap: 18px;
}

.service-card,
.process-card,
.proof-panel,
.lead-form,
.image-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
  box-shadow: 0 16px 48px rgba(20, 40, 58, 0.08);
}

.service-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
}

.service-card-large {
  grid-row: span 2;
  background:
    radial-gradient(circle at 84% 16%, rgba(217, 91, 53, 0.28), transparent 36%),
    var(--deep);
  color: #ffffff;
}

.service-card-large p,
.service-card-large .card-number {
  color: rgba(255, 255, 255, 0.78);
}

.service-card-map {
  grid-column: span 2;
  padding: 0;
  background: var(--panel-soft);
}

.service-card-map img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.service-card-accent {
  background:
    linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--panel) 68%, var(--accent-soft))),
    var(--panel);
}

.card-number,
.process-card span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 900;
}

.service-card h3,
.process-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.service-card p,
.process-card p {
  color: var(--muted);
}

.lane-section {
  padding-top: 0;
}

.lane-grid,
.proof-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.image-panel {
  overflow: hidden;
  background: var(--panel-soft);
}

.image-panel img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
}

.lane-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.lane-list div,
.proof-panel div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--panel) 82%, var(--panel-soft));
}

.lane-list strong,
.lane-list span,
.proof-panel strong,
.proof-panel span {
  display: block;
}

.lane-list strong,
.proof-panel strong {
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.lane-list span,
.proof-panel span {
  color: var(--muted);
  font-size: 0.95rem;
}

.process-section {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--panel-soft) 64%, transparent), transparent);
}

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

.process-card {
  min-height: 260px;
  padding: 26px;
}

.process-card span {
  margin-bottom: 66px;
}

.proof-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  transform: rotate(-1deg);
}

.contact-section {
  padding-top: 0;
}

.contact-copy {
  align-self: start;
  position: sticky;
  top: 126px;
}

.contact-socials {
  margin-top: 28px;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.two-cols {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.two-cols > div {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.9rem;
  font-weight: 850;
  color: var(--ink);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 88%, var(--panel-soft));
  color: var(--ink);
  padding: 14px 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 82%, transparent);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
  background: var(--panel);
}

input.is-invalid,
textarea.is-invalid,
select.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.14);
}

.error-message {
  min-height: 1.2em;
  color: var(--error);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-button {
  width: 100%;
  border: 0;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--error);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 42px;
  background: color-mix(in srgb, var(--panel) 74%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.reveal {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes stripMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

  .strip-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

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

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

  .menu-toggle {
    display: grid;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-shell.is-open {
    align-items: start;
  }

  .nav-shell.is-open .nav-links,
  .nav-shell.is-open .nav-actions {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
  }

  .nav-shell.is-open .nav-links {
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .nav-shell.is-open .nav-links a {
    padding: 13px 16px;
  }

  .nav-shell.is-open .nav-actions {
    flex-wrap: wrap;
    padding-bottom: 4px;
  }

  .hero-grid,
  .lane-grid,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
  }

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

  .service-card-large,
  .service-card-map {
    grid-column: span 1;
    grid-row: auto;
  }

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

  .contact-copy {
    position: static;
  }

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

  .footer-links,
  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  body::before {
    background-size: 54px 54px;
  }

  .site-header {
    inset: 12px 0 auto 0;
  }

  .nav-shell {
    width: min(100vw - 20px, 1180px);
    min-height: 62px;
  }

  .brand span {
    max-width: 168px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 92dvh;
    padding: 104px 0 56px;
  }

  .hero-photo img {
    object-position: 58% center;
  }

  .hero-copy {
    padding: 22px;
    border-radius: 28px;
  }

  h1 {
    font-size: clamp(2.72rem, 15vw, 4.25rem);
    line-height: 0.96;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .services-grid,
  .process-grid,
  .lane-list,
  .two-cols {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-card {
    min-height: auto;
  }

  .card-number,
  .process-card span {
    margin-bottom: 32px;
  }

  .service-card-map img,
  .image-panel img {
    min-height: 300px;
  }

  .section-head.narrow {
    text-align: left;
    margin-inline: 0;
  }
}
