:root {
  --paper: #f6f2e8;
  --ink: #18213d;
  --accent: #3157d5;
  --accent-soft: #f0b65a;
  --line: color-mix(in srgb, var(--ink) 19%, transparent);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }

.pages-site {
  --muted: color-mix(in srgb, var(--ink) 65%, transparent);
  font-family: Arial, "Helvetica Neue", ui-sans-serif, sans-serif;
  background: var(--paper);
}
.pages-site h1, .pages-site h2, .pages-site h3, .pages-principle p { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }

.pages-header {
  min-height: 100px;
  padding: 0 clamp(24px, 5vw, 84px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 35px;
  border-bottom: 1px solid var(--line);
}
.pages-brand { width: max-content; display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font: 750 11px/1.05 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.pages-monogram { width: 44px; height: 52px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50% 50% 4px 4px; color: var(--accent); font: italic 600 29px/1 Georgia, serif; }
.pages-header nav { display: flex; gap: clamp(22px, 3.5vw, 56px); }
.pages-header nav a { padding: 8px 0; color: var(--muted); text-decoration: none; font-size: 13px; }
.pages-header nav a:hover, .pages-header nav a:focus-visible { color: var(--accent); }
.index-link { justify-self: end; padding-bottom: 7px; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 12px; font-weight: 700; }
.index-link span { margin-left: 15px; color: var(--accent); }

.pages-main, .pages-footer { width: min(100%, 1720px); margin-inline: auto; }
.pages-hero { min-height: 730px; padding: clamp(58px, 8vw, 126px) clamp(24px, 5vw, 84px); display: grid; grid-template-columns: 125px minmax(0, 1fr) minmax(330px, 430px); gap: clamp(40px, 6vw, 105px); align-items: center; border-bottom: 1px solid var(--line); }
.edition-note { align-self: stretch; padding-right: 28px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.edition-note strong { color: var(--ink); font: 500 24px/1.12 Georgia, serif; letter-spacing: 0; text-transform: none; }
.edition-note small { font-size: 9px; }
.pages-kicker { margin: 0 0 27px; color: var(--accent); font: 750 10px/1.4 Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.pages-hero h1 { max-width: 850px; margin: 0; font-size: clamp(64px, 7.3vw, 126px); letter-spacing: -.055em; line-height: .87; text-wrap: balance; }
.pages-lede { max-width: 730px; margin: 39px 0 34px; color: var(--muted); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.58; }
.pages-button { display: inline-flex; gap: 32px; padding: 14px 20px; border: 1px solid var(--ink); text-decoration: none; font-size: 12px; font-weight: 750; letter-spacing: .04em; }
.pages-button:hover, .pages-button:focus-visible { background: var(--ink); color: var(--paper); }

.library-map { padding: 38px 34px 30px; background: var(--accent); color: white; box-shadow: 18px 18px 0 var(--accent-soft); transform: rotate(1.3deg); }
.map-label { margin: 0 0 42px; padding-bottom: 16px; border-bottom: 1px solid color-mix(in srgb, white 40%, transparent); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.library-map ol { margin: 0; padding: 0; list-style: none; }
.library-map li { padding: 19px 0; display: grid; grid-template-columns: 35px 1fr; gap: 15px; border-bottom: 1px solid color-mix(in srgb, white 30%, transparent); }
.library-map li > span { font: 700 10px/1.4 Arial, sans-serif; opacity: .6; }
.library-map strong { display: block; font: 500 28px/1 Georgia, serif; }
.library-map small { display: block; margin-top: 8px; font-size: 11px; line-height: 1.4; opacity: .75; }
.map-foot { margin: 30px 0 0; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

.routes { padding: clamp(100px, 11vw, 175px) clamp(24px, 5vw, 84px); background: #fffdf7; }
.routes-head { margin-bottom: 75px; display: grid; grid-template-columns: .75fr 1.35fr .7fr; gap: clamp(35px, 5vw, 85px); align-items: start; }
.routes h2, .field-guide h2, .library-notes h2 { margin: 0; font-size: clamp(45px, 5vw, 82px); letter-spacing: -.04em; line-height: .96; }
.routes-head > p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.route-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.route-card { min-height: 405px; padding: clamp(30px, 4vw, 62px); display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.route-2 { background: var(--accent-soft); }
.route-3 { background: var(--ink); color: var(--paper); }
.route-tag { margin: 0 0 54px; color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.route-2 .route-tag { color: var(--ink); }
.route-3 .route-tag { color: var(--accent-soft); }
.route-card h3 { max-width: 620px; margin: 0 0 24px; font-size: clamp(29px, 3vw, 46px); letter-spacing: -.025em; line-height: 1.04; }
.route-card > p:nth-of-type(2) { max-width: 610px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.route-2 > p:nth-of-type(2) { color: color-mix(in srgb, var(--ink) 73%, transparent); }
.route-3 > p:nth-of-type(2) { color: color-mix(in srgb, var(--paper) 68%, transparent); }
.route-action { margin-top: auto; padding-top: 35px; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.route-action b { float: right; color: var(--accent); font-size: 17px; }

.field-guide { position: relative; overflow: hidden; padding: clamp(85px, 9vw, 145px) clamp(24px, 5vw, 84px); display: grid; grid-template-columns: .45fr 1fr .9fr; gap: clamp(45px, 7vw, 110px); background: var(--accent); color: white; }
.guide-number { align-self: start; font: italic 500 clamp(120px, 15vw, 260px)/.7 Georgia, serif; color: color-mix(in srgb, white 23%, transparent); letter-spacing: -.09em; }
.field-guide .pages-kicker { color: var(--accent-soft); }
.guide-copy > p:nth-of-type(2) { max-width: 610px; margin: 30px 0; color: color-mix(in srgb, white 73%, transparent); font-size: 17px; line-height: 1.65; }
.guide-copy a { display: inline-flex; gap: 24px; padding-bottom: 7px; border-bottom: 1px solid white; text-decoration: none; font-size: 12px; font-weight: 700; }
.guide-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid color-mix(in srgb, white 35%, transparent); }
.guide-steps li { padding: 25px 0; display: grid; grid-template-columns: 60px 1fr; gap: 15px; border-bottom: 1px solid color-mix(in srgb, white 35%, transparent); }
.guide-steps span { font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.guide-steps strong { font: 500 23px/1.15 Georgia, serif; }
.guide-steps p { grid-column: 2; margin: -5px 0 0; color: color-mix(in srgb, white 70%, transparent); font-size: 13px; line-height: 1.5; }

.library-notes { padding: clamp(100px, 11vw, 175px) clamp(24px, 5vw, 84px); }
.library-notes > header { max-width: 900px; margin-bottom: 72px; }
.note-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 42px); }
.note-shelf article { min-height: 310px; padding: 30px 0; display: flex; flex-direction: column; border-top: 3px solid var(--ink); }
.note-shelf article:nth-child(2) { border-color: var(--accent); }
.note-shelf article:nth-child(3) { border-color: var(--accent-soft); }
.note-shelf span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.note-shelf h3 { margin: 50px 0 22px; font-size: clamp(27px, 2.5vw, 39px); letter-spacing: -.025em; line-height: 1.05; }
.note-shelf p { margin: auto 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.pages-principle { margin: 0; padding: clamp(85px, 10vw, 160px) clamp(24px, 14vw, 235px); background: var(--accent-soft); color: var(--ink); text-align: center; }
.pages-principle p { max-width: 1100px; margin: 0 auto; font-size: clamp(40px, 5.3vw, 84px); letter-spacing: -.035em; line-height: 1.03; }
.pages-principle cite { display: block; margin-top: 40px; font-size: 9px; font-style: normal; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.pages-footer { padding: 35px clamp(24px, 5vw, 84px); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pages-footer span:nth-child(2) { text-align: center; }
.pages-footer span:last-child { text-align: right; }

@media (max-width: 1080px) {
  .pages-hero { grid-template-columns: 85px 1fr; }
  .library-map { grid-column: 2; max-width: 560px; transform: none; }
  .routes-head { grid-template-columns: 1fr 1.5fr; }
  .routes-head > p:last-child { grid-column: 2; }
  .field-guide { grid-template-columns: .35fr 1fr; }
  .guide-steps { grid-column: 2; }
}

@media (max-width: 720px) {
  .pages-header { min-height: 78px; grid-template-columns: 1fr auto; }
  .pages-header nav { display: none; }
  .index-link { font-size: 0; }
  .index-link span { margin: 0; font-size: 20px; }
  .pages-monogram { width: 36px; height: 43px; }
  .pages-hero { min-height: 0; padding-block: 70px; grid-template-columns: 1fr; }
  .edition-note { min-height: 55px; padding: 0 0 20px; flex-direction: row; align-items: end; border-right: 0; border-bottom: 1px solid var(--line); }
  .edition-note small { text-align: right; }
  .pages-hero h1 { font-size: clamp(54px, 16vw, 82px); }
  .library-map { grid-column: 1; width: calc(100% - 10px); box-shadow: 10px 10px 0 var(--accent-soft); }
  .routes-head, .route-grid, .field-guide, .note-shelf { grid-template-columns: 1fr; }
  .routes-head { gap: 26px; }
  .routes-head > p:last-child { grid-column: 1; }
  .route-card { min-height: 360px; }
  .guide-number { font-size: 140px; }
  .guide-steps { grid-column: 1; }
  .pages-footer { grid-template-columns: 1fr; }
  .pages-footer span:nth-child(2), .pages-footer span:last-child { text-align: left; }
}

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