@font-face {
  font-family: Instrument;
  src: url(assets/type/serif.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url(assets/type/serif-italic.woff2) format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(assets/type/sans.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --paper: #f7f5eb;
  --ink: #21392d;
  --accent: #a84d29;
  --line: #c9cec0;
  --btn: #233e30;
  --btntext: #fffdf2;
  --gutter: clamp(1.15rem, 5.3vw, 6.3rem);
  --serif: Instrument, Georgia, serif;
  --sans: DM, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
dl,
dd,
p,
h1,
h2,
h3 {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
button,
summary {
  cursor: pointer;
}
button {
  font: inherit;
}
.wrap {
  width: min(100% - var(--gutter) * 2, 1440px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 20;
  background: white;
  color: black;
  padding: 0.6rem;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.mast {
  min-height: 85px;
  display: flex;
  align-items: center;
  gap: 3rem;
  border-bottom: 1px solid var(--line);
}
.brandlink,
.cta,
.header-beta,
.mast nav a,
footer a {
  text-decoration: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font: 2rem/1 var(--serif);
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.brandmark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
}
.brandmark .ico {
  width: 25px;
  height: 25px;
}
.ico {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.mast nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.94rem;
}
.mast nav a:hover,
footer a:hover,
.under:hover {
  text-decoration: underline;
}
.header-beta {
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: 0.54rem 1.05rem;
  font-weight: 600;
  font-size: 0.91rem;
}
.header-beta:hover {
  background: var(--ink);
  color: var(--paper);
}
.cta {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 0.72rem 1.3rem;
  font-weight: 650;
  font-size: 1rem;
  background: var(--btn);
  color: var(--btntext);
  border-radius: 6px;
  transition: transform 0.15s;
}
.cta:hover {
  transform: translateY(-2px);
}
.cta .ico {
  width: 1.12em;
}
.under {
  font-size: 0.98rem;
  text-decoration-thickness: 1px;
  font-weight: 550;
}
.label,
.photo-switch {
  font: 600 0.78rem/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.rule {
  width: 2.1rem;
  height: 2px;
  background: currentColor;
}
h1,
h2 {
  font: normal clamp(4.4rem, 8.9vw, 9.5rem) / 0.91 var(--serif);
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(3.2rem, 5.9vw, 6rem);
  line-height: 0.98;
}
h3 {
  font: normal 2rem/1.12 var(--serif);
  letter-spacing: -0.025em;
}
h1 em,
h2 em {
  font-weight: inherit;
}
.actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 1.9rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
footer > div {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  font-size: 0.88rem;
}
footer .brand {
  font-size: 1.55rem;
}
footer .brandmark {
  width: 28px;
  height: 28px;
}
footer .brandmark .ico {
  width: 19px;
  height: 19px;
}
/* Field Guide */
.field-hero {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: clamp(2.2rem, 5.3vw, 6rem);
  padding-block: clamp(2.45rem, 4.3vw, 5rem);
}
.field-intro {
  padding-block: 1rem;
}
.field-intro .label {
  color: #5a694a;
}
.field-intro h1 {
  margin: 1.65rem 0 1.4rem;
  font-size: clamp(5.7rem, 9.6vw, 10rem);
}
.field-intro h1 em {
  color: #617447;
}
.field-intro > p:not(.label) {
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  max-width: 34ch;
}
.field-intro .actions {
  margin-top: 1.9rem;
}
.field-print {
  padding: 10px 10px 0;
  background: #fffdf3;
  border: 1px solid #cfcec0;
  box-shadow: 2px 5px 0 #273e2510;
  transform: rotate(1deg);
  position: relative;
}
.field-photo {
  position: relative;
  overflow: hidden;
}
.field-photo img {
  width: 100%;
  height: clamp(335px, 34.5vw, 555px);
  object-fit: cover;
  object-position: 52% 50%;
}
.photo-compass {
  position: absolute;
  right: 1rem;
  top: 1rem;
  color: white;
  text-shadow: 0 1px 6px #000;
  font: 2rem/1 Georgia;
  border: 1px solid #ffffffba;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.field-print figcaption,
.field-print figcaption > div {
  display: flex;
  align-items: center;
}
.field-print figcaption {
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 46px;
  padding-inline: 2px;
}
.field-print figcaption > div:first-child {
  font: normal 1.2rem var(--serif);
  gap: 0.4rem;
}
.field-print figcaption .ico {
  width: 0.95rem;
}
.photo-switch {
  gap: 1px;
}
.photo-switch button {
  height: 40px;
  width: 24px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.photo-switch button::after {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.photo-switch [aria-pressed="true"]::after {
  background: currentColor;
}
.app-story .label {
  color: #4b5b3e;
  margin-bottom: 1.1rem;
}
.app-story p:not(.label) {
  max-width: 40ch;
  margin-top: 1.3rem;
}
.app-story {
  background: #e7ebdc;
}
.app-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(2rem, 8vw, 9rem);
  align-items: center;
  padding-block: 4rem;
}
.app-screen {
  display: flex;
  justify-content: center;
}
.device {
  width: min(100%, 235px);
  padding: 5px;
  border-radius: 34px;
  background: #1d1b22;
  box-shadow:
    0 18px 25px -14px #221e2d65,
    0 0 0 1px #615f66;
  overflow: hidden;
}
.device img {
  border-radius: 29px;
  width: 100%;
}
.app-grid details {
  border-bottom: 1px solid #b4bda9;
  max-width: 31rem;
}
.app-grid details:first-of-type {
  margin-top: 1.5rem;
  border-top: 1px solid #b4bda9;
}
.app-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.6rem 0.1rem;
  font-weight: 600;
  list-style: none;
}
.app-grid summary::-webkit-details-marker {
  display: none;
}
.app-grid summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
}
.app-grid details[open] summary::after {
  content: "−";
}
.app-grid details p:not(.label) {
  margin: 0 0 1rem;
}
.drive-study {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 5.3vw, 6rem);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.6rem, 5vw, 5.5rem);
}
.drive-copy .label {
  color: #536044;
}
.drive-copy h2 {
  margin: 1.1rem 0;
}
.drive-copy em,
.index .app-story em {
  color: #596d41;
}
.drive-copy > p:not(.label) {
  max-width: 41ch;
  font-size: 1.08rem;
}
.drive-choices {
  padding: 0;
  margin: 1.55rem 0 0;
  border: 0;
  max-width: 29rem;
  min-width: 0;
}
.drive-choices legend {
  padding: 0;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.drive-choice {
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.68rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.drive-choice + .drive-choice {
  margin-top: 0.45rem;
}
.drive-choice:has(:checked) {
  background: #e8ecdf;
  border-color: #53694c;
}
.drive-choice:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.drive-choice input {
  accent-color: #31553c;
  margin: 0;
  width: 1.05rem;
  height: 1.05rem;
}
.drive-choice span > * {
  display: block;
}
.drive-choice strong {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.08rem;
}
.drive-choice strong::before {
  content: "";
  width: 1.15rem;
  border-top: 3px solid #a44727;
}
.drive-choice:has([value="direct"]) strong::before {
  border-color: #356274;
  border-top-style: dashed;
}
.drive-choice small {
  color: #4e5c4d;
  font-size: 0.875rem;
  line-height: 1.35;
}
.choice-metrics {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.route-plate {
  border: 1px solid #c8ccbd;
  padding: 0.5rem 0.5rem 0;
  background: #fcfbf2;
  box-shadow: 1px 3px 0 #24391a0d;
}
.drive-map {
  width: 100%;
  height: auto;
  display: block;
  background: #ecebd7;
}
.route-ink use {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.road-casing {
  stroke: #fffdf1;
  stroke-width: 13;
}
.road-ink {
  stroke-width: 7.5;
}
.country-trace .road-ink {
  stroke: #a44727;
}
.direct-trace .road-ink {
  stroke: #356274;
  stroke-dasharray: 11 10;
}
.drive-study:has(input[value="direct"]:checked) .country-trace {
  opacity: 0.47;
}
.drive-study:has(input[value="direct"]:checked) .direct-trace .road-ink {
  stroke-width: 10;
}
.drive-study:has(input[value="country"]:checked) .direct-trace {
  opacity: 0.76;
}
.drive-map text {
  paint-order: stroke;
  stroke: #f4f3df;
  stroke-width: 4;
  stroke-linejoin: round;
  fill: #263e31;
}
.map-town {
  font: 36px var(--serif);
}
.map-village {
  font: 500 23px var(--sans);
}
.map-water text {
  fill: #395d68;
  stroke: #b9d5d4;
  stroke-width: 2;
  font: italic 29px var(--serif);
}
.map-end circle {
  fill: #fffdf1;
  stroke: #2e4835;
  stroke-width: 5;
}
.route-plate figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.25rem;
}
.route-plate figcaption span {
  font: 1.2rem var(--serif);
}
.route-plate figcaption a {
  font-size: 0.78rem;
}
.index .app-screen {
  padding: 1.6rem;
}
.index .app-screen .device {
  cursor: zoom-in;
  width: min(100%, 325px);
  border-radius: 48px;
  padding: 6px;
}
.index .app-screen .device img {
  border-radius: 42px;
}
@media (max-width: 880px) {
  .drive-study {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .drive-copy > p:not(.label) {
    max-width: 56ch;
  }
  .drive-choices {
    max-width: none;
  }
}
@media (max-width: 680px) {
  .index .app-screen {
    padding: 0.5rem;
  }
  .index .app-screen .device {
    width: min(100%, 294px);
  }
  .drive-choice {
    gap: 0.55rem;
    padding-inline: 0.65rem;
  }
  .map-village {
    font-size: 30px;
  }
  .map-town {
    font-size: 43px;
  }
}
.utility-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-block: 1.4rem;
  gap: 1rem;
}
.utility-head > a:last-child {
  font-size: 0.94rem;
}
.credits h1 {
  font-size: clamp(3.6rem, 7vw, 7rem);
}
.credits main {
  max-width: 920px;
  padding-block: 3rem;
}
.credits h2 {
  font-size: 2.4rem;
  margin: 2rem 0 1rem;
}
.credits ul {
  padding-left: 1.3rem;
}
.credits li {
  margin: 0.7rem 0;
}
@media (max-width: 880px) {
  .mast {
    gap: 1.4rem;
    min-height: 72px;
  }
  .mast nav {
    gap: 1rem;
  }
  .field-hero {
    gap: 1.8rem;
  }
  .field-intro h1 {
    font-size: clamp(4.9rem, 10vw, 7rem);
  }
  .field-print figcaption > div:first-child {
    font-size: 1.04rem;
  }
  .field-photo img {
    height: 340px;
  }
  .brand {
    font-size: 1.75rem;
  }
}
@media (max-width: 680px) {
  :root {
    --gutter: 1.2rem;
  }
  .mast {
    min-height: 65px;
    gap: 0.5rem;
    justify-content: space-between;
  }
  .mast nav {
    display: none;
  }
  .header-beta {
    font-size: 0.85rem;
    padding: 0.58rem 0.8rem;
  }
  .brand {
    font-size: 1.63rem;
    gap: 0.48rem;
  }
  .brandmark {
    width: 30px;
    height: 30px;
  }
  .brandmark .ico {
    width: 21px;
    height: 21px;
  }
  .field-hero,
  .app-grid {
    grid-template-columns: 1fr;
  }
  .field-hero {
    padding-block: 2.1rem 2.3rem;
    gap: 1.9rem;
  }
  .field-intro {
    padding: 0;
  }
  .field-intro h1 {
    font-size: clamp(4.7rem, 16vw, 6.7rem);
    margin: 1rem 0;
  }
  .field-intro .actions {
    margin-top: 1.2rem;
  }
  .field-photo img {
    height: clamp(210px, 54vw, 320px);
  }
  .field-print {
    padding: 6px 6px 0;
    transform: rotate(0.65deg);
  }
  .field-print figcaption {
    min-height: 42px;
  }
  .photo-compass {
    width: 33px;
    height: 33px;
    font-size: 1.6rem;
    right: 0.65rem;
    top: 0.65rem;
  }
  .app-grid {
    padding-block: 2.5rem;
    gap: 1.5rem;
  }
  .app-grid > div:nth-child(2) {
    grid-row: 1;
  }
  .app-screen .device {
    width: 190px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
