/* ==========================================================================
   Mohsinmirza LLC — Canal Milepost Ledger
   Theme: TOWPATH-PAPER  (pale willow-tinted towpath paper, laid grain)
   Accent: LOCK-BRASS #9F8238   Deep well / footer: CANAL-DEEP #1F4E52
   Panel oak: GATE-OAK #75603A   Tertiary: MILESTONE-STONE #62625A
   Sheet: WATER-SHEET #EFF6E2    Single highlight: BRIDGE-BRICK #92503C
   ========================================================================== */

:root {
  --towpath-paper: #DDE8CC;
  --canal-deep: #1F4E52;
  --lock-brass: #9F8238;
  --gate-oak: #75603A;
  --milestone-stone: #62625A;
  --water-sheet: #EFF6E2;
  --bridge-brick: #92503C;
  --towpath-paper-deep: #C9D8B4;
  --canal-deep-soft: #2C6166;
  --brass-shadow: #7C6528;
  --oak-shadow: #5B4A2C;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #DDE8CC;
  color: #1F4E52;
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  line-height: 1.7;
  overflow-x: hidden;
  background-image: repeating-linear-gradient(
      0deg,
      #D5E1C1 0px,
      #D5E1C1 1px,
      #DDE8CC 1px,
      #DDE8CC 7px
    );
}

h1, h2, h3, h4 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  line-height: 1.25;
  margin-top: 0;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1.05em;
}

a {
  color: #75603A;
  text-decoration: underline;
}

a:hover {
  color: #92503C;
}

.tow-wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. TOWPATH RAILING HEADER  (.towrail)
   Deep canal band; left brand milepost plate; right five iron railing posts.
   ========================================================================== */

.towrail {
  background-color: #1F4E52;
  border-bottom: 1px solid #62625A;
  position: sticky;
  top: 0;
  z-index: 40;
}

.towrail-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding-top: 14px;
  padding-bottom: 0;
  flex-wrap: wrap;
}

.towrail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
}

.towrail-post-plate {
  position: relative;
  background-color: #EFF6E2;
  border: 1px solid #62625A;
  border-radius: 8px 8px 3px 3px;
  padding: 12px 18px 14px;
  box-shadow: inset 0 -4px 0 #D5E1C1;
}

.towrail-post-plate::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background-color: #9F8238;
  border-radius: 8px 8px 0 0;
}

.towrail-brand-name {
  display: block;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #1F4E52;
  letter-spacing: 0.045em;
}

.towrail-brand-sub {
  display: block;
  font-size: 0.72rem;
  color: #62625A;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

.towrail-posts {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.towrail-post {
  background-color: #EFF6E2;
  border: 1px solid #1F4E52;
  border-radius: 5px 5px 0 0;
  padding: 0;
  position: relative;
}

.towrail-post::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #9F8238;
}

.towrail-post-a { padding-top: 20px; }
.towrail-post-b { padding-top: 28px; }
.towrail-post-c { padding-top: 16px; }
.towrail-post-d { padding-top: 24px; }
.towrail-post-e { padding-top: 19px; }

.towrail-post-link {
  display: block;
  padding: 9px 15px 11px;
  color: #1F4E52;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.towrail-post-link:hover {
  color: #92503C;
  background-color: #DDE8CC;
}

.towrail-post-link.is-current {
  color: #9F8238;
}

.towrail-rule {
  height: 2px;
  background-color: #62625A;
}

.towrail-toggle {
  display: none;
  background-color: #EFF6E2;
  border: 1px solid #9F8238;
  border-radius: 4px;
  color: #1F4E52;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 14px;
  margin-bottom: 12px;
  cursor: pointer;
}

/* ==========================================================================
   2. MILEPOST LEDGER SCENE  (.milehero)
   Stacked scene: headline top-left, paragraph, then full-width ledger scene.
   ========================================================================== */

.milehero {
  padding: 54px 0 0;
}

.milehero-headline {
  max-width: 780px;
  font-size: 2.7rem;
  color: #1F4E52;
  margin-bottom: 20px;
}

.milehero-headline .milehero-line {
  display: block;
}

.milehero-display {
  display: block;
  font-size: 4.6rem;
  font-weight: 700;
  color: #9F8238;
  letter-spacing: 0.06em;
  line-height: 1;
  margin: 6px 0 2px;
}

.milehero-lede {
  max-width: 720px;
  font-size: 1.08rem;
  color: #1F4E52;
  margin-bottom: 14px;
}

.milehero-inline {
  font-weight: 700;
  color: #75603A;
  text-decoration: underline;
}

.milehero-inline:hover {
  color: #92503C;
}

.milehero-scene {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 24px;
  align-items: end;
  background-color: #EFF6E2;
  border-top: 3px solid #1F4E52;
  border-bottom: 1px solid #62625A;
  padding: 30px 26px 26px;
}

/* --- 2a. cast-iron milepost with brass cap and distance plate --- */
.milepost {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.milepost-cap {
  width: 74px;
  height: 16px;
  background-color: #9F8238;
  border: 1px solid #7C6528;
  border-radius: 8px 8px 0 0;
}

.milepost-cap-seam {
  width: 74px;
  height: 2px;
  background-color: #7C6528;
}

.milepost-shaft {
  width: 60px;
  background-color: #62625A;
  border-left: 1px solid #4C4C46;
  border-right: 1px solid #4C4C46;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.milepost-plate {
  width: 48px;
  background-color: #EFF6E2;
  border: 1px solid #1F4E52;
  border-radius: 3px;
  text-align: center;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: #1F4E52;
  letter-spacing: 0.06em;
  padding: 5px 2px;
}

.milepost-plate strong {
  display: block;
  font-size: 0.94rem;
  color: #9F8238;
}

.milepost-foot {
  width: 90px;
  height: 12px;
  background-color: #4C4C46;
  border-radius: 2px;
}

.milepost-label {
  margin-top: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #62625A;
  text-align: center;
}

/* --- 2b. open way-book with ruled columns + brass dial --- */
.waybook-open {
  display: flex;
  gap: 0;
  border: 2px solid #75603A;
  border-radius: 4px;
  background-color: #EFF6E2;
  overflow: hidden;
  box-shadow: 3px 4px 0 #C9D8B4;
}

.waybook-leaf {
  flex: 1;
  min-width: 0;
  padding: 14px 14px 16px;
}

.waybook-leaf + .waybook-leaf {
  border-left: 2px solid #75603A;
}

.waybook-leaf-head {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1F4E52;
  border-bottom: 1px solid #1F4E52;
  padding-bottom: 5px;
  margin-bottom: 8px;
}

.waybook-rule {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  color: #1F4E52;
  border-bottom: 1px dotted #62625A;
  padding: 5px 0;
}

.waybook-rule span:last-child {
  color: #75603A;
  font-weight: 700;
}

.waybook-scene-dial {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.waybook-dial {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #DDE8CC;
  border: 6px solid #9F8238;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1F4E52;
}

.waybook-dial-note {
  font-size: 0.76rem;
  color: #62625A;
  max-width: 120px;
  line-height: 1.4;
}

/* --- 2c. towpath railing + brick course wall + lift bridge counterweight --- */
.towpath-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brickcourse {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background-color: #C9D8B4;
  border: 1px solid #62625A;
  border-radius: 3px;
}

.brickcourse-row {
  display: flex;
  gap: 4px;
}

.brick {
  height: 13px;
  background-color: #92503C;
  border-radius: 2px;
}

.brick.w1 { flex: 3; }
.brick.w2 { flex: 2; }
.brick.w3 { flex: 4; }
.brick.w4 { flex: 1; }

.brick.offset {
  margin-left: 18px;
}

.towpath-rail-run {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  border-bottom: 3px solid #62625A;
  padding: 0 6px 0;
  height: 74px;
}

.towpath-rail-post {
  width: 8px;
  background-color: #1F4E52;
  border-radius: 2px 2px 0 0;
  position: relative;
}

.towpath-rail-post::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #9F8238;
}

.towpath-rail-post.p1 { height: 46px; }
.towpath-rail-post.p2 { height: 60px; }
.towpath-rail-post.p3 { height: 52px; }
.towpath-rail-post.p4 { height: 66px; }

.liftbridge {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.liftbridge-post {
  width: 12px;
  height: 96px;
  background-color: #62625A;
  border-radius: 3px 3px 0 0;
  position: relative;
}

.liftbridge-counterweight {
  width: 34px;
  height: 40px;
  background-color: #75603A;
  border: 2px solid #5B4A2C;
  border-radius: 3px;
  margin-left: -22px;
  position: relative;
  top: 22px;
}

.liftbridge-sheave {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #9F8238;
  border: 3px solid #7C6528;
  align-self: flex-start;
}

.liftbridge-note {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #62625A;
}

/* --- 2d. primary CTA: full-width functional bar along scene bottom --- */
.milehero-cta {
  display: block;
  margin-top: 0;
  background-color: #9F8238;
  color: #EFF6E2;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 3px solid #7C6528;
}

.milehero-cta:hover {
  background-color: #7C6528;
  color: #EFF6E2;
}

.milehero-cta-arrow {
  font-size: 1.4rem;
  letter-spacing: 0;
}

/* ==========================================================================
   3. WAY-BOOK LADDER  (.waybook)
   Six entries at deliberately different widths and vertical offsets.
   ========================================================================== */

.waybook-intro {
  padding: 46px 0 4px;
}

.waybook-intro h2 {
  font-size: 1.9rem;
  color: #1F4E52;
  border-bottom: 2px solid #9F8238;
  display: inline-block;
  padding-bottom: 8px;
}

.waybook-intro p {
  max-width: 760px;
  font-size: 1.02rem;
  color: #1F4E52;
}

.waybook {
  list-style: none;
  margin: 0;
  padding: 10px 0 40px;
}

.waybook-entry {
  position: relative;
  background-color: #EFF6E2;
  border: 1px solid #62625A;
  border-top: 3px solid #1F4E52;
  padding: 20px 24px;
  margin-bottom: 20px;
  border-radius: 3px;
  box-shadow: 3px 3px 0 #C9D8B4;
}

.waybook-entry::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #62625A;
  bottom: 12px;
}

.waybook-w-1 { max-width: 700px; margin-left: 0; }
.waybook-w-2 { max-width: 640px; margin-left: auto; margin-right: 40px; margin-top: -8px; }
.waybook-w-3 { max-width: 760px; margin-left: 60px; margin-top: 6px; }
.waybook-w-4 { max-width: 660px; margin-left: 20px; margin-right: auto; }
.waybook-w-5 { max-width: 720px; margin-left: auto; margin-right: 10px; margin-top: -6px; }
.waybook-w-6 { max-width: 680px; margin-left: 90px; margin-top: 4px; }

.waybook-rivet-l .waybook-entry::after { content: none; }
.waybook-entry.rivet-left::after { left: 14px; }
.waybook-entry.rivet-right::after { right: 14px; }

.waybook-mark {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 34px;
  height: 34px;
  background-color: #75603A;
  color: #EFF6E2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.waybook-mark-mm-2 { left: auto; right: 26px; top: auto; bottom: -14px; }
.waybook-mark-mm-3 { left: 46px; }
.waybook-mark-mm-4 { left: auto; right: 90px; }
.waybook-mark-mm-6 { left: auto; right: 34px; top: 16px; }

.waybook-dialchip {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #9F8238;
  color: #EFF6E2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 3px solid #7C6528;
}

.waybook-dialchip-dc1 { top: -16px; right: 60px; }
.waybook-dialchip-dc2 { bottom: -16px; left: 130px; }
.waybook-dialchip-dc3 { top: 22px; right: -16px; }

.waybook-entry h3 {
  color: #1F4E52;
  font-size: 1.32rem;
  margin: 6px 0 10px;
}

.waybook-entry p {
  color: #1F4E52;
  margin-bottom: 0.7em;
}

.waybook-more {
  font-weight: 700;
  color: #75603A;
  text-decoration: underline;
}

.waybook-more:hover {
  color: #92503C;
}

/* ==========================================================================
   4. LOCKAGE BAND  (.lockage)
   Slim full-width canal band: brick course mark left, editorial sentence right.
   ========================================================================== */

.lockage {
  background-color: #1F4E52;
  border-top: 2px solid #62625A;
  border-bottom: 2px solid #62625A;
  padding: 22px 0;
}

.lockage-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.lockage-bricks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
}

.lockage-brickrow {
  display: flex;
  gap: 4px;
}

.lockage-brick {
  height: 9px;
  background-color: #92503C;
  border-radius: 1px;
}

.lockage-brick.lb1 { width: 46px; }
.lockage-brick.lb2 { width: 26px; }
.lockage-brick.lb3 { width: 34px; }

.lockage-text {
  flex: 1;
  min-width: 240px;
  color: #EFF6E2;
  font-size: 1.06rem;
  margin: 0;
}

.lockage-text strong {
  color: #EFF6E2;
}

/* ==========================================================================
   5. Towpath content blocks (homepage editorial prose + secondary pages)
   ========================================================================== */

.sheetband {
  padding: 48px 0;
}

.sheetband-alt {
  background-color: #EFF6E2;
  border-top: 1px solid #62625A;
  border-bottom: 1px solid #62625A;
  background-image: repeating-linear-gradient(
      0deg,
      #E7EFD6 0px,
      #E7EFD6 1px,
      #EFF6E2 1px,
      #EFF6E2 8px
    );
}

.sheetband h2 {
  font-size: 1.85rem;
  color: #1F4E52;
  margin-bottom: 16px;
}

.sheetband h3 {
  font-size: 1.28rem;
  color: #1F4E52;
  margin-top: 22px;
}

.sheetband p {
  color: #1F4E52;
  font-size: 1.01rem;
}

.ledger-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.oak-panel {
  background-color: #75603A;
  color: #EFF6E2;
  border-radius: 4px;
  padding: 24px 22px;
  box-shadow: 3px 3px 0 #5B4A2C;
}

.oak-panel h3 {
  color: #EFF6E2;
  margin-top: 0;
}

.oak-panel p {
  color: #EFF6E2;
  margin-bottom: 0.8em;
}

.oak-panel a {
  color: #EFF6E2;
  font-weight: 700;
}

.ruled-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ruled-list li {
  border-bottom: 1px dotted #62625A;
  padding: 9px 0;
  color: #1F4E52;
}

.ruled-list li strong {
  color: #75603A;
}

.stone-note {
  border-left: 4px solid #62625A;
  padding: 4px 0 4px 16px;
  color: #62625A;
  font-size: 0.95rem;
  margin: 20px 0;
}

/* ==========================================================================
   6. Accordions (FAQ on contact page)
   ========================================================================== */

.accordion {
  border: 1px solid #62625A;
  border-radius: 3px;
  margin-bottom: 10px;
  background-color: #EFF6E2;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background-color: #EFF6E2;
  border: 0;
  border-left: 4px solid #9F8238;
  color: #1F4E52;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1.04rem;
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
}

.accordion-trigger:hover {
  background-color: #DDE8CC;
}

.accordion-panel {
  padding: 0 16px 14px 20px;
  color: #1F4E52;
}

.accordion-panel[hidden] {
  display: none;
}

/* ==========================================================================
   7. Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

.field-row {
  margin-bottom: 16px;
}

.field-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1F4E52;
  margin-bottom: 6px;
}

.field-row input,
.field-row textarea {
  width: 100%;
  background-color: #EFF6E2;
  border: 1px solid #62625A;
  border-radius: 3px;
  color: #1F4E52;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  padding: 11px 12px;
}

.field-row input:focus,
.field-row textarea:focus {
  outline: 2px solid #9F8238;
  border-color: #9F8238;
}

.field-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  background-color: #9F8238;
  border: 0;
  border-top: 3px solid #7C6528;
  color: #EFF6E2;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 24px;
  width: 100%;
  cursor: pointer;
  border-radius: 3px;
}

.form-submit:hover {
  background-color: #7C6528;
}

.form-note {
  font-size: 0.9rem;
  color: #62625A;
  margin-top: 10px;
}

.contact-card {
  background-color: #EFF6E2;
  border: 1px solid #62625A;
  border-top: 4px solid #1F4E52;
  border-radius: 3px;
  padding: 22px;
}

.contact-card h3 {
  color: #1F4E52;
  font-size: 1.14rem;
  margin-top: 18px;
  margin-bottom: 6px;
}

.contact-card h3:first-child {
  margin-top: 0;
}

.contact-card p {
  color: #1F4E52;
  margin-bottom: 0.5em;
}

.contact-card a {
  color: #75603A;
  font-weight: 700;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted #62625A;
  padding: 7px 0;
  color: #1F4E52;
  font-size: 0.96rem;
}

.hours-list li span:last-child {
  color: #75603A;
  font-weight: 700;
}

/* ==========================================================================
   8. LIFT BRIDGE FOOTER  (.liftbridge)
   Deep canal room; brand plate left; five links as ordinary text in 2 columns.
   ========================================================================== */

.towfoot {
  background-color: #1F4E52;
  border-top: 4px solid #9F8238;
}

.towfoot-room {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 34px;
  padding: 44px 0 32px;
}

.towfoot-plate {
  background-color: #EFF6E2;
  border-radius: 4px;
  border-left: 6px solid #9F8238;
  padding: 22px;
}

.towfoot-plate h2 {
  color: #1F4E52;
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.towfoot-plate p {
  color: #1F4E52;
  margin-bottom: 0.7em;
}

.towfoot-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 34px;
  align-content: start;
  padding-top: 6px;
}

.towfoot-colhead {
  color: #9F8238;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  grid-column: 1 / -1;
}

.towfoot-colhead::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #9F8238;
  margin-right: 9px;
  vertical-align: middle;
}

.towfoot-link {
  color: #EFF6E2;
  text-decoration: none;
  border-bottom: 1px solid #2C6166;
  padding: 7px 0;
  font-size: 1rem;
}

.towfoot-link:hover {
  color: #9F8238;
  text-decoration: underline;
}

.towfoot-strip {
  background-color: #62625A;
  color: #EFF6E2;
  padding: 16px 0;
}

.towfoot-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.towfoot-strip a {
  color: #EFF6E2;
  text-decoration: underline;
}

.towfoot-tiny {
  display: flex;
  align-items: center;
  gap: 8px;
}

.towfoot-glyph {
  display: inline-block;
  width: 9px;
  height: 13px;
  background-color: #EFF6E2;
  border-radius: 4px 4px 0 0;
  position: relative;
}

.towfoot-glyph::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 9px;
  height: 3px;
  background-color: #9F8238;
  border-radius: 2px 2px 0 0;
}

/* ==========================================================================
   9. Scroll reveal (safe, JS-enhanced; default visible via noscript + base)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */

@media (max-width: 920px) {
  .milehero-scene {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .milehero-headline {
    font-size: 2.2rem;
  }
  .milehero-display {
    font-size: 3.4rem;
  }
  .ledger-cols,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .towfoot-room {
    grid-template-columns: 1fr;
  }
  .waybook-w-1,
  .waybook-w-2,
  .waybook-w-3,
  .waybook-w-4,
  .waybook-w-5,
  .waybook-w-6 {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .towrail-toggle {
    display: block;
  }
  .towrail-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .towrail-posts {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-bottom: 16px;
  }
  .towrail-posts[hidden] {
    display: none;
  }
  .towrail-post {
    border-radius: 4px;
    padding-top: 0;
  }
  .towrail-post::after {
    top: 50%;
    transform: translateY(-50%);
  }
  .towrail-post-link {
    padding: 12px 16px;
  }
  .milehero-headline {
    font-size: 1.85rem;
  }
  .milehero-display {
    font-size: 2.6rem;
  }
  .waybook-entry {
    padding: 18px 16px;
  }
  .towfoot-links {
    grid-template-columns: 1fr;
  }
}
