/* Self-hosted fonts (Inter and Montserrat, SIL Open Font License). The "-extra" files hold the naira sign and Yoruba marks. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.da03732a27e1.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400-extra.c0a501f5d567.woff2") format("woff2"); unicode-range: U+20A6,U+0300-0301,U+0323,U+1E62-1E63,U+1EB8-1EB9,U+1ECC-1ECD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.51205681a1ba.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500-extra.7e55350425a8.woff2") format("woff2"); unicode-range: U+20A6,U+0300-0301,U+0323,U+1E62-1E63,U+1EB8-1EB9,U+1ECC-1ECD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.2ede57db1a3a.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600-extra.2fcd254c4bd5.woff2") format("woff2"); unicode-range: U+20A6,U+0300-0301,U+0323,U+1E62-1E63,U+1EB8-1EB9,U+1ECC-1ECD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-600.9e606da1cbeb.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-600-extra.77f849a51cf4.woff2") format("woff2"); unicode-range: U+20A6,U+0300-0301,U+0323,U+1E62-1E63,U+1EB8-1EB9,U+1ECC-1ECD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-700.1c0792ac34ef.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-700-extra.9a0f3c7ce2dd.woff2") format("woff2"); unicode-range: U+20A6,U+0300-0301,U+0323,U+1E62-1E63,U+1EB8-1EB9,U+1ECC-1ECD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-800.9e624ca74fb3.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-800-extra.39772e0418ab.woff2") format("woff2"); unicode-range: U+20A6,U+0300-0301,U+0323,U+1E62-1E63,U+1EB8-1EB9,U+1ECC-1ECD; }

/* Oluwapoju LTD — site styles. Brand tokens live in :root; change them here. */
:root {
  --green: #003334;        /* brand deep green */
  --green-2: #0b4b4c;
  --green-3: #145f60;
  --orange: #f26a1b;       /* brand orange — adjust to your exact hex */
  --orange-dark: #c9520e;
  --paper: #ffffff;
  --tint: #eef3f2;
  --ink: #142221;
  --muted: #536462;
  --line: #d4dfdd;
  --surface: #ffffff;       /* cards, inputs, header */
  --ticket: #ffffff;
  --brand-ink: #003334;     /* big green numbers and the wordmark */
  --orange-ink: #b54a0c;    /* orange used as text */
  --orange-strong: #c24f0e; /* orange behind white text */
  --orange-strong-hover: #a5430c;
  --accent-soft: #fff5ee;   /* pale orange highlight */
  --footer: #012526;
  --danger: #b3261e;
  --ok-bg: #e5f4ec;
  --ok-ink: #0e5132;
  --ok-line: #b8dfc9;
  color-scheme: light;
  --radius-sm: 6px;
  --radius: 14px;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
}

/* Dark mode: follows the phone/computer setting unless the visitor picks one with the toggle. */
:root[data-theme="dark"] {
  --green-3: #6cc7c0;
  --paper: #061b1b;
  --tint: #0c2828;
  --surface: #0f2f2f;
  --ticket: #184847;
  --ink: #e4eeec;
  --muted: #9db3b0;
  --line: #204745;
  --brand-ink: #8fd9d2;
  --orange-ink: #ff9a5c;
  --accent-soft: #2b1c10;
  --footer: #021010;
  --danger: #ff8a80;
  --ok-bg: #0f3322;
  --ok-ink: #a6e6c2;
  --ok-line: #1f5c3d;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --green-3: #6cc7c0;
  --paper: #061b1b;
  --tint: #0c2828;
  --surface: #0f2f2f;
  --ticket: #184847;
  --ink: #e4eeec;
  --muted: #9db3b0;
  --line: #204745;
  --brand-ink: #8fd9d2;
  --orange-ink: #ff9a5c;
  --accent-soft: #2b1c10;
  --footer: #021010;
  --danger: #ff8a80;
  --ok-bg: #0f3322;
  --ok-ink: #a6e6c2;
  --ok-line: #1f5c3d;
  color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-3); text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange-strong); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip-link:focus { left: 1rem; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow > * { max-width: 760px; }
[hidden] { display: none !important; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: inherit; opacity: .9; max-width: 36em; }
.hint { font-size: .9rem; color: var(--muted); }
.empty { color: var(--muted); padding: 2rem 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font: 600 1rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-sm { padding: .55rem 1.05rem; font-size: .95rem; }
.btn-accent { background: var(--orange-strong); color: #fff; }
.btn-accent:hover { background: var(--orange-strong-hover); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: #003334; }
.btn-light:hover { background: #e3ecea; color: #003334; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.wordmark { font: 800 1.35rem/1 var(--display); color: var(--brand-ink); letter-spacing: -0.02em; }
.wordmark span { color: var(--orange-ink); margin-left: .3em; font-weight: 700; font-size: .75em; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--orange); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle .bar { display: block; height: 2px; background: var(--brand-ink); margin: 6px 0; transition: transform .2s; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }
}

.flash p { margin: 1rem 0 0; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: var(--ok-bg); color: var(--ok-ink); border: 1px solid var(--ok-line); }

/* Hero */
.hero { background: var(--green); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 11ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.5rem; }
.hero-note { font-size: .92rem; opacity: .7; margin: 0; }
.hero-visual { position: relative; display: grid; justify-items: center; }
.hero-photo { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-visual.has-photo .ticket { position: relative; margin-top: -5rem; width: min(360px, 90%); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: 14ch; } }

/* The fare ticket: the signature element */
.ticket { --notch: 14px; margin: 0; width: min(380px, 100%); background: var(--ticket); color: var(--ink); border-radius: var(--radius); box-shadow: 0 24px 50px -24px rgba(0,0,0,.55); position: relative; transform: rotate(-2deg); }
.ticket-head { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.3rem; background: var(--orange-strong); color: #fff; font: 700 .9rem/1.3 var(--display); border-radius: var(--radius) var(--radius) 0 0; }
.ticket-main { padding: 1.4rem 1.3rem 1.1rem; border-bottom: 2px dashed var(--line); position: relative; }
.ticket-main::before, .ticket-main::after { content: ""; position: absolute; bottom: calc(var(--notch) * -1); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--green); }
.ticket-main::before { left: calc(var(--notch) * -1); }
.ticket-main::after { right: calc(var(--notch) * -1); }
.ticket-label { margin: 0; font-size: .9rem; color: var(--muted); font-weight: 500; }
.ticket-amount { margin: .1rem 0 .2rem; font: 800 clamp(2.3rem, 5vw, 2.9rem)/1.05 var(--display); color: var(--brand-ink); letter-spacing: -0.03em; }
.ticket-sub { margin: 0; font-size: .92rem; color: var(--muted); }
.ticket-rows { margin: 0; padding: 1.1rem 1.3rem .4rem; }
.ticket-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .95rem; }
.ticket-rows dt { color: var(--muted); }
.ticket-rows dd { margin: 0; font-weight: 600; }
.ticket-link { display: block; padding: .6rem 1.3rem 1.2rem; font-weight: 600; color: var(--orange-ink); }
@media (prefers-reduced-motion: no-preference) {
  .ticket { animation: ticket-in .7s cubic-bezier(.2,.8,.2,1) .15s both; }
  @keyframes ticket-in { from { opacity: 0; transform: translateY(24px) rotate(-6deg); } to { opacity: 1; transform: translateY(0) rotate(-2deg); } }
}

/* Stats */
.stats { border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { padding: 1.8rem 1.2rem 1.6rem 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.stat-num { font: 800 2.4rem/1 var(--display); color: var(--brand-ink); margin: 0 0 .35rem; letter-spacing: -0.03em; }
.stat-label { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }

/* Two paths */
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.path { padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: var(--radius); }
.path p { max-width: 34em; margin-bottom: 1.6rem; }
.path-rider { background: var(--tint); }
.path-investor { background: var(--green-2); color: #fff; }
@media (max-width: 760px) { .paths-grid { grid-template-columns: 1fr; } }

/* Services and why */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
.service { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.service p { color: var(--muted); margin-bottom: .6rem; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.why { border-left: 3px solid var(--orange); padding-left: 1.2rem; }
.why p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .service-list, .why-grid { grid-template-columns: 1fr; } }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0 0 1.2rem; font-size: 1.05rem; }
.quote blockquote::before { content: "\201C"; display: block; font: 800 3rem/0.6 var(--display); color: var(--orange); margin-bottom: .4rem; }
.quote figcaption { display: flex; gap: .8rem; align-items: center; font-size: .95rem; color: var(--muted); }
.quote figcaption img { border-radius: 50%; object-fit: cover; }
.quote strong { color: var(--ink); }
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font: 700 .95rem var(--display); flex: none; }
.avatar-lg { width: 96px; height: 96px; font-size: 1.6rem; }

/* CTA */
.cta-band { background: var(--green); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-inner p { margin: 0; opacity: .85; max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Inner pages */
.page-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); background: var(--tint); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.page-hero .lede { color: var(--muted); opacity: 1; }
.page-hero-strong { background: var(--green); color: #fff; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.page-hero-strong .lede { color: #fff; opacity: .88; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .97rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--tint); font-weight: 600; }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.2rem; border-left: 3px solid var(--orange); background: var(--accent-soft); }
.prose ol > li::marker { font-family: var(--display); font-weight: 700; color: var(--orange-ink); }

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.about-photo { border-radius: var(--radius); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.team { display: grid; gap: 2rem; }
.member { display: flex; gap: 1.5rem; align-items: flex-start; max-width: 760px; }
.member img { border-radius: 50%; object-fit: cover; flex: none; }
.member-role { color: var(--orange-ink); font-weight: 600; margin-bottom: .6rem; }
.member-links { display: flex; gap: 1rem; }
@media (max-width: 760px) { .about-grid, .mv-grid { grid-template-columns: 1fr; } .member { flex-direction: column; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .85rem; font: 700 1.4rem var(--display); color: var(--orange); }
.faq details[open] summary::after { content: "\2212"; }
.faq .prose { padding-bottom: 1rem; color: var(--muted); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.calc-form label[for], .choice legend { display: block; font-weight: 600; margin-bottom: .45rem; }
.input-prefix { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.input-prefix:focus-within { border-color: var(--green-3); box-shadow: 0 0 0 3px rgba(20,95,96,.18); }
.input-prefix span { padding: 0 .2rem 0 1rem; color: var(--muted); font-weight: 600; }
.input-prefix input { border: 0; outline: 0; padding: .95rem 1rem .95rem .4rem; font: 600 1.25rem var(--body); width: 100%; background: transparent; color: var(--ink); }
.choice { border: 0; padding: 0; margin: 1.6rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.choice legend { grid-column: 1 / -1; }
.choice label { display: flex; gap: .7rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--orange); background: var(--accent-soft); }
.choice input { accent-color: var(--orange); margin-top: .3rem; }
.choice small { color: var(--muted); }
.rates { border-top: 1px solid var(--line); padding-top: 1rem; }
.rates summary { cursor: pointer; font-weight: 600; color: var(--green-3); }
.rates dl, .calc-rows { margin: 1rem 0 0; }
.rates dl div, .calc-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.rates dt, .calc-rows dt { color: var(--muted); }
.rates dd, .calc-rows dd { margin: 0; font-weight: 600; text-align: right; }
.calc-result { background: var(--tint); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); position: sticky; top: 96px; }
.calc-weekly { font: 800 clamp(2.4rem, 5vw, 3.2rem)/1.05 var(--display); color: var(--brand-ink); margin: .1rem 0 .2rem; letter-spacing: -0.03em; }
.calc-key dd { color: var(--orange-ink); font-size: 1.1rem; }
.calc-total { border-bottom: 0 !important; }
.calc-total dt, .calc-total dd { color: var(--ink); font-weight: 700; }
.calc-result .hint { margin: 1.2rem 0; }
.calc-empty { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-result { position: static; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; }
.contact-info { display: grid; gap: 1.6rem; align-content: start; }
.contact-info h2 { font-size: 1rem; margin-bottom: .2rem; color: var(--muted); font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.contact-info p { margin: 0; font-size: 1.1rem; }
.contact-form { background: var(--tint); padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--radius); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: var(--surface); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green-3); box-shadow: 0 0 0 3px rgba(20,95,96,.18); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; margin: .3rem 0 0; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* Blog */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chips a { padding: .4rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.chips a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2.5rem; }
.post-card img { border-radius: var(--radius-sm); aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 1rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--orange-ink); }
.post-card p { color: var(--muted); }
.post-meta { font-size: .9rem; color: var(--muted); margin-bottom: .4rem; }
.post-cover { border-radius: var(--radius); margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--footer); color: rgba(255,255,255,.82); padding: 3.5rem 0 1.5rem; font-size: .97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 2rem; }
.footer-brand { font: 800 1.3rem var(--display); color: #fff; margin-bottom: .3rem; }
.footer-tagline { color: var(--orange); font-weight: 600; }
.footer-head { font-weight: 600; color: #fff; margin-bottom: .7rem; }
.footer-small { font-size: .88rem; opacity: .75; }
.site-footer p { margin: 0 0 .45rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; opacity: .75; }
.footer-base a + a { margin-left: 1.2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp button */
.whatsapp-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 30; display: flex; align-items: center; gap: .55rem; background: #15803d; color: #fff; text-decoration: none; padding: .75rem 1.1rem .75rem .85rem; border-radius: 999px; font-weight: 600; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.whatsapp-fab:hover { background: #116a33; color: #fff; }
@media (max-width: 520px) { .whatsapp-fab span { display: none; } .whatsapp-fab { padding: .8rem; } }
.hero-solo { grid-template-columns: 1fr; }
.hero-solo h1 { max-width: 16ch; }
.label-gap { margin-top: 1.4rem; }
.hint-warn { color: var(--danger); font-weight: 600; }
.calc-compare { margin: 1.2rem 0 0; padding: .8rem 1rem; background: var(--surface); border-radius: var(--radius-sm); font-size: .95rem; }
.calc-compare:empty { display: none; }

/* Theme toggle */
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; padding: 0; }
.theme-toggle:hover { border-color: var(--orange); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.header-tools { display: flex; align-items: center; gap: .5rem; }
@media (max-width: 860px) { .header-tools { margin-left: auto; } }

/* Logo swap for dark mode (only if a dark-mode logo is uploaded) */
.logo-for-dark { display: none; }
:root[data-theme="dark"] .has-dark-logo .logo-for-light { display: none; }
:root[data-theme="dark"] .has-dark-logo .logo-for-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .has-dark-logo .logo-for-light { display: none; }
  :root:not([data-theme="light"]) .has-dark-logo .logo-for-dark { display: block; }
}
.site-nav { order: 2; }
.header-tools { order: 3; }

/* Social media icons in the footer */
.social-icons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.site-footer .social-icons a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.28); color: #fff; font-size: 1.15rem; transition: background-color .15s, border-color .15s; }
.site-footer .social-icons a:hover, .site-footer .social-icons a:focus-visible { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Icons in buttons, contact details and team links */
.btn .icon { width: 1.1em; height: 1.1em; }
.whatsapp-fab .icon { width: 1.6rem; height: 1.6rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--orange-ink); font-size: 1.1rem; }
.member-icons { margin-top: .8rem; }
.member-icons a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .15s, border-color .15s; }
.member-icons a:hover, .member-icons a:focus-visible { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Footer column headings in the brand accent colour */
.site-footer .footer-head { color: var(--orange); letter-spacing: .01em; }

/* Footer contact details with icons */
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-contact li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .7rem; align-items: start; }
.footer-contact .icon { color: var(--orange); width: 1rem; height: 1rem; margin: .35em auto 0; display: block; }


/* Rider application form */
.apply-form { max-width: 860px; }
.apply-section { border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); margin: 0 0 1.5rem; background: var(--surface); }
.apply-section legend { font: 700 1.2rem var(--display); padding: 0 .5rem; display: flex; align-items: center; gap: .6rem; }
.apply-section .step { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--orange-strong); color: #fff; font-size: 1rem; }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.apply-grid .field-wide { grid-column: 1 / -1; }
.field-label { font-weight: 600; margin: 0 0 .35rem; }
.field-radio div { display: flex; gap: 1.5rem; }
.field-radio label { display: flex; align-items: center; gap: .45rem; font-weight: 500; cursor: pointer; }
.field-radio input { accent-color: var(--orange); width: 1.1rem; height: 1.1rem; }
.field-file input[type="file"] { padding: .6rem; }
.photo-preview { width: 110px; height: 130px; object-fit: cover; border-radius: var(--radius-sm); margin-top: .6rem; border: 1.5px solid var(--line); }
.check { margin-bottom: 1rem; }
.check label { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.check input { accent-color: var(--orange); width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; }
.form-alert { border: 1.5px solid var(--danger); color: var(--danger); background: var(--accent-soft); border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 1.5rem; font-weight: 500; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .7; cursor: wait; }
.ref { color: var(--orange-ink); white-space: nowrap; }
@media (max-width: 640px) { .apply-grid { grid-template-columns: 1fr; } }

/* Inline SVG icons */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; }
.contact-icon .icon, .social-icons .icon { width: 1.1rem; height: 1.1rem; }
.member-photo { border-radius: 50%; object-fit: cover; width: 96px; height: 96px; flex: none; }
.quote figcaption img { width: 44px; height: 44px; }

/* Rotating plan ticket on the homepage */
.ticket-body { transition: opacity .35s ease; }
.ticket-body.is-fading { opacity: 0; }
.ticket-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1.3rem 1.2rem; }
.ticket-foot .ticket-link { padding: 0; }
.ticket-dots { display: flex; gap: .15rem; }
.ticket-dot { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.ticket-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background-color .2s, transform .2s; }
.ticket-dot[aria-current="true"]::before { background: var(--orange-strong); transform: scale(1.25); }
.ticket-dot:hover::before { background: var(--orange); }
@media (prefers-reduced-motion: reduce) { .ticket-body { transition: none; } }
