/* Kurio theme (new design): tokens, base, nav, menu, buttons, FAQ, closing + footer, sticky bar, booking pop-up.
   Shared by index.html and workshop.html. */
:root {
  --navy: #071B32; --navy-2: #0E2744; --navy-3: #16314F;
  --ivory: #F4EFE6; --ivory-2: #EAE3D6; --ink: #071B32; --muted: #5B6472; --muted-d: #A3AEBF;
  --y: #FFB81C; --t: #0A9BB5; --c: #FF6745;
  --y-tint: #FCEBC4; --t-tint: #D6ECEF; --c-tint: #FBDCD3;
  --display: "Outfit", "Futura", "Avenir Next", system-ui, sans-serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --g: 1.25rem; --nav-h: 80px; --ease: cubic-bezier(.22,1,.36,1); --r: 22px;
}
@media (min-width: 760px) { :root { --g: 2.5rem; } }
@media (min-width: 1280px) { :root { --g: 4.5rem; } }
body.bl { font-family: var(--sans); background: var(--ivory); color: var(--ink); font-size: 1.0625rem; line-height: 1.6; padding-top: 0; -webkit-font-smoothing: antialiased; }
.w { max-width: 86rem; margin: 0 auto; padding: 0 var(--g); }
.dark { background: var(--navy); color: #fff; }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--muted); max-width: 34em; }
.dark .lede { color: var(--muted-d); }
.head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 980px) { .head.split { grid-template-columns: 7fr 5fr; align-items: end; gap: 4rem; } }
.sec { padding: clamp(5rem, 11vw, 9rem) 0; }
section[id] { scroll-margin-top: 70px; }

/* Ray capsule: the brand mark, in its skill colour at the logo's angle */
.cap { display: inline-block; width: 8px; height: 30px; border-radius: 8px; vertical-align: middle; flex: none; }
.cap.y { background: var(--y); } .cap.t { background: var(--t); transform: rotate(-38deg); } .cap.c { background: var(--c); transform: rotate(38deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.4rem; padding: 0 1.9rem; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1.02rem var(--display); text-decoration: none; background: var(--y); color: var(--navy); transition: background .2s, transform .15s var(--ease); white-space: nowrap; }
.btn:hover { background: #FFC544; } .btn:active { transform: scale(.98); }
.txt { background: none; border: 0; padding: 0; cursor: pointer; font: 600 1rem var(--display); color: inherit; text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.txt:hover { text-decoration-thickness: 3px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s; }
.nav.solid { background: rgba(244,239,230,.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav.solid-d { background: rgba(7,27,50,.97); color: #fff; }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem; }
.logo { display: block; width: 132px; aspect-ratio: 2 / 1; background: url("logo-web.png") left center / contain no-repeat; flex: none; }
.nav.solid-d .logo, .dark .logo { background-image: url("logo-white.png"); }
@media (max-width: 759px) { .logo { width: 112px; } }
.links { display: none; gap: 2rem; margin-left: auto; font: 500 .98rem var(--display); }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .btn { margin-left: auto; min-height: 2.9rem; padding: 0 1.3rem; font-size: .95rem; }
.burger { background: none; border: 0; color: inherit; padding: .5rem; margin-right: -.5rem; cursor: pointer; }
@media (min-width: 1000px) { .links { display: flex; } .nav .btn { margin-left: 1rem; } .burger { display: none; } }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--navy); color: #fff; padding: 1.25rem var(--g) 2rem; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s; }
.menu.open { opacity: 1; visibility: visible; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.menu-top .logo { background-image: url("logo-white.png"); }
.menu-top button { background: none; border: 0; color: #fff; padding: .5rem; cursor: pointer; }
.menu ul { list-style: none; margin-top: 2rem; }
.menu ul a { display: flex; align-items: center; gap: 1rem; padding: .5rem 0; font: 800 2.2rem/1.1 var(--display); letter-spacing: -.03em; text-decoration: none; }
.menu-foot { margin-top: auto; display: grid; gap: .5rem; color: var(--muted-d); }
.menu-foot a { color: #fff; }

/* FAQ */
.faq { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .faq { grid-template-columns: .7fr 1.3fr; gap: 5rem; align-items: start; } }
.faq .h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); max-width: 9ch; }
.faq-list { display: grid; gap: .5rem; border: 0; }
.faq-list details { background: #fff; border-radius: 16px; border: 0; }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.15rem 3.25rem 1.15rem 1.35rem; position: relative; font: 600 1.06rem var(--display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 1.35rem; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list .a { padding: 0 1.35rem 1.3rem; color: var(--muted); max-width: 42em; }
.faq-list .a a { color: var(--ink); }

/* Final */
.final { padding: clamp(5.5rem, 12vw, 10rem) 0 0; text-align: center; }
.final .rays { width: clamp(5rem, 8vw, 6.5rem); margin: 0 auto 1.75rem; overflow: visible; display: block; }
.final h2 { font: 800 clamp(3rem, 8vw, 7rem)/.95 var(--display); letter-spacing: -.045em; max-width: 12ch; margin: 0 auto; text-wrap: balance; }
.final .sub { color: var(--muted-d); font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 34em; margin: 1.5rem auto 0; }
.final .sub b { color: #fff; font-weight: 600; }
.final .hero-act { justify-content: center; margin-top: 2.25rem; }
.final .txt { color: #fff; }
.foot { margin-top: clamp(5.5rem, 11vw, 9rem); background: var(--navy-2); border-radius: 30px 30px 0 0; padding: clamp(2.5rem, 5vw, 4rem) var(--g) 2rem; text-align: left;
  display: grid; gap: 2.5rem; max-width: 86rem; margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
@media (max-width: 899px) { .foot { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } .foot .brand { grid-column: 1 / -1; } }
.foot .brand p { color: var(--muted-d); margin-top: 1rem; max-width: 22em; font-size: .95rem; }
.foot h4 { font: 700 .95rem var(--display); color: #fff; margin-bottom: .8rem; }
.foot ul { list-style: none; display: grid; gap: .5rem; }
.foot a { color: var(--muted-d); text-decoration: none; font-size: .95rem; }
.foot a:hover { color: #fff; }
.foot .base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; color: var(--muted-d); font-size: .85rem; padding-top: 1.5rem; }

/* Sticky next-session bar (after the hero) */
.nb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--navy); color: #fff; transform: translateY(110%); transition: transform .35s var(--ease); }
.nb.show { transform: none; }
.nb .w { display: flex; align-items: center; gap: .9rem; min-height: 64px; padding-top: .5rem; padding-bottom: calc(.5rem + env(safe-area-inset-bottom, 0px)); }
.nb img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1); flex: none; }
.nb .t { min-width: 0; line-height: 1.3; }
.nb .t b { display: block; font: 600 .95rem var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb .t span { font-size: .85rem; color: var(--muted-d); }
.nb .btn { margin-left: auto; min-height: 2.75rem; padding: 0 1.2rem; font-size: .92rem; }
.wa { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 46; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); transition: bottom .35s var(--ease); }
body.nb-on .wa { bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }


/* Scroll reveals */
.js .rv { opacity: 0; translate: 0 32px; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.on { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; translate: none; transition: none; } }

/* ---------- Booking pop-up in the new theme (overrides kurio.css) ---------- */
body.bl .sheet { --font: var(--sans); --mist: var(--ivory-2); --line: rgba(7,27,50,.12); --teal: var(--navy); --teal-ink: var(--navy);
  background: var(--ivory); color: var(--ink); font-family: var(--sans); border-radius: 28px 28px 0 0; box-shadow: 0 40px 100px -30px rgba(7,27,50,.6); }
@media (min-width: 720px) { body.bl .sheet { border-radius: 28px; max-width: 32rem; } }
body.bl .sheet::backdrop { background: rgba(7,27,50,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
body.bl .sheet-head { padding: 1.4rem 1.4rem .3rem 1.5rem; }
body.bl .sheet-head::before { background: rgba(7,27,50,.18); }
body.bl .sheet-who img { width: 3rem; height: 3rem; filter: grayscale(1); background: var(--ivory-2); }
body.bl .sheet-who b { font: 700 1.05rem var(--display); letter-spacing: -.01em; }
body.bl .sheet-who span { color: var(--muted); }
body.bl .sheet-x { background: #fff; width: 2.6rem; height: 2.6rem; }
body.bl .sheet-x:hover { background: var(--ivory-2); }
body.bl .sheet-body { padding: .5rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
body.bl .sheet h2 { font: 800 clamp(1.8rem, 5vw, 2.2rem)/1 var(--display); letter-spacing: -.04em; margin-top: 1rem; }
body.bl .steps-bar i { background: var(--navy); height: 4px; }
body.bl .steps-bar i:last-child { background: rgba(7,27,50,.12); }
body.bl .steps-bar i.on { background: var(--navy); }
body.bl .steps-n { font-family: var(--display); color: var(--muted); }
body.bl .field-label, body.bl .field legend { font: 600 .92rem var(--display); }
body.bl .input { font: 400 1.05rem var(--sans); background: #fff; border: 2px solid transparent; border-radius: 16px; min-height: 3.4rem; box-shadow: 0 1px 0 rgba(7,27,50,.06); }
body.bl .input:focus { border-color: var(--navy); }
body.bl .phone { border: 2px solid transparent; border-radius: 16px; background: #fff; }
body.bl .phone:focus-within { border-color: var(--navy); }
body.bl .phone span { background: var(--ivory-2); font-family: var(--display); }
body.bl .phone .input { box-shadow: none; }
body.bl .ages span { background: #fff; border-radius: 999px; font-family: var(--display); min-height: 2.9rem; }
body.bl .ages input:checked + span { background: var(--navy); color: #fff; }
body.bl .sheet .btn { min-height: 3.4rem; font-size: 1.02rem; }
body.bl .sheet .btn-line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); border-radius: 999px; }
body.bl .sheet .btn-wa { background: #25D366; color: #fff; }
body.bl .fine { color: var(--muted); }
body.bl .sib-link { font-family: var(--display); color: var(--navy); text-decoration: underline; text-decoration-color: var(--y); text-underline-offset: 4px; }
body.bl .done-head h2 { margin-top: 0; }
body.bl .pill { font-family: var(--display); }
body.bl .ticket::before, body.bl .ticket::after { background: var(--ivory); }
body.bl .ticket b, body.bl .next b { font-family: var(--display); }
