  :root {
    /* uit Bams eigen vacht: lichte vacht, schaduw in de vacht, donkere punten, blauwe ogen */
    --butter: #F4E5C6;
    --fawn: #E4CDA6;
    --cream: #FAF5EA;
    --chestnut: #4E3428;
    --chestnut-soft: rgba(78, 52, 40, .74);
    --forest: #3D5A36;
    --sage: #D7D4B1;
    --eye: #9DBBD6;

    --serif: "Fraunces", Georgia, serif;
    --mono: "DM Mono", ui-monospace, monospace;
    --hand: "Gochi Hand", cursive;

    --gutter: 20px;
    --max: 1120px;
    --ease: cubic-bezier(.22, 1, .36, 1);
  }
  @media (min-width: 760px) { :root { --gutter: 40px; } }

  * { box-sizing: border-box; }
  /* butter als paginakleur: iOS Safari kleurt de statusbalk en het overscrollen mee met de achtergrond */
  html { -webkit-text-size-adjust: 100%; background: var(--butter); }
  section[id] { scroll-margin-top: 40px; }
  body {
    margin: 0;
    background: var(--butter);
    color: var(--chestnut);
    font-family: var(--serif);
    font-variation-settings: "SOFT" 100, "WONK" 0;
    font-size: 18px;
    line-height: 1.55;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

  /* ---------- typografie ---------- */
  .eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: lowercase; color: var(--forest); }
  h1, h2 {
    font-weight: 560;
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
    line-height: 1.02; letter-spacing: -.02em; margin: 0;
  }
  /* rustiger: de kop iets lichter en minder groot, in de geest van het Nat Geo-citaat */
  h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 400; line-height: 1.06; letter-spacing: -.015em; }
  h2 { font-size: clamp(34px, 5vw, 54px); font-weight: 480; }
  h1 em, h2 em { font-style: italic; font-weight: 460; color: var(--forest); white-space: nowrap; }
  h1 em { font-weight: 380; }
  .hand { font-family: var(--hand); font-size: 24px; line-height: 1.1; color: var(--forest); }

  /* ---------- handgetekende knoppen ---------- */
  .btn {
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 26px 15px;
    font-family: var(--hand); font-size: 25px; line-height: 1;
    color: var(--chestnut); text-decoration: none;
  }
  /* tussen pil en krabbel: rustige vorm met net ongelijke hoeken, als een uitgeknipt kaartje */
  .btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border: 2px solid var(--chestnut);
    border-radius: 12px 18px 14px 20px / 18px 12px 20px 14px;
    transition: transform .35s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
  }
  .btn-primary { color: var(--butter); }
  .btn-primary::before { background: var(--chestnut); }
  .btn:hover::before { transform: rotate(-1.2deg) scale(1.02); }
  .btn:active::before { transform: scale(.97); transition-duration: .12s; }
  .btn-primary:hover::before { background: var(--forest); border-color: var(--forest); }
  .btn .arrow { width: 22px; height: 22px; transition: transform .35s var(--ease); }
  .btn:hover .arrow { transform: translateX(4px); }

  .tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 0; margin: 0; list-style: none; font-family: var(--mono); font-size: 14px; }
  .tags li { display: inline-flex; align-items: center; gap: 6px; }
  .tags svg { width: 18px; height: 18px; color: var(--forest); }

  /* ---------- doodles ---------- */
  .doodle { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; filter: url(#wobble-a); }

  /* ---------- logo ---------- */
  .logo { position: relative; display: inline-flex; align-items: center; padding: 6px 14px 8px; font-family: var(--hand); font-size: 28px; line-height: 1; color: var(--chestnut); text-decoration: none; isolation: isolate; }
  .logo::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2.5px solid currentColor; border-radius: 3px 8px 4px 9px / 8px 3px 9px 4px; filter: url(#wobble-btn); }
  .logo svg { position: absolute; width: 40px; height: 40px; right: -24px; top: -24px; transform: rotate(14deg); color: var(--forest); }

  /* ---------- hero ---------- */
  .hero { background: var(--butter); padding: 28px 0 72px; position: relative; overflow: hidden; }
  .topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
  .hero-grid { display: grid; gap: 56px; align-items: center; }
  /* mobiel: kop, dan de video, dan pas de introtekst en knoppen. desktop: tekst links, video rechts */
  .hero-head h1 { margin-bottom: 0; }
  @media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.1fr .9fr; grid-template-areas: "head portal" "body portal"; column-gap: 64px; row-gap: 0; align-items: start; }
    .hero-head { grid-area: head; align-self: end; }
    .hero-body { grid-area: body; }
    .hero-grid .portal { grid-area: portal; align-self: center; }
  }
  .hero p.lead { font-size: 20px; max-width: 30em; margin: 24px 0 30px; color: var(--chestnut-soft); }
  .hero-body p.lead { margin-top: 24px; }
  .hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

  .portal { position: relative; width: min(calc(100% - 48px), 480px); margin: 0 auto; aspect-ratio: 6 / 5; }
  .portal .frame { position: absolute; inset: 0; overflow: hidden; border-radius: 6px 12px 7px 14px / 12px 6px 14px 7px; }
  .portal::after {
    content: ""; position: absolute; inset: -9px -7px -7px -10px; pointer-events: none;
    border: 3px solid var(--chestnut);
    border-radius: 9px 16px 10px 18px / 16px 9px 18px 10px;
    transform: rotate(-1.2deg);
    filter: url(#wobble-a);
  }
  .portal .frame video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
  .portal .deco { position: absolute; color: var(--chestnut); }
  /* krabbel op een eigen labeltje (zoals tingle & tots), zodat hij op elk beeld leesbaar is */
  .portal .note { position: absolute; right: 16px; top: 38%; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; transform: rotate(-5deg); }
  .portal .note .hand { position: relative; isolation: isolate; color: var(--chestnut); font-size: 23px; padding: 6px 12px 8px; text-align: center; }
  .portal .note .hand::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--butter); border: 2.5px solid var(--chestnut); border-radius: 4px 10px 5px 12px / 10px 4px 12px 5px; filter: url(#wobble-btn); box-shadow: 0 6px 14px -8px rgba(0,0,0,.35); }
  .portal .note svg { width: 70px; height: 70px; margin-right: 34px; margin-top: -2px; }
  .portal .note .halo { stroke: var(--butter); stroke-width: 7; }
  .portal .note .ink { stroke: var(--chestnut); }

  /* ---------- cijfers ---------- */
  .stats { background: var(--chestnut); color: var(--butter); padding: 80px 0; position: relative; overflow: hidden; }
  .stats .eyebrow { color: var(--sage); }
  .stats h2 { margin: 12px 0 44px; max-width: 14em; }
  .stats h2 em { color: var(--butter); }
  .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  @media (min-width: 900px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
  .stat .num {
    display: grid; font-size: clamp(48px, 7vw, 76px); font-weight: 600; line-height: 1;
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; font-variant-numeric: tabular-nums;
  }
  .stat .num > * { grid-area: 1 / 1; }
  .stat .num .ghost { visibility: hidden; }
  .stat .label { font-family: var(--mono); font-size: 13px; margin-top: 12px; color: var(--sage); max-width: 14em; }
  .stats .typical { margin: 48px 0 0; padding-top: 18px; border-top: 1px dashed rgba(244, 229, 198, .3); font-size: 19px; color: var(--butter); max-width: 40em; }
  .stats .typical span { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--sage); margin-bottom: 4px; }
  .stats .typical small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 12px; line-height: 1.4; color: var(--sage); }
  .stats .hand { color: var(--butter); margin-top: 28px; display: flex; align-items: center; gap: 12px; }
  .stats .hand svg { width: 36px; height: 36px; flex: none; }
  .stats .deco { position: absolute; color: rgba(244, 229, 198, .14); }

  /* ---------- reels ---------- */
  .reels { padding: 88px 0; background: var(--cream); }
  .reels h2 { margin: 12px 0 14px; }
  .reels .intro { max-width: 34em; color: var(--chestnut-soft); margin: 0 0 44px; }
  .reel-grid { display: grid; gap: 28px 22px; grid-template-columns: 1fr; }
  @media (min-width: 560px) { .reel-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 22px; } }
  @media (min-width: 1000px) { .reel-grid { grid-template-columns: repeat(4, 1fr); } }
  .reel { background: #fffaf0; border-radius: 6px 10px 7px 12px; padding: 12px 12px 18px; box-shadow: 0 1px 0 rgba(78,52,40,.12), 0 18px 40px -24px rgba(78,52,40,.45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
  .reel:nth-child(1) { --r: -1.4deg; } .reel:nth-child(2) { --r: .7deg; } .reel:nth-child(3) { --r: -.6deg; } .reel:nth-child(4) { --r: 1.3deg; }
  .reel { transform: rotate(var(--r, 0)); }
  .reel:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 1px 0 rgba(78,52,40,.12), 0 28px 50px -24px rgba(78,52,40,.5); }
  .reel .media { overflow: hidden; border-radius: 4px; }
  .reel video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s var(--ease); }
  .reel:hover video { transform: scale(1.04); }
  .reel .kind { display: inline-block; font-family: var(--hand); font-size: 22px; line-height: 1; color: var(--forest); margin: 14px 4px 2px; }
  .reel h3 { font-family: var(--mono); font-weight: 500; font-size: 14px; margin: 4px 4px 10px; }
  .reel dl { display: flex; gap: 14px; margin: 0 4px; font-size: 15px; }
  .reel dt { font-family: var(--mono); font-size: 11px; color: var(--chestnut-soft); text-transform: lowercase; }
  .reel dd { margin: 0; font-weight: 600; }
  .reel .story { font-family: var(--hand); font-size: 19px; line-height: 1.1; color: var(--forest); margin: 10px 4px 0; transform: rotate(-1.5deg); }
  .reel .fits { font-family: var(--mono); font-size: 12px; color: var(--chestnut-soft); margin: 12px 4px 0; padding-top: 10px; border-top: 1px dashed rgba(78,52,40,.25); }

  .crew { display: flex; gap: 16px; align-items: flex-start; max-width: 38em; margin: 56px 0 0; }
  .crew svg { width: 34px; height: 34px; flex: none; color: var(--forest); margin-top: 2px; }
  .crew p { margin: 6px 0 0; font-size: 19px; }

  /* ---------- citaat ---------- */
  .quote { background: var(--sage); padding: 88px 0; text-align: center; position: relative; overflow: hidden; }
  .quote blockquote { margin: 0 auto; max-width: 20em; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.12; font-style: italic; font-weight: 420; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
  .quote figcaption { font-family: var(--mono); font-size: 14px; margin-top: 22px; }
  .quote .press { margin-top: 36px; font-family: var(--mono); font-size: 13px; color: var(--chestnut-soft); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; }
  .quote .press strong { color: var(--chestnut); font-family: var(--serif); font-size: 22px; font-weight: 600; margin-left: 8px; vertical-align: -2px; }
  .quote .deco { position: absolute; color: var(--forest); }

  /* ---------- work with bam ---------- */
  .work { background: var(--butter); padding: 88px 0; }
  .work h2 { margin: 12px 0 22px; max-width: 14em; }
  .work .story-intro { font-size: 20px; max-width: 32em; margin: 0 0 48px; }
  .offers { list-style: none; padding: 0; margin: 0; display: grid; gap: 30px 48px; }
  @media (min-width: 760px) { .offers { grid-template-columns: 1fr 1fr; } }
  .offers li { display: flex; gap: 16px; align-items: flex-start; }
  .offers svg { width: 40px; height: 40px; flex: none; color: var(--forest); }
  .offers h3 { font-size: 21px; font-weight: 600; margin: 4px 0 4px; font-variation-settings: "SOFT" 100, "WONK" 1; }
  .offers p { margin: 0; color: var(--chestnut-soft); }
  .work .terms { margin: 44px 0 28px; max-width: 34em; font-size: 19px; }
  .work .cta { display: flex; flex-wrap: wrap; gap: 14px; }
  .work .mail { font-family: var(--mono); font-size: 14px; margin: 16px 0 0; user-select: all; }
  .work .wanted { font-family: var(--mono); font-size: 13px; color: var(--forest); margin: 40px 0 0; padding-top: 18px; border-top: 1px dashed rgba(78,52,40,.25); }
  .foot { background: var(--chestnut); color: var(--butter); padding: 36px 0; }
  .foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
  .foot .logo { color: var(--butter); }
  .foot .eyebrow { color: var(--sage); }

  /* ---------- beweging ---------- */
  /* één doorlopende beweging: de den in de hero wiegt, en pauzeert buiten beeld */
  @keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(3deg); } }
  .sway { transform-origin: 50% 100%; animation: sway 5.5s cubic-bezier(.45, 0, .55, 1) infinite; }
  .paused .sway { animation-play-state: paused; }

  /* glinsters: één keer binnenkomen, dan stil */
  @keyframes pop { from { opacity: 0; transform: scale(.9) rotate(-20deg); } to { opacity: 1; transform: none; } }
  .js .sparkle { opacity: 0; transform-box: fill-box; transform-origin: center; }
  .js .sparkle.in { animation: pop .6s var(--ease) var(--d, 0s) both; }

  /* herofoto wordt scherp, als een blik het bos in */
  @keyframes focus-in { from { filter: blur(6px); transform: scale(1.03); } to { filter: blur(0); transform: none; } }
  .portal .frame video { animation: focus-in 1.4s var(--ease) both; }

  /* heromoment: de krabbel verschijnt als Bam in beeld komt, de pijl tekent zich als hij aankomt */
  .js .portal .note .hand { opacity: 0; transform: translateY(6px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .portal.spotted .note .hand { opacity: 1; transform: none; }
  .js .portal .note path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); }
  .js .portal.arrived .note path { stroke-dashoffset: 0; }

  /* drie inkom-momenten: cijfers, reels, citaat */
  .js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  /* cijfers tellen niet op, maar worden rustig scherp, net als de herofoto */
  .js .stat[data-reveal] { transform: translateY(10px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .stat .num { position: relative; }
  .stat .underline { position: absolute; left: -4px; right: 18%; bottom: -14px; width: auto; height: 14px; color: var(--sage); stroke-width: 2.6; }
  .js .reel-grid[data-reveal] { opacity: 1; transform: none; }
  .js .reel-grid[data-reveal] .reel { opacity: 0; filter: blur(4px); transform: translateY(12px) rotate(var(--r, 0)); transition: opacity .5s var(--ease), filter .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
  .js .reel-grid[data-reveal].in .reel { opacity: 1; filter: none; transform: rotate(var(--r, 0)); }
  .js .reel-grid[data-reveal].in .reel:hover { transform: rotate(0) translateY(-6px); }

  /* lijnen tekenen zichzelf */
  .js .draw :is(path, circle) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); transition-delay: var(--d, 0s); }
  .js .draw.in :is(path, circle) { stroke-dashoffset: 0; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal], .js .sparkle { opacity: 1; transform: none; filter: none; }
    .js .reel-grid[data-reveal] .reel { opacity: 1; filter: none; transform: rotate(var(--r, 0)); }
    .js .draw :is(path, circle), .js .portal .note path { stroke-dashoffset: 0; }
    .js .portal .note .hand { opacity: 1; transform: none; }
  }

/* ---------- 404 ---------- */
.lost { background: var(--butter); min-height: 100vh; display: grid; place-items: center; }
.lost main { padding-top: 15vh; padding-bottom: 15vh; }
.lost h1 { margin: 14px 0 18px; }
.lost .lead { font-size: 20px; color: var(--chestnut-soft); margin: 0 0 28px; }
.stats .typical + .typical { margin-top: 18px; }

/* ---------- hero op mobiel: tekst en video samen in beeld ---------- */
@media (max-width: 899px) {
  .hero { padding: 20px 0 56px; }
  .topbar { margin-bottom: 28px; }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 56px); }
  .hero p.lead { font-size: 18px; margin: 16px 0 22px; }
  .hero .actions { gap: 10px; margin-bottom: 0; }
  .hero .btn { font-size: 21px; padding: 11px 17px 13px; }
}

/* ---------- collab-kaart onder het citaat ---------- */
.quote .collab { width: min(100%, 300px); margin: 40px auto 0; text-align: left; --r: -1.2deg; }
.quote .collab .kind { color: var(--forest); }

/* ---------- footer ---------- */
.foot .foot-note { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--sage); }

/* ---------- taalknop ---------- */
.eyebrow .lang { color: inherit; text-transform: none; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.eyebrow .lang:hover { color: var(--chestnut); }

/* ---------- Japans ---------- */
/* Fraunces, DM Mono en Gochi Hand hebben geen Japanse tekens: per teken valt de browser terug op een
   systeemlettertype. Mincho bij de serif, ronde gothic bij de handletter, gewone gothic bij labels. */
:lang(ja) {
  --serif: "Fraunces", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --mono: "DM Mono", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --hand: "Gochi Hand", "Hiragino Maru Gothic ProN", "Zen Maru Gothic", "Yu Gothic", "Noto Sans JP", sans-serif;
}
:lang(ja) body { line-height: 1.8; line-break: strict; word-break: auto-phrase; }
:lang(ja) h1, :lang(ja) h2 { letter-spacing: 0; line-height: 1.25; }
:lang(ja) h1 { font-size: clamp(34px, 6vw, 64px); }
:lang(ja) h2 { font-size: clamp(28px, 4.2vw, 46px); }
:lang(ja) h1 em, :lang(ja) h2 em { white-space: normal; }
:lang(ja) .eyebrow { letter-spacing: .04em; }
:lang(ja) .btn { font-size: 19px; }
:lang(ja) .portal .note .hand { font-size: 18px; }
:lang(ja) .stats .hand { font-size: 20px; }
:lang(ja) .reel .kind { font-size: 17px; }
:lang(ja) .reel .story { font-size: 15px; }
.quote .jp-note { display: inline-block; margin-top: 8px; font-family: var(--serif); font-size: 16px; }
.work .terms small { display: inline-block; margin-top: 8px; font-size: 15px; color: var(--chestnut-soft); }
@media (max-width: 899px) { :lang(ja) .hero h1 { font-size: clamp(30px, 8.6vw, 44px); } :lang(ja) .hero .btn { font-size: 17px; } }
@media (max-width: 480px) { .topbar .kit { display: none; } }
@media (max-width: 899px) { .hero-body p.lead { margin-top: 0; } .hero-grid { gap: 30px; } }

/* ---------- profielfoto bij de cijfers (link naar Instagram) ---------- */
.profile { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 36px; color: var(--butter); text-decoration: none; }
.profile img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; padding: 3px; background: var(--chestnut); box-shadow: 0 0 0 3px var(--butter), 0 16px 30px -14px rgba(0,0,0,.6); transition: transform .5s var(--ease); }
.profile:hover img { transform: translateY(-3px) rotate(-2deg); }
.profile-text { display: flex; flex-direction: column; gap: 2px; }
.profile-handle { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.profile-meta { font-family: var(--mono); font-size: 13px; color: var(--sage); }
.profile:hover .profile-meta { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero: uitgeknipte Bam die door de pagina draaft ---------- */
.walkwrap { width: 360px; max-width: 100%; aspect-ratio: 440 / 760; pointer-events: none; }
.walkwrap::after { content: none; }
.walkwrap video { display: block; width: 100%; height: 100%; animation: none; }
.walkwrap .deco.pine { width: 92px; left: -70px; bottom: 120px; }
.walkwrap .deco.sun { width: 58px; right: -40px; top: 12%; }
@media (min-width: 900px) {
  /* Bam loopt aan het eind over de bovenkant van het cijferblok heen */
  .hero { padding-bottom: 0; overflow: visible; z-index: 3; }
  .hero-grid .walkwrap { align-self: end; justify-self: center; width: 470px; margin-bottom: -190px; }
  .walkwrap .deco.pine { bottom: 310px; }
  .walkwrap .deco.sun { top: 8%; }
  .hero-body { padding-bottom: 72px; }
}
@media (max-width: 899px) {
  .hero { min-height: 100svh; display: flex; flex-direction: column; padding-bottom: 32px; }
  .hero > .wrap { flex: 1; display: flex; flex-direction: column; }
  .hero-grid { flex: 1; display: flex; flex-direction: column; gap: 0; }
  .hero-body { margin-top: auto; position: relative; z-index: 1; }
  /* de video is 24% hoger dan het stuk boven de onderrand: de bovenkant (start) blijft gelijk,
     de onderkant valt over het cijferblok; zijwaarts wordt hij afgeknipt, verticaal niet */
  .hero { overflow-x: clip; overflow-y: visible; z-index: 3; }
  .hero-grid .walkwrap { position: absolute; left: 50%; bottom: calc(min(340px, 92vw) * -0.4145); transform: translateX(-50%); width: calc(min(340px, 92vw) * 1.24); max-width: none; z-index: 2; margin: 0; }
  .walkwrap .deco.sun { width: 46px; right: 9%; top: 1.6%; }
  .walkwrap .deco.pine { width: 64px; left: 8%; bottom: 57%; }
}

/* ---------- privacy ---------- */
.legal { background: var(--butter); }
.legal main { padding-top: 28px; padding-bottom: 80px; max-width: 760px; }
.legal h1 { margin: 14px 0 18px; font-size: clamp(38px, 6vw, 60px); }
.legal h2 { font-size: 24px; font-weight: 500; margin: 36px 0 8px; }
.legal p, .legal li { font-size: 18px; color: var(--chestnut); }
.legal .lead { color: var(--chestnut-soft); font-size: 20px; }
.legal a:not(.btn):not(.logo):not(.lang) { color: var(--forest); text-underline-offset: 3px; }
.legal ul { padding-left: 1.2em; }
.legal .updated { margin-top: 40px; font-family: var(--mono); font-size: 13px; color: var(--chestnut-soft); }
.foot .foot-note a { color: inherit; text-underline-offset: 3px; }

/* ---------- ijsblauw accent (Bams ogen), alleen in het donkere cijferblok ---------- */
:root { --ice: #8FC3E3; }
.stats h2 em { color: var(--ice); }
.stats .typical span { color: var(--ice); }
.stat .underline { color: var(--ice); }
.stats .hand svg { color: var(--ice); }

/* ---------- teller (alleen 785K) ---------- */
.num.count { display: grid; }
.num.count > * { grid-area: 1 / 1; }
.num.count .ghost { visibility: hidden; }

/* ---------- handgetekend pad onder Bam ---------- */
.walkwrap .trail { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--chestnut); opacity: .4; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; filter: url(#wobble-a);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 70%, transparent 82%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 70%, transparent 82%); }
.walkwrap video { position: relative; z-index: 1; }
/* stilzittende Bam (energiebesparing of Reduce motion): zelfde plek en maat als de video */
.walkwrap .hero-still, .walkwrap .hero-still img { display: block; width: 100%; height: 100%; position: relative; z-index: 1; }
/* iOS in de energiebesparingsmodus speelt niet vanzelf af en tekent dan een eigen afspeelknop over Bam.
   Die verbergen we: site.js toont Bam stilstaand en laat hem lopen bij de eerste aanraking of scroll. */
/* losse regels: kent een browser één van deze selectors niet, dan vervalt alleen die regel */
.walkwrap video::-webkit-media-controls { display: none !important; }
.walkwrap video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.walkwrap video::-webkit-media-controls-overlay-play-button { display: none !important; }
.walkwrap .deco.pine { width: 124px; left: -96px; }
@media (max-width: 899px) {
  /* op mobiel vervaagt het pad voor het de introtekst raakt */
  .walkwrap .trail { -webkit-mask-image: linear-gradient(to bottom, transparent 2%, #000 9%, #000 34%, transparent 43%);
                             mask-image: linear-gradient(to bottom, transparent 2%, #000 9%, #000 34%, transparent 43%); }
  .walkwrap .deco.pine { width: 86px; left: 4%; }
  /* stilzittende Bam: het pad loopt onder hem door en vervaagt pas vlak boven de introtekst */
  .walkwrap.still .trail { -webkit-mask-image: linear-gradient(to bottom, transparent 2%, #000 9%, #000 41%, transparent 47%);
                                   mask-image: linear-gradient(to bottom, transparent 2%, #000 9%, #000 41%, transparent 47%); }
}

/* ================= fansite (16 november 2026) ================= */

/* ---------- navigatie: taal en een duidelijke link naar de media kit ---------- */
.topnav { display: flex; align-items: center; gap: 18px; }
.topnav .lang { text-transform: none; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.topnav .lang:hover { color: var(--chestnut); }
.brands-link {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px 9px; font-family: var(--hand); font-size: 21px; line-height: 1; color: var(--chestnut); text-decoration: none;
}
.brands-link::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid var(--chestnut); border-radius: 10px 15px 11px 16px / 15px 10px 16px 11px; transition: transform .35s var(--ease), background-color .25s var(--ease); }
.brands-link:hover::before { transform: rotate(-1.5deg); background: rgba(78, 52, 40, .06); }
.brands-link .arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.brands-link:hover .arrow { transform: translateX(3px); }
@media (max-width: 420px) { .topnav { gap: 12px; } .brands-link { font-size: 19px; padding: 6px 11px 8px; } }

/* ---------- over bam (donker blok, zoals de cijfers in de media kit) ---------- */
.about { background: var(--chestnut); color: var(--butter); padding: 80px 0 88px; position: relative; overflow: hidden; }
.about .eyebrow { color: var(--sage); }
.about h2 { margin: 12px 0 30px; max-width: 13em; }
.about h2 em { color: var(--ice); }
.about-grid { display: grid; gap: 4px 48px; max-width: 62em; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-grid p { margin: 0 0 16px; font-size: 20px; }
.about .crew { margin-top: 44px; padding-top: 26px; border-top: 1px dashed rgba(244, 229, 198, .3); max-width: 40em; }
.about .crew svg { color: var(--ice); }
.about .deco { position: absolute; color: rgba(244, 229, 198, .14); }

.reels .more { margin: 48px 0 0; }

/* ---------- brievenlijst en aanmeldformulier ---------- */
.letters { background: var(--sage); padding: 88px 0; position: relative; overflow: hidden; }
.letters .deco { position: absolute; color: var(--forest); }
.letters-grid { display: grid; gap: 40px 64px; align-items: start; }
@media (min-width: 900px) { .letters-grid { grid-template-columns: 1fr 1fr; } }
.letters h2 { margin: 12px 0 20px; max-width: 13em; }
.letters h2 em { white-space: normal; }
.letters-text p { font-size: 20px; max-width: 28em; margin: 0; }

.signup { background: var(--cream); padding: 28px 24px 24px; border-radius: 8px 14px 9px 16px / 14px 8px 16px 9px; box-shadow: 0 1px 0 rgba(78,52,40,.12), 0 24px 50px -30px rgba(78,52,40,.55); }
@media (min-width: 560px) { .signup { padding: 34px 34px 28px; } }
.signup .field { margin: 0 0 20px; }
.signup label, .signup legend { display: block; font-family: var(--mono); font-size: 14px; letter-spacing: .02em; margin-bottom: 7px; }
.signup .opt { color: var(--chestnut-soft); }
.signup input[type="email"], .signup input[type="text"] {
  width: 100%; font: inherit; font-size: 18px; color: var(--chestnut);
  padding: 12px 14px; background: #fffdf7; border: 2px solid rgba(78, 52, 40, .45);
  border-radius: 6px 10px 7px 11px / 10px 6px 11px 7px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.signup input:focus-visible { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(61, 90, 54, .25); }
.signup input[aria-invalid="true"] { border-color: #A3412F; }
.signup .field-error { margin: 7px 0 0; font-family: var(--mono); font-size: 13px; color: #A3412F; }
.signup .choices { border: 0; padding: 0; margin: 4px 0 24px; min-width: 0; }
.signup .choices legend { padding: 0; margin-bottom: 10px; }
.signup .choices label { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 18px; letter-spacing: 0; margin: 0 0 6px; cursor: pointer; }
.signup .choices input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--forest); }
.signup .choices input:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup button { border: 0; background: none; cursor: pointer; width: 100%; }
.signup button:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 14px; }
.signup button[disabled] { opacity: .6; cursor: progress; }
.signup .consent { font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--chestnut-soft); margin: 14px 0 0; }
.signup .consent a { color: var(--forest); text-underline-offset: 3px; }
.signup .form-status { margin: 14px 0 0; font-size: 18px; }
.signup .form-status:empty { display: none; }
.signup .form-status:focus { outline: none; }
.signup .form-status.ok { font-family: var(--hand); font-size: 25px; line-height: 1.15; color: var(--forest); }
.signup .form-status.error { font-family: var(--mono); font-size: 14px; color: #A3412F; }
.signup.done .field, .signup.done .choices, .signup.done button, .signup.done .consent { display: none; }
.signup.done .form-status { margin: 0; }

/* ---------- voor merken (vlak voor de footer) ---------- */
.for-brands { background: var(--butter); padding: 56px 0; border-top: 1px dashed rgba(78,52,40,.25); }
.for-brands .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.for-brands p { margin: 6px 0 0; font-size: 20px; max-width: 30em; }

/* ---------- wallpaper-pagina ---------- */
.walls h1 em { white-space: normal; }
.wall-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
@media (min-width: 760px) { .wall-list { grid-template-columns: repeat(3, 1fr); } }
.wall-list li { background: var(--cream); border-radius: 8px 12px 9px 14px; padding: 14px 14px 20px; box-shadow: 0 1px 0 rgba(78,52,40,.12), 0 18px 40px -26px rgba(78,52,40,.45); display: flex; flex-direction: column; gap: 10px; }
.wall-list .ph { display: grid; place-items: center; background: var(--fawn); border-radius: 4px; color: var(--chestnut-soft); font-family: var(--mono); font-size: 13px; overflow: hidden; }
.wall-list .ph img { width: 100%; height: 100%; object-fit: cover; }
.wall-list h2 { font-size: 24px; font-weight: 500; margin: 6px 0 0; }
.wall-list .size { font-family: var(--mono); font-size: 13px; color: var(--chestnut-soft); margin: 0 0 6px; }
.wall-list .btn { align-self: flex-start; font-size: 21px; padding: 10px 18px 12px; margin-top: auto; }
.wall-list .ph { max-height: 320px; }
.brands-link { white-space: nowrap; }
:lang(ja) .brands-link { font-size: 16px; padding: 8px 12px 9px; }
@media (max-width: 420px) { .brands-link .arrow { display: none; } .topnav { padding-left: 26px; } }
.letters-text strong { font-weight: 600; color: var(--forest); }
.walls .lead[lang="ja"] p { margin: 0 0 .6em; }
@media (max-width: 899px) { .hero .actions { flex-wrap: nowrap; gap: 8px; } .hero .actions .btn { font-size: 19px; padding: 10px 13px 12px; white-space: nowrap; } .hero .actions .btn .arrow { width: 18px; height: 18px; } }
@media (max-width: 899px) { :lang(ja) .hero .actions .btn { font-size: 15px; padding: 11px 12px 12px; } }
@media (max-width: 350px) { .hero .actions { flex-wrap: wrap; } }
@media (max-width: 899px) { :lang(ja) .hero .actions .btn { font-size: 14px; padding: 11px 11px 12px; } :lang(ja) .hero .actions { min-width: 0; } }
@media (max-width: 899px) { :lang(ja) .hero .actions { gap: 6px; } :lang(ja) .hero .actions .btn { padding: 11px 9px 12px; gap: 6px; } }
.signup input::placeholder { color: rgba(78, 52, 40, .38); opacity: 1; }

/* ---------- knoppen vullen bij hover (alleen met een muis, niet bij minder beweging) ---------- */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn::after, .brands-link::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--chestnut);
    border-radius: 12px 18px 14px 20px / 18px 12px 20px 14px;
    clip-path: inset(0 100% 0 0 round 14px);
    transition: clip-path .45s var(--ease);
  }
  .brands-link::after { border-radius: 10px 15px 11px 16px / 15px 10px 16px 11px; }
  .btn-primary::after { background: var(--forest); }
  .btn:hover::after, .btn:focus-visible::after,
  .brands-link:hover::after, .brands-link:focus-visible::after { clip-path: inset(0 0 0 0 round 14px); }
  /* de vulling doet het werk: geen kanteling of kleurwissel van de vorm zelf meer */
  .btn:hover::before, .brands-link:hover::before { transform: none; }
  .btn-primary:hover::before { background: var(--chestnut); border-color: var(--forest); }
  .btn, .brands-link { transition: color .3s var(--ease); }
  .btn:not(.btn-primary):hover, .btn:not(.btn-primary):focus-visible,
  .brands-link:hover, .brands-link:focus-visible { color: var(--butter); }
}

/* ---------- bedankt-moment na aanmelden ---------- */
.letters-grid:has(.signup.done) { align-items: center; }
.signup.done { text-align: center; padding: 36px 28px 40px; }
.done-art { position: relative; width: 170px; height: 120px; margin: 0 auto 16px; }
.done-art .doodle { position: absolute; }
.done-art .letter { width: 112px; height: 112px; left: 29px; bottom: -10px; color: var(--forest); }
.done-art .heart { width: 40px; height: 40px; left: 50%; top: -4px; transform: translateX(-50%) rotate(-8deg); color: var(--chestnut); }
.done-art .paws { width: 48px; height: 48px; right: -14px; bottom: -2px; color: var(--chestnut); opacity: .75; transform: rotate(12deg); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes done-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes done-pop { 0% { opacity: 0; transform: translate(-50%, 30px) scale(.5) rotate(0); } 70% { opacity: 1; transform: translate(-50%, -6px) scale(1.08) rotate(-10deg); } 100% { opacity: 1; transform: translateX(-50%) rotate(-8deg); } }
  @keyframes done-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .done-art .letter, .done-art .paws { stroke-dasharray: 1; stroke-dashoffset: 1; animation: done-draw .9s var(--ease) forwards; }
  .done-art .paws { animation-delay: .9s; }
  .done-art .heart { opacity: 0; animation: done-pop .6s var(--ease) .6s forwards; }
  .signup.done .form-status { animation: done-fade .6s var(--ease) .2s both; }
}

/* ---------- keuzes als labeltjes (compacter, vooral op mobiel) ---------- */
.signup .choices { display: flex; flex-wrap: wrap; gap: 8px; }
.signup .choices legend { width: 100%; margin-bottom: 10px; }
.signup .choices label {
  position: relative; display: inline-flex; align-items: center; gap: 6px; margin: 0;
  padding: 7px 14px 8px; font-size: 16px; line-height: 1.2;
  border: 1.5px solid rgba(78, 52, 40, .4); border-radius: 999px; background: #fffdf7;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
/* het echte vakje blijft er (toetsenbord, schermlezer), maar onzichtbaar over het labeltje heen */
.signup .choices label input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.signup .choices label::before { content: "+"; font-family: var(--mono); font-size: 14px; color: var(--forest); width: .8em; text-align: center; }
.signup .choices label:has(input:checked) { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.signup .choices label:has(input:checked)::before { content: "✓"; color: var(--cream); }
.signup .choices label:has(input:focus-visible) { outline: 2px solid var(--forest); outline-offset: 2px; }
@media (hover: hover) { .signup .choices label:hover { border-color: var(--forest); } }
/* na OK op het e-mailadres: de labeltjes wippen even op, één voor één, zodat de fan ze opmerkt */
.signup .choices:focus { outline: none; }
.signup .choices.nudge label { animation: chip-nudge .7s var(--ease) both; }
.signup .choices.nudge label:nth-of-type(2) { animation-delay: .07s; }
.signup .choices.nudge label:nth-of-type(3) { animation-delay: .14s; }
.signup .choices.nudge label:nth-of-type(4) { animation-delay: .21s; }
.signup .choices.nudge label:nth-of-type(5) { animation-delay: .28s; }
@keyframes chip-nudge {
  0%, 100% { transform: none; }
  40% { transform: translateY(-5px) rotate(-1.5deg); border-color: var(--forest); }
}

@media (max-width: 559px) {
  .signup { padding: 22px 18px 18px; }
  .signup .field { margin-bottom: 14px; }
  .signup label, .signup legend { margin-bottom: 5px; }
  .signup input[type="email"], .signup input[type="text"] { padding: 10px 12px; font-size: 17px; }
  .signup .choices { margin: 2px 0 18px; gap: 7px; }
  .signup .choices label { font-size: 15px; padding: 6px 12px 7px; }
  .signup button.btn { padding: 12px 20px 14px; font-size: 22px; }
  .letters { padding: 64px 0; }
}

/* ---------- icoontjes bij de cijferblokken in de media kit ---------- */
.stats .typical span.tlabel { display: flex; align-items: center; gap: 10px; }
.stats .typical span.tlabel svg { width: 28px; height: 28px; flex: none; color: var(--ice); stroke-width: 2.6; }
