/* Arenixo — navy anchor + ivory ground + coral accent.
   Navy #0d3b66 and cream #faf0ca are the founder's original brand pair; the coral
   and amber accents are their natural siblings from the same palette family. */
:root {
  --navy: #0d3b66;
  --navy-deep: #082846;
  --navy-soft: #1c4d7c;
  --bg: #faf7f0;        /* ivory page ground — softer than the logo cream */
  --cream: #faf0ca;     /* heritage cream — accents & text on dark */
  --coral: #ee6c4d;     /* CTA / highlight */
  --coral-dark: #d95b3d;
  --amber: #f4d35e;     /* small badges only */
  --ink: #22303e;
  --white: #ffffff;
  --line: rgba(13, 59, 102, 0.16);
  --shadow: 0 2px 14px rgba(13, 59, 102, 0.10);
  --radius: 12px;
  --maxw: 1060px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Nav ---------- */
header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; max-width: var(--maxw); margin: 0 auto;
}
.logo-img { height: 20px; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.92rem;
}
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn {
  display: inline-block; background: var(--coral); color: var(--white) !important;
  padding: 11px 24px; border-radius: 999px; text-decoration: none !important;
  font-weight: 700; font-size: 0.92rem; border: 2px solid var(--coral);
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--coral-dark); border-color: var(--coral-dark); }
.btn.ghost { background: transparent; color: var(--navy) !important; border-color: var(--navy); }
.btn.ghost:hover { background: rgba(13, 59, 102, 0.08); }
.btn.on-dark.ghost { color: var(--cream) !important; border-color: var(--cream); }
.btn.on-dark.ghost:hover { background: rgba(250, 240, 202, 0.12); }
.btn.big { padding: 15px 34px; font-size: 1rem; }

/* ---------- Photo hero (home) ---------- */
.hero-photo {
  position: relative; color: var(--white);
  background: var(--navy-deep);
}
.hero-photo img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5;
}
.hero-photo .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,40,70,0.55) 0%, rgba(8,40,70,0.75) 100%);
}
.hero-photo .inner {
  position: relative; z-index: 1; text-align: center;
  padding: 110px 20px 96px; max-width: 860px; margin: 0 auto;
}
.hero-photo h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; line-height: 1.15;
  margin-bottom: 20px; color: var(--white);
}
.hero-photo p.sub {
  max-width: 640px; margin: 0 auto 34px; font-size: 1.12rem; color: #e9eef4;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Race page banner ---------- */
.race-banner { position: relative; background: var(--navy-deep); color: var(--white); }
.race-banner img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55;
}
.race-banner .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,40,70,0.35) 0%, rgba(8,40,70,0.8) 100%);
}
.race-banner .inner {
  position: relative; z-index: 1; padding: 90px 20px 70px;
  max-width: var(--maxw); margin: 0 auto;
}
.race-banner h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; color: var(--white); line-height: 1.15; }
.race-banner .dates { font-weight: 700; color: var(--cream); margin-top: 10px; font-size: 1.05rem; }
.race-banner .tag {
  display: inline-block; background: var(--coral); color: var(--white);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.race-banner .tag.bonus { background: transparent; border: 1.5px solid var(--cream); color: var(--cream); }

/* ---------- Sections ---------- */
section { padding: 60px 0; }
section.alt { background: #f3eee2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--navy-deep); color: #e9eef4; }
section.dark h2, section.dark h3 { color: var(--white); }
section.dark .kicker { color: var(--cream); }
h2 {
  color: var(--navy); font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800; margin-bottom: 12px;
}
.kicker {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  font-weight: 700; color: var(--coral); margin-bottom: 8px;
}
.lede { max-width: 700px; font-size: 1.05rem; margin-bottom: 32px; }

/* ---------- Race cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.race-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.race-card:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(13,59,102,0.16); }
.race-card a.card-main { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--ink); }
.card-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 22px 20px; border-top: 1px solid var(--line);
}
.price-from { font-weight: 800; color: var(--navy); font-size: 0.95rem; line-height: 1.3; }
.price-from small { display: block; font-weight: 500; color: #5a6b7c; font-size: 0.72rem; }
.btn.small { padding: 8px 18px; font-size: 0.8rem; }
.race-card .thumb { height: 150px; overflow: hidden; position: relative; }
.race-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.race-card .thumb .chip {
  position: absolute; top: 12px; left: 12px; background: var(--coral); color: var(--white);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.race-card .thumb .chip.bonus { background: var(--navy); }
.race-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.race-card h3 { color: var(--navy); font-size: 1.12rem; font-weight: 700; }
.race-card .dates { font-weight: 600; font-size: 0.85rem; color: var(--navy-soft); }
.race-card p { font-size: 0.92rem; }
.race-card .go { margin-top: auto; padding-top: 10px; color: var(--coral); font-weight: 700; font-size: 0.92rem; }

/* ---------- Generic cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card h3 { color: var(--navy); font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.card .dates { font-weight: 600; font-size: 0.9rem; color: var(--navy-soft); margin-bottom: 14px; }
.card ul { list-style: none; margin: 14px 0; }
.card ul li { padding: 6px 0 6px 26px; position: relative; font-size: 0.95rem; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 14px; height: 3px; background: var(--coral); border-radius: 2px;
}
.fineprint { font-size: 0.8rem; color: #5a6b7c; margin-top: 10px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 10px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--coral); color: var(--white); font-weight: 800; margin-bottom: 12px;
}
.step h4 { color: var(--navy); font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; }

/* ---------- Feature rows (race pages) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.feature h3 { color: var(--navy); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 0.95rem; }

/* ---------- Package inclusions / exclusions ---------- */
.pkg-list { list-style: none; margin: 10px 0 0; }
.pkg-list li { padding: 7px 0 7px 30px; position: relative; font-size: 0.95rem; }
.pkg-list.inc li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  color: #2c7a3f; font-weight: 800;
  background: none; width: auto; height: auto; border-radius: 0;
}
.pkg-list.exc li::before {
  content: "✕"; position: absolute; left: 0; top: 6px;
  color: var(--coral); font-weight: 800;
  background: none; width: auto; height: auto; border-radius: 0;
}
.pkg-cta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 30px; padding: 22px 26px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.pkg-cta .price-from { font-size: 1.25rem; }
.pkg-cta .price-from small { font-size: 0.78rem; }

/* ---------- Two-col ---------- */
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .twocol { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
form { max-width: 560px; }
.field { margin-bottom: 20px; }
label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 0.95rem; }
label .opt { font-weight: 400; color: #5a6b7c; font-size: 0.85rem; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 8px; font-family: inherit; font-size: 1rem; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--coral); outline-offset: 1px; border-color: var(--coral); }
.form-note { font-size: 0.85rem; color: #5a6b7c; margin-top: 8px; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 8px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e7f2e4; color: #2c5f2d; border: 1px solid #a9c9a4; }
.form-status.err { display: block; background: #fbe9e7; color: #8b2f2f; border: 1px solid #e0b4b4; }

/* ---------- Article / prose ---------- */
.prose { max-width: 720px; }
.prose h2 { margin-top: 36px; }
.prose h3 { color: var(--navy); margin: 26px 0 8px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 24px; }
.prose li { margin-bottom: 6px; }
.badge {
  display: inline-block; background: var(--coral); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.badge.soon { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }

/* ---------- Draft banner ---------- */
.draft-banner {
  background: #fdf3d0; border: 1px solid #e0cd8a; color: #6b5518;
  padding: 14px 18px; border-radius: 8px; font-weight: 600; margin: 24px 0; font-size: 0.95rem;
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy-deep); color: #b9c6d2;
  padding: 46px 0 38px; margin-top: 60px; font-size: 0.9rem;
}
footer .logo-img { height: 16px; margin: 0 auto 18px; opacity: 0.95; }
footer .wrap { text-align: center; }
footer a { color: var(--cream); font-weight: 600; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .foot-links { display: flex; gap: 22px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
footer .foot-legal { display: flex; gap: 22px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; font-size: 0.82rem; }
footer .foot-legal a { color: #9fb0c0; font-weight: 500; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .nav-links { gap: 14px; }
  .nav-links a.plain { display: none; }
  .hero-photo .inner { padding: 70px 20px 60px; }
  .race-banner .inner { padding: 64px 20px 48px; }
}
