@font-face {
  font-family: "Fraunces";
  src: local("Fraunces");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #172b32;
  --ink-deep: #102128;
  --paper: #f4efe5;
  --paper-deep: #e8dfcf;
  --rust: #bb743c;
  --rust-dark: #8d4e28;
  --sea: #3d666c;
  --line: rgba(23, 43, 50, 0.18);
  --white-line: rgba(244, 239, 229, 0.22);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Fraunces, Iowan Old Style, Baskerville, Georgia, serif;
  --page: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { color: var(--paper); background: var(--rust-dark); }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}
.nav {
  width: var(--page);
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 40px; height: auto; }
.brand-word {
  font-weight: 750;
  font-size: 1.12rem;
  letter-spacing: .075em;
}
.brand-word i { color: var(--rust); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--ink);
  font-size: .8rem;
  font-weight: 680;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--rust-dark); }
.nav-links .nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--ink);
  border-radius: 100px;
}

.hero {
  width: var(--page);
  min-height: min(820px, calc(100vh - 88px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  position: relative;
  padding: clamp(78px, 9vw, 136px) clamp(40px, 5vw, 76px) 80px 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--rust-dark);
  font-size: .73rem;
  font-weight: 760;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; border-top: 1px solid currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .92;
}
h1 em { color: var(--rust); font-weight: 500; }
.hero-intro {
  max-width: 660px;
  margin-bottom: 38px;
  color: #3d5055;
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  line-height: 1.55;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 20px 14px 22px;
  border-radius: 100px;
  color: var(--paper);
  background: var(--ink);
  font-size: .78rem;
  font-weight: 720;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}
.button::after { content: "↗"; font-size: 1.05rem; }
.button:hover { background: var(--rust-dark); transform: translateY(-2px); }
.hero-chart {
  position: relative;
  min-height: 560px;
  color: var(--paper);
  background: var(--ink);
  border-left: 1px solid var(--line);
  isolation: isolate;
}
.hero-chart::before,
.hero-chart::after {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 0;
}
.hero-chart::before {
  opacity: .35;
  background-image:
    linear-gradient(var(--white-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-line) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-chart::after {
  left: 50%;
  right: auto;
  width: 1px;
  background: var(--rust);
}
.chart-label {
  position: absolute;
  z-index: 2;
  left: 24px;
  color: rgba(244,239,229,.65);
  font-family: var(--serif);
  font-size: .68rem;
  font-style: italic;
  letter-spacing: .08em;
}
.chart-label.north { top: 36px; }
.chart-label.south { bottom: 36px; }
.chart-label.east { right: 24px; bottom: 36px; left: auto; }
.hero-mark {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(76%, 350px);
  transform: translate(-50%, -50%);
}
.hero-mark img { width: 100%; filter: invert(94%) sepia(8%) saturate(392%); opacity: .97; }
.position-fix {
  position: absolute;
  z-index: 3;
  top: 96.9%;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 1px solid var(--rust);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.position-fix::before, .position-fix::after { position: absolute; content: ""; background: var(--rust); }
.position-fix::before { top: 5px; left: -6px; width: 23px; height: 1px; }
.position-fix::after { top: -6px; left: 5px; width: 1px; height: 23px; }

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: var(--page);
  margin: 0 auto;
  border-right: 1px solid var(--line);
}
.proof-item { min-height: 146px; padding: 30px 32px; border-left: 1px solid var(--line); }
.proof-value { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.2; }
.proof-label { display: block; margin-top: 6px; color: #607075; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }

.section { width: var(--page); margin: 0 auto; padding: clamp(86px, 11vw, 150px) 0; }
.section-head { display: grid; grid-template-columns: .45fr 1.1fr; gap: 48px; margin-bottom: 64px; }
.section-number { color: var(--rust-dark); font-family: var(--serif); font-style: italic; }
h2 {
  max-width: 850px;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}
.section-lede { max-width: 670px; color: #53666b; font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service {
  padding: 32px 34px 24px 0;
  border-bottom: 1px solid var(--line);
}
.service + .service { padding-left: 34px; border-left: 1px solid var(--line); }
.service-index { color: var(--rust-dark); font-family: var(--serif); font-size: .85rem; font-style: italic; }
.service h3 { margin: 44px 0 14px; font-family: var(--serif); font-size: 1.7rem; font-weight: 520; line-height: 1.1; }
.service p { color: #53666b; font-size: .96rem; }
.service ul { margin: 22px 0 0; padding: 0; list-style: none; }
.service li { padding: 8px 0; border-top: 1px solid var(--line); font-size: .86rem; }

.dark { color: var(--paper); background: var(--ink-deep); }
.dark .section { position: relative; }
.dark .section-head { margin-bottom: 72px; }
.dark .section-lede { color: rgba(244,239,229,.68); }
.route { display: grid; grid-template-columns: 150px 1fr; gap: 42px; padding: 30px 0; border-top: 1px solid var(--white-line); }
.route:last-child { border-bottom: 1px solid var(--white-line); }
.route-number { color: var(--rust); font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.route h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.route p { max-width: 610px; margin: 0; color: rgba(244,239,229,.68); }

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(54px, 9vw, 120px); align-items: start; }
.about-card { position: sticky; top: 40px; border: 1px solid var(--line); background: #eee6d8; }
.about-portrait {
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--sea);
}
.about-portrait img { width: 48%; opacity: .88; filter: invert(94%) sepia(8%) saturate(392%); }
.about-caption { padding: 18px 22px; border-top: 1px solid var(--line); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.about-copy h2 { margin-bottom: 36px; }
.about-copy > p { max-width: 650px; color: #42575c; font-size: 1.08rem; }
.credentials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin-top: 38px; border-top: 1px solid var(--line); }
.credential { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.text-link { display: inline-block; margin-top: 30px; color: var(--rust-dark); font-weight: 700; text-underline-offset: 4px; }

.contact { padding: clamp(90px, 12vw, 170px) 0; color: var(--paper); background: var(--rust-dark); text-align: center; }
.contact-inner { width: var(--page); margin: 0 auto; }
.contact .eyebrow { justify-content: center; color: rgba(244,239,229,.7); }
.contact h2 { margin-right: auto; margin-left: auto; }
.contact p { max-width: 600px; margin: 0 auto 32px; color: rgba(244,239,229,.74); }
.contact .button { color: var(--ink); background: var(--paper); }
.contact .button:hover { background: #fffaf0; }

.site-footer { color: var(--paper); background: var(--ink-deep); }
.footer-inner { width: var(--page); margin: 0 auto; padding: 34px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-copy { color: rgba(244,239,229,.56); font-size: .76rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: rgba(244,239,229,.72); font-size: .76rem; text-underline-offset: 3px; }

.policy-main { width: min(780px, calc(100vw - 48px)); margin: 0 auto; padding: 84px 0 120px; }
.policy-main h1 { font-size: clamp(3rem, 7vw, 5.4rem); }
.policy-main h2 { margin: 54px 0 18px; font-family: var(--serif); font-size: 1.8rem; letter-spacing: -.02em; line-height: 1.2; }
.policy-main h3 { margin-top: 32px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.policy-main p, .policy-main li { color: #465a60; }
.policy-main li { margin-bottom: 8px; }
.policy-meta { margin-bottom: 45px; padding-bottom: 22px; border-bottom: 1px solid var(--line); color: #68777b; font-size: .84rem; }
.callout { margin: 38px 0; padding: 24px 28px; border-left: 3px solid var(--rust); background: #ece3d4; }
.callout p:last-child { margin-bottom: 0; }
.app-hero { min-height: calc(100vh - 89px); display: grid; place-items: center; padding: 72px 24px; }
.app-card { width: min(760px, 100%); text-align: center; }
.app-icon { width: 96px; height: 96px; margin: 0 auto 32px; }
.app-card h1 { margin: 0 auto 26px; font-size: clamp(3.2rem, 8vw, 6.4rem); }
.app-card > p { max-width: 600px; margin: 0 auto 24px; color: #4c6065; font-size: 1.12rem; }
.app-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 34px; }
.app-links a { color: var(--rust-dark); font-size: .86rem; font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 820px) {
  :root { --page: min(100% - 32px, 680px); }
  .nav { min-height: 74px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 72px 0 68px; }
  .hero-chart { min-height: 390px; border-top: 1px solid var(--line); border-left: 0; }
  .proof { grid-template-columns: 1fr; border-right: 0; }
  .proof-item { min-height: auto; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); border-left: 0; }
  .section-head, .about { grid-template-columns: 1fr; }
  .section-head { gap: 20px; margin-bottom: 44px; }
  .service-grid { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 28px 0; border-left: 0; }
  .service h3 { margin-top: 22px; }
  .route { grid-template-columns: 60px 1fr; gap: 20px; }
  .about-card { position: static; }
  .credentials { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  h1 { font-size: 3.25rem; }
  .brand-word { font-size: 1rem; }
  .nav-links .nav-cta { padding: 8px 12px; font-size: .7rem; }
  .hero-chart { min-height: 330px; }
  .route { grid-template-columns: 1fr; gap: 4px; }
  .policy-main { width: calc(100vw - 32px); padding-top: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
