/*
  Roeiploeg Utrecht — brand design system.
  Palette: deep navy (club colour) + a bright cyan sub-colour, with red and
  white used sparingly as accents.
  Type: Playfair Display for headings, Open Sans for body copy, Muli for
  labels/nav/buttons — three roles, used consistently everywhere.
  The wave from the hero is reused sparingly as the site's signature motif.
*/

:root {
  --navy-950: #05132a;
  --navy-900: #06274c;
  --navy-800: #0f2e58;
  --navy-700: #163b6e;
  --navy-600: #1f4d8c;
  --blue-mist: #f5fafd;
  --cyan-300: #c4ebfd;
  --cyan-500: #8fd9fb;
  --cyan-600: #0782bb;
  --cyan-700: #056794;
  --red-500: #e0293f;
  --red-600: #c11f33;

  /* Secondary navy — sampled from the club banner (bridge towers). Softer and
     greyer than the primary --navy-* scale; use for secondary text, borders,
     headings on light sections. */
  --navy-soft-50: #eef2f7;
  --navy-soft-100: #dbe3ee;
  --navy-soft-200: #bac9dc;
  --navy-soft-300: #90a6c1;
  --navy-soft-400: #6480a2;
  --navy-soft-500: #456384;
  --navy-soft-600: #3a5270;
  --navy-soft-700: #31445c;
  --navy-soft-800: #2b384a;
  --navy-soft-900: #26303e;
  --navy-soft-950: #171d27;

  /* Mint teal — sampled from the club banner (water). The subtle colour: section
     fills, hover states, quiet surfaces. */
  --mint-50: #eef8f7;
  --mint-100: #d6efec;
  --mint-200: #b0e0dc;
  --mint-300: #80cbc5;
  --mint-400: #57b3ac;
  --mint-500: #3a968f;
  --mint-600: #2e7a74;
  --mint-700: #28625e;
  --mint-800: #254f4c;
  --mint-900: #213f3d;
  --mint-950: #0f2523;

  --secondary: var(--navy-soft-600);
  --surface-subtle: var(--mint-100);
  --surface-wash: var(--mint-50);

  --ink: #1c2635;
  --muted: #5d6a7f;
  --muted-light: #8493ac;
  --border: rgba(15, 46, 88, 0.1);
  --border-soft: rgba(15, 46, 88, 0.07);
  --white: #ffffff;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-label: "Muli", "Open Sans", system-ui, sans-serif;

  --container-width: 1200px;
  --radius-lg: 1.5rem;
  --radius-md: 1.125rem;
  --radius-sm: 0.65rem;
  --shadow-card: 0 24px 60px rgba(11, 35, 70, 0.07);
  --shadow-card-hover: 0 30px 70px rgba(11, 35, 70, 0.12);
  --shadow-pill: 0 18px 38px rgba(9, 30, 66, 0.18);
  --header-height: 92px;
  --header-wave-height: 28px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  border-radius: 0 0 0.65rem 0;
  z-index: 200;
  font-family: var(--font-label);
  font-weight: 700;
}
.skip-link:focus { left: 0; top: 0; }

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Buttons ---------- */
.button, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.button:hover, .cta:hover { transform: translateY(-2px); }

.cta, .button-primary {
  background: var(--red-500);
  color: var(--white);
  box-shadow: var(--shadow-pill);
}
.cta:hover, .button-primary:hover { background: var(--red-600); color: var(--white); box-shadow: 0 22px 46px rgba(9, 30, 66, 0.24); }

.button-secondary { background: var(--cyan-500); color: var(--navy-900); }
.button-secondary:hover { background: var(--cyan-600); color: var(--white); }

.button-outline { border-color: rgba(255, 255, 255, 0.7); color: var(--white); background: transparent; }
.button-outline:hover { background: rgba(255, 255, 255, 0.14); }

.button-outline-navy { border-color: rgba(15, 46, 88, 0.3); color: var(--navy-800); background: transparent; }
.button-outline-navy:hover { background: rgba(15, 46, 88, 0.06); }

.button-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--navy-800);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.button-ghost:hover { color: var(--cyan-700); transform: translateX(2px); }

.button-sm { padding: 0.65rem 1.35rem; font-size: 0.85rem; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* Oar motif from the club logo: the pill is the blade (flat, slightly rounded
     end) holding the label; ::before draws handle, shaft, collar and the
     tapered neck in the left margin. */
  --oar: var(--red-500);
  --oar-w: 11rem;
  position: relative;
  margin: 0 0 1rem var(--oar-w);
  padding: 0.45rem 1.1rem 0.45rem 0.6rem;
  border-radius: 0 0.4rem 0.4rem 0;
  background: var(--red-500);
  color: var(--white);
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  position: absolute;
  right: calc(100% - 1px); /* 1px overlap hides the seam */
  top: 0;
  width: var(--oar-w);
  height: 100%;
  background: var(--oar);
  /* viewBox 100x28, stretched to the pill: knob (0-7), shaft (40% of pill
     height), collar, and the concave taper that meets the blade at x=100. */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 28' preserveAspectRatio='none'%3E%3Crect x='0' y='9.8' width='20.5' height='8.4' rx='2.4' ry='4.2'/%3E%3Crect x='17' y='8.4' width='59' height='11.2'/%3E%3Crect x='24.75' y='6' width='10.5' height='16' rx='1.5' ry='1'/%3E%3Cpath d='M74.5 8.4C87.2 8.4 87.2 0 100 0V28C87.2 28 87.2 19.6 74.5 19.6Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 28' preserveAspectRatio='none'%3E%3Crect x='0' y='9.8' width='20.5' height='8.4' rx='2.4' ry='4.2'/%3E%3Crect x='17' y='8.4' width='59' height='11.2'/%3E%3Crect x='24.75' y='6' width='10.5' height='16' rx='1.5' ry='1'/%3E%3Cpath d='M74.5 8.4C87.2 8.4 87.2 0 100 0V28C87.2 28 87.2 19.6 74.5 19.6Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  box-shadow: none;
  padding-bottom: 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding-bottom 0.3s ease;
}
.site-header.is-tinted {
  background: rgba(6, 39, 76, 0.72);
}
.site-header.is-scrolled { padding-bottom: var(--header-wave-height); }
/* Photo + wave live on a pseudo-element: a mask on the header itself would clip the fixed mobile menu */
.site-header.is-scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(6, 27, 62, 0.68) 0%, rgba(6, 39, 76, 0.78) 100%),
    url("/vendor/roeiploeg/images/Slider3.jpg");
  background-size: cover;
  background-position: center bottom;
  box-shadow: 0 12px 34px rgba(4, 20, 43, 0.16);
  -webkit-mask-image:
    linear-gradient(#000, #000),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C200,120 400,0 720,40 C1040,80 1240,20 1440,60 L1440,0 L0,0 Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% calc(var(--header-height) + 1px), 100% var(--header-wave-height);
  -webkit-mask-position: top, bottom;
  -webkit-mask-repeat: no-repeat, no-repeat;
  mask-image:
    linear-gradient(#000, #000),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C200,120 400,0 720,40 C1040,80 1240,20 1440,60 L1440,0 L0,0 Z' fill='%23000'/%3E%3C/svg%3E");
  mask-size: 100% calc(var(--header-height) + 1px), 100% var(--header-wave-height);
  mask-position: top, bottom;
  mask-repeat: no-repeat, no-repeat;
}
.site-header .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-height);
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex: none;
}
.site-header .brand img { height: 58px; width: auto; }
.site-header .brand-name {
  display: none;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--white);
  font-size: 1.15rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (min-width: 1180px) {
  .site-header .brand-name { display: block; }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  flex: none;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { flex: 1; display: flex; justify-content: flex-end; }
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-nav a {
  display: inline-block;
  padding: 0.4rem 0.1rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--cyan-500);
  transition: right 0.25s ease;
}
.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.site-nav a.is-active { color: var(--white); }
.site-nav a.nav-cta {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: var(--red-500);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(9, 30, 66, 0.28);
}
.site-nav a.nav-cta::after { display: none; }
.site-nav a.nav-cta:hover { background: var(--red-600); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--navy-900);
    padding: 1.5rem 1.5rem 2.5rem;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .site-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .site-nav a { display: block; padding: 1.05rem 0.25rem; font-size: 1.05rem; text-align: center; }
  .site-nav a::after { display: none; }
  .site-nav a.nav-cta { margin-top: 1.25rem; text-align: center; }
}

/* ---------- Wave divider (signature motif) ---------- */
.wave-divider { display: block; width: 100%; line-height: 0; }
.wave-divider svg { display: block; width: 100%; height: 100%; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(6, 27, 62, 0.68) 0%, rgba(9, 48, 88, 0.6) 48%, rgba(4, 35, 68, 0.76) 100%),
    url("/vendor/roeiploeg/images/Slider3.jpg");
  background-size: cover;
  background-position: center;
  padding: 11.5rem 0 0;
  color: var(--white);
  text-align: center;
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto 6.5rem; }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.hero .lead { color: rgba(255, 255, 255, 0.88); max-width: 620px; margin: 0 auto; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.25rem; }
.hero-wave { position: relative; margin-top: -4px; color: var(--white); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: calc(var(--header-height) + 3.5rem) 0 5rem;
  text-align: center;
}
.page-hero .container { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.1; margin: 0 0 1rem; }
.page-hero .lead { color: rgba(255, 255, 255, 0.82); }
.page-hero .wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; color: var(--blue-mist); }
.page-hero.on-white .wave-divider { color: var(--white); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-label);
  font-size: 0.85rem;
}
.breadcrumbs a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span[aria-hidden] { color: rgba(255, 255, 255, 0.35); }
.breadcrumbs .is-current { color: var(--white); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-white { background: var(--white); }
.section-light { background: var(--blue-mist); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-header { margin-bottom: 3.25rem; text-align: center; }
.section-header h2 { font-size: clamp(1.9rem, 3vw, 2.85rem); margin: 0.75rem auto 1rem; max-width: 780px; line-height: 1.1; color: var(--navy-900); }
.section-navy .section-header h2 { color: var(--white); }
.section-header .lead { max-width: 720px; margin: 0 auto; }
.italic { font-family: var(--font-display); font-style: italic; font-weight: 700; }

/* ---------- Team / photo / activity / sponsor cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
/* Home teams: three per row at a fixed card width, centred rather than stretched. */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 1.5rem; }

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.team-image { overflow: hidden; }
.team-image img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-image img { transform: scale(1.05); }
.team-body { padding: 1.85rem; }
.team-body h3 { font-size: 1.4rem; margin: 0 0 0.85rem; color: var(--navy-900); }
.team-body p { margin: 0 0 1.5rem; color: var(--muted); line-height: 1.75; }

.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.photo-card { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.photo-card img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.5s ease; }
.photo-card:hover img { transform: scale(1.06); }

/* Facebook post photos: natural proportions, click to enlarge (lightbox below) */
.news-layout.has-reel { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; align-items: start; }
.news-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.news-gallery-item:first-child { grid-column: 1 / -1; }
.news-gallery-item:not(:first-child) { aspect-ratio: 4 / 3; }
.news-gallery-item:not(:first-child) img { height: 100%; object-fit: cover; }
.news-gallery-item { padding: 0; border: 0; background: var(--blue-mist); border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; }
.news-gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.news-gallery-item:hover img { transform: scale(1.04); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 39, 76, 0.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox-image { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; background: rgba(255, 255, 255, 0.14); color: var(--white); cursor: pointer; line-height: 1; border-radius: 999px; width: 3rem; height: 3rem; font-size: 2rem; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox.is-single .lightbox-nav { display: none; }
.instagram-follow { text-align: center; margin-top: 2.25rem; }

/* ---------- Fleet (Vloot) ---------- */
.fleet-stack { display: grid; gap: 2.5rem; }
.fleet-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  align-items: stretch;
}
.fleet-item.has-media { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.fleet-item-media { display: block; position: relative; min-height: 320px; overflow: hidden; background: var(--blue-mist); }
.fleet-item-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.fleet-item-media:hover img { transform: scale(1.04); }
.fleet-item.has-media:nth-child(even) .fleet-item-media { order: 2; }
.fleet-item-body { padding: 2.5rem; align-self: center; }
.fleet-item-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--navy-900); margin: 0 0 0.55rem; }
.fleet-item-meta {
  margin: 0 0 1rem;
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cyan-700);
}
.fleet-item-lead { color: var(--muted); line-height: 1.8; margin: 0 0 1.6rem; }

/* Spec table — used on the fleet list and the boat detail page */
.spec-grid { margin: 0 0 1.6rem; border-top: 1px solid var(--border-soft); }
.spec-grid .spec {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.spec-grid dt {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.spec-grid dd { margin: 0; font-weight: 700; color: var(--navy-900); text-align: right; }
.spec-grid-panel {
  columns: 2;
  column-gap: 2.5rem;
  border-top: none;
  margin: 0 0 2rem;
}
.spec-grid-panel .spec { break-inside: avoid; }

.activity-card {
  background: var(--white);
  padding: 2.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.activity-card-image { margin: -2.1rem -2.1rem 1.6rem; }
.activity-card-image img { width: 100%; height: 180px; object-fit: cover; display: block; }
.activity-card h5 { font-family: var(--font-label); margin: 0 0 1rem; color: var(--cyan-700); font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; }
.activity-card p { margin: 0; color: var(--muted); line-height: 1.75; }

.sponsor-card {
  background: var(--white);
  padding: 1.9rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.sponsor-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  margin-bottom: 1.4rem;
}
.sponsor-card-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; margin: 0; }
.sponsor-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.sponsor-card h4 { margin: 0; font-size: 1.05rem; color: var(--navy-900); }

/* ---------- Split content blocks (clubschip / about) ---------- */
.split-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.split-copy h2 { font-size: clamp(1.9rem, 3vw, 2.85rem); margin: 0 0 1.1rem; color: var(--navy-900); }
.split-copy p:not(.eyebrow) { margin: 0 0 1.75rem; }
.split-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 26px 70px rgba(11, 35, 70, 0.12); display: block; }
.split-image-group { display: grid; gap: 1rem; }
.split-image-large { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 26px 70px rgba(11, 35, 70, 0.1); }
.split-image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split-image-large img, .split-image-pair img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Portrait + landscape photo side by side: crop both to the same shape */
.split-image-pair.is-portrait img { aspect-ratio: 3 / 4; }
.split-image-pair img { border-radius: var(--radius-lg); box-shadow: 0 26px 70px rgba(11, 35, 70, 0.1); }

/* ---------- Contact / CTA band ---------- */
.section-contact {
  position: relative;
  background:
    linear-gradient(180deg, rgba(6, 27, 62, 0.66), rgba(6, 27, 62, 0.76)),
    url("/vendor/roeiploeg/images/Slider3.jpg");
  background-size: cover;
  background-position: center;
  padding: 6.5rem 0;
  color: var(--white);
}
.contact-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.contact-copy h2 { font-size: clamp(1.9rem, 3vw, 2.85rem); margin: 0 0 1.1rem; color: var(--white); }
.contact-copy .lead { color: rgba(255, 255, 255, 0.82); margin-bottom: 1.75rem; }
.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}
.contact-card h3 { color: var(--white); margin: 0 0 0.9rem; font-size: 1.3rem; }
.contact-card p { color: rgba(255, 255, 255, 0.82); line-height: 1.75; margin: 0 0 1.5rem; }

/* ---------- Generic list layout (teams / events / news / sponsors index) ---------- */
.list-stack { display: grid; gap: 1.5rem; max-width: 840px; margin: 0 auto; }
.list-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: 2.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.list-card-image {
  display: block;
  margin: -0.35rem 0 1.4rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.list-card-image img { width: 100%; height: 100%; object-fit: cover; }
.list-card-image.is-compact { max-width: 260px; }
.list-card-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy-900);
  text-decoration: none;
  display: inline-block;
}
.list-card-title:hover { color: var(--red-600); }
.list-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.6rem;
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted-light);
  text-transform: uppercase;
}
.list-card-body { margin-top: 1.1rem; color: var(--muted); line-height: 1.8; }
.list-card-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.team-list-card { display: grid; gap: 2rem; align-items: center; }
.team-list-card.has-image { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr); }
.team-list-card-image { display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; }
.team-list-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-list-card-image.is-fit { aspect-ratio: auto; }
.team-list-card-image.is-fit img { height: auto; object-fit: contain; display: block; }
.team-list-card:hover .team-list-card-image img { transform: scale(1.05); }
.team-list-card-body .list-card-body:first-child { margin-top: 0; }

.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.member-chip { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.1rem 1.3rem; background: var(--blue-mist); }
.member-chip p { margin: 0; }
.member-chip .member-name { font-weight: 700; color: var(--navy-900); }
.member-chip .member-role { color: var(--muted); margin-top: 0.2rem; font-size: 0.92rem; }

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  color: var(--muted);
  background: var(--blue-mist);
}

.detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  max-width: 840px;
  margin: -3.25rem auto 0;
  position: relative;
  z-index: 3;
}
.detail-head { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--border-soft); padding-bottom: 1.75rem; margin-bottom: 1.75rem; }
.detail-head h2 { font-size: 1.9rem; color: var(--navy-900); margin-top: 0.4rem; }
.detail-card.is-news { max-width: 1080px; }
.detail-date { font-family: var(--font-label); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted-light); margin: 0; }
.detail-meta { font-family: var(--font-label); font-size: 0.9rem; color: var(--muted); text-align: right; }
.detail-meta p { margin: 0 0 0.2rem; }
.detail-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.75rem; box-shadow: 0 20px 50px rgba(11, 35, 70, 0.1); }
.detail-image img { width: 100%; height: auto; display: block; }
.detail-body { color: var(--ink); line-height: 1.9; font-size: 1.02rem; }
.detail-body p + p { margin-top: 1.1rem; }
.detail-body strong { color: var(--navy-900); }

.team-detail-layout { display: grid; gap: 2.25rem; align-items: start; }
.team-detail-layout.has-gallery { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.team-detail-main .list-card-body { margin-top: 1.1rem; }
.team-detail-gallery { display: grid; gap: 1rem; }
.team-detail-gallery-item { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.team-detail-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  max-width: 640px;
  margin: 0 auto;
}
.form-field { margin-bottom: 1.5rem; }
.form-field label {
  display: block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-900);
  margin-bottom: 0.55rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(15, 46, 88, 0.18);
  background: var(--blue-mist);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-error { margin-top: 0.5rem; font-size: 0.85rem; color: var(--red-600); }
.form-actions { margin-top: 0.5rem; }
.alert-success {
  border: 1px solid rgba(31, 143, 92, 0.25);
  background: rgba(31, 143, 92, 0.08);
  color: #17673f;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  font-weight: 600;
}

/* ---------- Pagination ---------- */
.pagination-nav { display: flex; justify-content: center; margin-top: 2.5rem; }
.pagination-list { list-style: none; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.pagination-list a,
.pagination-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--navy-800);
}
.pagination-list a:hover { background: var(--blue-mist); }
.pagination-list .is-active span { background: var(--navy-800); color: var(--white); }
.pagination-list .is-disabled { color: var(--muted-light); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--red-600); color: rgba(255, 255, 255, 0.88); }
/* Same wave as the hero, laid over the bottom of the previous section */
.footer-wave { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); }
.footer-top { padding: 4.5rem 1.5rem 3rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.footer-brand { display: flex; align-items: flex-start; gap: 1rem; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand h2 { font-family: var(--font-body); font-size: 1.15rem; line-height: 1.15; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); margin-bottom: 0.5rem; }  /* same as the header brand name */
.footer-brand p { max-width: 320px; line-height: 1.75; color: rgba(255, 255, 255, 0.85); }
.footer-heading { font-family: var(--font-label); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: grid; gap: 0.75rem; }
.footer-links a { color: var(--white); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Privacy policy and terms: Markdown body */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.contact-grid-single { grid-template-columns: minmax(0, 640px); justify-content: center; }
.contact-grid .form-card { max-width: none; margin: 0; }
.contact-map { display: block; width: 100%; height: 280px; border: 0; border-radius: var(--radius-lg); margin-top: 1rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-side { order: -1; } }
.contact-info address { font-style: normal; line-height: 1.8; margin-bottom: 0.75rem; }
.contact-info a { text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 760px; line-height: 1.8; }
.legal h2 { margin: 2.25rem 0 0.75rem; }
.legal p, .legal ul { margin: 0 0 1rem; }
.legal ul { padding-left: 1.4rem; list-style: disc; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a { color: inherit; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.75rem 1.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer-credit {
  text-align: center;
  padding: 0 1.5rem 1.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer-credit img { display: inline; border-radius: 3px; vertical-align: -2px; margin-right: 0.4rem; }
.footer-credit-link { color: inherit; text-decoration: none; white-space: nowrap; }
.footer-credit-link:hover { text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  max-width: 720px;
  margin: 0 auto;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  transform: translateY(140%);
  transition: transform 0.35s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-text p:first-child { color: var(--white); font-weight: 700; margin-bottom: 0.35rem; }
.cookie-banner-text p { font-size: 0.9rem; line-height: 1.6; }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .grid-4, .grid-3, .team-grid, .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-height: 76px; }
  .site-header .brand img { height: 46px; }
  .hero { padding: 8.5rem 0 0; }
  .hero-inner { margin-bottom: 4rem; }
  .page-hero { padding: calc(var(--header-height) + 2.5rem) 0 3.5rem; }
  .section { padding: 3.75rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .split-grid, .contact-inner { grid-template-columns: 1fr; }
  .split-image-group { order: -1; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .detail-card { padding: 1.9rem; margin-top: -2rem; }
  .detail-head { flex-direction: column; }
  .news-layout.has-reel { grid-template-columns: 1fr; }
  .detail-meta { text-align: left; }
  .team-detail-layout.has-gallery { grid-template-columns: 1fr; }
  .team-detail-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet-item.has-media { grid-template-columns: 1fr; }
  .fleet-item.has-media:nth-child(even) .fleet-item-media { order: 0; }
  .fleet-item-media { min-height: 220px; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .team-grid, .photo-grid, .member-grid, .team-detail-gallery { grid-template-columns: 1fr; }
  .team-list-card.has-image { grid-template-columns: 1fr; }
  .spec-grid-panel { columns: 1; }
  .hero h1 { letter-spacing: -0.01em; }
  .eyebrow { --oar-w: 6.5rem; letter-spacing: 0.12em; }
  .form-card { padding: 1.75rem; }
  .footer-credit-tagline { display: block; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
}
