/* Self-hosted fonts */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/archivo-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/archivo-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/archivo-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/archivo-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/archivo-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/jost-latin-600-normal.woff2') format('woff2'); }

/* Five North: wayfinding edition
   Road-sign green, sign white and signal yellow, with the original Five North logo. */
:root {
  --green: #0B5D3B;
  --green-deep: #08452C;
  --white: #FFFFFF;
  --yellow: #FFD23F;
  --ink: #1A1F2E;
  --text: #2E3440;
  --muted: #5E6470;
  --pad: clamp(20px, 6vw, 96px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--green); }
body { margin: 0; font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; color: var(--white); background: var(--green); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 50; background: var(--yellow); color: var(--green); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip:focus { left: 10px; }

/* The original Five North logo */
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); }
.logo .chev { width: clamp(36px, 3vw, 46px); height: auto; }
.logo span { font-family: 'Jost', sans-serif; font-weight: 300; font-size: clamp(19px, 1.7vw, 25px); letter-spacing: .14em; white-space: nowrap; }
.logo b { font-weight: 600; }

/* Top bar */
.top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px var(--pad); }
.top nav { display: flex; align-items: center; gap: 24px; }
.toplink { font-weight: 700; text-decoration: none; opacity: .9; }
.toplink:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 5px; }
.pill { font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 18px; border: 2px solid var(--white); border-radius: 999px; }
.pill:hover { background: var(--white); color: var(--green); }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--yellow); color: var(--green-deep); font-weight: 800; font-size: 17px; text-decoration: none; transition: transform .15s ease, background .2s ease; }
.btn:hover { background: var(--white); }

/* Hero: the big sign */
.hero { padding: clamp(8px, 1.5vw, 20px) var(--pad) clamp(56px, 6vw, 88px); display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }
.sign { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding: clamp(36px, 4.4vw, 64px) clamp(28px, 4.4vw, 72px); border: 6px solid var(--white); border-radius: 28px; box-shadow: inset 0 0 0 8px var(--green), inset 0 0 0 10px rgba(255,255,255,.35); }
.big-arrow { width: clamp(110px, 13vw, 210px); height: auto; color: var(--white); flex-shrink: 0; }
.sign-text h1 { display: flex; flex-direction: column; gap: clamp(8px, 1vw, 16px); }
.sign-text .big { font-weight: 900; font-size: clamp(76px, 13vw, 210px); line-height: .85; letter-spacing: -.045em; }
.sign-text .sub { font-weight: 500; font-size: clamp(22px, 2.4vw, 36px); opacity: .92; }
@media (prefers-reduced-motion: no-preference) {
  .big-arrow { animation: nudge 3.2s ease-in-out infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero-copy { max-width: 620px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; font-weight: 500; }
.dirs { display: flex; flex-direction: column; gap: 10px; min-width: min(300px, 100%); }
.dir { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px 12px 20px; border-radius: 8px; background: var(--white); color: var(--green); font-weight: 800; font-size: 21px; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.dir:hover { background: var(--yellow); transform: translateX(4px); }
.darr { width: 26px; height: 26px; }

/* Field notes as sign plates */
.notes { background: var(--green-deep); padding: clamp(56px, 6vw, 96px) var(--pad); }
.notes-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.notes-head h2 { font-weight: 900; font-size: clamp(38px, 4vw, 60px); letter-spacing: -.03em; }
.notes-head p { font-size: 18px; opacity: .85; }
.plates { list-style: none; padding: 0; margin-top: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.plates--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
.plate { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 14px; background: var(--white); color: var(--text); text-decoration: none; border: 4px solid var(--white); box-shadow: inset 0 0 0 3px var(--green); transition: transform .2s ease; }
.plate:hover { transform: translateY(-4px); }
.plate-k { align-self: flex-start; background: var(--yellow); color: var(--green-deep); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.plate-t { font-weight: 800; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.15; color: var(--green); letter-spacing: -.01em; }
.plate-s { font-size: 16.5px; line-height: 1.55; color: var(--muted); }
.plate-m { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--green); }
.marr { width: 18px; height: 18px; }

/* Inner pages: green band, white reading area */
.page .band { padding: clamp(28px, 3vw, 48px) var(--pad) clamp(44px, 5vw, 72px); display: flex; flex-direction: column; gap: 16px; }
.page .band > * { max-width: 820px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--yellow); }
.karr { width: 20px; height: 20px; color: var(--yellow); }
.page .band h1 { font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.standfirst { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; font-weight: 500; opacity: .95; }
.byline { font-size: 15px; opacity: .75; }
.band--404 { min-height: calc(100svh - 220px); justify-content: center; }
.band--404 .btn { align-self: flex-start; margin-top: 10px; }
.body { background: var(--white); color: var(--text); padding: clamp(40px, 5vw, 72px) var(--pad); }
.body > * { max-width: 760px; }
.prose p, .prose li { font-size: 18.5px; line-height: 1.75; color: var(--text); }
.prose p + p { margin-top: 16px; }
.prose h2 { font-weight: 800; font-size: clamp(24px, 2.2vw, 30px); color: var(--green); margin: 40px 0 12px; letter-spacing: -.01em; }
.prose ul { padding-left: 22px; margin: 8px 0; display: flex; flex-direction: column; gap: 10px; }
.prose li::marker { color: var(--green); }
.prose b, .prose strong { color: var(--ink); }
.prose a { color: var(--green); font-weight: 700; }
.cta-plate { margin-top: clamp(40px, 5vw, 60px); padding: 28px; border-radius: 18px; background: var(--green); color: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta-plate p { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.35; font-weight: 700; color: var(--white); }
.more { background: var(--white); color: var(--text); padding: 0 var(--pad) clamp(56px, 6vw, 88px); }
.more h2 { font-weight: 900; font-size: clamp(26px, 2.4vw, 34px); color: var(--green); padding-top: clamp(24px, 3vw, 40px); border-top: 2px solid #E3E7E4; }
.more .plate { box-shadow: inset 0 0 0 3px var(--green); border-color: #F4F6F5; background: #F4F6F5; }

/* Footer */
.foot { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 26px var(--pad) calc(26px + env(safe-area-inset-bottom, 0px)); background: var(--green); border-top: 1px solid rgba(255,255,255,.14); font-size: 14.5px; }
.foot .logo .chev { width: 26px; }
.foot .logo span { font-size: 15px; }
.foot p { margin-left: auto; opacity: .8; }
.foot a:not(.logo) { opacity: .9; }

@media (max-width: 900px) {
  .sign { flex-direction: column; align-items: flex-start; gap: 20px; }
  .plates, .plates--two { grid-template-columns: 1fr; }
  .dirs { width: 100%; }
}
@media (max-width: 560px) {
  .toplink { display: none; }
  .pill { padding: 8px 14px; font-size: 14px; }
  .sign { border-width: 4px; border-radius: 20px; padding: 26px 22px; }
  .big-arrow { width: 84px; }
  .hero-copy .btn { align-self: stretch; justify-content: center; }
  .foot p { margin-left: 0; width: 100%; }
}

/* ===== Overhaul below the hero sign ===== */
.hero { padding-bottom: clamp(48px, 5vw, 72px); }
.hero-foot { align-items: stretch; }
.hero-copy { justify-content: center; }

/* Distance board: the route to loyalty */
.board { min-width: min(340px, 100%); border: 4px solid var(--white); border-radius: 16px; padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.board-k { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.board ul { list-style: none; padding: 0; display: flex; flex-direction: column; }
.dest { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 8px 0; font-weight: 800; font-size: 24px; border-bottom: 1px solid rgba(255,255,255,.18); }
.dest:last-child { border-bottom: 0; }
.km { font-variant-numeric: tabular-nums; }
.km small { font-size: 15px; font-weight: 700; opacity: .8; }
.dest--end { color: var(--yellow); }

/* Section titles */
.sec-title { font-weight: 900; font-size: clamp(38px, 4vw, 60px); letter-spacing: -.03em; line-height: 1; }

/* How we get you there: three exit signs */
.exits { background: var(--green-deep); padding: clamp(56px, 6vw, 96px) var(--pad); }
.exit-grid { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); align-items: stretch; }
.exit { display: flex; flex-direction: column; }
.exit-tab { align-self: flex-end; margin-right: 22px; background: var(--yellow); color: var(--green-deep); font-weight: 900; font-size: 15px; letter-spacing: .08em; padding: 7px 14px; border-radius: 8px 8px 0 0; }
.exit-panel { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--green); border: 4px solid var(--white); border-radius: 16px; box-shadow: inset 0 0 0 6px var(--green), inset 0 0 0 8px rgba(255,255,255,.3); }
.exit-panel h3 { font-weight: 900; font-size: clamp(28px, 2.4vw, 36px); letter-spacing: -.02em; line-height: 1.05; }
.exit-line { font-weight: 700; font-size: 19px; color: var(--yellow); }
.exit-d { font-size: 16.5px; line-height: 1.55; opacity: .92; }
.exit-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; text-decoration: none; }
.exit-link:hover { color: var(--yellow); }

/* Field notes as a departures board */
.notes { background: var(--green); }
.departures { list-style: none; padding: 0; margin-top: clamp(24px, 3vw, 40px); border-top: 4px solid var(--white); }
.dep { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 28px; align-items: center; gap: 20px; padding: 20px 4px; border-bottom: 1px solid rgba(255,255,255,.2); text-decoration: none; transition: background .2s ease, padding .2s ease; }
.dep:hover { background: rgba(255,255,255,.06); padding-left: 12px; }
.dep-n { font-weight: 900; font-size: 22px; color: var(--yellow); font-variant-numeric: tabular-nums; }
.dep-t { font-weight: 800; font-size: clamp(21px, 2vw, 28px); letter-spacing: -.01em; line-height: 1.2; }
.dep-m { font-weight: 700; font-size: 15px; opacity: .8; white-space: nowrap; }
.dep-a { width: 24px; height: 24px; color: var(--yellow); }

/* Closing sign */
.arrive { padding: clamp(56px, 6vw, 96px) var(--pad); background: var(--green-deep); }
.arrive-sign { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 980px; padding: clamp(32px, 4vw, 56px); border: 6px solid var(--white); border-radius: 24px; background: var(--green); }
.arrive-tab { position: absolute; top: -6px; right: 40px; transform: translateY(-100%); background: var(--yellow); color: var(--green-deep); font-weight: 900; font-size: 15px; letter-spacing: .1em; padding: 8px 16px; border-radius: 8px 8px 0 0; }
.arrive-sign h2 { font-weight: 900; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }

@media (max-width: 900px) {
  .exit-grid { grid-template-columns: 1fr; }
  .board { width: 100%; }
}
@media (max-width: 560px) {
  .dep { grid-template-columns: 40px minmax(0, 1fr) 22px; }
  .dep-m { display: none; }
  .arrive-tab { right: 20px; }
}

/* ===== Simplified: wordmark only, supplementary plate, lighter page ===== */
.logo .wm { font-family: 'Jost', sans-serif; font-weight: 300; letter-spacing: .06em; white-space: nowrap; font-size: clamp(20px, 1.8vw, 26px); }
.logo .wm b { font-weight: 600; margin-right: .22em; }
.foot .logo .wm { font-size: 15px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* "This way. Every time." as a white plate hung beneath the sign */
.hero { gap: 0; }
.sign { border-radius: 28px; }
.plate-sub { align-self: flex-end; margin: 0 clamp(28px, 4.4vw, 72px) 0 0; padding: 12px 26px 14px; background: var(--white); color: var(--green); font-weight: 800; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.01em; border-radius: 0 0 14px 14px; }
.hero-foot { margin-top: clamp(32px, 3.6vw, 52px); }

/* Exits: title and one line */
.exit-panel { gap: 6px; padding: 24px 26px; }
.exit-line { margin: 0; }
@media (max-width: 560px) {
  .plate-sub { align-self: stretch; margin: 0 18px; text-align: center; font-size: 19px; }
}

/* Exit arrow: angled up and to the right, nudging along its own direction */
.big-arrow { transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .big-arrow { animation: nudge-exit 3.2s ease-in-out infinite; }
}
@keyframes nudge-exit { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(-10px); } }
.lede--short { font-weight: 700; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.01em; }
.home .hero-copy { max-width: 820px; } .lede--short { text-wrap: balance; }
.lede--two { font-weight: 500; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; max-width: 36em; text-wrap: pretty; }
.lede--two b { display: block; font-weight: 800; font-size: clamp(23px, 2vw, 30px); letter-spacing: -.01em; margin-bottom: 8px; }
/* Hero line: the memorable line leads, the description follows */
.lede--flip { font-weight: 500; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; opacity: 1; }
.lede--flip b { display: block; font-weight: 900; font-size: clamp(34px, 3.6vw, 56px); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 12px; }

/* ===================== Mint & plum theme ===================== */
:root {
  --green: #A8F0CF;        /* page: mint */
  --green-deep: #93E5C0;   /* deeper mint bands */
  --white: #2A0E3B;        /* signs and type: plum */
  --yellow: #2A0E3B;       /* accents: plum */
  --plum: #2A0E3B;
  --plum-soft: #5B2A75;
  --mint: #A8F0CF;
  --mint-pale: #EFFBF5;
}
html, body { background: var(--mint); color: var(--plum); }
:focus-visible { outline-color: var(--plum); }
.skip { background: var(--plum); color: var(--mint); }
.btn { background: var(--plum); color: var(--mint); }
.btn:hover { background: #FFFFFF; color: var(--plum); }
.pill { border-color: var(--plum); color: var(--plum); }
.pill:hover { background: var(--plum); color: var(--mint); }
.toplink:hover { text-decoration-color: var(--plum); }
.sign { box-shadow: inset 0 0 0 8px var(--mint), inset 0 0 0 10px rgba(42, 14, 59, .22); }
.plate-sub { background: var(--plum); color: var(--mint); }
.exit-tab { background: var(--plum); color: var(--mint); }
.exit-panel { background: var(--mint); box-shadow: inset 0 0 0 6px var(--mint), inset 0 0 0 8px rgba(42, 14, 59, .2); }
.exit-line { color: var(--plum-soft); }
.dep { border-bottom-color: rgba(42, 14, 59, .16); }
.dep:hover { background: rgba(42, 14, 59, .05); }
.dep-n, .dep-a { color: var(--plum-soft); }
.foot { border-top-color: rgba(42, 14, 59, .14); }
/* inner pages: mint band, pale reading area, plum type */
.kicker, .karr { color: var(--plum-soft); }
.body, .more { background: var(--mint-pale); }
.prose p, .prose li { color: #2E2833; }
.prose h2, .prose a, .more h2 { color: var(--plum); }
.prose li::marker { color: var(--plum-soft); }
.prose b, .prose strong { color: var(--plum); }
.cta-plate { background: var(--plum); color: var(--mint); }
.cta-plate p { color: #FFFFFF; }
.cta-plate .btn { background: var(--mint); color: var(--plum); }
.cta-plate .btn:hover { background: #FFFFFF; }
.more h2 { border-top-color: rgba(42, 14, 59, .12); }
.more .plate { background: #FFFFFF; border-color: #FFFFFF; box-shadow: inset 0 0 0 3px var(--plum); }
.plate-k { background: var(--mint); color: var(--plum); }
.plate-t, .plate-m { color: var(--plum); }
.plate-s { color: #5E5566; }

/* ===================== Home animation ===================== */
@media (prefers-reduced-motion: no-preference) {
  /* 1. The sign is hung in place, then the plate swings in beneath it */
  .home .sign { animation: sign-in .9s cubic-bezier(.2, .9, .25, 1.15) both; transform-origin: 50% 0; }
  .home .plate-sub { transform-origin: 50% 0; animation: plate-swing 1.6s ease-out .75s both; }
  .home .sign-text .big { animation: word-in .8s cubic-bezier(.2, .9, .3, 1) .25s both; }
  .home .big-arrow { animation: arrow-in .7s cubic-bezier(.2, .9, .3, 1.3) .45s both, nudge-exit 3.2s ease-in-out 1.4s infinite; }
  .home .hero-copy { animation: rise .8s ease 1.1s both; }

  /* 2. Road markings roll beneath the hero, as if you're on your way */
  .road { animation: drive 1.6s linear infinite; }

  /* 3. Exit signs and field notes arrive as you scroll */
  .js-anim .reveal.pending { opacity: 0; transform: translateY(28px); }
  .js-anim .reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .3, 1); transition-delay: calc(var(--i, 0) * 110ms); }
  .js-anim .exit.reveal.in .exit-tab { animation: tab-pop .5s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i, 0) * 110ms + .35s) both; }
  .js-anim .reveal.in .dep-n { animation: flap .55s ease calc(var(--i, 0) * 110ms + .2s) both; }

  /* 4. Small rewards on hover */
  .exit-panel { transition: transform .25s ease; }
  .exit:hover .exit-panel { transform: rotate(-1deg) translateY(-3px); }
  .exit:hover .exit-tab { transform: translateY(-3px); }
  .exit-tab { transition: transform .25s ease; }
}
@keyframes sign-in { from { opacity: 0; transform: translateY(-36px) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes arrow-in { from { opacity: 0; transform: rotate(45deg) translateY(40px); } to { opacity: 1; transform: rotate(45deg) translateY(0); } }
@keyframes plate-swing {
  0% { opacity: 0; transform: rotate(-14deg); }
  20% { opacity: 1; transform: rotate(9deg); }
  40% { transform: rotate(-5deg); }
  60% { transform: rotate(3deg); }
  80% { transform: rotate(-1deg); }
  100% { transform: rotate(0); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drive { from { background-position: 0 0; } to { background-position: -80px 0; } }
@keyframes tab-pop { from { transform: translateY(14px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes flap { 0% { transform: rotateX(90deg); } 60% { transform: rotateX(-20deg); } 100% { transform: rotateX(0); } }
.dep-n { display: inline-block; transform-origin: 50% 50%; }

/* the road strip */
.hero { position: relative; }
.road { height: 4px; margin-top: clamp(40px, 4vw, 60px); border-radius: 2px;
  background-image: linear-gradient(90deg, var(--plum) 0 40px, transparent 40px 80px); background-size: 80px 4px; background-repeat: repeat-x; opacity: .55; }

/* ===================== More plum ===================== */
/* Exit signs: mint signs on a plum road */
.exits { background: var(--plum); color: var(--mint); }
.exits .sec-title { color: var(--mint); }
.exit-tab { background: var(--mint); color: var(--plum); }
.exit-panel { background: var(--plum); border-color: var(--mint); box-shadow: inset 0 0 0 6px var(--plum), inset 0 0 0 8px rgba(168, 240, 207, .28); }
.exit-panel h3 { color: var(--mint); }
.exit-line { color: #D7FBEA; }
/* Footer in plum */
.foot { background: var(--plum); color: var(--mint); border-top: 0; }
.foot .logo, .foot .logo .wm { color: var(--mint); }
.foot a, .foot p { color: var(--mint); }
/* Inner pages: plum header band */
.page .band { background: var(--plum); color: var(--mint); }
.page .band h1 { color: #FFFFFF; }
.page .band .standfirst { color: var(--mint); }
.page .band .byline { color: #C9EFD9; opacity: 1; }
.page .band .kicker, .page .band .karr { color: var(--mint); }
.page .band .btn { background: var(--mint); color: var(--plum); }
.page .top { background: var(--plum); }
.page .top .logo, .page .top .logo .wm, .page .toplink { color: var(--mint); }
.page .pill { border-color: var(--mint); color: var(--mint); }
.page .pill:hover { background: var(--mint); color: var(--plum); }

/* ===== Inner pages follow the home page: mint top, white reading area, plum band, plum footer ===== */
.page .top { background: var(--mint); }
.page .top .logo, .page .top .logo .wm, .page .toplink { color: var(--plum); }
.page .pill { border-color: var(--plum); color: var(--plum); }
.page .pill:hover { background: var(--plum); color: var(--mint); }
.page .band { background: var(--mint); color: var(--plum); }
.page .band h1 { color: var(--plum); }
.page .band .standfirst { color: var(--plum); }
.page .band .byline { color: var(--plum-soft); }
.page .band .kicker, .page .band .karr { color: var(--plum-soft); }
.page .band .btn { background: var(--plum); color: var(--mint); }
.body { background: #FFFFFF; }
/* More field notes: mint signs on a plum band, like the exits on the home page */
.more { background: var(--plum); color: var(--mint); padding-top: clamp(48px, 5vw, 72px); }
.more h2 { color: var(--mint); border-top: 0; padding-top: 0; }
.more .plate { background: var(--plum); border-color: var(--mint); box-shadow: inset 0 0 0 3px var(--plum), inset 0 0 0 5px rgba(168, 240, 207, .3); }
.more .plate-k { background: var(--mint); color: var(--plum); }
.more .plate-t, .more .plate-m { color: var(--mint); }
.road { display: none; }

/* ===== Logo: FN tile beside the wordmark ===== */
.logo { gap: 12px; }
.logo .logo-mark { width: clamp(34px, 2.8vw, 42px); height: auto; flex-shrink: 0; display: block; }
.foot .logo .logo-mark { width: 28px; }
.logo .wm { line-height: 1; }

/* Hero arrow points north, matching the logo */
.big-arrow { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .home .big-arrow { animation: arrow-in-north .7s cubic-bezier(.2, .9, .3, 1.3) .45s both, nudge-north 3.2s ease-in-out 1.4s infinite; }
}
@keyframes arrow-in-north { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes nudge-north { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== Loyalty, really popping: a solid plum sign with a huge mint word ===== */
.home .sign { justify-content: center; background: var(--plum); border-color: var(--plum);
  box-shadow: inset 0 0 0 10px var(--plum), inset 0 0 0 13px rgba(168, 240, 207, .45);
  padding: clamp(30px, 3.4vw, 52px) clamp(24px, 3vw, 48px); }
.home .sign-text h1 { align-items: center; }
.home .sign-text .big { color: var(--mint); font-size: clamp(88px, 16.5vw, 268px); line-height: .84; letter-spacing: -.05em; padding-bottom: .04em; }
.home .plate-sub { background: var(--mint); color: var(--plum); border: 5px solid var(--plum); border-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .home .sign-text .big { animation: pop-in .9s cubic-bezier(.2, 1.3, .35, 1) .25s both; }
}
@keyframes pop-in { 0% { opacity: 0; transform: scale(.82); } 60% { opacity: 1; transform: scale(1.04); } 100% { transform: scale(1); } }
@media (max-width: 560px) { .home .sign-text .big { font-size: 86px; } }
@media (max-width: 560px) {
  .home .sign { padding: 26px 14px 30px; }
  .home .sign-text .big { font-size: 18.5vw; letter-spacing: -.045em; }
}
.home .sign { align-items: center; }
.home .sign-text { width: 100%; text-align: center; }
.lede--flip { max-width: 40em; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; text-wrap: pretty; }

/* ===== Small, targeted touches of white ===== */
.home .sign { box-shadow: inset 0 0 0 10px var(--plum), inset 0 0 0 12px rgba(255, 255, 255, .55); }   /* fine white inner line on the sign */
.home .plate-sub { background: #FFFFFF; }                                                               /* the Next exit plate */
.exit-tab { background: #FFFFFF; color: var(--plum); }                                                  /* EXIT tabs on the plum band */
.btn { color: #FFFFFF; }                                                                                /* button lettering */
.cta-plate .btn, .page .band .btn { color: var(--plum); }
.foot a:not(.logo), .foot p { color: #FFFFFF; }                                                         /* footer links */

/* ===== Little enhancements ===== */
/* Exit signs are now links */
a.exit { text-decoration: none; color: inherit; display: flex; }
a.exit:focus-visible .exit-panel { outline: 3px solid #FFFFFF; outline-offset: 4px; }
/* Field note summaries */
.dep-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dep-s { font-size: 15.5px; line-height: 1.45; color: #4A3F54; font-weight: 500; }
/* Footer location */
.foot p { font-size: 14px; }
/* Reading progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; background: transparent; }
.progress span { display: block; height: 100%; background: var(--plum); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 560px) { .dep-s { font-size: 14.5px; } }

/* Rotations and stagger delays as classes (no inline styles, so the strict security policy is happy) */
.r90 { transform: rotate(90deg); } .r180 { transform: rotate(180deg); } .r-90 { transform: rotate(-90deg); }
.exit-grid > :nth-child(1) { --i: 0; } .exit-grid > :nth-child(2) { --i: 1; } .exit-grid > :nth-child(3) { --i: 2; }
.departures > li:nth-child(1) { --i: 0; } .departures > li:nth-child(2) { --i: 1; } .departures > li:nth-child(3) { --i: 2; }
.departures > li:nth-child(4) { --i: 3; } .departures > li:nth-child(5) { --i: 4; }
