/* v1 redesign (2026-11-11) — mobile mockup: floating glass nav, newspaper first, Kizin nan feed,
   Before / After, Rating, footer, joined by blue wave curves. Light + dark (html[data-theme]).
   Pages (set by assets/ks-redesign-v1.js on <html>): .ks-page-home / .ks-page-learn / .ks-page-joe.
   Only the site's own colors: navy, electric blue, white, black. */

:root{
  --rd-navy:#0b1a3a;
  --rd-navy-2:#061230;
  --rd-blue:#0057e0;
  --rd-blue-2:#2f6bff;
  --rd-sky:#5ea0ff;
  --rd-ink:#0b1a3a;
  --rd-muted:#3d4a68;
  --rd-bg:#f3f6fc;
  --rd-card:rgba(255,255,255,.86);
  --rd-card-solid:#fff;
  --rd-line:rgba(0,87,224,.16);
  --rd-line-2:rgba(0,87,224,.32);
  --rd-shadow:0 18px 40px -22px rgba(11,26,58,.38),0 2px 6px rgba(11,26,58,.06);
  --rd-glow:0 0 0 rgba(0,0,0,0);
  --rd-btn:linear-gradient(160deg,#2f6bff,#0047c4);
  --rd-btn-ink:#fff;
  --rd-wave-1:#0057e0;
  --rd-wave-2:rgba(47,107,255,.28);
}
html[data-theme="dark"]{
  --rd-ink:#eaf1ff;
  --rd-muted:rgba(220,232,255,.72);
  --rd-bg:#071534;
  --rd-card:rgba(10,26,68,.62);
  --rd-card-solid:#0a1a44;
  --rd-line:rgba(94,160,255,.22);
  --rd-line-2:rgba(94,160,255,.5);
  --rd-shadow:0 22px 46px -24px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.06);
  --rd-glow:0 0 22px -6px rgba(47,107,255,.55);
  --rd-btn:linear-gradient(160deg,#173a8f,#0a1f57);
  --rd-wave-1:#2f6bff;
  --rd-wave-2:rgba(94,160,255,.3);
}

/* ================= pages (all screen sizes) ================= */
.project-availability{display:none!important}

/* home: no Joe card, no "Joe & Kizin nan." title, Learn lives on its own page */
html.ks-page-home #joe>.section-eyebrow,
html.ks-page-home #joe>.section-title,
html.ks-page-home #joeCard,
html.ks-page-home #news .av-pane-learn,
html.ks-page-home #news .av-duo-seam{display:none!important}
html.ks-page-home body #news .av-duo,
html.ks-page-home body #news .av-duo:not(.is-solo),
html.ks-page-home body #news .av-duo.is-solo{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
html.ks-page-home body #news .av-duo .av-news-scene{margin-left:auto!important;margin-right:auto!important}
html.ks-page-home #joe .projects-grid{grid-template-columns:minmax(0,1fr)!important}
html.ks-page-home #kizin{max-width:860px;margin-left:auto;margin-right:auto}

/* Learn page: only the Learn doors (the classroom opens from them, as before) */
html.ks-page-learn #top,html.ks-page-learn #about,html.ks-page-learn #joe,html.ks-page-learn #before-after,
html.ks-page-learn section.rating-wrap,html.ks-page-learn .sound-dots-container,
html.ks-page-learn #news>.section-title,html.ks-page-learn #news>.av-subtitle,html.ks-page-learn #news .ks-np-turn,
html.ks-page-learn #news .av-pane-news,html.ks-page-learn #news .av-duo-seam,
html.ks-page-learn .ks-rdwave:not(.ks-rdwave-foot){display:none!important}
html.ks-page-learn body #news .av-duo,html.ks-page-learn body #news .av-duo.is-solo{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
html.ks-page-learn body #news .av-duo .av-pane-learn{opacity:1!important;transform:none!important;max-width:760px;margin:0 auto;width:100%}
html.ks-page-learn body #news{padding-top:96px!important;min-height:calc(100vh - 40px)}

/* Joe page: only Joe, with the Google Play / App Store badges */
html.ks-page-joe #top,html.ks-page-joe #about,html.ks-page-joe #news,html.ks-page-joe #before-after,
html.ks-page-joe section.rating-wrap,html.ks-page-joe .sound-dots-container,html.ks-page-joe #kizin,
html.ks-page-joe #joe>.section-eyebrow,html.ks-page-joe #joe>.section-title,
html.ks-page-joe .ks-rdwave:not(.ks-rdwave-foot){display:none!important}
html.ks-page-joe body #joe{padding-top:104px!important;min-height:calc(100vh - 40px)}
html.ks-page-joe #joe .projects-grid{grid-template-columns:minmax(0,1fr)!important;max-width:640px;margin:0 auto}
html.ks-page-joe body #joeCard{border-radius:28px!important;border:1px solid var(--rd-line-2)!important;background:var(--rd-card)!important;box-shadow:var(--rd-shadow),var(--rd-glow)!important;padding:30px 24px!important;position:relative;overflow:hidden}
html.ks-page-joe body #joeCard::before{content:"";position:absolute;left:-10%;right:-10%;bottom:-38px;height:120px;pointer-events:none;
  background:radial-gradient(60% 70% at 50% 100%,rgba(47,107,255,.22),transparent 70%)}
html.ks-page-joe body #joeCard .project-name{font-size:clamp(40px,11vw,60px)!important;line-height:1!important;color:var(--rd-blue)!important;-webkit-text-fill-color:currentColor}
html[data-theme="dark"].ks-page-joe body #joeCard .project-name{color:#9ec1ff!important}
html.ks-page-joe body #joeCard .store-badges{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
html.ks-page-joe body #joeCard .store-badge{border:1px solid var(--rd-line-2)!important;border-radius:14px!important;background:#000!important;color:#fff!important;opacity:1!important;filter:none!important}

/* menu: current page */
#mobileMenu a.is-current,#topbar#topbar.topbar .nav-timeline a.is-current{color:var(--rd-blue)!important}
html[data-theme="dark"] #mobileMenu a.is-current,html[data-theme="dark"] #topbar#topbar.topbar .nav-timeline a.is-current{color:#9ec1ff!important}

/* the "8s auto-turn" tag + wave dividers exist everywhere but are styled for the phone below */
.ks-np-turn{display:none}
.ks-rdwave{display:none}

/* ================= phone layout ================= */
@media all{
  html body{background-color:var(--rd-bg)}
  html[data-theme="dark"] body{background:radial-gradient(120% 60% at 50% 0%,#0c2160 0%,#071534 45%,#040b20 100%) fixed!important}

  /* ---------- home: start with Audio Visual Insights ---------- */
  html.ks-page-home .sound-dots-container{display:none!important}

  
  




  
  
  
  

  /* ---------- section rhythm ---------- */
  html body #news,html body #joe,html body #before-after,html body section.rating-wrap{
    padding-left:16px!important;padding-right:16px!important;box-sizing:border-box;
  }
  html.ks-page-home body #joe{padding-top:6px!important;padding-bottom:6px!important}
  html body #before-after{padding-top:6px!important;padding-bottom:6px!important}
  html body section.rating-wrap{padding-top:6px!important;padding-bottom:10px!important}

  /* ---------- wave dividers ---------- */
  .ks-rdwave{display:block;position:relative;height:44px;margin:4px -16px;pointer-events:none;overflow:hidden}
  .ks-rdwave svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
  .ks-rdwave .w1{fill:none;stroke:var(--rd-wave-1);stroke-width:3;stroke-linecap:round;filter:drop-shadow(0 4px 6px rgba(0,87,224,.35))}
  .ks-rdwave .w2{fill:none;stroke:var(--rd-wave-2);stroke-width:8;stroke-linecap:round}
  html[data-theme="dark"] .ks-rdwave .w1{filter:drop-shadow(0 0 8px rgba(47,107,255,.9))}
  .ks-rdwave-foot{margin-bottom:-2px;height:52px}

  /* ---------- Audio Visual Insights + newspaper ---------- */
  html body #news>.section-title{text-align:left!important;margin:0 0 2px!important}
  html body #news>.av-subtitle{text-align:left!important;margin:0 0 14px!important}
  html body #news .av-news-scene{padding:0!important;max-width:560px!important}
  html body #news .av-reader{display:none!important}
  /* newspaper: original layout (tall, photo above text, blue binding); only a softer shadow */
  html body #news .av-np .np-stack{border-radius:6px 16px 16px 6px;filter:drop-shadow(0 20px 26px rgba(0,30,90,.3))}
  html[data-theme="dark"] body #news .av-np .np-stack{filter:drop-shadow(0 22px 30px rgba(0,0,0,.65)) drop-shadow(0 0 18px rgba(47,107,255,.35))}

  /* ---------- cards: shared look ---------- */
  html body #kizin,
  html body #bap,
  html body section.rating-wrap .rating-card{
    position:relative;border-radius:26px!important;border:1px solid var(--rd-line-2)!important;
    background:var(--rd-card)!important;box-shadow:var(--rd-shadow),var(--rd-glow)!important;
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  }
  html body #kizin .ks-card-edge-light,html body section.rating-wrap .ks-card-edge-light{display:none!important}

  /* ---------- Kizin nan ---------- */
  html body #kizin{display:grid!important;grid-template-columns:minmax(0,1fr);gap:0;padding:22px 18px 18px!important;overflow:hidden}
  html body #kizin .project-name{order:1;font-size:clamp(34px,10vw,44px)!important;line-height:1!important;letter-spacing:-.02em;color:var(--rd-blue)!important;-webkit-text-fill-color:currentColor;margin:0 0 6px!important}
  html[data-theme="dark"] body #kizin .project-name{color:#b9d0ff!important}
  html body #kizin .project-tag{order:2;font-size:11px!important;letter-spacing:.16em!important;color:var(--rd-ink)!important;opacity:.85;margin:0 0 10px!important}
  html body #kizin>p{order:3;font-size:15px!important;line-height:1.5!important;color:var(--rd-ink)!important;margin:0 0 14px!important}
  html body #kizin .kizin-social-links{order:4;display:flex!important;flex-wrap:wrap;gap:8px;margin:0 0 16px!important;padding:0!important}
  html body #kizin .kizin-player-preview{order:5;margin:0!important}
  html body #kizin .kizin-social-links a{
    display:inline-flex!important;align-items:center;gap:7px;width:auto!important;min-height:40px;
    padding:0 14px!important;border-radius:999px!important;font-size:13px!important;font-weight:700;
    color:var(--rd-ink)!important;background:var(--rd-card-solid)!important;border:1px solid var(--rd-line-2)!important;
    box-shadow:0 6px 14px -10px rgba(11,26,58,.5)!important;text-decoration:none!important;
  }
  html[data-theme="dark"] body #kizin .kizin-social-links a{background:rgba(6,18,48,.7)!important}
  html body #kizin .kizin-social-links a svg{width:16px;height:16px;flex:none}
  html body #kizin .kizin-social-links .ks-soc-tiktok{order:1}
  html body #kizin .kizin-social-links .ks-soc-instagram{order:2}
  html body #kizin .kizin-social-links .ks-soc-x{order:3}

  /* ---------- Before / After ---------- */
  html body #bap{padding:16px!important;overflow:hidden}
  html body #bap::before{opacity:.35}
  html body #bap .bap-top{justify-content:flex-start}
  html[data-theme="light"] body #bap .bap-switch{background:#eef3fd!important;border-color:var(--rd-line-2)!important;box-shadow:inset 0 2px 6px rgba(11,26,58,.1)!important}
  html[data-theme="light"] body #bap .bap-sw{color:rgba(11,26,58,.55)!important}
  html[data-theme="light"] body #bap .bap-sw.on{color:#fff!important}
  html body #bap .bap-thumb{background:var(--rd-btn)!important;box-shadow:0 6px 18px -6px rgba(0,71,196,.7),inset 0 1px 0 rgba(255,255,255,.3)!important}
  html[data-theme="dark"] body #bap[data-state="before"] .bap-thumb{background:linear-gradient(135deg,#7f8aa6,#4a5470)!important}
  html[data-theme="light"] body #bap .bap-tracks{background:#eef3fd!important;border-color:var(--rd-line-2)!important}
  html[data-theme="light"] body #bap .bap-tr{color:var(--rd-navy)!important}
  html[data-theme="light"] body #bap .bap-tr.on{color:#fff!important;background:var(--rd-btn)!important;box-shadow:0 0 14px -2px rgba(0,87,224,.6)!important}
  html[data-theme="light"] body #bap .bap-wave i.b{background:rgba(11,26,58,.22)!important}
  html[data-theme="light"] body #bap .bap-wave i.b.on{background:linear-gradient(180deg,#2f6bff,#0047c4)!important;box-shadow:none!important}
  html[data-theme="light"] body #bap .bap-ph,html[data-theme="light"] body #bap .bap-ph::before{background:var(--rd-blue)!important}
  html[data-theme="light"] body #bap .bap-time{color:var(--rd-navy)!important;opacity:1}
  html[data-theme="light"] body #bap .bap-time b{color:var(--rd-navy)!important}
  html[data-theme="light"] body #bap .bap-play{background:radial-gradient(circle at 30% 25%,#ffffff,#dfe7f7)!important;color:var(--rd-blue)!important;box-shadow:0 10px 22px -10px rgba(11,26,58,.55),inset 0 1px 0 #fff!important}

  /* ---------- Rating ---------- */
  html body section.rating-wrap .rating-card{padding:20px 18px!important;text-align:left!important;max-width:none!important}
  html body section.rating-wrap .rating-card .section-eyebrow{text-align:left!important;justify-content:flex-start!important;color:var(--rd-blue)!important;letter-spacing:.2em}
  html[data-theme="dark"] body section.rating-wrap .section-eyebrow{color:#7fa8ff!important}
  html body section.rating-wrap .section-title{text-align:left!important;font-size:clamp(26px,7.4vw,32px)!important;line-height:1.08!important;margin:4px 0 14px!important}
  html body section.rating-wrap .section-title em{color:var(--rd-blue)!important;-webkit-text-fill-color:currentColor}
  html[data-theme="dark"] body section.rating-wrap .section-title em{color:#6f9dff!important}
  html body section.rating-wrap .stars{justify-content:space-between!important;gap:6px!important;padding-top:12px;border-top:1px solid var(--rd-line)}
  html body section.rating-wrap .rating-result{text-align:left!important}

  /* ---------- footer ---------- */
  html body #ksFooter{position:relative;background:linear-gradient(180deg,rgba(255,255,255,.75),#fff)!important;border-top:0!important}
  html[data-theme="dark"] body #ksFooter{background:linear-gradient(180deg,#0a1f57,#061230)!important}
  html body #ksFooter .ksf-main{display:grid!important;grid-template-columns:minmax(0,1fr);gap:14px;padding:22px 20px 10px!important}
  html body #ksFooter .ksf-motto{font-size:clamp(22px,6.4vw,28px)!important;font-weight:800;letter-spacing:-.01em;color:var(--rd-ink)!important;margin:0 0 6px!important}
  html body #ksFooter .ksf-col-brand{display:contents!important}
  html body #ksFooter .ksf-motto{order:1}
  html body #ksFooter .ksf-col-nav{order:2;border-bottom:1px solid var(--rd-line-2)}
  html body #ksFooter .ksf-col-social{order:3}
  html body #ksFooter .ksf-bre-wrap{order:4}
  html body #ksFooter .ksf-col-social .ksf-h{display:none!important}
  html body #ksFooter .ksf-social{display:flex!important;gap:10px!important;justify-content:flex-start;flex-wrap:wrap}
  html body #ksFooter .ksf-social a{width:44px!important;height:44px!important;border-radius:50%!important;display:grid!important;place-items:center;
    background:var(--rd-card-solid)!important;border:1px solid var(--rd-line-2)!important;color:var(--rd-blue)!important;box-shadow:0 8px 16px -12px rgba(11,26,58,.6),var(--rd-glow)!important}
  html[data-theme="dark"] body #ksFooter .ksf-social a{background:rgba(6,18,48,.75)!important;color:#fff!important}
  html body #ksFooter .ksf-bre{border-radius:999px!important;border:1.5px solid var(--rd-blue)!important;color:var(--rd-blue)!important;background:transparent!important;padding:10px 20px!important;font-weight:700}
  html[data-theme="dark"] body #ksFooter .ksf-bre{border-color:#9ec1ff!important;color:#fff!important}
  html body #ksFooter .ksf-legal{border-top:1px solid var(--rd-line)!important;color:var(--rd-muted)!important;text-align:center}
  html body #ksFooter .ksf-legal a{color:var(--rd-ink)!important}
  html body #ksFooter .ksf-acc-btn{color:var(--rd-ink)!important}
  /* subtle equalizer pattern behind the footer */
  html body #ksFooter::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
    background:repeating-linear-gradient(90deg,transparent 0 14px,rgba(0,87,224,.06) 14px 18px) bottom/100% 70px no-repeat}
  html body #ksFooter>*{position:relative}
}

/* ================= v1.1: side-by-side layouts from the mockup (phone) ================= */
@media all{
  /* Kizin nan: text left, avatar player right, social links underneath */
  html body #kizin{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;
    grid-template-areas:"name media" "tag media" "desc media" "soc soc";column-gap:12px!important;align-items:start;padding:18px 14px 14px!important}
  html body #kizin .project-name{grid-area:name;font-size:clamp(26px,8vw,40px)!important}
  html body #kizin .project-tag{grid-area:tag;font-size:9px!important;letter-spacing:.1em!important;margin-bottom:8px!important}
  html body #kizin>p{grid-area:desc;font-size:12.5px!important;line-height:1.42!important;margin:0 0 10px!important}
  html body #kizin .kizin-player-preview{grid-area:media;align-self:center}
  html body #kizin .kizin-social-links{grid-area:soc;margin:4px 0 0!important;gap:6px}
  html body #kizin .kizin-social-links a{min-height:34px;padding:0 11px!important;font-size:12px!important}
  html body #kizin .kizin-player-timeline{display:none}

  /* Before / After: cassette | 1-4 | waveform + play */
  html body #bap{display:grid!important;grid-template-columns:minmax(0,1.05fr) auto minmax(0,1.2fr);
    grid-template-areas:"top top top" "deck tracks wave" "deck tracks ctrl";column-gap:10px;row-gap:8px;align-items:center;padding:14px 12px!important}
  html body #bap .bap-top{grid-area:top}
  html body #bap .bap-switch{width:min(230px,100%)!important}
  html body #bap .bap-sw{padding:9px 8px!important;font-size:11px!important}
  html body #bap .bap-stage{display:contents!important}
  html body #bap .bap-deck{grid-area:deck;min-width:0}
  html body #bap .bap-cas{width:100%!important;height:auto!important}
  html body #bap .bap-tracks{grid-area:tracks;gap:4px!important;padding:5px!important;border-radius:18px!important}
  html body #bap .bap-tr{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:30px!important;max-height:30px!important;font-size:12px!important;padding:0!important}
  html body #bap .bap-wave{grid-area:wave;height:46px!important;gap:1px!important;align-self:end}
  html body #bap .bap-ctrl{grid-area:ctrl;margin:0!important;gap:8px!important;flex-wrap:nowrap!important;align-self:start}
  html body #bap .bap-play{width:40px!important;height:40px!important}
  html body #bap .bap-play svg.ic{width:16px!important;height:16px!important}
  html body #bap .bap-time,html body #bap .bap-time b{font-size:13px!important;min-width:0!important;white-space:nowrap}

  /* Rating: title left | emojis right */
  html body section.rating-wrap .rating-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"eye stars" "title stars" "res res";column-gap:10px;align-items:center;padding:16px 14px!important}
  html body section.rating-wrap .rating-card .section-eyebrow{grid-area:eye;font-size:10px!important;margin:0!important}
  html body section.rating-wrap .section-title{grid-area:title;font-size:clamp(19px,5.6vw,24px)!important;margin:2px 0 0!important}
  html body section.rating-wrap .stars{grid-area:stars;border-top:0!important;padding:0 0 0 10px!important;border-left:1px solid var(--rd-line-2);
    display:flex!important;flex-wrap:nowrap!important;gap:2px!important;justify-content:flex-end!important}
  html body section.rating-wrap .stars .star{width:30px!important;height:30px!important;min-width:0!important;font-size:24px!important;padding:0!important}
  html body section.rating-wrap .rating-result{grid-area:res}

  /* Footer: motto + navigation left | social + Talk to Bré right */
  html body #ksFooter .ksf-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding-left:16px!important;padding-right:14px!important;
    grid-template-areas:"motto social" "nav bre";column-gap:14px!important;row-gap:10px!important;align-items:center}
  html body #ksFooter .ksf-motto{grid-area:motto;font-size:clamp(17px,5vw,22px)!important;line-height:1.15;margin:0!important}
  html body #ksFooter .ksf-col-nav{grid-area:nav;align-self:start}
  html body #ksFooter .ksf-col-social{grid-area:social;border-left:1px solid var(--rd-line-2);padding-left:8px;min-width:0}
  html body #ksFooter .ksf-bre-wrap{grid-area:bre;border-left:1px solid var(--rd-line-2);padding-left:8px;align-self:stretch;display:flex;align-items:center}
  html body footer#ksFooter.ksf .ksf-col-social .ksf-social{gap:3px!important;flex-wrap:nowrap!important}
  html body footer#ksFooter.ksf .ksf-col-social .ksf-social a{width:27px!important;height:27px!important;max-width:27px!important;max-height:27px!important;min-width:0!important;min-height:0!important;flex:none!important}
  html body footer#ksFooter.ksf .ksf-col-social .ksf-social a svg{width:14px!important;height:14px!important}
  html body #ksFooter .ksf-bre{padding:8px 14px!important;font-size:13px!important;white-space:nowrap}
}

/* v1.2: short footer at the very bottom (mockup) */
@media all{
  html body footer#ksFooter.ksf{margin-top:0!important;padding:0!important;min-height:0!important}
  html body footer#ksFooter.ksf .ksf-main{padding:12px 14px 8px 16px!important;row-gap:6px!important;min-height:0!important}
  html body footer#ksFooter.ksf .ksf-col-nav{padding-bottom:0!important}
  html body footer#ksFooter.ksf .ksf-acc-btn{min-height:36px!important;padding:4px 0!important;font-size:15px!important}
  html body footer#ksFooter.ksf .ksf-legal{padding:8px 52px 12px!important;font-size:11px!important;line-height:1.3;margin:0!important;white-space:nowrap}
  html body section.rating-wrap .rating-card{min-height:0!important}
  html body section.rating-wrap .rating-result:empty{display:none!important}
  html body #bap .bap-wave{overflow:hidden!important;min-width:0!important}
  html body .ks-rdwave-foot{height:34px!important;margin-top:0!important}
}

/* v1.3: Hero (text left, microphone right, blue waves) + About card (text left, icon right) — phone, dark + light */
@media all{
  html.ks-page-home body #top.cslider{
    margin:0!important;width:100%!important;height:auto!important;min-height:0!important;overflow:hidden!important;
    padding:96px 0 34px!important;border:0!important;border-radius:0!important;box-shadow:none!important;isolation:isolate;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cpath d='M-10 250 C 90 200 170 290 260 230 S 380 150 420 170' fill='none' stroke='%230057e0' stroke-width='3' opacity='.85'/%3E%3Cpath d='M-10 270 C 110 220 190 300 280 245 S 390 175 420 195' fill='none' stroke='%232f6bff' stroke-width='10' opacity='.14'/%3E%3Cpath d='M180 300 C 250 240 330 230 420 120' fill='none' stroke='%230057e0' stroke-width='2' opacity='.45'/%3E%3C/svg%3E") bottom/100% 100% no-repeat,
      radial-gradient(70% 60% at 82% 40%,rgba(47,107,255,.16),transparent 70%),
      linear-gradient(180deg,#ffffff 0%,#eef3fd 100%)!important;
  }
  html[data-theme="dark"].ks-page-home body #top.cslider{
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cpath d='M-10 250 C 90 200 170 290 260 230 S 380 150 420 170' fill='none' stroke='%232f6bff' stroke-width='3'/%3E%3Cpath d='M-10 270 C 110 220 190 300 280 245 S 390 175 420 195' fill='none' stroke='%235ea0ff' stroke-width='12' opacity='.18'/%3E%3Cpath d='M180 300 C 250 240 330 230 420 120' fill='none' stroke='%235ea0ff' stroke-width='2' opacity='.6'/%3E%3C/svg%3E") bottom/100% 100% no-repeat,
      radial-gradient(70% 60% at 80% 40%,rgba(47,107,255,.45),transparent 70%),
      linear-gradient(180deg,#071a4a 0%,#040b20 100%)!important;
  }
  html.ks-page-home body #top .cslider-bar{display:none!important}
  html.ks-page-home body #top .cslide{position:relative!important;inset:auto!important;height:auto!important;min-height:0!important;
    display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;opacity:1}
  html.ks-page-home body #top .cslide-body{position:relative!important;inset:auto!important;height:auto!important;min-height:0!important;
    grid-column:1;grid-row:1;padding:0 4px 0 18px!important;display:block!important;z-index:2}
  html.ks-page-home body #top .cslide-text{padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
  html.ks-page-home body #top .cslide-sub{display:block;font-size:clamp(17px,5.1vw,25px)!important;line-height:1.24!important;margin:0!important;
    color:var(--rd-ink)!important;-webkit-text-fill-color:currentColor;text-align:left!important}
  html.ks-page-home body #top .cslide-sub .ks-hb,html.ks-page-home body #top .cslide-sub .blue-word{color:var(--rd-blue)!important;-webkit-text-fill-color:currentColor}
  html[data-theme="dark"].ks-page-home body #top .cslide-sub .ks-hb{color:#3f9bff!important}
  html.ks-page-home body #top .cslide-img{
    position:relative!important;inset:auto!important;grid-column:2;grid-row:1;width:100%!important;height:auto!important;aspect-ratio:4/5;
    background-size:cover!important;background-position:62% 70%!important;z-index:1;
    -webkit-mask:radial-gradient(62% 58% at 55% 58%,#000 55%,transparent 100%);mask:radial-gradient(62% 58% at 55% 58%,#000 55%,transparent 100%);
  }
  html[data-theme="dark"].ks-page-home body #top .cslide-img{filter:brightness(.82) contrast(1.15) saturate(1.1)}
  html.ks-page-home body #top .cslide-overlay,html.ks-page-home body #top .cslide-tint{display:none!important}
  html.ks-page-home body #top.cslider::after{display:none}

  /* About: text left, icon right */
  html body #about{padding:0 14px!important;margin-top:-26px!important;position:relative;z-index:2}
  html body #about .about-card{
    display:grid!important;grid-template-columns:minmax(0,1fr) 84px;column-gap:10px;row-gap:0;align-items:center;
    border-radius:26px!important;border:1px solid var(--rd-line-2)!important;background:var(--rd-card)!important;
    box-shadow:var(--rd-shadow),var(--rd-glow)!important;padding:18px 12px 18px 16px!important;
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);min-height:0!important;height:auto!important;
  }
  html[data-theme="dark"] body #about .about-card{background:rgba(6,18,48,.72)!important;border-color:rgba(94,160,255,.45)!important}
  html body #about .ks-card-edge-light{display:none!important}
  html body #about .about-text{grid-column:1;font-size:13.5px!important;line-height:1.45!important;margin:0 0 8px!important;color:var(--rd-ink)!important;text-align:left!important}
  html body #about .about-text strong{font-weight:inherit}
  html body #about .about-signal-stage{grid-column:2;grid-row:1/30;align-self:center;width:84px!important;height:84px!important;min-height:0!important;
    margin:0!important;padding:0!important;border-radius:50%!important;border:1px solid var(--rd-line-2)!important;overflow:hidden;
    box-shadow:0 0 22px -4px rgba(47,107,255,.55)!important}
  html body #news{padding-top:4px!important}
}
@media all{
  html.ks-page-home body div#top.cslider.cslider{height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important}
  html.ks-page-home body div#top.cslider .cslide.cslide{height:auto!important;max-height:none!important}
  html.ks-page-home body div#top.cslider .cslide-img.cslide-img{aspect-ratio:auto!important;height:clamp(210px,62vw,320px)!important;max-height:none!important}
  html[data-theme="dark"].ks-page-home body div#top.cslider .cslide-img.cslide-img{filter:brightness(.7) contrast(1.25) saturate(1.1)!important}
  html.ks-page-home body div#top.cslider .cslide-text.cslide-text{display:block!important;min-height:0!important}
}
@media all{
  /* every newspaper page fills the paper height (pages are stacked; the tallest sets the height) */
  html body #news .av-np .np-page{display:flex!important;flex-direction:column}
  html body #news .av-np .np-front{flex:1 1 auto;display:flex;flex-direction:column}
  html body #news .av-np .np-front .np-foot{margin-top:auto!important}
  /* hero: waves under the text, softer photo edge */
  html.ks-page-home body div#top.cslider.cslider{padding-bottom:58px!important;background-size:100% 150px,auto,auto!important;background-position:bottom,center,center!important}
  html.ks-page-home body div#top.cslider .cslide-img.cslide-img{
    -webkit-mask:radial-gradient(60% 56% at 56% 56%,#000 48%,transparent 82%)!important;mask:radial-gradient(60% 56% at 56% 56%,#000 48%,transparent 82%)!important;background-size:auto 112%!important;background-position:66% 80%!important}
  /* About: smaller text so the card stays compact */
  html body #about .about-text{font-size:12.5px!important;line-height:1.42!important}
  html body #about .about-card{grid-template-columns:minmax(0,1fr) 72px!important}
  html body #about .about-signal-stage{width:72px!important;height:72px!important}
}
@media all{
  /* hero photo: crop on the microphone + headphones (x 42–99%, y 7–97% of the photo) */
  html.ks-page-home body div#top.cslider .cslide-img.cslide-img{
    height:auto!important;aspect-ratio:15/16!important;align-self:center;
    background-size:178% auto!important;background-position:97% 74%!important;
    -webkit-mask:radial-gradient(closest-side at 52% 52%,#000 58%,transparent 100%)!important;
    mask:radial-gradient(closest-side at 52% 52%,#000 58%,transparent 100%)!important}
  html[data-theme="dark"].ks-page-home body div#top.cslider .cslide-img.cslide-img{filter:brightness(.88) contrast(1.15)!important}
}
@media all{
  /* About: same full text, shorter card */
  html body section#about{padding:0 8px!important}
  html body #about .about-card.about-card{grid-template-columns:minmax(0,1fr) 62px!important;column-gap:8px!important;padding:14px 10px 12px 14px!important}
  html body #about .about-text.about-text{font-size:12px!important;line-height:1.36!important;margin:0 0 6px!important;letter-spacing:0}
  html body #about .about-text.about-text:last-of-type{margin-bottom:0!important}
  html body #about .about-signal-stage.about-signal-stage{width:62px!important;height:62px!important}
}
@media (min-width:412px) and (max-width:900px){
  html body #about .about-text.about-text{font-size:12.5px!important}
  html body #about .about-card.about-card{grid-template-columns:minmax(0,1fr) 72px!important}
  html body #about .about-signal-stage.about-signal-stage{width:72px!important;height:72px!important}
}
@media all{
  html body #about .about-text.about-text,html body #about .about-text.about-text strong{font-weight:400!important}
  html[data-theme="dark"] body #about .about-text.about-text{color:#eaf1ff!important}
  html body #about .about-signal-stage.about-signal-stage{background:radial-gradient(circle,rgba(47,107,255,.28),rgba(6,18,48,.0) 70%)!important;
    border:1.5px solid rgba(94,160,255,.75)!important;box-shadow:0 0 18px 0 rgba(47,107,255,.65),inset 0 0 14px rgba(47,107,255,.45)!important}
  html[data-theme="light"] body #about .about-signal-stage.about-signal-stage{background:radial-gradient(circle,rgba(0,87,224,.12),rgba(255,255,255,0) 70%)!important;border-color:rgba(0,87,224,.55)!important;box-shadow:0 0 14px -2px rgba(0,87,224,.45)!important}
}
/* very small phones (SE / mini / 320–359): hero and About stack */
@media (max-width:359px){
  html.ks-page-home body #top .cslide{grid-template-columns:minmax(0,1fr)}
  html.ks-page-home body #top .cslide-img{grid-column:1;grid-row:2;width:72%!important;margin:4px auto 0}
  html body #about .about-card{grid-template-columns:minmax(0,1fr)}
  html body #about .about-signal-stage{grid-column:1;grid-row:auto;justify-self:center;margin-top:6px!important}
}

/* v1.4: very small phones (iPhone SE / mini, small Android, 320–359 px) */
@media (max-width:359px){
  html body section.rating-wrap .rating-card{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"eye" "title" "stars" "res"!important}
  html body section.rating-wrap .stars{border-left:0!important;padding:10px 0 0!important;margin-top:8px;border-top:1px solid var(--rd-line)!important;justify-content:space-between!important}
  html body #ksFooter .ksf-main{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"motto" "social" "nav" "bre"!important;row-gap:8px!important}
  html body #ksFooter .ksf-col-social,html body #ksFooter .ksf-bre-wrap{border-left:0!important;padding-left:0!important}
  html body #ksFooter .ksf-motto{font-size:18px!important}
  html body footer#ksFooter.ksf .ksf-col-social .ksf-social a{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important}
  html body footer#ksFooter.ksf .ksf-legal{padding:8px 12px 70px!important;white-space:normal}
  html body #kizin{grid-template-columns:minmax(0,1fr) 108px!important}
}
/* large phones (Pro Max, Plus, Ultra, Pixel XL: 412–900 px): a little more air */
@media (min-width:412px) and (max-width:900px){
  html body #kizin>p{font-size:13.5px!important}
  html body section.rating-wrap .stars .star{width:34px!important;height:34px!important;font-size:27px!important}
  html body footer#ksFooter.ksf .ksf-col-social .ksf-social a{width:31px!important;height:31px!important;max-width:31px!important;max-height:31px!important}
}

/* v1.5 nav (phone): the ORIGINAL look from ks-liquid-nav-v3.css is kept as is (clear glass bar, clear glass dropdowns,
   water-bubble buttons, same colors). Only three changes:
   1) the bar floats as a bubble, round at the top and at the bottom (ks-mobile-nav-v2 had it flat on top);
   2) the blue at the bottom of every bubble button is lighter (light + dark);
   3) Ricardo GUILLAUME shows only its arrow; the arrow opens Portfolio. */
@media (max-width:900px){
  html body>#topbar#topbar.topbar,html body #topbar#topbar.topbar{
    top:max(10px,env(safe-area-inset-top,0px))!important;left:12px!important;right:12px!important;width:auto!important;max-width:none!important;
    border-radius:999px!important;border-top:1px solid rgba(255,255,255,.50)!important;padding-top:0!important}
  html[data-theme="dark"] body>#topbar#topbar.topbar,html[data-theme="dark"] body #topbar#topbar.topbar{border-top-color:rgba(255,255,255,.28)!important}
  html body>#topbar#topbar.topbar::before{border-radius:999px!important}

  /* same bubble as ks-liquid-nav-v3 (lines 84-112); bottom blue: .55 -> .24, gradient end .26 -> .12, inner glow .35 -> .16 */
  html body #topbar#topbar.topbar .nav-timeline a,
  html body #topbar#topbar.topbar .nav-more-toggle,
  html body #topbar#topbar.topbar .nav-contact-btn,
  html body #topbar#topbar.topbar .lang-globe-btn,
  html body #topbar#topbar.topbar .nav-search-icon-inner,
  html body #topbar#topbar.topbar .menu-toggle,
  html body #topbar#topbar.topbar .theme-switch-track,
  html body>#mobileMenu#mobileMenu.mobile-menu a,
  html body>#mobileMenu#mobileMenu.mobile-menu button{
    background:radial-gradient(120% 85% at 26% 6%,rgba(255,255,255,.80) 0%,rgba(255,255,255,.20) 36%,rgba(255,255,255,0) 60%),radial-gradient(90% 120% at 88% 108%,rgba(0,130,255,.24) 0%,rgba(0,130,255,0) 68%),linear-gradient(180deg,rgba(120,180,255,.30),rgba(0,105,255,.12))!important;
    box-shadow:inset 0 2px 3px rgba(255,255,255,.95),inset 0 -4px 8px rgba(0,100,255,.16),inset 3px 0 5px rgba(255,255,255,.35),0 0 12px rgba(0,120,255,.32),0 4px 10px rgba(10,50,140,.16)!important}
  /* dark: bottom blue .65 -> .30, gradient .55/.55 -> .40/.28 */
  html[data-theme="dark"] body #topbar#topbar.topbar .nav-timeline a,
  html[data-theme="dark"] body #topbar#topbar.topbar .nav-more-toggle,
  html[data-theme="dark"] body #topbar#topbar.topbar .nav-contact-btn,
  html[data-theme="dark"] body #topbar#topbar.topbar .lang-globe-btn,
  html[data-theme="dark"] body #topbar#topbar.topbar .nav-search-icon-inner,
  html[data-theme="dark"] body #topbar#topbar.topbar .menu-toggle,
  html[data-theme="dark"] body #topbar#topbar.topbar .theme-switch-track,
  html[data-theme="dark"] body>#mobileMenu#mobileMenu.mobile-menu a,
  html[data-theme="dark"] body>#mobileMenu#mobileMenu.mobile-menu button{
    background:radial-gradient(120% 85% at 26% 6%,rgba(255,255,255,.50) 0%,rgba(255,255,255,.10) 36%,rgba(255,255,255,0) 60%),radial-gradient(90% 120% at 88% 108%,rgba(0,140,255,.30) 0%,rgba(0,140,255,0) 68%),linear-gradient(180deg,rgba(40,100,230,.40),rgba(0,50,160,.28))!important;
    box-shadow:inset 0 2px 3px rgba(255,255,255,.65),inset 0 -4px 8px rgba(0,120,255,.20),inset 3px 0 5px rgba(255,255,255,.20),0 0 14px rgba(0,130,255,.36),0 4px 12px rgba(0,0,0,.36)!important}

  /* Ricardo GUILLAUME: only the name + arrow; the arrow opens Portfolio underneath */
  html body>#mobileMenu#mobileMenu.mobile-menu .mobile-ricardo-group:not(.open) #navPortfolioMobile{display:none!important}
  html body>#mobileMenu#mobileMenu.mobile-menu .mobile-ricardo-group.open #navPortfolioMobile{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;max-height:none!important}
  html body>#mobileMenu#mobileMenu.mobile-menu .mobile-ricardo-heading b{display:inline-block;transition:transform .25s ease;transform:none!important}
  html body>#mobileMenu#mobileMenu.mobile-menu .mobile-ricardo-group.open .mobile-ricardo-heading b{transform:rotate(180deg)!important}
}

/* v2 fixes (2026-11-11) */
@media all{
  /* About icon: the original morph animation (8 icons, 3 s each) sized to the small circle, no clipping (Safari clips animated children badly) */
  html body #about .about-signal-stage.about-signal-stage{overflow:visible!important;isolation:isolate}
  html body #about .about-signal-stage.about-signal-stage::before{width:100%!important;height:100%!important;box-sizing:border-box}
  html body #about .about-signal-stage .about-signal-chain{inset:0!important}
  html body #about .about-signal-stage .about-signal-node,
  html.ks-mobile-lite body #about .about-signal-stage .about-signal-node{width:100%!important;height:100%!important;border:0!important;background:none!important;box-shadow:none!important;padding:0!important}
  html body #about .about-signal-stage .about-signal-node svg.about-ico{width:66%!important;height:66%!important}

  /* Learn: a transform on any parent traps the fixed classroom inside it (it showed only 68 px tall) */
  html.ks-page-learn body #news .ks-rv,
  html.ks-class-immersive body #news .ks-rv,
  html.ks-class-immersive body #news,
  html.ks-class-immersive body #news #avGrid,
  html.ks-class-immersive body #news .av-duo,
  html.ks-class-immersive body #news .av-pane-learn,
  html.ks-class-immersive body #news .av-pane-body{transform:none!important;filter:none!important;contain:none!important;will-change:auto!important;opacity:1!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}

/* v3 (2026-11-11): News in a card — header "News / The daily paper" + live EQ, stacked paper behind the newspaper
   (blue binding kept), and the page now peels from the top-right corner every 8 s instead of swinging open. */
@media all{
  html body #news .av-pane-news{
    position:relative;padding:14px 12px 18px!important;border-radius:28px!important;
    background:var(--rd-card)!important;border:1px solid var(--rd-line-2)!important;box-shadow:var(--rd-shadow),var(--rd-glow)!important;
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);overflow:visible!important}
  html body #news .av-pane-news>.av-pane-head{display:flex!important;align-items:center;gap:12px;margin:0 2px 14px!important;padding:0!important}
  html body #news .av-pane-news .av-pane-ic{width:46px!important;height:46px!important;border-radius:14px!important}
  html body #news .av-pane-news .av-pane-title{font-size:26px!important}
  html body #news .av-pane-news .av-pane-sub{display:none!important}
  /* no "Audio Visual Insights / What You Should Know" heading on phones: the card header says News */
  html body #news>.section-title,html body #news>.av-subtitle{display:none!important}

  /* stacked sheets behind the paper */
  html body #news .av-card.av-np{position:relative!important}
  html body #news .av-card.av-np::before,html body #news .av-card.av-np::after{content:"";position:absolute;z-index:0;pointer-events:none;
    border-radius:6px 14px 14px 6px;border:1px solid rgba(0,60,150,.18);
    background:repeating-linear-gradient(0deg,rgba(60,80,120,.05) 0 1px,rgba(0,0,0,0) 1px 4px),linear-gradient(225deg,#efe8d4,#ddd4bb)}
  html body #news .av-card.av-np::before{inset:8px -7px -9px 12px;transform:rotate(1.6deg);box-shadow:0 10px 18px -10px rgba(0,30,90,.35)}
  html body #news .av-card.av-np::after{inset:4px -3px -5px 8px;transform:rotate(-1deg)}
  html body #news .av-card.av-np .np-stack{position:relative;z-index:1}

  /* corner peel (replaces the door-like swing on phones) */
  html body #news .av-np .np-page.is-turning{animation:rdPeel .95s cubic-bezier(.45,.05,.55,.95) forwards!important;transform:none!important}
  html body #news .av-np .np-page.is-turning .np-front,html body #news .av-np .np-page.is-turning .np-back{animation:none!important}
  html body #news .av-np .np-page .np-back{display:none!important}
  html body #news .av-np .np-page.is-turning .np-shade{animation:none!important;opacity:0!important}
  html body #news .av-np .np-page.is-turning::after{content:"";position:absolute;inset:0;z-index:7;pointer-events:none;
    background:linear-gradient(135deg,rgba(255,250,240,.42) 0%,rgba(241,233,211,.30) 45%,rgba(160,140,100,.32) 100%);
    box-shadow:inset 0 0 0 1px rgba(0,40,110,.12);
    animation:rdFlap .95s cubic-bezier(.45,.05,.55,.95) forwards}
  @keyframes rdPeel{
    0%{clip-path:polygon(0% 0%,88% 0%,100% 12%,100% 100%,0% 100%)}
    25%{clip-path:polygon(0% 0%,50% 0%,100% 50%,100% 100%,0% 100%)}
    50%{clip-path:polygon(0% 0%,0% 0%,100% 100%,100% 100%,0% 100%)}
    75%{clip-path:polygon(0% 50%,0% 50%,50% 100%,50% 100%,0% 100%)}
    100%{clip-path:polygon(0% 100%,0% 100%,0% 100%,0% 100%,0% 100%)}}
  @keyframes rdFlap{
    0%{clip-path:polygon(88% 0%,100% 12%,88% 12%,88% 12%,88% 12%)}
    25%{clip-path:polygon(50% 0%,100% 50%,50% 50%,50% 50%,50% 50%)}
    50%{clip-path:polygon(0% 0%,100% 100%,0% 100%,0% 100%,0% 100%)}
    75%{clip-path:polygon(0% 50%,50% 100%,0% 100%,0% 100%,0% 100%)}
    100%{clip-path:polygon(0% 100%,0% 100%,0% 100%,0% 100%,0% 100%)}}
}
/* whole article (date, title, photo, text, source) fits one phone screen */
@media all{
  html body #news .av-duo .np-front,html body #news .av-np .np-front{min-height:0!important;padding:12px 16px 10px 34px!important}
  html body #news .av-np .np-led{width:64px!important;height:30px!important}
  html body #news .av-card.av-np .np-date{font-size:12.5px!important}
  html body #news .av-np .np-rule{margin:5px 0 8px!important}
  html body #news .av-card.av-np .np-kicker{font-size:11.5px!important}
  html body #news .av-card.av-np .np-headline,html body #news .av-duo .np-headline{font-size:clamp(20px,5.7vw,25px)!important;line-height:1.13!important;margin:3px 0 10px!important}
  html body #news .av-card.av-np .np-body{gap:8px!important}
  html body #news .av-card.av-np .np-body .np-photo,html body #news .av-np .np-photo{aspect-ratio:16/9!important}
  html body #news .av-card.av-np .np-fig figcaption{margin-top:3px!important;font-size:11px!important}
  html body #news .av-card.av-np .np-deck{font-size:15px!important;line-height:1.42!important}
  html body #news .av-card.av-np .np-deck::first-letter{font-size:3em!important}
  html body #news .av-np .np-body+.np-foot{margin-top:10px!important}
  html body #news .av-card.av-np .np-link{min-height:38px!important}
}
/* "lying down" newspaper: seen in perspective on a table, like the reference photo */
@media all{
  html body #news .av-pane-news .av-pane-body{perspective:1000px;perspective-origin:50% 0%}
  html body #news .av-card.av-np{transform:rotateX(24deg) rotateZ(-1.2deg)!important;transform-origin:50% 100%;
    margin-top:-28px!important;margin-bottom:-6px!important;transform-style:preserve-3d}
  html body #news .av-card.av-np .np-stack{filter:drop-shadow(0 26px 22px rgba(0,30,90,.32))!important}
  html[data-theme="dark"] body #news .av-card.av-np .np-stack{filter:drop-shadow(0 26px 24px rgba(0,0,0,.7)) drop-shadow(0 0 16px rgba(47,107,255,.3))!important}
}
/* fixed, almost square paper (like the reference): every page fills it, no empty band, nothing taller than the tallest story */
@media all{
  html body #news .av-card.av-np .np-stack{aspect-ratio:1/1.08;height:auto!important}
  html body #news .av-card.av-np .np-page{height:100%!important;min-height:0!important}
  html body #news .av-card.av-np .np-front{height:100%!important;box-sizing:border-box;overflow:hidden;padding:10px 14px 8px 32px!important}
  html body #news .av-card.av-np .np-headline,html body #news .av-duo .np-headline{flex:0 0 auto;font-size:clamp(17px,4.9vw,21px)!important;line-height:1.12!important;margin:2px 0 8px!important;
    display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden!important}
  html body #news .av-card.av-np .np-body{flex:1 1 auto;min-height:0;display:flex!important;flex-direction:column;gap:6px!important;overflow:hidden}
  html body #news .av-card.av-np .np-fig{flex:0 0 auto}
  html body #news .av-card.av-np .np-body .np-photo,html body #news .av-np .np-photo{aspect-ratio:auto!important;height:clamp(96px,30vw,128px)!important;width:100%;object-fit:cover}
  html body #news .av-card.av-np .np-fig figcaption{display:none!important}
  html body #news .av-card.av-np .np-text{flex:1 1 auto;min-height:0;overflow:hidden}
  html body #news .av-card.av-np .np-deck{font-size:14px!important;line-height:1.38!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
  html body #news .av-card.av-np .np-nophoto .np-deck{-webkit-line-clamp:11;font-size:15.5px!important}
  html body #news .av-card.av-np .np-foot{flex:0 0 auto;padding-top:6px!important;margin-top:auto!important}
  html body #news .av-card.av-np .np-link{min-height:32px!important;font-size:13px!important}
  html body #news .av-card.av-np{transform:rotateX(20deg) rotateZ(-1.2deg)!important;margin-top:-18px!important}
}

/* v3b: almost-3D white card, newspaper lying flat on it, top-right corner always folded */
@media all{
  html body #news .av-duo .av-pane.av-pane-news{
    position:relative;padding:16px 14px 26px!important;border-radius:30px!important;
    background:linear-gradient(180deg,#ffffff 0%,#f4f7fe 100%)!important;
    border:1px solid rgba(255,255,255,.95)!important;
    box-shadow:0 2px 0 #fff inset,0 -10px 22px -14px rgba(0,87,224,.18) inset,0 8px 0 -2px #e3eaf8,0 9px 0 -2px rgba(0,87,224,.12),0 34px 50px -26px rgba(11,26,58,.5)!important}
  html[data-theme="dark"] body #news .av-duo .av-pane.av-pane-news{
    background:linear-gradient(180deg,rgba(26,48,108,.92) 0%,rgba(10,24,62,.94) 100%)!important;border-color:rgba(255,255,255,.16)!important;
    box-shadow:0 1px 0 rgba(255,255,255,.14) inset,0 -10px 22px -14px rgba(94,160,255,.3) inset,0 8px 0 -2px #071436,0 9px 0 -2px rgba(94,160,255,.25),0 34px 50px -24px rgba(0,0,0,.85)!important}
  html[data-theme="dark"] body #news .av-pane-news .av-pane-title{background:linear-gradient(90deg,#9ec1ff,#5d96ff)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important}

  /* lying on the card: tipped back and turned a little */
  html body #news .av-pane-news .av-pane-body{perspective:900px!important;perspective-origin:50% 0%!important}
  html body #news .av-card.av-np{transform:rotateX(30deg) rotateZ(-4deg)!important;transform-origin:50% 100%!important;margin:-34px 4px -14px!important}

  /* paper shape + room for the text on pages with a photo */
  html body #news .av-card.av-np .np-stack{aspect-ratio:1/1.14!important}
  html body #news .av-card.av-np .np-body .np-photo,html body #news .av-np .np-photo{height:clamp(78px,22vw,96px)!important}
  html body #news .av-card.av-np .np-deck{-webkit-line-clamp:6!important}

  /* date next to the meter so the folded corner never hides it */
  html body #news .av-card.av-np .np-mast{justify-content:flex-start!important;gap:10px!important}
  html body #news .av-card.av-np .np-date{text-align:left!important;font-size:12px!important}

  /* resting fold on the top page */
  html body #news .av-np .np-page.is-top:not(.is-turning){clip-path:polygon(0% 0%,88% 0%,100% 12%,100% 100%,0% 100%)}
  html body #news .av-np .np-page.is-top:not(.is-turning)::after{content:"";position:absolute;inset:0;z-index:7;pointer-events:none;
    clip-path:polygon(88% 0%,100% 12%,88% 12%);
    background:linear-gradient(225deg,rgba(0,0,0,0) 5%,rgba(0,25,80,.10) 6%,#fffaf0 6.5%,#efe6cd 9%,#d6caa9 12%)}
  html body #news .av-np .np-page.is-top:not(.is-turning)::before{content:"";position:absolute;right:0;top:0;width:12%;height:12%;z-index:6;pointer-events:none;
    background:radial-gradient(120% 120% at 0% 100%,rgba(0,25,80,.22),rgba(0,25,80,0) 70%)}
}

@media (prefers-reduced-motion:reduce){
}

/* Ricardo GUILLAUME in the hamburger menu, every screen size */
html body>#mobileMenu#mobileMenu.mobile-menu .mobile-ricardo-group:not(.open) #navPortfolioMobile{display:none!important}
html body>#mobileMenu#mobileMenu.mobile-menu .mobile-ricardo-group.open #navPortfolioMobile{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;max-height:none!important}
html body>#mobileMenu#mobileMenu.mobile-menu .mobile-ricardo-heading b{display:inline-block;transition:transform .25s ease;transform:none!important}
html body>#mobileMenu#mobileMenu.mobile-menu .mobile-ricardo-group.open .mobile-ricardo-heading b{transform:rotate(180deg)!important}

/* ================= v4: Fold unfolded + tablets in portrait (600–900 px): same design, centered and a little larger ================= */
@media (min-width:600px) and (max-width:900px){
  html body #about,html body #news,html.ks-page-home body #joe,html body #before-after,html body section.rating-wrap{max-width:720px!important;margin-left:auto!important;margin-right:auto!important}
  html.ks-page-home body div#top.cslider .cslide{max-width:760px;margin:0 auto!important}
  html.ks-page-home body #top .cslide-sub{font-size:clamp(24px,4vw,32px)!important}
  html.ks-page-home body div#top.cslider .cslide-text.cslide-text{max-width:none!important;width:auto!important}
  html body #about .about-text.about-text{font-size:14.5px!important;line-height:1.5!important}
  html body #about .about-card.about-card{grid-template-columns:minmax(0,1fr) 96px!important;padding:22px 18px 20px 22px!important}
  html body #about .about-signal-stage.about-signal-stage{width:96px!important;height:96px!important}
  html body #news .av-duo .av-pane.av-pane-news{width:100%!important;max-width:600px;margin:0 auto!important;box-sizing:border-box;padding:20px 26px 34px!important}
  html body #news .av-card.av-np{width:100%!important;max-width:none!important;margin:-34px 0 -12px!important;align-self:stretch}
  html body #news .av-card.av-np .np-stack{aspect-ratio:1/1.05!important}
  html body #news .av-card.av-np .np-front{padding:16px 22px 12px 46px!important}
  html body #news .av-np .np-led{width:76px!important;height:36px!important}
  html body #news .av-card.av-np .np-date{font-size:14px!important}
  html body #news .av-card.av-np .np-kicker{font-size:12.5px!important}
  html body #news .av-card.av-np .np-headline,html body #news .av-duo .np-headline{font-size:clamp(22px,3.3vw,27px)!important}
  html body #news .av-card.av-np .np-body .np-photo,html body #news .av-np .np-photo{height:clamp(120px,18vw,150px)!important}
  html body #news .av-card.av-np .np-deck{font-size:16.5px!important}
  html body #news .av-card.av-np .np-nophoto .np-deck{font-size:18px!important}
  html body #news .av-pane-news .av-pane-title{font-size:30px!important}
  html body #news .av-pane-news .av-pane-body,html body #news .av-pane-news .av-news-scene{width:100%!important;max-width:none!important}
  html body #kizin>p{font-size:15px!important}
  html body #kizin .project-tag{font-size:11px!important}
  html body section.rating-wrap .section-title{font-size:30px!important}
  html body section.rating-wrap .stars .star{width:44px!important;height:44px!important;font-size:34px!important}
  html body #bap .bap-wave{height:64px!important}
  html body #bap .bap-tr{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important}
  html body #bap .bap-play{width:52px!important;height:52px!important}
  html body #bap .bap-time,html body #bap .bap-time b{font-size:16px!important}
  html body #ksFooter .ksf-main{max-width:720px;margin:0 auto!important}
  html body footer#ksFooter.ksf .ksf-col-social .ksf-social a{width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important}
  html body footer#ksFooter.ksf .ksf-col-social .ksf-social a svg{width:18px!important;height:18px!important}
  html body #ksFooter .ksf-motto{font-size:26px!important}
  html body footer#ksFooter.ksf .ksf-legal{font-size:13px!important}
}

/* ================= v4: tablets in landscape + desktop (901 px and up): same design, desktop proportions ================= */
@media (min-width:901px){
  html body{background-color:var(--rd-bg)}
  html.ks-page-home .sound-dots-container{display:none!important}
  .ks-rdwave{height:64px;margin:8px 0}
  /* readable content width, centered */
  html body #about,html body #news,html.ks-page-home body #joe,html body #before-after,html body section.rating-wrap{
    max-width:1160px!important;margin-left:auto!important;margin-right:auto!important;padding-left:32px!important;padding-right:32px!important;box-sizing:border-box}

  /* Hero: text left, microphone right, waves below */
  html.ks-page-home body div#top.cslider.cslider{padding:118px 0 80px!important;background-size:100% 220px,auto,auto!important}
  html.ks-page-home body div#top.cslider .cslide{max-width:1160px;margin:0 auto!important;padding:0 32px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important}
  html.ks-page-home body #top .cslide-body{padding:0 24px 0 0!important}
  html.ks-page-home body #top .cslide-sub{font-size:clamp(32px,3.3vw,50px)!important;line-height:1.18!important}
  html.ks-page-home body div#top.cslider .cslide-text.cslide-text{max-width:none!important;width:auto!important}
  html.ks-page-home body div#top.cslider .cslide-img.cslide-img{max-height:460px}

  /* About card */
  html body #about{margin-top:-30px!important}
  html body #about .about-card.about-card{grid-template-columns:minmax(0,1fr) 150px!important;column-gap:34px!important;padding:34px 36px 32px 40px!important}
  html body #about .about-text.about-text{font-size:17px!important;line-height:1.6!important;margin:0 0 12px!important}
  html body #about .about-signal-stage.about-signal-stage{width:150px!important;height:150px!important}

  /* News card */
  html body #news .av-duo .av-pane.av-pane-news{width:100%!important;max-width:820px;margin:0 auto!important;padding:24px 34px 40px!important;box-sizing:border-box}
  html body #news .av-pane-news .av-pane-body,html body #news .av-pane-news .av-news-scene{width:100%!important;max-width:none!important}
  html body #news .av-card.av-np{width:100%!important}
  html body #news .av-pane-news .av-pane-ic{width:56px!important;height:56px!important;border-radius:17px!important}
  html body #news .av-pane-news .av-pane-title{font-size:34px!important}
  html body #news .av-card.av-np{width:100%!important;max-width:620px!important;margin:-40px auto -10px!important;align-self:center;transform:rotateX(26deg) rotateZ(-3deg)!important}
  html body #news .av-card.av-np .np-stack{aspect-ratio:1/1.02!important}
  html body #news .av-card.av-np .np-front{padding:18px 26px 14px 52px!important}
  html body #news .av-np .np-led{width:84px!important;height:40px!important}
  html body #news .av-card.av-np .np-date{font-size:15px!important}
  html body #news .av-card.av-np .np-kicker{font-size:13px!important}
  html body #news .av-card.av-np .np-headline,html body #news .av-duo .np-headline{font-size:clamp(24px,2.2vw,30px)!important}
  html body #news .av-card.av-np .np-body .np-photo,html body #news .av-np .np-photo{height:clamp(130px,13vw,170px)!important}
  html body #news .av-card.av-np .np-deck{font-size:17px!important;line-height:1.45!important}
  html body #news .av-card.av-np .np-nophoto .np-deck{font-size:19px!important}
  html body #news .av-card.av-np .np-link{font-size:15px!important}

  /* Kizin nan: wide two-column showcase */
  html body #kizin{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;column-gap:40px!important;padding:40px 44px!important;max-width:none!important}
  html body #kizin .project-name{font-size:clamp(44px,4vw,60px)!important}
  html body #kizin .project-tag{font-size:13px!important;letter-spacing:.2em!important}
  html body #kizin>p{font-size:18px!important;line-height:1.6!important}
  html body #kizin .kizin-social-links a{min-height:46px;padding:0 20px!important;font-size:15px!important}
  html body #kizin .kizin-player-preview{grid-row:1/5}
  html body #kizin .kizin-social-links{grid-area:auto!important;grid-column:1}

  /* Before / After: roomy horizontal player */
  html body #bap{grid-template-columns:minmax(0,1fr) auto minmax(0,1.4fr)!important;column-gap:28px!important;row-gap:14px!important;padding:28px 34px!important}
  html body #bap .bap-switch{width:min(320px,100%)!important}
  html body #bap .bap-sw{padding:13px 10px!important;font-size:13px!important}
  html body #bap .bap-tracks{gap:8px!important;padding:8px!important}
  html body #bap .bap-tr{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;font-size:16px!important}
  html body #bap .bap-wave{height:110px!important;gap:2px!important}
  html body #bap .bap-play{width:66px!important;height:66px!important}
  html body #bap .bap-play svg.ic{width:24px!important;height:24px!important}
  html body #bap .bap-time,html body #bap .bap-time b{font-size:18px!important}

  /* Rating: title left, reactions right */
  html body section.rating-wrap .rating-card{padding:30px 40px!important;column-gap:40px!important}
  html body section.rating-wrap .rating-card .section-eyebrow{font-size:13px!important}
  html body section.rating-wrap .section-title{font-size:clamp(34px,3vw,44px)!important}
  html body section.rating-wrap .stars{padding-left:40px!important;gap:16px!important}
  html body section.rating-wrap .stars .star{width:60px!important;height:60px!important;font-size:46px!important}

  /* Footer: editorial grid */
  html body #ksFooter .ksf-main{max-width:1160px;margin:0 auto!important;padding:34px 32px 18px!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;column-gap:48px!important;row-gap:16px!important}
  html body #ksFooter .ksf-motto{font-size:clamp(30px,2.6vw,40px)!important}
  html body #ksFooter .ksf-col-social,html body #ksFooter .ksf-bre-wrap{padding-left:32px!important}
  html body footer#ksFooter.ksf .ksf-col-social .ksf-social{gap:12px!important}
  html body footer#ksFooter.ksf .ksf-col-social .ksf-social a{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important}
  html body footer#ksFooter.ksf .ksf-col-social .ksf-social a svg{width:20px!important;height:20px!important}
  html body #ksFooter .ksf-bre{padding:12px 26px!important;font-size:16px!important}
  html body #ksFooter .ksf-acc-btn{font-size:18px!important}
  html body footer#ksFooter.ksf .ksf-legal{padding:14px 32px 18px!important;font-size:14px!important;white-space:normal}
  .ks-rdwave-foot{height:70px!important}
  /* same "Navigation +" accordion as on phones */
  html body #ksFooter .ksf-col-nav .ksf-acc-btn{display:flex!important;width:100%;justify-content:space-between;align-items:center;background:none;border:0;font-weight:700;padding:6px 0 12px;cursor:pointer}
  html body #ksFooter .ksf-col-nav .ksf-acc-btn b{color:var(--rd-blue);font-size:22px}
  html body #ksFooter .ksf-col-nav>.ksf-h{display:none!important}
  html body #ksFooter .ksf-col-nav .ksf-nav{display:none!important;padding:0 0 14px 6px}
  html body #ksFooter .ksf-col-nav.open .ksf-nav{display:flex!important}
}
