:root {
  --ink: #081817;
  --ink-2: #102523;
  --paper: #f6f2ea;
  --paper-2: #fffaf0;
  --white: #ffffff;
  --muted: #66736e;
  --line: rgba(8, 24, 23, 0.14);
  --teal: #22786f;
  --aqua: #77c7bf;
  --gold: #c99745;
  --copper: #9f5b3d;
  --steel: #d8e4e1;
  --shadow: 0 24px 70px rgba(8, 24, 23, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 44px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(246, 242, 234, 0.94);
  box-shadow: 0 12px 38px rgba(8, 24, 23, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  max-width: 260px;
  overflow: hidden;
  color: currentColor;
  font-size: 12px;
  opacity: 0.74;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .site-nav,
.site-header.is-open .site-nav {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.site-nav a {
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:focus-visible {
  background: rgba(8, 24, 23, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

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

.hero-image {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.08);
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 24, 23, 0.94) 0%, rgba(8, 24, 23, 0.72) 42%, rgba(8, 24, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 24, 23, 0.78) 0%, rgba(8, 24, 23, 0) 44%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100svh - 126px);
  margin: 0 auto;
  padding: clamp(104px, 13vh, 138px) 0 28px;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.92fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
  padding: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 680px;
  font-size: clamp(40px, 5vw, 60px);
}

h2 {
  font-size: clamp(34px, 4.8vw, 58px);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.14;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-map-card {
  position: relative;
  z-index: 2;
  scroll-margin-top: 96px;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(119, 199, 191, 0.18), rgba(255, 250, 240, 0.94) 42%),
    rgba(255, 250, 240, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.map-card-head {
  max-width: 520px;
}

.map-card-head h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 36px);
}

.map-card-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: var(--ink);
  background: var(--white);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(8, 24, 23, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  min-width: 0;
  padding: 20px;
}

.hero-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-stats strong {
  overflow-wrap: anywhere;
  font-size: clamp(15px, 1.8vw, 22px);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 110px) 0;
  scroll-margin-top: 96px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head.compact {
  max-width: 840px;
  text-align: center;
}

.section-head p:not(.eyebrow),
.delivery-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.bridge-visual {
  position: relative;
  min-height: 78px;
  margin: 8px 0 0;
}

.deck,
.arch,
.pier {
  position: absolute;
  display: block;
}

.deck {
  right: 3%;
  bottom: 20px;
  left: 3%;
  height: 10px;
  border-radius: 999px;
  background: var(--ink);
}

.arch {
  right: 8%;
  bottom: 14px;
  left: 8%;
  height: 62px;
  border: 9px solid var(--teal);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.pier {
  bottom: 0;
  width: 12px;
  height: 34px;
  border-radius: 999px 999px 0 0;
  background: var(--gold);
}

.pier-left {
  left: 22%;
}

.pier-right {
  right: 22%;
}

.map-nodes {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: -12px;
}

.map-node {
  display: block;
  min-height: 50px;
  border: 1px solid rgba(8, 24, 23, 0.12);
  border-radius: 12px;
  padding: 8px 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(8, 24, 23, 0.1);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.map-node span {
  display: block;
  margin-bottom: 3px;
  color: var(--teal);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.map-node:hover,
.map-node:focus-visible,
.map-node.is-active {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-3px);
  outline: none;
}

.map-node:hover span,
.map-node:focus-visible span,
.map-node.is-active span {
  color: var(--gold);
}

.map-panels {
  position: relative;
  min-height: 150px;
  padding: 12px 0 0;
}

.map-panel {
  display: none;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
}

.map-panel h3 {
  font-size: clamp(19px, 2vw, 23px);
}

.map-panel.is-active {
  display: block;
}

.map-panel p {
  color: var(--muted);
}

.map-panel a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.panel-label {
  margin-bottom: 8px;
  color: var(--gold) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.service-card,
.proof-card,
.steps article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(8, 24, 23, 0.06);
}

.service-card {
  min-height: 260px;
  padding: 28px;
}

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: 12px;
  font-weight: 950;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(5) .service-icon {
  background: var(--ink);
}

.service-card:nth-child(3) .service-icon {
  background: var(--copper);
}

.service-card:nth-child(4) .service-icon {
  background: var(--gold);
}

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

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

.proof-card {
  min-height: 245px;
  padding: 26px;
}

.proof-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bridge-card {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(201, 151, 69, 0.25), transparent 54%),
    var(--ink);
}

.bridge-card p,
.bridge-card span {
  color: rgba(255, 255, 255, 0.78);
}

.delivery {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.delivery-copy {
  position: sticky;
  top: 100px;
}

.steps {
  position: relative;
  display: grid;
  gap: 12px;
}

.steps::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 49px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
  content: "";
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  overflow: hidden;
  padding: 22px;
}

.step-card::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--teal);
  content: "";
}

.step-card:nth-child(2n)::after {
  background: var(--gold);
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 14px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(8, 24, 23, 0.18);
  font-size: 12px;
  font-weight: 950;
}

.step-card:nth-child(2n) .step-number {
  background: var(--teal);
}

.step-card h3 {
  margin-bottom: 8px;
}

.step-kicker {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-channels {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-channel {
  display: grid;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  border-left: 4px solid var(--teal);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 34px rgba(8, 24, 23, 0.06);
}

.contact-channel span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-channel strong {
  color: var(--ink);
  font-size: clamp(16px, 2vw, 20px);
  overflow-wrap: anywhere;
}

.contact-channel:hover,
.contact-channel:focus-visible {
  border-left-color: var(--gold);
  outline: none;
}

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

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

.contact-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(8, 24, 23, 0.18);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(34, 120, 111, 0.16);
  outline: none;
}

.form-hidden {
  position: absolute;
  left: -9999px;
}

.form-submit {
  width: fit-content;
  color: var(--white);
  background: var(--teal);
}

.form-submit:hover,
.form-submit:focus-visible {
  background: var(--ink);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

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

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

.company-record {
  width: fit-content;
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 28px clamp(18px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-color: var(--line);
    border-radius: 14px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

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

  .hero-layout {
    min-height: auto;
    padding-top: 108px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-inner {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .proof-grid,
  .delivery,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-stats div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

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

  .bridge-visual {
    min-height: 118px;
  }

  .arch {
    height: 88px;
  }

  .map-panels {
    min-height: 0;
  }

  .delivery-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .hero-inner {
    width: 100%;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-stats {
    right: 12px;
    left: 12px;
  }

  .hero-stats div {
    padding: 14px;
  }

  .hero-map-card {
    padding: 16px;
    border-radius: 14px;
  }

  .map-nodes,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .steps::before {
    left: 40px;
  }

  .step-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

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

  .contact {
    width: min(100% - 24px, var(--max));
  }
}
