:root {
  --paper: #f4f2ed;
  --white: #fff;
  --ink: #171715;
  --muted: #64625d;
  --line: #d6d1c7;
  --accent: #ce7521;
  --dark: #1d1d1a;
  --shell: min(1180px, calc(100% - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  flex: 0 0 auto;
  border-radius: 2px;
}

.brand img {
  width: 58px;
  height: auto;
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
}

.site-nav a,
.footer-nav a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.footer-nav a:hover::after {
  right: 0;
}

.hero {
  padding: clamp(84px, 11vw, 154px) 0 clamp(96px, 13vw, 182px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 260px;
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.eyebrow {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

h1 {
  max-width: 750px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(54px, 7.4vw, 108px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
  overflow-wrap: break-word;
}

h1 span {
  display: block;
}

.hero-line {
  max-width: 670px;
  margin-bottom: 32px;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 39px);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.hero-body {
  max-width: 630px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 8px;
}

.text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.text-link span {
  color: var(--accent);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.routes {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: baseline;
  margin-bottom: 52px;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}

.section-number {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

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

.route-card {
  position: relative;
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 40px;
  min-height: 390px;
  padding: clamp(32px, 5vw, 68px) clamp(24px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  overflow: hidden;
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease;
}

.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 300ms cubic-bezier(.2, .75, .25, 1);
}

.route-card > * {
  position: relative;
  z-index: 1;
}

.route-card:hover,
.route-card:focus-visible {
  color: var(--white);
}

.route-card:hover::before,
.route-card:focus-visible::before {
  transform: translateY(0);
}

.route-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.route-label {
  max-width: 190px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.route-arrow {
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
  transition: transform 180ms ease;
}

.route-card:hover .route-arrow {
  transform: translate(4px, -4px);
}

.route-card h3 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .95;
}

.route-description {
  max-width: 670px;
  margin-bottom: 16px;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

.route-detail {
  max-width: 610px;
  margin-bottom: 42px;
  color: var(--muted);
  transition: color 220ms ease;
}

.route-card:hover .route-detail,
.route-card:focus-visible .route-detail {
  color: #c9c9c3;
}

.route-cta {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
}

.image-break {
  height: min(58vw, 680px);
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  background: #d2d2d0;
}

.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(.78) contrast(.96);
}

.purpose {
  padding: clamp(90px, 12vw, 168px) 0;
}

.purpose-grid {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 10vw, 150px);
}

.section-heading--vertical {
  display: block;
  margin: 0;
}

.section-heading--vertical .section-number {
  margin-bottom: 28px;
}

.purpose-copy {
  padding-top: 38px;
  color: var(--muted);
  font-size: 18px;
}

.purpose-lead {
  margin-bottom: 20px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(29px, 3.5vw, 46px);
  letter-spacing: -.025em;
  line-height: 1.2;
}

.purpose-routes {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.purpose-routes p {
  margin-bottom: 10px;
}

.purpose a,
.contact-copy a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--dark);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 10vw, 150px);
}

.section-number--light {
  margin-bottom: 28px;
  color: #a6a49d;
}

.contact-copy {
  padding-top: 10px;
  color: #c9c8c2;
  font-size: 17px;
}

.contact-copy p {
  margin-bottom: 12px;
}

.contact-copy p:nth-last-of-type(1) {
  margin-top: 42px;
  margin-bottom: 8px;
  color: #99978f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.email-link {
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 42px);
  letter-spacing: -.02em;
  text-decoration: none;
}

.email-link:hover {
  color: #e7a25f;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid #383834;
  background: var(--dark);
  color: #aaa8a0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

.footer-company {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.footer-company img {
  width: 34px;
  height: auto;
}

.footer-nav a {
  font-size: 13px;
}

.copyright {
  justify-self: end;
  margin: 0;
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .hero-actions {
    grid-column: 2;
    max-width: 420px;
    margin-top: 20px;
  }

  .route-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .route-card__top {
    margin-bottom: 22px;
  }

  .route-label {
    max-width: none;
  }

  .route-arrow {
    position: absolute;
    top: 0;
    right: 0;
  }

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

  .footer-nav {
    justify-self: end;
  }

  .copyright {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 32px, 1180px);
  }

  .header-inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 0;
  }

  .brand img {
    width: 46px;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero-grid,
  .section-heading,
  .purpose-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .section-heading {
    gap: 30px;
  }

  .eyebrow {
    flex-direction: row;
    justify-content: space-between;
    padding-top: 0;
  }

  h1 {
    max-width: 350px;
    font-size: clamp(40px, 13vw, 56px);
    line-height: 1.05;
  }

  .hero-line,
  .hero-body {
    max-width: 350px;
  }

  .hero-actions {
    grid-column: auto;
    width: 100%;
    max-width: none;
    margin-top: 8px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .route-card {
    min-height: 420px;
    padding: 32px 24px 38px;
  }

  .route-card__content {
    display: flex;
    flex-direction: column;
  }

  .route-card h3 {
    padding-right: 34px;
  }

  .route-cta {
    align-self: flex-start;
    margin-top: auto;
  }

  .image-break {
    min-height: 340px;
  }

  .image-break img {
    object-position: 51% center;
  }

  .purpose-copy {
    padding-top: 0;
  }

  .contact-grid {
    gap: 44px;
  }

  .email-link {
    overflow-wrap: anywhere;
  }

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

  .footer-nav {
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
