:root {
  --canvas: #F7F6F3;
  --rail: #1C2421;
  --rail-text: #F4F1EA;
  --accent: #E36B3A;
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

a {
  color: inherit;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 0.08em;
}

a:focus-visible,
summary:focus-visible {
  outline: 0.2rem solid var(--accent);
  outline-offset: 0.25rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--rail-text);
  background: var(--rail);
  transform: translateY(-180%);
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 5.25rem;
  padding: 1rem clamp(1.5rem, 5vw, 5rem);
  border-bottom: 0.08rem solid var(--rail);
  background: var(--canvas);
}

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

.brand-mark {
  width: 2rem;
  color: var(--accent);
}

.topnav,
.social-links,
.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.topnav a,
.social-links a,
.footer-socials a {
  font-size: 0.82rem;
  font-weight: 600;
}

.topnav a {
  text-decoration: none;
}

.topnav a:hover,
.topnav a[aria-current="true"] {
  color: var(--accent);
}

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

.social-links a {
  color: var(--accent);
}

.rail {
  position: sticky;
  top: 0;
  align-self: start;
  grid-column: 1;
  grid-row: 1 / span 4;
  height: 100vh;
  min-height: 38rem;
  color: var(--rail-text);
  background: var(--rail);
}

.rail-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: clamp(2rem, 5vw, 5rem);
}

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

.rail-mark {
  width: 2.7rem;
  color: var(--accent);
}

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

.rail-kicker,
.eyebrow,
.step-label {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  margin-top: 0;
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
  color: var(--rail-text);
  font-size: clamp(2.7rem, 5.2vw, 5.7rem);
}

h2 {
  max-width: 17ch;
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 4.5rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.pitch {
  max-width: 31rem;
  margin: 0;
  color: var(--rail-text);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.rail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.85rem 1.3rem;
  border: 0.12rem solid var(--accent);
  border-radius: 0.25rem;
  color: var(--rail);
  background: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.primary-action:hover {
  color: var(--rail-text);
  background: transparent;
}

.phone-line {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.25;
}

.phone-line span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rail-nav {
  display: flex;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 0.08rem solid var(--rail-text);
}

.rail-nav a {
  color: var(--rail-text);
  font-size: 0.78rem;
}

.quote-panel,
.steps,
.contact {
  grid-column: 2;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
}

.quote-panel {
  grid-row: 2;
  border-bottom: 0.08rem solid var(--rail);
}

blockquote {
  max-width: 24ch;
  margin-bottom: 1.4rem;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  border-left: 0.45rem solid var(--accent);
  font-size: clamp(1.8rem, 3.5vw, 3.75rem);
  font-weight: 600;
}

.quote-role {
  margin: 0;
  padding-left: clamp(1.7rem, 3.5vw, 3rem);
  font-weight: 600;
}

.steps {
  grid-row: 3;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading > p:last-child {
  max-width: 37rem;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 55rem;
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
}

.timeline::before {
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 0;
  width: 0.18rem;
  background: var(--accent);
  content: "";
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 0.5rem 0 2.75rem 1.5rem;
  border-left: 0.15rem solid var(--rail);
}

.timeline-step:last-child {
  padding-bottom: 0.5rem;
}

.timeline-step::before {
  position: absolute;
  top: 0.65rem;
  left: calc(-1.5rem - 0.56rem);
  width: 0.9rem;
  height: 0.9rem;
  border: 0.18rem solid var(--canvas);
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

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

.step-label {
  margin-top: 0.25rem;
}

.contact {
  grid-row: 4;
  padding-bottom: 0;
  color: var(--rail-text);
  background: var(--rail);
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(14rem, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

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

.contact-main p:not(.eyebrow) {
  max-width: 34rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-self: end;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 0.45rem solid var(--accent);
  color: var(--rail-text);
  font-style: normal;
}

.contact-details span:first-child {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  border-top: 0.08rem solid var(--rail-text);
  color: var(--rail-text);
  font-size: 0.82rem;
}

.footer-strip > a {
  color: var(--accent);
  font-weight: 700;
}

.footer-socials {
  margin-left: auto;
}

.privacy {
  padding: 1.5rem 0 2.5rem;
  border-top: 0.08rem solid var(--rail-text);
}

.privacy summary {
  width: fit-content;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  cursor: pointer;
}

.privacy-copy {
  max-width: 48rem;
  padding-top: 1rem;
}

.privacy-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 68rem) {
  .shell {
    grid-template-columns: 42% minmax(0, 58%);
  }

  .topbar,
  .quote-panel,
  .steps,
  .contact {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .topnav {
    display: none;
  }

  .timeline-step {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }
}

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

  .rail {
    position: relative;
    order: -3;
    width: 100%;
    height: auto;
    min-height: 78svh;
  }

  .rail-inner {
    min-height: 78svh;
    padding: 2rem 1.5rem;
  }

  .rail-copy {
    margin: auto 0;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .topbar {
    position: sticky;
    order: -2;
    min-height: auto;
    padding: 1rem 1.5rem;
  }

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

  .social-links {
    gap: 0.7rem;
  }

  .social-links a:last-child {
    display: none;
  }

  .quote-panel {
    order: -1;
  }

  .quote-panel,
  .steps,
  .contact {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .quote-panel,
  .steps {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  blockquote {
    font-size: clamp(1.75rem, 8vw, 2.65rem);
  }

  .timeline {
    padding-left: 1.25rem;
  }

  .timeline-step {
    padding-left: 1.2rem;
  }

  .timeline-step::before {
    left: calc(-1.25rem - 0.56rem);
  }

  .footer-socials {
    width: 100%;
    margin-left: 0;
  }
}

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

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