:root {
  --canvas: #F4F7F6;
  --rail: #0E3B3A;
  --rail-text: #E7F3F1;
  --accent: #E2B33A;
  --display: "Sora", sans-serif;
  --body: "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--rail);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
}

body,
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 0.8rem 1rem;
  background: var(--accent);
  color: var(--rail);
  font-weight: 700;
  transform: translateY(-120%);
  transition: transform 180ms ease;
}

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

.split-shell {
  display: grid;
  grid-template-columns: minmax(21rem, 38%) minmax(0, 62%);
  grid-template-rows: auto auto auto;
  min-height: 100vh;
}

.topbar {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
  padding: 1.2rem clamp(1.5rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(14, 59, 58, 0.18);
  background: var(--canvas);
}

.compact-brand {
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.compact-brand svg {
  width: 2rem;
  height: 2rem;
}

.top-nav,
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.top-nav a,
.social-links a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.top-nav a::after,
.social-links a::after {
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after,
.social-links a:hover::after,
.social-links a:focus-visible::after {
  transform: scaleX(1);
}

.social-links {
  margin-left: auto;
}

.objection {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6.5rem);
}

.section-intro,
.service-stack,
.method,
.objection-repeat {
  width: min(100%, 52rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--rail);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--display);
  line-height: 1.14;
}

h2 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

blockquote {
  margin: 2rem 0;
  padding: 1rem 0 1rem 1.5rem;
  border-left: 0.38rem solid var(--accent);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
}

.lead {
  max-width: 43rem;
  margin: 0;
  font-size: 1.15rem;
}

.trust-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin-top: 2rem;
}

.trust-labels span {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-stack,
.method {
  margin-top: clamp(5rem, 9vw, 8rem);
  scroll-margin-top: 2rem;
}

.service-stack > h2,
.method > h2 {
  margin-bottom: 2.3rem;
}

.service-block {
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 0.32rem solid var(--accent);
  border-bottom: 1px solid rgba(14, 59, 58, 0.18);
}

.service-block + .service-block {
  margin-top: 0.85rem;
}

.service-block p {
  max-width: 42rem;
  margin: 0;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 0.55rem;
  bottom: 0.55rem;
  left: 0.49rem;
  width: 2px;
  background: var(--rail);
  content: "";
  opacity: 0.28;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 1.35rem;
  padding-bottom: 2rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  border: 3px solid var(--rail);
  border-radius: 50%;
  background: var(--accent);
}

.timeline p {
  max-width: 40rem;
  margin: 0;
}

.objection-repeat {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--rail);
}

.objection-repeat span {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.objection-repeat p {
  max-width: 34rem;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  font-weight: 600;
}

.rail {
  position: sticky;
  top: 0;
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--rail);
  color: var(--rail-text);
}

.rail-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.9rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark svg {
  width: 2.8rem;
  height: 2.8rem;
  color: var(--accent);
}

.rail-copy {
  margin: auto 0;
  padding: 3rem 0;
}

.rail-kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.3rem, 5vw, 5.3rem);
  letter-spacing: -0.06em;
}

.rail-copy > p:last-child {
  max-width: 31rem;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 3.4rem;
  padding: 0.8rem 1.3rem;
  background: var(--accent);
  color: var(--rail);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translateY(-2px);
}

.rail-contact {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(231, 243, 241, 0.3);
  font-size: 0.82rem;
}

.rail-contact span {
  color: var(--accent);
  font-weight: 700;
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1.6rem;
}

.mini-nav a {
  color: var(--rail-text);
  font-size: 0.75rem;
  text-underline-offset: 0.28rem;
  opacity: 0.78;
}

.mini-nav a[aria-current="location"] {
  color: var(--accent);
  opacity: 1;
}

.rail-shape {
  position: absolute;
  border: 1px solid rgba(226, 179, 58, 0.42);
  border-radius: 50%;
  pointer-events: none;
}

.rail-shape-one {
  top: -10rem;
  right: -8rem;
  width: 25rem;
  height: 25rem;
}

.rail-shape-two {
  right: -5rem;
  bottom: -11rem;
  width: 20rem;
  height: 20rem;
}

.contact {
  grid-column: 2;
  grid-row: 3;
  min-width: 0;
  scroll-margin-top: 1rem;
  background: var(--rail);
  color: var(--rail-text);
}

.contact-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 6.5rem);
}

.contact .eyebrow {
  color: var(--accent);
}

.contact h2 {
  color: var(--rail-text);
}

address {
  font-style: normal;
  font-size: 1.1rem;
}

.phone-line {
  margin: 1.25rem 0 0;
}

.phone-line span {
  margin-right: 0.65rem;
  color: var(--accent);
  font-weight: 700;
}

.route-action {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  padding: 1rem 1.2rem;
  border: 1px solid var(--accent);
  color: var(--rail-text);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.route-action svg {
  width: 1.3rem;
  color: var(--accent);
  transition: transform 180ms ease;
}

.route-action:hover svg,
.route-action:focus-visible svg {
  transform: translate(0.18rem, -0.18rem);
}

.footer-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.5rem, 6vw, 6.5rem);
  border-top: 1px solid rgba(231, 243, 241, 0.25);
  font-size: 0.8rem;
}

.footer-strip a {
  color: var(--accent);
  text-underline-offset: 0.25rem;
}

.privacy {
  border-top: 1px solid rgba(231, 243, 241, 0.25);
}

.privacy summary {
  padding: 1rem clamp(1.5rem, 6vw, 6.5rem);
  color: var(--accent);
  cursor: pointer;
  font-weight: 700;
}

.privacy > div {
  padding: 1rem clamp(1.5rem, 6vw, 6.5rem) 2.5rem;
}

.privacy h2 {
  margin-bottom: 1rem;
  color: var(--rail-text);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.privacy p {
  max-width: 45rem;
  margin: 0;
}

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

@media (max-width: 62rem) {
  .split-shell {
    display: flex;
    flex-direction: column;
  }

  .rail {
    position: relative;
    order: 1;
    width: 100%;
    height: auto;
    min-height: 42rem;
  }

  .topbar {
    order: 2;
    width: 100%;
  }

  .objection {
    order: 3;
    width: 100%;
  }

  .contact {
    order: 4;
    width: 100%;
  }

  .rail-inner {
    min-height: 42rem;
  }

  .rail-copy {
    margin: 2.5rem 0;
  }

  .rail h1 {
    max-width: 13ch;
  }

  .compact-brand {
    display: inline-flex;
  }
}

@media (max-width: 46rem) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .compact-brand {
    width: 100%;
  }

  .top-nav {
    width: 100%;
    gap: 0.75rem 1.1rem;
  }

  .social-links {
    width: 100%;
    margin-left: 0;
    gap: 0.75rem 1.1rem;
  }

  .contact-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-strip {
    flex-direction: column;
  }
}

@media (max-width: 32rem) {
  .rail-inner {
    padding: 1.5rem;
  }

  .rail h1 {
    font-size: clamp(2.25rem, 13vw, 3.7rem);
  }

  .objection {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  blockquote {
    padding-left: 1rem;
  }

  .rail-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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