/* Kustgids — shared presentation for four distinct FF Tijd guides.
   System fonts only. No tracking. Content and structure differ per site. */

:root {
  --navy: #0e2744;
  --navy-2: #163556;
  --ink: #17202b;
  --muted: #3e4c59;
  --paper: #f7f2ea;
  --sand: #efe2cf;
  --sand-2: #e4d3b8;
  --white: #fffcfa;
  --line: #d9cdb8;
  --link: #0e3f73;
  --focus: #ffbf47;
  --sun: #e8b04a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Liberation Serif", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Liberation Sans", "Noto Sans", "Helvetica Neue", system-ui, sans-serif;
  --measure: 68ch;
  --wrap: 1120px;
  --accent: #0e4e86;
  --accent-soft: #e7eef6;
  color-scheme: light;
}

html[data-site="bedrijfsuitjehvh"] {
  --accent: #b85a2a;
  --accent-soft: #f8e7da;
}

html[data-site="bedrijfsuitje-hoekvanholland"] {
  --accent: #0e7c74;
  --accent-soft: #e3f3f1;
}

html[data-site="bbq-hoekvanholland"] {
  --accent: #a33b2b;
  --accent-soft: #f8ebe7;
}

html[data-site="uitjehvh"] {
  --accent: #1d6fbf;
  --accent-soft: #e7f0fa;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  border-top: 6px solid var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: var(--navy);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.mast {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.mast-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: center;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
  min-height: 44px;
}

.brand svg {
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.1;
  display: block;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.mast-pub {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 26rem;
}

.anchor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.35rem 0.95rem;
  border: 1px solid var(--sun);
  color: #10243f;
  background: var(--sun);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.anchor-btn:visited {
  color: #10243f;
}

.inquiry {
  padding: 1rem 0 3rem;
}

.inquiry h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 18ch;
}

.inquiry-who {
  background: var(--navy);
  color: #f7f2ea;
  padding: 1rem 1.15rem;
  margin: 0.4rem 0 0.85rem;
  max-width: 42rem;
}

.inquiry-who p {
  color: #f7f2ea;
  margin: 0 0 0.55rem;
  max-width: none;
  font-size: 1.05rem;
}

.inquiry-who p:last-child {
  margin-bottom: 0;
}

.form-page {
  padding: 1.5rem 0 3rem;
}

.form-page h1 {
  max-width: 14ch;
}

.form-page fieldset {
  border: 1px solid var(--line);
  background: var(--white);
  margin: 0 0 1rem;
  padding: 0.9rem 1rem 1rem;
}

.form-page legend {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.25rem;
  padding: 0 0.3rem;
}

.form-page label {
  display: block;
  margin: 0.7rem 0 0.25rem;
  font-weight: 650;
}

.form-page input,
.form-page select,
.form-page textarea {
  width: 100%;
  max-width: 40rem;
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.form-page .check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  margin: 0.35rem 0;
}

.form-page .check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
}

.row-2 {
  display: grid;
  gap: 0.6rem;
}

.field-note,
.form-page .note {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-error {
  background: #3e1c18;
  color: #fff7f4;
  padding: 0.8rem 1rem;
  margin: 0.6rem 0;
}

.form-success {
  background: var(--navy);
  color: #f7f2ea;
  padding: 1rem 1.1rem;
  margin: 0.8rem 0;
}

.form-page button[type="submit"] {
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 0;
  background: var(--sun);
  color: #10243f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-page button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: progress;
}

@media (min-width: 760px) {
  .row-2 {
    grid-template-columns: 1fr 1fr;
    max-width: 40rem;
  }
}

.inquiry .dek,
.inquiry p {
  max-width: 68ch;
}

.inquiry-frame {
  display: block;
  width: 100%;
  height: min(920px, 100dvh);
  min-height: 34rem;
  margin: 1.2rem 0 0.8rem;
  border: 1px solid var(--line);
  background: #f8f4ec;
}

.inquiry-fallback,
.inquiry-note {
  font-size: 0.98rem;
  color: var(--ink);
}

.mast-pub a {
  color: var(--navy);
  font-weight: 650;
}

a {
  color: var(--link);
}

a:visited {
  color: var(--link);
}

.prose a,
.note a,
.faq a,
.sources a {
  text-underline-offset: 0.16em;
}

main {
  padding-bottom: 3rem;
}

.hero {
  padding: 2.2rem 0 1.4rem;
  background: linear-gradient(180deg, var(--sand) 0%, rgba(239, 226, 207, 0) 100%);
}

.hero-rule {
  background: transparent;
  padding-top: 1.6rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
}

.eyebrow span {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 600;
  overflow-wrap: break-word;
}

h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.05rem, 4.6vw, 3.45rem);
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero-steps h1,
.hero-audiences h1 {
  max-width: 20ch;
}

.dek {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.38rem);
  line-height: 1.5;
  max-width: var(--measure);
  margin: 0 0 1rem;
}

.checked,
.publisher-line {
  color: var(--muted);
  max-width: var(--measure);
  margin: 0;
  font-size: 0.95rem;
}

.publisher-line {
  margin-top: 0.7rem;
}

.hero-split,
.hero-steps,
.hero-audiences {
  display: grid;
  gap: 1.5rem;
}

.hero-index,
.audience-jump {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1rem 0.85rem;
  align-self: start;
}

.hero-index p,
.audience-jump p {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
}

.hero-index ol,
.audience-jump ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-index a,
.audience-jump a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-weight: 650;
}

.hero-index a:hover,
.audience-jump a:hover,
.toc a:hover,
.cta a:hover {
  text-decoration: underline;
}

.step-count {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  color: var(--accent);
  margin: 0;
}

.step-count b {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 6.5rem);
  line-height: 0.8;
  font-weight: 600;
}

.step-count span {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.toc,
.content,
.figure,
.sheet,
.step,
.card,
.path,
.season,
.band,
.scenario,
.program {
  min-width: 0;
}

.toc p {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
}

.toc ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.92rem;
}

.content > * + * {
  margin-top: 3.25rem;
}

.hero-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 34rem;
  color: #f7f2ea;
  background: var(--navy);
  overflow: hidden;
}

.hero-photo picture,
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo.pos-plants img {
  object-position: center 22%;
}

.hero-photo.pos-people img {
  object-position: center 30%;
}

.hero-photo.pos-food img,
.hero-photo.pos-grill img {
  object-position: center 42%;
}

.hero-photo.pos-ship img {
  object-position: center 62%;
}

.hero-credit a,
.frame figcaption a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.hero-credit a {
  color: var(--navy);
}

.hero-photo-shade {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 26vh 0 1.15rem;
  background: linear-gradient(180deg, rgba(14, 39, 68, 0.02) 0%, rgba(14, 39, 68, 0.08) 46%, rgba(14, 39, 68, 0.72) 100%);
}

.hero-panel {
  max-width: 38rem;
  background: rgba(14, 39, 68, 0.92);
  border-left: 5px solid var(--sun);
  padding: 0.85rem 1rem 0.95rem;
}

.hero-credit {
  margin: 0.55rem 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-photo h1,
.hero-photo .dek,
.hero-photo .eyebrow,
.hero-photo .pull p {
  color: #f7f2ea;
}

.hero-photo .publisher-line,
.hero-photo .checked {
  color: #efe2cf;
}

.hero-photo h1 {
  max-width: 16ch;
}

.hero-photo .pull {
  border-left-color: var(--sun);
}

.jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.15rem 0 0.2rem;
  padding: 0;
  list-style: none;
}

.jump-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.jump-bar a:hover,
.jump-bar a:visited {
  color: var(--navy);
}

.frame {
  margin: 0 0 1.4rem;
  background: var(--navy);
  padding: 0.5rem 0.5rem 0.75rem;
}

.frame img {
  display: block;
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
  object-position: center 30%;
}

.frame figcaption {
  color: #efe2cf;
  margin: 0.65rem 0.25rem 0.1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.photo-split {
  display: grid;
  gap: 0.8rem;
  margin: 0.4rem 0 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.photo-split img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.photo-split div {
  padding: 0.2rem 1rem 0.8rem;
}

@media (max-width: 700px) {
  .hero-photo {
    min-height: 32rem;
  }

  .hero-photo-shade {
    padding-top: 12rem;
  }

  .hero-photo.pos-ship img {
    object-position: center 36%;
  }
}

@media (min-width: 760px) {
  .photo-split {
    grid-template-columns: minmax(14rem, 0.9fr) 1.3fr;
    align-items: stretch;
  }

  .photo-split img {
    height: 100%;
    min-height: 220px;
  }

  .photo-split div {
    padding: 1rem 1.15rem 0.6rem;
  }
}

.section h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  max-width: 22ch;
}

.prose p,
.prose li,
.card p,
.step p,
.note p,
.faq p,
.sources li,
.cta p {
  font-family: var(--serif);
}

.prose p,
.card p,
.step p {
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: var(--measure);
  margin: 0 0 0.9rem;
  overflow-wrap: break-word;
}

.pull {
  margin: 0.4rem 0 1.2rem;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 3px solid var(--accent);
  max-width: 34ch;
}

.pull p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.3;
  color: var(--navy);
}

.card-stack,
.path-grid,
.season-grid,
.band-grid,
.scenario-grid,
.program-grid {
  display: grid;
  gap: 0.9rem;
}

.card,
.path,
.season,
.band,
.scenario,
.program {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.05rem 1.1rem 0.4rem;
}

.card h3,
.path h3,
.season h3,
.band h3,
.scenario h3,
.program h3,
.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.kicker {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note,
.sister {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 0.95rem 1.05rem;
  max-width: 72ch;
}

.note p,
.sister p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: none;
}

.note + .note,
.prose .note {
  margin-top: 1rem;
}

.ban {
  background: #3e1c18;
  color: #fff7f4;
  padding: 1.25rem 0;
}

.ban-inner {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.ban .kicker,
.ban p,
.ban a,
.ban a:visited {
  color: #fff7f4;
}

.ban p {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.4;
  margin: 0;
  max-width: 68ch;
}

.ban .more {
  font-family: var(--sans);
  font-size: 1rem;
  margin: 0;
  max-width: 62ch;
}

.stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 78ch;
}

.step {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.35rem 0.85rem;
  position: relative;
  padding-bottom: 1.35rem;
}

.step::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 2.6rem;
  bottom: 0.15rem;
  width: 1px;
  background: var(--line);
}

.step:last-child::before {
  display: none;
}

.num {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--accent);
  line-height: 1;
  font-weight: 600;
}

.timeline,
.checklist,
.runbook {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 72ch;
}

.timeline li,
.runbook li,
.checklist li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.timeline li,
.runbook li {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
}

.when {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--sans);
}

.sheet {
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-variant-numeric: tabular-nums;
  min-width: 0;
}

caption {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  padding: 0 0 0.7rem;
  font-size: 1rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

th {
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td:last-child,
th:last-child {
  text-align: right;
}

.total td {
  font-weight: 750;
  color: var(--navy);
  border-bottom: 0;
}

.figure {
  margin: 1rem 0 0;
  max-width: 46rem;
  background: var(--navy);
  padding: 0.55rem 0.55rem 0.8rem;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
}

.figure figcaption {
  color: var(--sand);
  padding: 0.7rem 0.35rem 0.15rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cta {
  background: var(--navy);
  color: var(--sand);
  padding: 1.4rem 1.3rem 1.2rem;
  max-width: 74ch;
}

.cta h2,
.cta p {
  color: var(--sand);
}

.cta h2 {
  max-width: 20ch;
}

.cta .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.cta a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border: 1px solid #efe2cf;
  color: var(--white);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 650;
  background: transparent;
}

.cta a:visited {
  color: var(--white);
}

.cta a small {
  display: block;
  font-weight: 500;
  color: var(--sand);
  font-size: 0.75rem;
}

.faq {
  border-top: 1px solid var(--line);
  padding: 0.95rem 0;
  max-width: 72ch;
}

.faq h3 {
  margin: 0 0 0.35rem;
  font-size: 1.22rem;
}

.faq p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
}

.sources ol {
  margin: 0;
  padding-left: 1.2rem;
  max-width: 72ch;
}

.sources li {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  line-height: 1.45;
}

.site-note {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0 1.3rem;
}

.site-note p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.missing {
  padding: 2.5rem 0 3rem;
}

.missing h1 {
  max-width: 16ch;
}

.missing ul {
  padding-left: 1.1rem;
  max-width: 40rem;
}

.missing li {
  margin: 0.35rem 0;
  font-family: var(--serif);
  font-size: 1.15rem;
}

@media (min-width: 760px) {
  .hero-split,
  .hero-audiences {
    grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.8fr);
    align-items: end;
  }

  .hero-steps {
    grid-template-columns: minmax(0, 1.6fr) auto;
    align-items: end;
  }

  .path-grid,
  .scenario-grid,
  .program-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .season-grid,
  .band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-stack {
    grid-template-columns: 1fr;
  }

}

@media (min-width: 1040px) {
  .layout {
    grid-template-columns: 15.5rem minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }

  .toc {
    position: sticky;
    top: 1rem;
  }

  .toc ol {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .toc a {
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: transparent;
    padding: 0.15rem 0.75rem;
    min-height: 2.6rem;
  }

  .season-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .band-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .timeline li,
  .runbook li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }

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

  tr {
    border: 1px solid var(--line);
    margin-bottom: 0.6rem;
    background: var(--white);
    padding: 0.55rem 0.75rem;
  }

  td,
  th {
    border: 0;
    text-align: left;
    padding: 0.3rem 0;
  }

  td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 750;
    color: var(--navy);
  }

  td:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .inquiry-frame,
  .anchor-btn {
    display: none;
  }

  body {
    background: white;
    border: 0;
  }

  .mast,
  .toc,
  .skip,
  .cta a {
    break-inside: avoid;
  }

  .cta,
  .site-note,
  .ban,
  .figure {
    background: white;
    color: black;
  }

  .cta h2,
  .cta p,
  .site-note,
  .site-note p,
  .ban,
  .ban p,
  .ban a,
  .figure figcaption {
    color: black;
  }
}
