@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@75..100,500..800&family=Source+Sans+3:wght@400;600&display=swap');

/* De Kraak Actief. Colours from the CSS of their old site (dekraak.nl), see ../BRAND.md */
:root {
  --red: #cc0000;         /* links and menu hover on their site */
  --red-dark: #990000;    /* hover and visited links on their site */
  --black: #111111;       /* black header bar of their site (202top.png), softened */
  --black-2: #1d1d1d;
  --grey: #cccccc;        /* page background of their site */
  --grey-soft: #efefef;   /* lighter tint of #cccccc */
  --grey-softer: #f7f7f7;
  --white: #fff;
  --text: #333333;        /* body text colour of their site */
  --muted: #5c5c5c;
  --line: #d9d9d9;
  --line-dark: #111111;
  --on-black: #d6d6d6;
  --on-black-muted: #a3a3a3;

  --f-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-body: 'Source Sans 3', Verdana, system-ui, sans-serif;

  --r: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--f-body); font-size: 1.0938rem; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 750; font-stretch: 85%; color: var(--black); line-height: 1.04; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 1.35rem + 2vw, 2.9rem); }
h3 { font-size: 1.45rem; line-height: 1.12; }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem); }
.tint { background: var(--grey-softer); }
.dark { background: var(--black); color: var(--on-black); }
.dark h2, .dark h3 { color: var(--white); }
.dark p { color: var(--on-black); }
.lead { font-size: 1.2rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--white); padding: .6rem 1rem; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
svg { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons: small radius, filled red or 1px outline */
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--r); background: var(--red); color: var(--white); border: 1px solid var(--red); font: 600 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn.ghost:hover { background: var(--black); color: var(--white); }
.dark .btn.ghost, .hero .btn.ghost, .page-head .btn.ghost { color: var(--white); border-color: #6b6b6b; }
.dark .btn.ghost:hover, .hero .btn.ghost:hover, .page-head .btn.ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Header: white, text wordmark (no logo file found) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 10px rgba(0, 0, 0, .07); }
.header-in { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand { display: grid; margin-right: auto; text-decoration: none; line-height: 1; }
.brand b { font: 800 1.55rem/1 var(--f-display); font-stretch: 80%; color: var(--black); letter-spacing: -.01em; }
.brand span { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.nav-list { display: flex; gap: 1.8rem; }
.nav-link { text-decoration: none; font-size: 1rem; color: var(--text); padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav-link:hover { color: var(--black); border-bottom-color: var(--line); }
.nav-link[aria-current="page"] { color: var(--black); font-weight: 600; border-bottom-color: var(--red); }
.menu-btn { display: none; }
.header-call { min-height: 44px; padding: .55rem 1rem; }
@media (max-width: 1100px) { .header-call .num { display: none; } }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .8rem; background: transparent; color: var(--black); border: 1px solid var(--line); border-radius: var(--r); font: 500 .95rem var(--f-body); cursor: pointer; }
  .site-nav { order: 2; }
  .header-cta { order: 1; }
  .nav-list[popover] { inset: 74px 0 auto auto; margin: 0; width: min(320px, 100vw); flex-direction: column; gap: 0; padding: .5rem 0; background: var(--white); border: 0; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .12); }
  .nav-list[popover] .nav-link { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
  .nav-list:not([popover]), .nav-list[popover]:not(:popover-open) { display: none; }
}
@media (max-width: 480px) { .brand b { font-size: 1.3rem; } .brand span { font-size: .72rem; } .header-in { gap: .6rem; min-height: 66px; } .menu-label { display: none; } .nav-list[popover] { inset: 66px 0 auto auto; } }

/* Hero: black band like the header bar of their old site, own photo right */
.hero { background: var(--black); color: var(--on-black); }
.hero-grid { display: grid; gap: 2rem; padding-block: 2.75rem 0; }
.hero h1 { color: var(--white); margin-bottom: .4em; }
.hero-lead { font-size: 1.2rem; color: var(--on-black); max-width: 34rem; }
.hero-text { padding-bottom: 1.25rem; }
.hero-media { margin: 0 -1.25rem; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media figcaption { font-size: .88rem; color: var(--on-black-muted); padding: .6rem 1.25rem 1rem; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 6fr 6fr; align-items: center; gap: 4rem; padding-block: 4.5rem; }
  .hero-text { padding-bottom: 0; }
  .hero-media { margin: 0; }
  .hero-media img { aspect-ratio: 8 / 5.4; }
  .hero-media figcaption { padding-inline: 0; padding-bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); animation: up .8s var(--ease) forwards; animation-delay: var(--d, .1s); }
  [data-aos] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  [data-aos].aos-animate { opacity: 1; transform: none; }
}
@keyframes up { to { opacity: 1; transform: none; } }

/* Facts: label/value columns with thin lines */
.facts { border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(2, 1fr); }
.facts li { padding: 1.3rem 1rem 1.3rem 0; border-bottom: 1px solid var(--line); }
.facts li:nth-last-child(-n+2) { border-bottom: 0; }
.facts b { display: block; font: 750 1.6rem/1.1 var(--f-display); font-stretch: 85%; color: var(--black); }
.facts span { font-size: .95rem; color: var(--muted); }
@media (min-width: 900px) {
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .facts li { border-bottom: 0; padding: 1.7rem 1.5rem; border-left: 1px solid var(--line); }
  .facts li:first-child { border-left: 0; padding-left: 0; }
}

/* Section heads: left aligned */
.head { max-width: 46rem; margin-bottom: 2.25rem; }
.head p { color: var(--muted); }
.dark .head p { color: var(--on-black); }
.split-head { display: grid; gap: 1rem 4rem; margin-bottom: 2.25rem; }
.split-head h2 { margin: 0; }
.split-head p { color: var(--muted); margin: 0; }
@media (min-width: 900px) { .split-head { grid-template-columns: 5fr 6fr; align-items: end; } }

/* Register: rows over the full width */
.register { border-top: 2px solid var(--line-dark); }
.register a { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1.5rem; align-items: center; padding: 1.05rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.register .r-name { font: 750 clamp(1.45rem, 1.1rem + 1.1vw, 2rem)/1.1 var(--f-display); font-stretch: 85%; color: var(--black); grid-column: 1; grid-row: 2; }
.register .r-note { font-size: .95rem; color: var(--muted); grid-column: 1; grid-row: 1; }
.register .r-go { grid-column: 2; grid-row: 1 / 3; color: var(--red); transition: transform .2s var(--ease); }
.register a:hover .r-name { color: var(--red); }
.register a:hover .r-go { transform: translateX(4px); }
@media (min-width: 900px) {
  .register a { grid-template-columns: 17rem 1fr auto; padding: 1.15rem 0; }
  .register .r-note { grid-row: 1; }
  .register .r-name { grid-column: 2; grid-row: 1; }
  .register .r-go { grid-column: 3; grid-row: 1; }
}

/* Detail: photo left, text right */
.detail { display: grid; gap: 2rem; align-items: start; }
.detail + .detail { margin-top: clamp(3.5rem, 2rem + 5vw, 6rem); }
.detail-media { margin: 0; }
.detail-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.detail-media.tall img { aspect-ratio: 4 / 5; }
.detail-media figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; }
.dark .detail-media figcaption { color: var(--on-black-muted); }
.rows { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.rows li { display: flex; gap: 1rem; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.rows li span:first-child { flex: none; font-weight: 600; color: var(--black); }
.rows li span:last-child { color: var(--muted); text-align: right; }
.dark .rows, .dark .rows li { border-color: #3a3a3a; }
.dark .rows li span:first-child { color: var(--white); }
.dark .rows li span:last-child { color: var(--on-black-muted); }
@media (max-width: 599px) {
  .rows li { flex-direction: column; gap: .1rem; }
  .rows li span:last-child { text-align: left; }
  .facts b { font-size: 1.35rem; }
}
@media (min-width: 900px) {
  .detail { grid-template-columns: 11fr 10fr; gap: 4.5rem; }
  .detail.flip .detail-media { order: 2; }
  .detail.flip { grid-template-columns: 10fr 11fr; }
  .detail.center { align-items: center; }
}

/* Photo cards: title on the photo */
.cards { display: grid; gap: 1rem; }
.card { position: relative; margin: 0; overflow: hidden; background: var(--black); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card figcaption { position: absolute; inset: auto 0 0 0; padding: 3.5rem 1.2rem 1.05rem; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); color: var(--white); }
.card figcaption b { display: block; font: 750 1.5rem/1.1 var(--f-display); font-stretch: 85%; }
.card figcaption span { font-size: .95rem; color: #e6e6e6; }
.card a { color: inherit; text-decoration: none; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, 1fr); } .card img { aspect-ratio: 4 / 4.4; } }

/* Price tables: their own rates */
.prices { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prices caption { text-align: left; font: 750 1.45rem/1.1 var(--f-display); font-stretch: 85%; color: var(--black); padding-bottom: .9rem; }
.prices th, .prices td { text-align: left; padding: .8rem .75rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices thead th { font-size: .88rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--line-dark); }
.prices tbody th { font-weight: 600; color: var(--black); }
.prices tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.prices td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices td:last-child, .prices th:last-child { padding-right: 0; }
.table-scroll { overflow-x: auto; }
@media (max-width: 640px) {
  .prices.stack thead { display: none; }
  .prices.stack tr { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); padding: .8rem 0; }
  .prices.stack tbody th { grid-column: 1 / -1; border: 0; padding: 0 0 .3rem; }
  .prices.stack td { border: 0; padding: 0; white-space: normal; }
  .prices.stack td::before { content: attr(data-l); display: block; font-size: .8rem; color: var(--muted); }
}
.price-block + .price-block { margin-top: 3rem; }
.fineprint { font-size: .95rem; color: var(--muted); margin-top: 1rem; }

/* Two column text */
.cols { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }

/* Arrangement rows: name + price + text */
.offer { border-top: 2px solid var(--line-dark); }
.offer li { display: grid; gap: .3rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.offer h3 { margin: 0; }
.offer .price { font: 700 1.2rem/1.2 var(--f-display); font-stretch: 85%; color: var(--red); font-variant-numeric: tabular-nums; }
.offer p { margin: .3rem 0 0; color: var(--text); }
.offer .meta { font-size: .95rem; color: var(--muted); }
@media (min-width: 900px) { .offer li { grid-template-columns: 15rem 1fr; } .offer .o-body { grid-column: 2; grid-row: 1 / 3; } }

/* Small photo of the boats, at its own size (originals are 200px wide) */
.thumb { margin: 0; max-width: 240px; }
.thumb img { width: 100%; }
.thumb figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; }

/* Centred interlude: once per page */
.interlude { text-align: center; }
.interlude p { margin-inline: auto; }
.interlude .actions { justify-content: center; }

/* Page head for inner pages */
.page-head { background: var(--black); color: var(--on-black); padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 3vw, 3.75rem); }
.page-head h1 { color: var(--white); font-size: clamp(2.4rem, 1.7rem + 3vw, 3.9rem); }
.page-head p { font-size: 1.18rem; color: var(--on-black); max-width: 40rem; margin: 0; }
.crumbs { font-size: .92rem; color: var(--on-black-muted); margin-bottom: 1rem; }
.crumbs a { color: var(--on-black); }

/* Opening hours: month left, times right */
.hours { border-top: 2px solid var(--line-dark); margin: 0; }
.hours > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; color: var(--black); }
.hours dd { margin: 0; }
.hours small { display: block; color: var(--muted); font-size: .93rem; margin-top: .2rem; }
@media (max-width: 520px) { .hours > div { grid-template-columns: 1fr; gap: .15rem; } }

/* Contact rows: label left, value right */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 5rem; } }
.lv { border-top: 2px solid var(--line-dark); margin: 0; }
.lv > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.lv dt { font-weight: 600; font-size: 1rem; color: var(--black); }
.lv dd { margin: 0; }
.lv dd a { text-decoration-color: var(--red); text-underline-offset: 3px; }
.lv small { display: block; color: var(--muted); font-size: .93rem; }
@media (max-width: 440px) { .lv > div { grid-template-columns: 1fr; gap: .15rem; } }

/* Form (demo) */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: 1rem; color: var(--black); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1px solid #a6a6a6; border-radius: var(--r); background: var(--white); color: var(--black); }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--black); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red-dark); }
.two { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .93rem; color: var(--muted); margin: 0; }
.form-ok { padding: 2rem 0 0; }
.form-ok h3:focus { outline: none; }
.spinner { width: 1em; height: 1em; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-panel { background: var(--grey-soft); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }

/* Footer with labelled groups, on the grey of their old site */
.site-footer { background: var(--grey-soft); color: var(--text); padding-block: 4rem 6rem; font-size: 1rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-brand p { color: var(--muted); max-width: 23rem; }
.site-footer h2 { font: 600 .88rem/1 var(--f-body); color: var(--muted); margin: 0 0 1rem; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--black); text-decoration: underline; text-decoration-color: #a6a6a6; text-underline-offset: 4px; }
.site-footer a:hover { text-decoration-color: var(--red); }
.site-footer .brand { text-decoration: none; }
.site-footer .btn { color: var(--white); text-decoration: none; margin-top: .5rem; }
.f-gap { margin-top: 1.8rem !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--grey); color: var(--muted); font-size: .92rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 4fr 3fr 3fr 3fr; } .site-footer { padding-bottom: 3rem; } }

/* Mobile call bar */
.callbar { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--black); transform: translateY(110%); transition: transform .3s var(--ease); }
.callbar.show { transform: none; }
.callbar .btn { justify-content: center; }
.callbar .btn.ghost { background: transparent; color: var(--white); border-color: #6b6b6b; }
@media (min-width: 900px) { .callbar { display: none; } }

.note { font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.5rem; }
.dark .note { color: var(--on-black-muted); border-color: #3a3a3a; }
.textlink { color: var(--black); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--red); }
.dark .textlink { color: var(--white); }
.checklist li { padding: .45rem 0 .45rem 1.4rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .55rem; height: 2px; background: var(--red); }
.sup-thumb { max-width: 240px; }
@media (min-width: 900px) { .detail.flip .sup-thumb { justify-self: end; } }
.prices .sub { display: block; font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .prices .sub { display: none; } }
.pomp-thumb { max-width: 260px; }
@media (min-width: 900px) { .detail.flip .pomp-thumb { justify-self: end; } }
.card figcaption span { display: block; line-height: 1.4; }
@media (min-width: 900px) { .detail.pomp { grid-template-columns: 7fr 4fr; } .detail.pomp .pomp-thumb { justify-self: end; margin-top: .5rem; } }

@media (min-width: 900px) { .detail.pomp .thumb { justify-self: end; margin-top: .5rem; } }
