/* Wilko Wanders — site styles
   Layout idea: a field-notebook travel guide. White paper, ink text, the
   red label bar and yellow marker from the YouTube thumbnails as the only
   accents; condensed display type echoes the thumbnail lettering. */
:root {
  --paper: #fbfaf7;
  --card: #ffffff;
  --ink: #17191e;
  --muted: #5c606b;
  --line: #e4e1da;
  --red: #d22a20;
  --yellow: #ffcd1f;
  --tint: #f3f0e8;
  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Figtree", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --radius: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121317; --card: #1b1d23; --ink: #efece6; --muted: #a3a6ae;
    --line: #2c2f37; --red: #ef4b3f; --yellow: #ffd645; --tint: #1f2128;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121317; --card: #1b1d23; --ink: #efece6; --muted: #a3a6ae;
  --line: #2c2f37; --red: #ef4b3f; --yellow: #ffd645; --tint: #1f2128;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; margin: 0; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase; }
.num { font-variant-numeric: tabular-nums; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { background: var(--red); color: #fff; font-family: var(--font-display); font-size: 18px; padding: 2px 8px; line-height: 1.3; }
.logo-word { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 13px; font-weight: 700; }
.lang a { padding: 4px 10px; text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }

/* Labels like the thumbnail bars */
.tag { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; }
.mark { background: linear-gradient(transparent 58%, var(--yellow) 58%); padding: 0 2px; }
:root[data-theme="dark"] .mark { color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; padding: 11px 18px; border-radius: var(--radius); border: 2px solid var(--ink); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }

/* Video embed (lite: thumbnail until clicked) */
.video { position: relative; aspect-ratio: 16 / 9; background: #23262d linear-gradient(135deg, #2b2f38, #17191e); border-radius: var(--radius); overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.video .play { width: 74px; height: 52px; border-radius: 14px; background: var(--red); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.video .play::before { content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.video .vt { position: absolute; left: 14px; bottom: 12px; right: 14px; color: #fff; font-weight: 700; font-size: 15px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.video .dur { position: absolute; right: 10px; top: 10px; background: rgba(0,0,0,.75); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sections */
section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 4vw, 38px); }
.section-head a { font-weight: 700; font-size: 15px; }
.kicker { color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }

/* Cards */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.card:hover { border-color: var(--ink); }
.card .thumb { aspect-ratio: 16/9; position: relative; display: flex; align-items: flex-end; padding: 12px; color: #fff; }
.card .thumb .place { font-family: var(--font-display); font-size: 30px; text-transform: uppercase; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.card .thumb .dur { position: absolute; right: 8px; top: 8px; background: rgba(0,0,0,.7); font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.card .body { padding: 14px 16px 18px; display: grid; gap: 6px; justify-items: start; }
.card h3 { font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h4 { margin: 0 0 8px; color: var(--ink); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.disclosure { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; }

@media (max-width: 640px) {
  section { padding: 40px 0; }
  .nav { gap: 14px; font-size: 14px; margin-left: 0; width: 100%; order: 3; padding-bottom: 10px; overflow-x: auto; flex-wrap: nowrap; }
  .site-header .wrap { gap: 10px 16px; }
  .lang { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Deals drawn by site.js from assets/deals.js */
[data-deals-style="book"] { display: grid; gap: 10px; }

/* Booking widgets drawn by site.js from assets/widgets.js */
.widget { margin: 14px 0; }
.widget-trip-box iframe { display: block; width: 100%; max-width: 320px; height: 320px; border: 0; }
.widget-trip-link .btn { white-space: normal; }
.book-section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.book-section h3 { margin: 0 0 4px; }
.book-section p { margin: 0; color: var(--muted); font-size: 15px; }
.lang .soon { padding: 4px 10px; color: var(--muted); opacity: .55; cursor: default; }
