/* ============================================================
   Dutch by Juliette: one-page site
   Delft blue · white line-drawn canal houses · tulip red
   ============================================================ */

:root {
  --delft: #1546a0;
  --delft-deep: #0f3786;
  --delft-night: #0b2b6b;
  --ink: #102e6e;
  --ink-soft: #3c5590;
  --sky: #7fbaf2;
  --porcelain: #fbf9f4;
  --porcelain-2: #f2efe6;
  --tulip: #e0262f;
  --tulip-deep: #b81d26;
  --line: rgba(255, 255, 255, .92);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --script: "Allura", "Snell Roundhand", cursive;
  --sans: "Jost", "Avenir Next", system-ui, sans-serif;

  --lane-pad: clamp(150px, 14vw, 220px);
  --gap-h: 300px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--delft);
  /* a whisper of Delft-tile grid in the background */
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.045) 0 1.5px, transparent 2px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: 32px 32px, 0 0, 0 0;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { overflow: visible; }

/* Language switching */
html[data-lang="nl"] .en,
html[data-lang="en"] .nl { display: none !important; }

/* ───────── Navigation ───────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 3vw, 36px);
  color: #fff;
  transition: background .35s, box-shadow .35s, padding .35s;
}
.nav.solid {
  background: rgba(11, 43, 107, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
  padding-block: 10px;
}
.nav-mark {
  display: flex; align-items: baseline; gap: 6px; text-decoration: none;
  opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s;
}
.nav.solid .nav-mark { opacity: 1; transform: none; }
.nm-dutch { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .01em; }
.nm-heart { width: 15px; height: 14px; fill: none; stroke: var(--tulip); stroke-width: 2.4; align-self: flex-start; margin-top: 7px; }
.nm-by { font-family: var(--script); font-size: 27px; line-height: 1; }
.nav-links { margin-left: auto; display: flex; gap: 6px; }
.nav-links a {
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 8px 12px; border-radius: 999px; position: relative; opacity: .85;
  transition: opacity .2s, background .2s;
}
.nav-links a:hover { opacity: 1; background: rgba(255,255,255,.08); }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--tulip);
}
.lang {
  display: flex; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 3px;
}
.nav-links + .lang { margin-left: 4px; }
.lang button {
  font: 500 12.5px/1 var(--sans); letter-spacing: .12em; color: #fff; background: none; border: 0;
  padding: 7px 11px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--delft-deep); }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  display: flex; flex-direction: column; align-items: center;
  color: #fff; text-align: center;
  overflow: hidden;
}
.hero-logo {
  margin-top: clamp(80px, 13vh, 150px);
  position: relative; z-index: 2;
}
.logo { margin: 0; font-weight: 400; line-height: .9; }
.logo-dutch {
  display: inline-flex; align-items: flex-start; gap: .06em;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(4.2rem, 12.5vw, 9rem); letter-spacing: .005em;
  padding-left: .38em; /* optically centre against the heart */
  animation: rise 1s .15s both;
}
.logo-heart {
  width: .34em; height: .32em; margin-top: .22em;
  fill: none; stroke: var(--tulip); stroke-width: 1.9;
  stroke-dasharray: 70; stroke-dashoffset: 70;
  animation: draw 1.4s 1s forwards, beat 2.6s 2.6s ease-in-out infinite;
  transform-origin: center;
}
.logo-by {
  display: block; font-family: var(--script);
  font-size: clamp(2.8rem, 7.6vw, 5.4rem);
  margin-top: -.05em; margin-left: .6em;
  animation: rise 1s .45s both;
}
.logo-rule {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 18px auto 14px; animation: rise 1s .7s both;
}
.rule { display: block; height: 2px; width: clamp(70px, 14vw, 170px); }
.rule.red { background: linear-gradient(90deg, transparent, var(--tulip)); }
.rule.blue { background: linear-gradient(90deg, var(--sky), transparent); }
.rule-tulip { width: 22px; height: 30px; }
.t-stem { stroke: #9fd08a; stroke-width: 1.6; fill: none; }
.t-leaf { fill: #6fae5a; }
.t-head { fill: var(--tulip); }
.logo-sub {
  margin: 0; font-weight: 400; font-size: clamp(.72rem, 1.6vw, .95rem);
  letter-spacing: .42em; text-transform: uppercase; padding-left: .42em;
  animation: rise 1s .9s both;
}
.hero-tag {
  margin: 22px 0 0; font-family: var(--script); font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: #dbe9ff;
  animation: rise 1s 1.1s both;
}
.tag-heart { color: var(--tulip); font-family: var(--sans); font-size: .7em; }
.scroll-hint {
  position: relative; z-index: 2; margin-top: 18px;
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: #cfe1ff;
  animation: rise 1s 1.4s both;
}
.scroll-hint svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; animation: nudge 1.8s ease-in-out infinite; }
.skyline { position: absolute; left: 0; bottom: 0; display: block; }

/* Line-drawing styles shared by all skylines */
.sky-line { fill: none; stroke: var(--line); stroke-width: 1.35; stroke-linejoin: round; stroke-linecap: round; }
.sky-detail { fill: none; stroke: rgba(255,255,255,.72); stroke-width: 1; stroke-linejoin: round; }
.sky-street { stroke: #fff; stroke-width: 1.6; fill: none; }
.sky-water { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.1; stroke-linecap: round; animation: drift 7s ease-in-out infinite alternate; }
.sky-water.b { animation-duration: 9s; animation-direction: alternate-reverse; stroke: rgba(127,186,242,.45); }
.sky-tree { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1; }
.drawing .sky-line, .drawing .sky-detail, .drawing .sky-tree {
  transition: stroke-dashoffset 2.4s cubic-bezier(.6,.1,.3,1);
}

/* ───────── Gaps between sections (little canal streets) ───────── */
.gap { position: relative; height: var(--gap-h); }
.gap-sky { position: absolute; left: 0; bottom: 34px; opacity: .16; }

/* ───────── Sections & cards (porcelain tiles) ───────── */
.section {
  position: relative;
  padding: 0 var(--lane-pad);
  scroll-margin-top: 70px;
}
.card {
  position: relative; max-width: 1060px; margin: 0 auto;
  background: var(--porcelain);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 40px 80px -40px rgba(0, 10, 40, .65), 0 2px 0 rgba(255,255,255,.6) inset;
  /* Delft tile corner ornaments */
  background-image:
    radial-gradient(circle at 0 0, transparent 30px, rgba(21,70,160,.18) 31px 32.5px, transparent 33.5px),
    radial-gradient(circle at 100% 0, transparent 30px, rgba(21,70,160,.18) 31px 32.5px, transparent 33.5px),
    radial-gradient(circle at 0 100%, transparent 30px, rgba(21,70,160,.18) 31px 32.5px, transparent 33.5px),
    radial-gradient(circle at 100% 100%, transparent 30px, rgba(21,70,160,.18) 31px 32.5px, transparent 33.5px),
    radial-gradient(circle at 18px 18px, rgba(21,70,160,.22) 0 3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 18px) 18px, rgba(21,70,160,.22) 0 3px, transparent 3.5px),
    radial-gradient(circle at 18px calc(100% - 18px), rgba(21,70,160,.22) 0 3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 18px) calc(100% - 18px), rgba(21,70,160,.22) 0 3px, transparent 3.5px);
  background-repeat: no-repeat;
  background-size: 60px 60px, 60px 60px, 60px 60px, 60px 60px, auto, auto, auto, auto;
  background-position: 0 0, 100% 0, 0 100%, 100% 100%, 0 0, 0 0, 0 0, 0 0;
}
.card::before {
  content: ""; position: absolute; inset: 12px; border-radius: calc(var(--radius) - 8px);
  border: 1px solid rgba(21, 70, 160, .12); pointer-events: none;
}
.kicker {
  margin: 0 0 10px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500;
  color: var(--delft);
}
.kicker .num { color: var(--tulip); margin-right: 6px; }
h2 {
  margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.05;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem); color: var(--ink); letter-spacing: -.005em;
  text-wrap: balance;
}
h3 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.15; margin: 0 0 8px; color: var(--ink); }
.flag-rule { display: flex; gap: 6px; margin: 18px 0 24px; }
.flag-rule i { display: block; height: 3px; width: 46px; border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.3,1.4,.5,1); }
.flag-rule i:first-child { background: var(--tulip); }
.flag-rule i:last-child { background: var(--delft); transition-delay: .15s; }
.section.reached .flag-rule i, .no-ride .flag-rule i { transform: none; }
.prose p { margin: 0 0 1em; color: var(--ink-soft); }
.prose .lead { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--ink); margin-bottom: .6em; }
.intro { color: var(--ink-soft); max-width: 62ch; margin: 0 0 28px; }

.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.35fr; }
.split.reverse .split-text { order: 2; }

.chips { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink);
  background: #e9f0fb; border-radius: 999px; padding: 6px 14px 6px 10px;
}
.chips svg, .offer svg, .contact-list svg, .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chips svg { color: var(--delft); }
.script-line { font-family: var(--script); font-size: clamp(2rem, 3.6vw, 2.6rem); color: var(--tulip); margin: 26px 0 0; line-height: 1.1; }

/* Photos framed as Dutch gables */
.gable-photo { margin: 0 auto; position: relative; width: 100%; max-width: 250px; }
.gable-wrap { position: relative; }
.gable-wrap::before { /* blue gable "shadow" behind the photo (not behind the signature) */
  content: ""; position: absolute; inset: 0; transform: translate(14px, 14px);
  background: var(--delft); clip-path: var(--gable); border-radius: 0 0 16px 16px;
}
.gable-frame {
  --tint: #d7e4f7;
  position: relative; background: var(--tint);
  clip-path: var(--gable); border-radius: 0 0 16px 16px; overflow: hidden;
}
.gable-frame img {
  width: 100%; aspect-ratio: 582 / 884; object-fit: cover; object-position: 50% 0%; /* ends just above the necklace stone */
  mix-blend-mode: multiply;
}
.gable-photo { --gable: polygon(0 100%, 0 20%, 12% 20%, 12% 13.5%, 24% 13.5%, 24% 7%, 36% 7%, 36% 0, 64% 0, 64% 7%, 76% 7%, 76% 13.5%, 88% 13.5%, 88% 20%, 100% 20%, 100% 100%); }
.gable-wrap::after { /* little red dot, like the heart in the logo */
  content: ""; position: absolute; right: -4px; top: 18%; width: 10px; height: 10px; border-radius: 50%; background: var(--tulip);
}
/* Delft tiles (Over mij): tap to flip to a first Dutch word */
.tile-wall { margin: 0 auto; width: 100%; max-width: 330px; }
.tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px;
  background: #ddd5c3; border-radius: 8px; box-shadow: 14px 14px 0 var(--delft);
}
.tile { aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; perspective: 700px; -webkit-tap-highlight-color: transparent; }
.tile:focus-visible { outline: 2px dashed var(--tulip); outline-offset: 3px; }
.tile-inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.45,.1,.25,1); }
.tile.flipped .tile-inner { transform: rotateY(180deg); }
.tile-face {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 3px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: radial-gradient(130% 130% at 28% 22%, #fffdf8 0%, #f7f2e6 55%, #ece4d1 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 0 -3px 6px rgba(120,100,60,.12);
}
.tile-face.back { transform: rotateY(180deg); }
.tile-face svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile .wash { fill: #c9d9f1; }
.tile .ink { fill: none; stroke: var(--delft); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tile .sails { transform-origin: 50px 43px; }
.tile:hover .sails { animation: spin 9s linear infinite; }
.tile .word { position: relative; font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 2.3vw, 1.8rem); line-height: 1; color: var(--delft); }
.tile .word i { font-weight: 500; color: var(--tulip); }
.tile .trans { position: relative; margin-top: 7px; font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.tile-hint { margin-top: 26px; text-align: center; font-family: var(--script); font-size: 1.75rem; line-height: 1; color: var(--tulip); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tile-inner { transition: none; } .tile:hover .sails { animation: none; } }

.signature { font-family: var(--script); font-size: 2.1rem; color: var(--ink); text-align: center; margin-top: 10px; }

.facts {
  list-style: none; max-width: 1060px; margin: 28px auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; color: #fff;
}
.facts li {
  border: 1px solid rgba(255,255,255,.35); border-radius: 18px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; color: #dbe7fb;
  background: rgba(255,255,255,.04);
}
.facts b { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: #fff; font-weight: 500; }
/* the Dutch (NOB) qualification: a small Dutch flag on a pole, waving on the right of the card */
.facts .fact-nl { position: relative; justify-content: center; padding-right: 84px; }
.facts .nl-wave { position: absolute; right: 26px; top: 50%; width: 42px; height: auto; transform: translateY(-50%); overflow: visible; }

.wide-photo { margin: 0 0 30px; }
.wide-photo img { width: 100%; border-radius: 16px; aspect-ratio: 1222 / 445; object-fit: cover; }

.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.offer {
  background: #fff; border: 1px solid rgba(21,70,160,.12); border-radius: 18px; padding: 22px 22px 20px;
  transition: transform .25s, box-shadow .25s;
}
.offer:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(16,46,110,.55); }
.offer svg { width: 34px; height: 34px; color: var(--delft); margin-bottom: 12px; background: #e9f0fb; border-radius: 12px; padding: 6px; stroke-width: 1.4; }
.offer p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid rgba(21,70,160,.14); border-radius: 18px; padding: 26px 24px 22px;
}
.price p { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 18px; }
.price dl { margin: auto 0 0; border-top: 1px dashed rgba(21,70,160,.25); padding-top: 14px; }
.price dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; }
.price dt { font-size: 15px; color: var(--ink); }
.price dd { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--delft); white-space: nowrap; }
.price dd small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.price dd.small { font-family: var(--sans); font-size: 13.5px; font-weight: 400; color: var(--ink-soft); white-space: normal; text-align: right; }
.price.featured { background: var(--delft); border-color: var(--delft); color: #fff; }
.price.featured h3, .price.featured dt { color: #fff; }
.price.featured p { color: #d5e3fb; }
.price.featured dl { border-top-color: rgba(255,255,255,.35); }
.price.featured dd { color: #fff; }
.price.featured dd small { color: #d5e3fb; }

.contact-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 500; font-size: 15.5px; padding: 14px 22px; border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn.primary { background: var(--tulip); color: #fff; box-shadow: 0 12px 24px -14px rgba(224,38,47,.9); }
.btn.primary:hover { transform: translateY(-2px); background: var(--tulip-deep); }
.btn.ghost { border: 1.5px solid var(--delft); color: var(--delft); }
.btn.ghost:hover { background: #e9f0fb; transform: translateY(-2px); }
.contact-list { list-style: none; margin: 0; padding: 26px; border-radius: 18px; background: var(--delft); color: #fff; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; }
.contact-list svg { color: var(--sky); margin-top: 1px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-list a:hover { border-bottom-color: #fff; }

/* ───────── Footer ───────── */
.footer { position: relative; margin-top: 120px; padding: 220px 20px 40px; color: #dbe7fb; text-align: center; overflow: hidden; }
.foot-sky { top: 0; bottom: auto; opacity: .35; }
.foot-inner { position: relative; }
.foot-mark { font-family: var(--serif); font-size: 2rem; margin: 0; color: #fff; }
.foot-mark em { font-family: var(--script); font-style: normal; font-size: 2.2rem; }
.foot-heart { color: var(--tulip); }
.foot-small { font-size: 13px; letter-spacing: .06em; margin: 6px 0 0; }

/* ───────── The ride ───────── */
.ride { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 20; }
.road { position: absolute; left: 0; top: 0; }
.road-band { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.road-dash { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2; stroke-dasharray: 1 11; stroke-linecap: round; }
.road-done { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.cp {
  position: absolute; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; background: var(--porcelain); color: var(--delft);
  display: grid; place-items: center;
  box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 10px 20px -10px rgba(0,0,0,.6);
  transition: background .3s, color .3s;
}
.cp svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cp .cp-label {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #fff; opacity: .8;
}
.cp::after { /* ripple */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; opacity: 0;
}
.cp.visited { background: var(--tulip); color: #fff; }
.cp.pop { animation: pop .7s cubic-bezier(.3,1.6,.5,1); }
.cp.pop::after { animation: ripple .9s ease-out; }

.particle {
  position: absolute; left: 0; top: 0; width: 10px; height: 14px; margin: -7px 0 0 -5px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--tulip);
  animation: fly 1s cubic-bezier(.2,.7,.3,1) forwards;
}
.particle.white { background: #fff; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; }
.particle.heart { background: none; color: #ffd6d8; font-size: 16px; width: auto; height: auto; line-height: 1; }

.bubble {
  position: absolute; left: 0; top: 0; z-index: 30; pointer-events: none; padding: 8px 14px; border-radius: 16px;
  background: #fff; color: var(--delft-deep); font-weight: 500; font-size: 15px; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.6);
  opacity: 0; transform: translate(-50%, -100%) scale(.6); transform-origin: 50% 100%;
  transition: opacity .2s, transform .25s cubic-bezier(.3,1.6,.5,1);
}
.bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px;
  background: #fff; transform: rotate(45deg); border-radius: 2px;
}
.bubble.show { opacity: 1; transform: translate(-50%, -100%) scale(1); }

.cyclist {
  position: absolute; left: 0; top: 0;
  width: 140px; height: 122px; margin: -120px 0 0 -70px; /* anchor = between the wheels, on the ground */
  transform-origin: 70px 120px;
  will-change: transform;
}
.cyclist svg { display: block; width: 100%; height: 100%; }
.cyclist .tyre { fill: none; stroke: #fff; stroke-width: 3; }
.cyclist .spokes path { stroke: rgba(255,255,255,.7); stroke-width: .9; fill: none; }
.cyclist .hub { fill: #fff; }
.cyclist .guard { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; }
.cyclist .frame { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.cyclist .frame.thin { stroke-width: 2.2; }
.cyclist .chainguard { fill: var(--sky); opacity: .9; }
.cyclist .chainring { fill: none; stroke: #fff; stroke-width: 2; }
.cyclist .crank { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.cyclist .saddle { fill: #5b3b2a; }
.cyclist .basket { fill: #d9a35c; stroke: #a8702f; stroke-width: 1.2; stroke-linejoin: round; }
.cyclist .weave { fill: none; stroke: #a8702f; stroke-width: .9; opacity: .8; }
.cyclist .t-stem-c { fill: none; stroke: #7fbf62; stroke-width: 1.8; stroke-linecap: round; }
.cyclist .t-leaf-c { fill: #5ea44b; }
.cyclist .t-red { fill: var(--tulip); stroke: #a3161e; stroke-width: .6; }
.cyclist .basket-tulips { transform-origin: 116px 56px; animation: bob 1.1s ease-in-out infinite; }
.cyclist .hair { fill: #e8c27a; }
.cyclist #hairBack { transform-origin: 72px 12px; animation: sway 1.3s ease-in-out infinite; }
.cyclist .blouse { fill: #fff; }
.cyclist .blouse-dots { stroke: var(--delft); stroke-width: 2.2; stroke-linecap: round; }
.cyclist .hips { fill: var(--tulip); }
.cyclist .leg { fill: none; stroke: var(--tulip); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; } /* tulip-red trousers */
.cyclist .leg.far { stroke: var(--tulip-deep); }
.cyclist .shoe { fill: none; stroke: #fff; stroke-width: 4.4; stroke-linecap: round; }
.cyclist .shoe.far { stroke: #dfe8f7; }
.cyclist .arm { fill: none; stroke: #f0c7a6; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.cyclist .sleeve { fill: none; stroke: #fff; stroke-width: 5.6; stroke-linecap: round; }
.cyclist .skin { fill: #f3cfb2; }
.cyclist .eye { fill: #2a1a12; }
.cyclist .cheek { fill: #f08f8f; opacity: .45; }
.cyclist .smile { fill: none; stroke: #9a4b3c; stroke-width: .8; stroke-linecap: round; }

/* ───────── Easter eggs: the pets ───────── */
.pet {
  position: absolute; z-index: 3; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pet svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pet:focus-visible { outline: 2px dashed #fff; outline-offset: 4px; border-radius: 10px; }
.pet-bubble {
  position: absolute; left: 50%; bottom: 100%; z-index: 2;
  background: #fff; color: var(--delft-deep); font: 600 13px/1 var(--sans); white-space: nowrap;
  padding: 7px 11px; border-radius: 12px; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6);
  opacity: 0; transform: translate(-50%, -4px) scale(.5); transform-origin: 50% 100%; pointer-events: none;
  transition: opacity .18s, transform .25s cubic-bezier(.3,1.6,.5,1);
}
.pet-bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px;
  background: #fff; transform: rotate(45deg); border-radius: 2px;
}
.pet.talk .pet-bubble { opacity: 1; transform: translate(-50%, -8px) scale(1); }

/* the cats: fade in once the canal houses have drawn themselves */
.pet.cat { left: -200px; top: -200px; opacity: 0; transition: opacity 1.2s ease; }
.pet.cat.show { opacity: 1; }
.pet.cat.blue { width: 44px; height: 44px; }
.pet .fur { fill: none; stroke: #fbf3e6; stroke-width: .8; stroke-linecap: round; opacity: .75; }
.pet .whisk { stroke: #fff; stroke-width: .55; opacity: .85; fill: none; stroke-linecap: round; }
.cat-tail { transform-origin: 46px 45px; animation: catTail 3.4s ease-in-out infinite; }
.cat-tail.blue { transform-origin: 13px 45px; animation-duration: 4.2s; animation-delay: -1.3s; }
.cat-eyes { transform-origin: 50% 50%; transform-box: fill-box; animation: blink 5s infinite; }
.pet.cat.blue .cat-eyes { animation-delay: -2.2s; }
/* both cats keep an eye on Juliette as she rides by (--look is set from the script, -1 … 1) */
.pupils { transform: translateX(calc(var(--look, 0) * 1.3px)); transition: transform .25s; }
.cat-head { transform-box: fill-box; transform-origin: 50% 85%; transform: rotate(calc(var(--look, 0) * 6deg)); transition: transform .35s; }
.pet.cat.talk .cat-head { animation: catTalk .5s ease-in-out 2; }

/* the dog */
.pet.dog { width: 83px; height: 63px; top: 147px; left: -200px; }
.dog-fur { fill: #ecbd8c; }
.dog-far { fill: #d6a170; }
.dog-muzzle { fill: #f3cfa6; }
.dog-ear { fill: #d99c67; }
.dtail { transform-origin: 70px 33px; animation: wag .28s ease-in-out infinite alternate; }
.dleg { transform-box: fill-box; transform-origin: 50% 8%; }
.dear { transform-origin: 23px 18px; }
.pet.dog:hover .dear { animation: earFlop .5s ease-in-out; }
.pet.dog.talk svg { animation: hop .5s cubic-bezier(.3,1.5,.5,1); }

/* the seal-point ragdoll: perched on the "Over mij" marker, hops onto the luggage rack and rides along */
.cat-wait { position: absolute; left: 0; top: 0; visibility: hidden; width: 29px; height: 29px; transform-origin: 50% 100%; will-change: transform; }
.cat-wait svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cat-wait .fur, .cyclist .fur { fill: none; stroke: #fbf3e6; stroke-width: .8; stroke-linecap: round; opacity: .75; }
.rag-tail { transform-origin: 13px 45px; animation: catTail 3.6s ease-in-out infinite; }
#riderCat { opacity: 0; }
.cyclist.with-cat #riderCat { opacity: 1; }

@keyframes catTail { 0%, 100% { transform: rotate(0); } 45% { transform: rotate(-16deg); } 60% { transform: rotate(6deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes catTalk { 50% { transform: rotate(-10deg) translateY(-1px); } }
@keyframes wag { from { transform: rotate(-12deg); } to { transform: rotate(16deg); } }
@keyframes earFlop { 50% { transform: rotate(-14deg); } }
@keyframes hop { 40% { transform: translateY(-12px); } }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ───────── Keyframes ───────── */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.14); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } }
@keyframes nudge { 50% { transform: translateY(5px); } }
@keyframes drift { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
@keyframes sway { 50% { transform: rotate(-6deg); } }
@keyframes bob { 50% { transform: rotate(3deg) translateY(-.6px); } }
@keyframes pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes ripple { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
@keyframes fly {
  0% { transform: translate(0, 0) rotate(0) scale(.4); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(1); opacity: 0; }
}

/* ───────── Responsive ───────── */
@media (max-width: 1000px) {
  .split, .split.reverse, .contact-card { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .gable-photo { max-width: 220px; margin: 0 auto; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 759px) {
  body { font-size: 16px; }
  .logo-sub { letter-spacing: .26em; padding: 0 12px 0 calc(12px + .26em); font-size: .7rem; }
  :root { --gap-h: 170px; --radius: 18px; }
  .section { padding: 0 14px 0 66px; }
  .card { padding: 26px 22px; }
  .card::before { inset: 8px; }
  .cp { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .cp svg { width: 20px; height: 20px; }
  .cp .cp-label { display: none; }
  /* on phones she rides in the narrow gutter, tucked just behind the cards */
  .ride { z-index: 1; }
  .card, .facts { position: relative; z-index: 2; }
  .section .card { box-shadow: 0 30px 60px -30px rgba(0, 10, 40, .65); }
  .section { padding-left: 70px; }
  .footer { padding-top: 230px; }
    .pet.cat.blue { width: 35px; height: 35px; }
  .pet.dog { width: 66px; height: 50px; top: 160px; }
}

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