/* ferry-daw.com, in the look of Ferry's manual (ferry-daw: tools/manual_pdf.py): cream paper, navy ink, a sunset band
   at the top of each section, red numbers, Poppins. Poppins is served from here (fonts/, SIL Open Font License). */
@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url(/fonts/Poppins-Light.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/fonts/Poppins-Regular.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/fonts/Poppins-Medium.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/fonts/Poppins-Bold.woff2) format("woff2"); }
:root {
  --navy: #17324d; --ink: #23404f; --cream: #fbf4e6; --sand: #f3e3c3; --red: #e2574c; --gold: #e2b93b;
  --sea1: #2b6f8a; --sea2: #4f9db8; --sea3: #9fd0dc;
  --sky: linear-gradient(#f4845f, #f7a868 45%, #fde3a7);
  --sea: linear-gradient(#7fc1cf, #3f8fab 50%, #1d4f6b);
  --font: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--font); }
a { color: var(--sea1); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* the menu */
.menu { position: sticky; top: 0; z-index: 10; background: rgba(251,244,230,.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(23,50,77,.1); }
.menu .wrap { display: flex; align-items: center; gap: 26px; height: 58px; }
.menu a { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.menu a[aria-current] { color: var(--red); }
.menu .logo { display: flex; align-items: center; gap: 8px; margin-right: auto; font-weight: 300; letter-spacing: .32em; font-size: 15px; }
.menu .logo img { width: 34px; }
@media (max-width: 600px) { .menu .wrap { gap: 13px; padding: 0 14px; } .menu a { font-size: 12.5px; } .menu .logo span { display: none; } }

/* the cover (the first page of the manual) */
.cover { position: relative; overflow: hidden; background: var(--sky); text-align: center; color: #fff; }
.cover .title { margin: 0; padding-top: 64px; font-size: clamp(54px, 11vw, 112px); font-weight: 300; letter-spacing: .38em; text-indent: .38em; line-height: 1; }
.cover .rule { width: 60px; height: 1px; background: rgba(255,255,255,.8); margin: 22px auto 16px; }
.cover .sub { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; }
.cover .by { margin: 10px 0 0; font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; opacity: .9; }
.scene { position: relative; height: 300px; margin-top: 30px; }
.scene .sunset { position: absolute; left: 50%; bottom: 120px; width: 150px; height: 75px; margin-left: -75px; border-radius: 150px 150px 0 0; background: #fff1c9; box-shadow: 0 0 60px 20px rgba(255,240,200,.6); }
.scene .shore { position: absolute; bottom: 120px; height: 40px; width: 34%; background: var(--navy); }
.scene .shore.l { left: -4%; border-radius: 0 100% 0 0 / 0 100% 0 0; } .scene .shore.r { right: -4%; border-radius: 100% 0 0 0 / 100% 0 0 0; }
.scene .shore span { position: absolute; top: -26px; font-size: 10px; font-weight: 500; letter-spacing: .24em; color: var(--navy); white-space: nowrap; }
.scene .shore.l span { left: 16%; } .scene .shore.r span { right: 16%; }
.scene .water { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: var(--sea); }
.scene .boat { position: absolute; left: 50%; bottom: 30px; width: 200px; margin-left: -100px; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .scene .boat { animation: none; } }
.cover .routes { margin: 0; padding: 18px 0 30px; background: #1d4f6b; font-size: 12px; font-weight: 500; letter-spacing: .28em; line-height: 2; text-transform: uppercase; }

/* the band at the top of each section (the manual's page heads) */
.band { position: relative; overflow: hidden; background: var(--sky); color: #fff; }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: var(--sea); }
.band .wrap { position: relative; z-index: 1; padding-top: 34px; padding-bottom: 50px; }
.band small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.band h1, .band h2 { margin: 4px 0 0; font-size: clamp(30px, 6vw, 54px); font-weight: 300; letter-spacing: .3em; text-transform: uppercase; line-height: 1.1; }
.band .boat { position: absolute; right: 7%; bottom: 14px; z-index: 2; width: 110px; }
.band .sun { position: absolute; right: calc(7% + 80px); bottom: 26px; width: 64px; height: 32px; border-radius: 64px 64px 0 0; background: #fff1c9; }
@media (max-width: 600px) { .band .boat { width: 80px; right: 4%; } .band .sun { display: none; } }

/* the paper */
.page { padding-top: 40px; padding-bottom: 56px; }
.lead { margin: 0 0 6px; font-size: clamp(26px, 4vw, 36px); font-weight: 700; color: var(--navy); line-height: 1.2; }
.lead.red { color: var(--red); }
.intro { margin: 0 0 26px; }
.steps { display: grid; gap: 22px; margin: 26px 0; }
.step { display: grid; grid-template-columns: 64px 1fr; align-items: start; }
.step .n { font-size: 60px; font-weight: 300; color: var(--red); line-height: .9; }
.step b { display: block; font-size: 22px; color: var(--navy); }
.step p { margin: 2px 0 0; }
.callout { background: var(--navy); color: #fff; border-radius: 14px; padding: 22px 26px; margin: 30px 0; }
.callout b { display: block; font-size: 20px; } .callout span { display: block; font-size: 18px; font-weight: 300; } .callout small { display: block; margin-top: 8px; color: var(--sea3); font-size: 13px; }
.four { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; margin: 26px 0; }
.four div { padding-left: 34px; position: relative; }
.four div::before { content: "✓"; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--sea1); color: #fff; font-size: 13px; text-align: center; line-height: 22px; }
.four.minus div::before { content: "–"; background: var(--red); font-weight: 700; }
.four b { display: block; font-size: 19px; color: var(--navy); }
.four p { margin: 4px 0 0; font-size: 15px; }
.table { background: #fff; border-radius: 14px; padding: 18px 24px; margin: 26px 0; }
.table.sand { background: var(--sand); }
.table h3 { margin: 0 0 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--red); }
.table dl { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 8px 22px; margin: 0; font-size: 14.5px; }
.table dt { font-weight: 700; color: var(--navy); } .table dd { margin: 0; }
@media (max-width: 600px) { .table dl { grid-template-columns: 1fr; gap: 0; } .table dd { margin-bottom: 10px; } }
.btn { display: inline-block; padding: 12px 28px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 500; text-decoration: none; margin: 6px 10px 6px 0; }
.btn.navy { background: var(--navy); }
.btn:hover { filter: brightness(1.08); }

/* fares */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 760px; margin: 26px 0; }
.price { background: #fff; border-radius: 16px; padding: 26px; border: 2px solid transparent; }
.price.main { border-color: var(--red); }
.price h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--red); }
.price .amount { margin: 8px 0 0; font-size: 56px; font-weight: 700; color: var(--navy); line-height: 1; }
.price .what { margin: 4px 0 14px; color: var(--sea1); font-size: 14px; }
.price ul { margin: 0; padding-left: 18px; font-size: 15px; } .price li { padding: 3px 0; }

/* the foot of each page, as in the manual */
.foot { border-top: 1px solid rgba(23,50,77,.12); padding: 22px 0 34px; font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--navy); }
.foot .line { display: flex; align-items: center; gap: 14px; }
.foot .dots { flex: 1; border-bottom: 2px dotted rgba(23,50,77,.35); }
.foot img { width: 34px; }
.foot .credit { display: block; text-align: center; margin-top: 14px; letter-spacing: .2em; color: var(--sea1); }
@media (max-width: 700px) { .four { grid-template-columns: 1fr; } }
