/* coolgrades: shared styles for every page (palette "cobalt + cream": ink base, cobalt fills, sky accents, hand-drawn details) */
:root { --read: "Satoshi", "Instrument Sans", system-ui, sans-serif; /* reading font: swap here when ricardo's new font arrives */ --bg: #16171a; --ink: #f3eee3; --dim: #8f8d88; --line: #2c2e33;
  --cobalt: #2340c8; --sky: #a8c2f2; --cream: #f3eee3; --sand: #d9c7a3;
  --hot: var(--cobalt); /* solid fills: buttons, bundle, highlighted package */
  --warm: var(--sky);   /* small accents on dark: rings, stars, numbers */ }
body { background: var(--bg); color: var(--ink); font-family: var(--read); }
.wrap { width: min(1240px, 100% - 32px); margin: 0 auto; }
h1, h2, .display { font-family: "baymax", sans-serif; font-weight: 400; line-height: .95; letter-spacing: -.01em; margin: 0; }
.mono { font: 500 12px/1.4 "IBM Plex Mono", monospace; letter-spacing: .06em; color: var(--dim); }

/* nav */
nav { position: fixed; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; gap: 28px; padding: 18px max(16px, calc(50% - 620px)); mix-blend-mode: difference; }
nav .logo { width: 46px; filter: invert(1); }
nav .links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
nav a { text-decoration: none; }
nav .buy { padding: 8px 16px; border: 1.5px solid #fff; border-radius: 99px; }
.menu-btn { display: none; margin-left: 14px; padding: 8px 14px; border: 1.5px solid #fff; border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; background: none; color: #fff; font-size: 15px; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 15; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 90px 24px 40px; background: var(--bg); }
.menu[hidden] { display: none; }
.menu a:not(.btn) { font-family: "baymax"; font-size: 44px; text-decoration: none; line-height: 1.1; }
.menu .btn { align-self: flex-start; margin-top: 18px; }
@media (max-width: 760px) { nav .links a:not(.buy) { display: none; } .menu-btn { display: block; } nav .links { margin-left: auto; } }

/* hero: the film grades itself */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .flat { position: absolute; inset: 0 auto 0 0; width: var(--x, 50%); backdrop-filter: saturate(.32) contrast(.6) brightness(1.18) sepia(.06); -webkit-backdrop-filter: saturate(.32) contrast(.6) brightness(1.18) sepia(.06); border-right: 2px solid rgba(255,255,255,.85); }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,23,26,.9), rgba(22,23,26,0) 55%); pointer-events: none; }
.hero .copy { position: absolute; left: 0; right: 0; bottom: 7vh; }
.hero h1 { font-size: clamp(54px, 10.5vw, 168px); text-shadow: 0 2px 28px rgba(0,0,0,.45), 0 0 2px rgba(0,0,0,.25); }
.hero p { text-shadow: 0 1px 14px rgba(0,0,0,.6); }
.hero h1 span { display: block; }
.boil { filter: url(#boil); }
.hero p { max-width: 520px; margin: 22px 0 26px; font-size: 19px; color: #ddd8ce; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; transition: transform .2s; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; }
.btn:hover { transform: rotate(-1.5deg) scale(1.03); }
.btn.hot { background: var(--hot); color: #fff; }
.btn.ghost { background: none; color: var(--ink); border: 1.5px solid rgba(242,239,232,.5); }
.btn .price { font-family: "marley"; font-size: 20px; }

/* proof marquee */
.proof { border-block: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
.proof div { display: inline-flex; gap: 48px; padding: 16px 0; animation: run 38s linear infinite; font-family: "marley"; font-size: 22px; }
.proof b { color: var(--warm); font-weight: 400; }
@keyframes run { to { transform: translateX(-50%); } }

/* the big slider */
section { padding: 120px 0; }
section.first { padding-top: 90px; }
section.tight { padding: 0 0 100px; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 36px; }
.head h2 { font-size: clamp(44px, 7vw, 104px); }
.head p { max-width: 380px; margin: 0; color: var(--dim); }
.stage { aspect-ratio: 16 / 8.4; border-radius: 6px; }
.rail { margin-top: 16px; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.rail button { flex: 0 0 auto; width: 132px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: none; cursor: pointer; opacity: .5; transition: opacity .2s; position: relative; }
.rail button[aria-current="true"], .rail button:hover { opacity: 1; }
.rail img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }


/* gallery: graded stills (move across to see the log) mixed with our films */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 10px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.g { position: relative; aspect-ratio: 16/10; border-radius: 5px; overflow: hidden; --x: 0%; cursor: crosshair; background: #1d1f23; }
.g img, .g video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g .log { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.g.still::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--x); border-left: 1px solid rgba(255,255,255,.8); opacity: 0; transition: opacity .2s; }
.g.still:hover::after { opacity: 1; }
.g.film { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 100%; cursor: pointer; border: 0; padding: 0; color: #fff; text-align: left; font: inherit; }
@media (max-width: 900px) { .g.film { grid-row: span 1; aspect-ratio: 16/9; } }
.g.film video { opacity: 0; transition: opacity .4s; }
.g.film.playing video { opacity: 1; }
.g.film .t { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: end; justify-content: space-between; gap: 12px; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.g.film .t b { font-family: "baymax"; font-weight: 400; font-size: clamp(24px, 2.6vw, 38px); line-height: 1; }
.g.film .t small { display: block; margin-top: 4px; font-size: 14px; opacity: .85; }
.g.film .play { flex: 0 0 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .2s; }
.g.film .play::before { content: ""; margin-left: 4px; border: 9px solid transparent; border-left: 14px solid #111; border-right: 0; }
.g.film:hover .play { transform: scale(1.08); }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.92); }
.lightbox[hidden] { display: none; }
.lightbox .box { width: min(1200px, 100%); aspect-ratio: 16/9; background: #000; }
.lightbox iframe, .lightbox video { width: 100%; height: 100%; border: 0; }
.lightbox button { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 22px; cursor: pointer; }

/* products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #1d1f23; }
.card .ba, .card .pic { aspect-ratio: 4/3; }
.card .pic { object-fit: cover; width: 100%; }
.card .body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.card h3 { margin: 0; font-family: "baymax"; font-weight: 400; font-size: 34px; line-height: 1; }
.card p { margin: 0; color: var(--dim); }
.card .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 18px 6px 0 14px; }
.card .price { font-family: "marley"; font-size: 34px; }
.card .ico { width: 80px; height: 80px; object-fit: contain; filter: invert(1); clip-path: inset(0 100% 0 0); transition: clip-path 1.4s steps(14); }
.card.in .ico { clip-path: inset(0 0 0 0); }
.circled { position: relative; padding: 2px 12px; }
.circled svg { position: absolute; inset: -10px -14px; width: calc(100% + 28px); height: calc(100% + 20px); overflow: visible; color: var(--warm); }
.draw ellipse, .draw path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s .3s cubic-bezier(.6,0,.2,1); }
.in .draw ellipse, .in .draw path { stroke-dashoffset: 0; }
.card .inside { color: var(--dim); font-size: 15px; text-decoration: none; margin-top: 6px; }
.card .inside:hover { color: var(--warm); }
.stars { color: var(--warm); font-size: 15px; letter-spacing: 2px; }
.stars small { color: var(--dim); letter-spacing: 0; margin-left: 6px; }
.bundle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 30px; background: var(--hot); color: #fff; border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; }
.bundle h3 { margin: 0; font-family: "baymax"; font-weight: 400; font-size: clamp(30px, 4vw, 46px); }
.bundle p { margin: 4px 0 0; }
.bundle .price { font-family: "marley"; font-size: 40px; }
.bundle s { opacity: .55; font-size: 24px; margin-right: 8px; }
.bundle .btn { background: #fff; color: #1d1f23; }
.bundle s { opacity: .7; }


/* more from coolgrades: icon row */
.more { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 900px) { .more { grid-template-columns: repeat(2, 1fr); } }
.more a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 10px; text-align: center; text-decoration: none; border: 1.5px solid var(--line); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; transition: border-color .2s, background .2s; }
.more a:hover { border-color: var(--warm); background: #1d1f23; }
.more img { width: 96px; height: 96px; object-fit: contain; filter: invert(1); transition: transform .3s; }
.more a:hover img { transform: rotate(-6deg) scale(1.08); }
.more span { font-family: "marley"; font-size: 22px; }
.more small { color: var(--dim); font-size: 14px; margin-top: -6px; }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
blockquote { margin: 0; font-family: "air"; font-size: 26px; line-height: 1.25; }
blockquote footer { margin-top: 14px; }

/* about */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duo img { border-radius: 6px; aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.duo img:last-child { margin-top: 60px; }
.about p { font-size: 21px; color: #d8d3c9; }

footer.site { border-top: 1px solid var(--line); padding: 60px 0 80px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
footer.site .fine { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: flex-start; color: var(--dim); font-size: 14px; }
footer.site .fine a { text-decoration: none; }
nav .links a[aria-current] { color: var(--warm); }
footer.site h2 { font-size: clamp(36px, 5vw, 64px); }

.up { opacity: 0; transform: translateY(30px); transition: opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1); }
.up.in { opacity: 1; transform: none; }

/* ---------- product pages ---------- */
.page-top { padding: 120px 0 70px; }
.ptop { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .ptop { grid-template-columns: 1fr; gap: 30px; } .page-top { padding-top: 96px; } }
.ptop h1 { font-size: clamp(54px, 7.5vw, 116px); }
.ptop .lead { font-size: 20px; color: #ddd8ce; margin: 22px 0; max-width: 480px; }
.ptop .ba, .ptop .media { aspect-ratio: 16/10; border-radius: 6px; overflow: hidden; }
.ptop .media video, .ptop .media img { width: 100%; height: 100%; object-fit: cover; }
.buybox { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 8px; }
.buybox .price { font-family: "marley"; font-size: 44px; }
.buybox .note { width: 100%; color: var(--dim); font-size: 15px; }
.buybox .note a { color: var(--ink); }

/* what's inside: icon list */
.inside-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .inside-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .item { padding: 20px 14px; } .item h3 { font-size: 22px; } }
@media (max-width: 560px) { .inside-grid { grid-template-columns: 1fr; } .item { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; align-items: center; } .item img, .item .dot { grid-row: span 2; width: 56px; height: 56px; margin: 0; line-height: 56px; } }
.item { padding: 24px 20px; border: 1.5px solid var(--line); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; }
.item img { width: 64px; height: 64px; object-fit: contain; filter: invert(1); margin-bottom: 14px; }
.item .dot { display: block; width: 64px; height: 64px; margin-bottom: 14px; font-family: "marley"; font-size: 40px; line-height: 64px; color: var(--hot); }
.item h3 { margin: 0 0 6px; font-family: "marley"; font-weight: 400; font-size: 24px; line-height: 1.1; }
.item p { margin: 0; color: var(--dim); font-size: 15px; }

/* statement with a big frame */
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .statement { grid-template-columns: 1fr; } }
.statement p { font-size: 22px; line-height: 1.45; color: #e2ddd3; margin: 0 0 18px; }
.statement .ba { aspect-ratio: 4/3; border-radius: 6px; }

/* chapter list */
.chapters { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
@media (max-width: 760px) { .chapters { columns: 1; } }
.chapters li { break-inside: avoid; display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
.chapters b { flex: 0 0 38px; font-family: "marley"; font-weight: 400; font-size: 24px; color: var(--warm); }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.meta span { padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; color: #d8d3c9; font-size: 15px; }

/* questions */
.qa { max-width: 860px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 21px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: "marley"; font-size: 30px; line-height: .8; color: var(--warm); transition: transform .3s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { margin: 0 0 24px; color: #cfcac0; max-width: 700px; }

/* closing call */
.closing { text-align: center; padding: 120px 0; }
.closing h2 { font-size: clamp(48px, 8vw, 120px); margin-bottom: 30px; }
.closing .buybox { justify-content: center; }

/* menu gets a solid backing once the page scrolls, so content never shows through it */
nav.solid { mix-blend-mode: normal; background: rgba(22,23,26,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-block: 12px; transition: padding .3s; }
nav.solid .logo { filter: invert(1); }

/* fonts page: type tester */
.tester-bar { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-bottom: 18px; }
.tester-bar input[type=text] { flex: 1 1 320px; padding: 14px 18px; background: #1d1f23; color: var(--ink); border: 1.5px solid var(--line); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; font: inherit; font-size: 18px; text-transform: none; }
.tester-bar input[type=text]:focus { outline: none; border-color: var(--warm); }
.tester-bar label { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 15px; }
.tester-bar input[type=range] { accent-color: var(--hot); width: 160px; }
.specimen { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .specimen { grid-template-columns: 1fr; gap: 8px; } }
.specimen h3 { margin: 0; font-family: "marley"; font-weight: 400; font-size: 26px; }
.specimen p { margin: 4px 0 0; color: var(--dim); font-size: 15px; }
.specimen .sample { font-size: var(--size, 64px); line-height: 1.05; overflow-wrap: anywhere; text-transform: none; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 900px) { .strip { grid-template-columns: 1fr 1fr; } }
.strip img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 5px; }
.uses { display: flex; flex-wrap: wrap; gap: 10px; }
.uses span { padding: 10px 18px; font-family: "marley"; font-size: 22px; border: 1.5px solid var(--line); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; }

/* mentorship */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px 24px; border: 1.5px solid var(--line); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; }
.step b { display: block; font-family: "marley"; font-weight: 400; font-size: 46px; color: var(--warm); line-height: 1; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-family: "baymax"; font-weight: 400; font-size: 28px; }
.step p { margin: 0; color: #cfcac0; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; } }
.pack { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; background: #1d1f23; border: 1.5px solid var(--line); border-radius: 8px; }
.pack.pick { border-color: var(--warm); box-shadow: 6px 6px 0 var(--hot); }
.pack .hrs { font-family: "marley"; font-size: 22px; color: var(--dim); }
.pack h3 { margin: 0; font-family: "baymax"; font-weight: 400; font-size: 40px; }
.pack p { margin: 0; color: #cfcac0; }
.pack .price { font-family: "marley"; font-size: 44px; margin-top: auto; padding-top: 14px; align-self: flex-start; }
.pack .per { color: var(--dim); font-size: 14px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.people figure { margin: 0; }
.people img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; }
.people figcaption { margin-top: 12px; }
.people figcaption b { font-family: "baymax"; font-weight: 400; font-size: 30px; display: block; }
.people figcaption span { color: var(--dim); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; }
@media (max-width: 760px) { .form { grid-template-columns: 1fr; } }
.form label { display: flex; flex-direction: column; gap: 8px; color: var(--dim); font-size: 15px; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea, .form select { padding: 14px 16px; background: #1d1f23; color: var(--ink); border: 1.5px solid var(--line); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; font: inherit; font-size: 17px; text-transform: none; }
.form textarea { min-height: 160px; resize: vertical; border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--warm); }
.form .btn { justify-self: start; border: 0; cursor: pointer; font-size: 17px; }
.single-quote { max-width: 900px; margin: 0 auto; text-align: center; }
.single-quote blockquote { font-size: 32px; }

/* try it on your footage */
.try { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .try { grid-template-columns: 1fr; } }
.try .panel { display: flex; flex-direction: column; gap: 18px; }
.try label.field { display: flex; flex-direction: column; gap: 8px; color: var(--dim); font-size: 14px; }
.try select { padding: 12px 14px; background: #1d1f23; color: var(--ink); border: 1.5px solid var(--line); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; font: inherit; font-size: 16px; text-transform: none; }
.drop { display: grid; place-items: center; gap: 8px; padding: 28px 16px; text-align: center; border: 2px dashed var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--warm); background: #1d1f23; }
.drop b { font-family: "marley"; font-weight: 400; font-size: 24px; }
.drop small { color: var(--dim); }
.samples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.samples button { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: none; }
.samples button[aria-pressed="true"] { border-color: var(--warm); }
.samples img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.toggle { display: flex; align-items: center; gap: 10px; color: #cfcac0; cursor: pointer; }
.toggle input { accent-color: var(--hot); width: 18px; height: 18px; }
.viewer { position: relative; border-radius: 6px; overflow: hidden; background: #0f1012; cursor: ew-resize; touch-action: pan-y; min-height: 200px; }
.viewer canvas { display: block; width: 100%; height: auto; }
.viewer .ba-tag { pointer-events: none; }
.viewer .empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); }
.privacy { color: var(--dim); font-size: 14px; }
.privacy b { color: var(--ink); font-weight: 500; }
.viewer .empty[hidden] { display: none; }

/* try it: scopes, footage check, corrections */
.scopes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
@media (max-width: 700px) { .scopes { grid-template-columns: 1fr; } }
.scope { background: #0f1012; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.scope .mono { display: flex; justify-content: space-between; padding: 6px 10px; border-bottom: 1px solid var(--line); font: 500 11px "IBM Plex Mono", monospace; color: var(--dim); letter-spacing: .04em; }
.scope canvas { display: block; width: 100%; aspect-ratio: 16/10; }
.scope-src { display: flex; gap: 6px; margin-top: 12px; align-items: center; color: var(--dim); font-size: 14px; }
.scope-src button { padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); background: none; color: var(--dim); cursor: pointer; font: inherit; font-size: 13px; }
.scope-src button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.check { padding: 18px; border: 1.5px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 12px; }
.check h3 { margin: 0; font-family: "marley"; font-weight: 400; font-size: 24px; }
.check ul { margin: 0; padding-left: 18px; color: #d8d3c9; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.check li.ok { color: var(--dim); }
.check .tip { color: var(--dim); font-size: 13px; margin: 0; }
.slider { display: grid; grid-template-columns: 80px 1fr 46px; gap: 10px; align-items: center; color: var(--dim); font-size: 14px; }
.slider input { accent-color: var(--hot); width: 100%; }
.slider output { font: 500 12px "IBM Plex Mono", monospace; text-align: right; color: var(--ink); }
.honest { margin-top: 10px; padding: 12px 14px; border-left: 3px solid var(--warm); background: #1d1f23; border-radius: 0 8px 8px 0; color: #cfcac0; font-size: 14px; }

/* ======================================================================================
   grown-up layer (Ricardo, 12 Nov 2026): serif headings, clean shapes, one calm voice.
   The hand-drawn font and the wobble stay only on the home hero line, as the signature.
   ====================================================================================== */
:root { --head: "Instrument Serif", Georgia, serif; }

/* every heading and display number in the serif */
h1, h2, h3, .card h3, .bundle h3, .pack h3, .step h3, .item h3, .specimen h3, .people figcaption b, footer.site h2,
.price, .card .price, .bundle .price, .buybox .price, .pack .price, .chapters b, .step b, .item .dot, .pack .hrs,
.menu a:not(.btn), .proof div, .more span, .check h3, .drop b {
  font-family: var(--head) !important; font-weight: 400 !important; letter-spacing: -.01em;
}
h1, h2 { line-height: 1 !important; }
.head h2 { font-size: clamp(52px, 6.4vw, 96px) !important; }
.ptop h1, .page-top h1 { font-size: clamp(58px, 7.6vw, 120px) !important; }
.closing h2 { font-size: clamp(56px, 8vw, 124px) !important; }
footer.site h2 { font-size: clamp(42px, 5.4vw, 76px) !important; }
.card h3 { font-size: 30px !important; }
.pack h3, .step h3 { font-size: 36px !important; }
.item h3 { font-size: 24px !important; }
.item .dot, .step b, .chapters b { color: var(--warm); }

/* the only hand-drawn, wobbling line on the site */
.boil { filter: none !important; }
.hero h1 { font-family: "baymax", sans-serif !important; filter: url(#boil) !important; }

/* reviews and small labels in a calm reading voice */
blockquote { font-family: var(--head) !important; font-style: italic; font-size: 27px !important; line-height: 1.3 !important; color: #dcd7cd; }
.single-quote blockquote { font-size: 34px !important; }
.uses span, .meta span { font-family: var(--read) !important; font-size: 15px !important; }

/* one circled price per buy box; plain everywhere else */
.circled svg { display: none; }
.buybox .circled svg { display: block; }
.card .price { font-size: 40px !important; }

/* clean shapes: pills and soft corners, no wonky edges, no tilt */
.btn, nav .buy, .menu-btn, .tester-bar input[type=text], .try select, .form input, .form select, .uses span, .meta span { border-radius: 999px !important; }
.bundle, .more a, .item, .step, .pack, .check, .drop, .form textarea { border-radius: 14px !important; }
.btn:hover { transform: none !important; opacity: .9; }

/* quieter product cards: the footage carries them */
section { padding: 140px 0; }
section.first { padding-top: 100px; }
.card { background: transparent !important; border: 0 !important; }
.card .body { padding: 18px 0 !important; }
.card .ico { display: none; }
.card .ba, .card .pic { border-radius: 8px; overflow: hidden; }
.more img { width: 44px !important; height: 44px !important; }
.more a { border-color: transparent !important; background: #1d1f23; }
.pack.pick { box-shadow: none !important; }
.circled { padding: 0 !important; } .buybox .circled { padding: 2px 12px !important; }

/* ======================================================================================
   type system (Ricardo, 12 Nov 2026): one family, two cuts.
   Instrument Serif = big moments only (titles, section heads, big reviews; never under ~40px).
   Instrument Sans  = everything else (menu, buttons, product names, prices, numbers, tags, labels).
   Our hand-drawn fonts live on the fonts page (the product) and in the CG logo, not in the interface.
   ====================================================================================== */
:root { --ui: "Satoshi", "Instrument Sans", system-ui, sans-serif; }
h1, h2, .head h2, .closing h2, footer.site h2, blockquote { font-family: var(--head) !important; }
.hero h1 { font-family: var(--head) !important; filter: none !important; font-size: clamp(60px, 9.5vw, 156px) !important; letter-spacing: -.02em; line-height: .95 !important; }

/* small things: always the sans */
h3, .card h3, .bundle h3, .pack h3, .step h3, .item h3, .people figcaption b, .check h3, .drop b,
.price, .card .price, .bundle .price, .buybox .price, .pack .price, .chapters b, .step b, .item .dot, .pack .hrs,
.menu a:not(.btn), .proof div, .more span, .g.film .t b, .rail span, .specimen h3 {
  font-family: var(--ui) !important; font-style: normal !important; letter-spacing: -.01em;
}
h3, .card h3, .pack h3, .step h3, .bundle h3 { font-weight: 600 !important; }
.card h3 { font-size: 24px !important; }
.pack h3, .step h3 { font-size: 26px !important; }
.item h3 { font-size: 18px !important; }
.bundle h3 { font-size: clamp(24px, 3vw, 34px) !important; }
.price, .card .price, .pack .price { font-weight: 500 !important; font-size: 30px !important; }
.buybox .price { font-weight: 500 !important; font-size: 36px !important; }
.bundle .price { font-weight: 500 !important; font-size: 34px !important; }
.chapters b, .step b, .item .dot { font-weight: 500 !important; font-size: 15px !important; color: var(--warm); }
.step b { margin-bottom: 18px !important; }
.item .dot { line-height: 1.6 !important; height: auto !important; }
.pack .hrs, .more span { font-weight: 500 !important; font-size: 15px !important; }
.menu a:not(.btn) { font-weight: 500 !important; font-size: 34px !important; letter-spacing: -.02em; }
.proof div { font-size: 16px !important; font-weight: 500; }
.drop b, .check h3 { font-weight: 600 !important; font-size: 18px !important; }
.g.film .t b { font-weight: 600 !important; font-size: 22px !important; }
.specimen h3 { font-weight: 600 !important; font-size: 18px !important; }

/* tags and labels: the sans, small and spaced, instead of a third (mono) font */
.mono, .ba-tag, .scope .mono, .slider output, .meta span, blockquote footer {
  font-family: var(--ui) !important; font-weight: 600 !important; font-size: 11px !important; letter-spacing: .08em !important; font-style: normal !important;
}
blockquote footer { color: var(--dim); }
.slider output { font-size: 13px !important; letter-spacing: 0 !important; }

/* header: fixed, readable over the film, solid once you scroll. no colour-inverting blend */
nav { mix-blend-mode: normal !important; background: linear-gradient(to bottom, rgba(22,23,26,.72), rgba(22,23,26,0)); transition: background .3s, padding .3s; }
nav .logo { filter: invert(1) !important; }
nav .links a { color: var(--ink); }
nav.solid { background: rgba(22,23,26,.9) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
nav .buy { border-color: rgba(243,238,227,.6) !important; }
.btn .price { font-family: var(--ui) !important; font-size: inherit !important; font-weight: 600 !important; }
html.still .up, html.still .g, html.still .cell { opacity: 1 !important; transform: none !important; transition: none !important; } html.still .draw path, html.still .draw ellipse { stroke-dashoffset: 0 !important; transition: none !important; }
.item .dot { font-size: 26px !important; line-height: 1 !important; width: auto !important; height: 64px !important; display: flex !important; align-items: center; } @media (max-width: 560px) { .item .dot { height: 56px !important; } }

/* ======================================================================================
   home hero, calmer (Ricardo, 12 Nov 2026): the menu has its own bar, the film is a thinner
   cinematic band with only the log/graded wipe on it, and the words sit below on the dark background.
   ====================================================================================== */
nav, nav.solid { background: var(--bg) !important; backdrop-filter: none !important; box-shadow: 0 1px 0 var(--line); padding-block: 14px !important; }
.hero { height: auto !important; min-height: 0 !important; aspect-ratio: 2.39 / 1; max-height: 74vh; margin-top: 66px; }
@media (max-width: 760px) { .hero { aspect-ratio: 4 / 5; max-height: 68svh; margin-top: 62px; } }
.hero .shade, .hero .copy { display: none; }
.intro { padding: 72px 0 40px !important; }
.intro .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: end; }
@media (max-width: 900px) { .intro .wrap { grid-template-columns: 1fr; gap: 26px; } .intro { padding-top: 44px !important; } }
.intro h1 { font-family: var(--head) !important; font-weight: 400; font-size: clamp(52px, 7.4vw, 118px) !important; line-height: .95 !important; letter-spacing: -.02em; margin: 0; }
.intro h1 span { display: block; }
.intro p { font-size: 19px; color: #d8d3c9; margin: 0 0 24px; max-width: 460px; }
section#shop.first { padding-top: 90px !important; }
/* first screen on a laptop: menu + film band + the line, all visible */
.hero { max-height: 60vh !important; }
.intro { padding: 44px 0 36px !important; }
.intro .wrap { align-items: center !important; }
.intro h1 { font-size: clamp(48px, 6.4vw, 100px) !important; }
.hero { aspect-ratio: auto !important; max-height: none !important; width: 100%; height: min(calc(100vw / 2.39), 60vh) !important; }
@media (max-width: 760px) { .hero { height: min(calc(100vw * 1.25), 68svh) !important; } }
.intro .wrap { grid-template-columns: 1.15fr 1fr !important; }
@media (max-width: 900px) { .intro .wrap { grid-template-columns: 1fr !important; } }

/* header: logo, links and button on one centre line, a bit bigger (Ricardo, 12 Nov 2026) */
nav { height: 78px; padding-block: 0 !important; align-items: center; }
nav > a { display: flex; align-items: center; }
nav .logo { width: 58px !important; display: block; }
nav .links { align-items: center; gap: 30px; font-size: 17px; font-weight: 500; }
nav .links a { display: inline-flex; align-items: center; line-height: 1; }
nav .buy, .menu-btn { padding: 12px 22px !important; font-size: 16px !important; font-weight: 600; line-height: 1; }
.menu-btn { display: none; align-items: center; }
@media (max-width: 760px) { nav { height: 66px; } nav .logo { width: 48px !important; } nav .buy, .menu-btn { padding: 10px 16px !important; font-size: 15px !important; } .menu-btn { display: inline-flex !important; } }
.hero { margin-top: 78px !important; }
@media (max-width: 760px) { .hero { margin-top: 66px !important; } }
.page-top { padding-top: 140px; }

/* hero wipe you can play with */
.hero { cursor: ew-resize; touch-action: pan-y; user-select: none; }
.hero .flat { border-right: 2px solid rgba(255,255,255,.9) !important; }
.hero-knob { position: absolute; top: 50%; left: var(--x, 50%); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.35); pointer-events: none; z-index: 2; }
.hero-knob::before, .hero-knob::after { content: ""; position: absolute; top: 50%; margin-top: -7px; border: 7px solid transparent; }
.hero-knob::before { left: 8px; border-right-color: #16171a; }
.hero-knob::after { right: 8px; border-left-color: #16171a; }
.hero-hint { position: absolute; top: calc(50% + 40px); left: var(--x, 50%); transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: rgba(22,23,26,.7); backdrop-filter: blur(6px); color: #fff; font: 600 13px var(--ui); white-space: nowrap; pointer-events: none; transition: opacity .4s; z-index: 2; }
.hero.touched .hero-hint { opacity: 0; }
.hero .ba-tag { z-index: 2; }
.hero:focus-visible { outline: 3px solid var(--warm); outline-offset: -3px; }

/* title font: coolgrades signature, Ricardo's own (13 Nov 2026), replacing Custard */
:root { --head: "coolgrades signature", "Instrument Serif", Georgia, serif; }
.intro h1, .head h2 { line-height: 1.02 !important; }
h1, h2 { letter-spacing: -.01em !important; }
blockquote { font-style: normal !important; font-size: 24px !important; line-height: 1.3 !important; }
.single-quote blockquote { font-size: 30px !important; }

/* body and interface font: Satoshi (Ricardo, 13 Nov 2026) */
:root { --read: "Satoshi", "Instrument Sans", system-ui, sans-serif; --ui: "Satoshi", "Instrument Sans", system-ui, sans-serif; }

/* fonts page: the free signature font */
.freefont h2 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; margin: 10px 0 18px; }
.free-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--sky); color: #16171a; font: 700 13px var(--ui); letter-spacing: .06em; }
.sig-card { background: var(--cobalt, #2340c8); color: #f3eee3; border-radius: 6px; aspect-ratio: 4/3; display: flex; flex-direction: column; justify-content: center; padding: 8%; }
.sig-card span { font-family: var(--head); font-size: clamp(44px, 5.6vw, 92px); line-height: 1.05; white-space: nowrap; }
.sig-card small { margin-top: 22px; font: 500 15px var(--ui); color: #d8def6; }

/* powergrades: camera colour space settings */
.cst-cams { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cst-cams button { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: none; color: var(--ink); font: 500 15px var(--ui); cursor: pointer; text-transform: lowercase; }
.cst-cams button[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); color: #f3eee3; }
.cst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cst-box { padding: 26px 26px 18px; border: 1.5px solid var(--line); border-radius: 10px; }
.cst-box h3, .cst-notes h3 { margin: 0 0 16px; font: 700 20px var(--ui); }
.cst-box h3 small { display: block; margin-top: 2px; font-weight: 500; font-size: 14px; color: var(--dim); }
.cst dl { margin: 0; }
.cst dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.cst dl.same { opacity: .8; }
.cst dt { color: var(--dim); font-size: 15px; }
.cst dd { margin: 0; font-weight: 600; text-transform: none; }
.cst dd small { display: block; font-weight: 400; color: var(--dim); font-size: 14px; text-transform: none; }
.cst-notes { margin-top: 16px; padding: 22px 26px; border-radius: 10px; background: #1f2024; }
.cst-notes ul { margin: 0; padding-left: 18px; color: #d8d3c9; }
.cst-notes li { margin: 6px 0; }
.cst-notes li { text-transform: none; }
@media (max-width: 900px) { .cst-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cst dl > div { grid-template-columns: 1fr; gap: 2px; } .cst-box { padding: 20px 18px 12px; } }
.cst-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 26px 28px; border: 1.5px solid var(--line); border-radius: 10px; }
.cst-line .lbl { font-size: 19px; }
.cst-line .lbl b { text-transform: uppercase; letter-spacing: .03em; }
.cst-line dl { display: flex; flex-wrap: wrap; gap: 10px 36px; }
.cst-line dl > div { display: block; padding: 0; border: 0; }
.cst-line dt { font-size: 14px; }
.cst-line dd { font-size: 22px; }

/* tighter rhythm between sections (Ricardo, 14 Nov 2026): was 140px top + bottom */
section { padding: 80px 0; }
section.first { padding-top: 64px; }
section.tight { padding: 0 0 72px; }
@media (max-width: 560px) { section { padding: 56px 0; } section.first { padding-top: 44px; } }

/* menu in osaka (Ricardo, 14 Nov 2026), like the old site; the buy button stays plain */
nav .links a:not(.buy) { font-family: "osaka", var(--ui) !important; font-size: 21px !important; letter-spacing: .02em; -webkit-text-stroke: .5px currentColor; }
.menu a:not(.btn) { font-family: "osaka", var(--ui) !important; font-weight: 400 !important; font-size: 40px !important; letter-spacing: .01em !important; -webkit-text-stroke: .8px currentColor; }
/* home: the old tagline back, above the headline */
.intro .kicker { grid-column: 1 / -1; margin: 0 0 -8px; font-family: "osaka", var(--ui); font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; letter-spacing: .05em; color: var(--warm); -webkit-text-stroke: .7px currentColor; }
/* menu: osaka in caps, no extra stroke, so it reads more easily (Ricardo, 14 Nov 2026) */
nav .links a:not(.buy) { text-transform: uppercase; font-size: 18px !important; letter-spacing: .06em; -webkit-text-stroke: 0; }
.menu a:not(.btn) { text-transform: uppercase; font-size: 34px !important; letter-spacing: .04em !important; -webkit-text-stroke: 0; }
/* home intro: the tagline is the heading on its own (Ricardo, 14 Nov 2026) */
.intro h1.kicker { font-family: "osaka", var(--ui) !important; font-size: clamp(34px, 4.6vw, 64px) !important; line-height: 1.1 !important; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin: 0; grid-column: auto; -webkit-text-stroke: 1px currentColor; }
/* home heading back in the signature font: osaka only in the menu (Ricardo, 14 Nov 2026) */
.intro h1.kicker { font-family: var(--head) !important; font-size: clamp(44px, 6.2vw, 96px) !important; line-height: 1 !important; letter-spacing: -.005em; -webkit-text-stroke: 0; }
/* page top with the title across the full width, media below (fonts page, 14 Nov 2026) */
.ptop.wide-title > h1 { grid-column: 1 / -1; margin: 0 0 8px; font-size: clamp(48px, 7.4vw, 120px) !important; line-height: .98 !important; max-width: 15ch; }
.ptop.wide-title { align-items: start; }

/* try it: clip samples show a small play dot */
.samples button { position: relative; }
.samples .clip-dot { position: absolute; right: 6px; bottom: 6px; width: 16px; height: 16px; border-radius: 50%; background: rgba(22,23,26,.75); }
.samples .clip-dot::before { content: ""; position: absolute; left: 6px; top: 4px; border: 4px solid transparent; border-left: 6px solid #f3eee3; border-right: 0; }

/* "compressed for the web" note under drag the line */
.small-note { display: block; margin-top: 8px; font-size: 13px; opacity: .6; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px 28px; }
.post-card { display: block; color: inherit; text-decoration: none; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; display: block; margin-bottom: 14px; transition: transform .4s ease; }
.post-card:hover img { transform: scale(1.02); }
.post-card h2 { font-family: var(--head); font-size: 30px; line-height: 1.05; margin: 6px 0 10px; font-weight: 400; }
.post-card p { font-size: 15px; opacity: .72; margin: 0; }
.post-meta { font-size: 13px; opacity: .6; letter-spacing: .02em; }
.post-meta a { color: inherit; }
.post-wrap { max-width: 760px; }
.post-top h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1; margin-top: 14px; }
.post-cover img { width: 100%; max-height: 70vh; object-fit: cover; border-radius: 16px; display: block; }
.post-cover { padding-bottom: 0; }
.post { font-size: 18px; line-height: 1.7; padding: 48px 0 40px; }
.post p { margin: 0 0 1.1em; color: #ddd8ce; }
.post h2 { font-family: var(--head); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; margin: 1.8em 0 .5em; }
.post h3 { font-size: 19px; font-weight: 700; margin: 1.5em 0 .35em; }
.post ul.terms { padding-left: 1.1em; margin: 0 0 1.2em; }
.post ul.terms li { margin-bottom: .6em; color: #ddd8ce; }
.post figure { margin: 2em 0; }
.post figure img { width: 100%; border-radius: 14px; display: block; }
.post-cta { margin-top: 1.6em; }
.post-sign { font-family: var(--head); font-size: 28px; margin-top: 1.4em; }
.post .post-ba { aspect-ratio: 16 / 9; border-radius: 14px; margin: 2em 0; }
.post a:not(.btn) { color: var(--sky, #a8c2f2); }

/* keep menu items on one line at in-between widths */
nav .links a { white-space: nowrap; }
.statement.solo { grid-template-columns: 1fr; max-width: 820px; }

/* titles with a long word ("coolgrades.") get a bit smaller on phones so they never run off the screen */
@media (max-width: 520px) {
  .ptop h1, .page-top h1 { font-size: min(58px, 12vw) !important; }   /* "powergrades", "mentorship." fit a 375px phone */
  .page-top h1.long { font-size: min(48px, 11vw) !important; }
  .head h2 { font-size: min(52px, 10.5vw) !important; }        /* "the masterclass.", "the powergrades." */
  .closing h2 { font-size: min(56px, 11vw) !important; }
}

/* home "drag the line": prev / next arrows on the image */
.stage-wrap { position: relative; }
.stage-nav { position: absolute; top: 50%; z-index: 3; width: 50px; height: 50px; margin-top: -25px; display: grid; place-items: center; padding: 0;
  border-radius: 50%; border: 1px solid rgba(243,238,227,.45); background: rgba(22,23,26,.5); color: var(--cream); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.stage-nav svg { width: 24px; height: 24px; }
.stage-nav.prev { left: 16px; } .stage-nav.next { right: 16px; }
.stage-nav:hover { background: var(--cobalt); transform: scale(1.06); }
@media (max-width: 700px) { .stage-nav { width: 40px; height: 40px; margin-top: -20px; } .stage-nav svg { width: 20px; height: 20px; } .stage-nav.prev { left: 8px; } .stage-nav.next { right: 8px; } }

/* nav buy button in the signature font (14 Nov) */
nav .buy { font-family: "coolgrades signature" !important; font-weight: 400 !important; font-size: 17px !important; letter-spacing: .02em; padding-top: 10px !important; padding-bottom: 10px !important; }

/* powergrades: camera row under the lead (15 Nov) */
.cams { font-size: 14px; color: var(--dim); margin: 14px 0 6px; line-height: 1.6; }
.cams a { color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--dim); }
.cams a:hover { color: var(--warm); }

/* powergrades: node-by-node build clip under the header (15 Nov) */
.build-strip video { display: block; width: 100%; height: auto; border-radius: 14px; background: #111; aspect-ratio: 2400 / 714; }
.build-strip .cap { color: var(--dim); font-size: 15px; margin-top: 12px; }
@media (max-width: 700px) { .build-strip video { aspect-ratio: 16 / 9; } }

/* powergrades header: the thypoch film with the log wipe, like the home hero (15 Nov) */
.vba video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vba .flat { position: absolute; inset: 0 auto 0 0; width: var(--x, 50%); backdrop-filter: saturate(.32) contrast(.6) brightness(1.18) sepia(.06); -webkit-backdrop-filter: saturate(.32) contrast(.6) brightness(1.18) sepia(.06); border-right: 2px solid rgba(255,255,255,.9); pointer-events: none; }
.vba .hero-knob, .vba .ba-tag { z-index: 2; }
.vba:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }

/* powergrades header: real log / graded film drawn on a canvas (15 Nov) */
.ptop .vba { aspect-ratio: 16 / 9; background: #111 url(media/film/thypoch-ba.jpg) center / cover; }
.vba video { opacity: 0; }
.vba canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.vba .flat { display: none; }
.vba .vline { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; margin-left: -1px; background: rgba(255,255,255,.9); box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; z-index: 1; }

/* powergrades header, stacked (15 Nov): title, then the big film, then text + buy side by side */
.ptop.stack { display: block; }
.ptop.stack h1 { margin: 0 0 28px; }
.ptop.stack .vba { width: 100%; border-radius: 10px; }
.ptop.stack .ptext { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; margin-top: 34px; }
.ptop.stack .lead { max-width: 620px; margin-top: 0; }
.ptop.stack .buybox { margin-top: 4px; }
@media (max-width: 900px) { .ptop.stack .ptext { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; } .ptop.stack h1 { margin-bottom: 20px; } }

/* subscribe pop-up (chrome.js), approved 15 Nov */
.sub-wrap { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(12,13,15,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.sub-wrap.open { opacity: 1; visibility: visible; transition: opacity .35s; }
.sub { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; width: min(820px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--ink); color: var(--bg); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.45); transform: translateY(14px) rotate(-.4deg); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.sub-wrap.open .sub { transform: none; }
.sub .pic { position: relative; min-height: 100%; }
.sub .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub .txt { padding: 46px 42px 38px; display: flex; flex-direction: column; gap: 14px; }
.sub h2 { font-family: "coolgrades signature" !important; font-weight: 400 !important; font-size: clamp(44px, 6vw, 64px) !important; line-height: .95 !important; letter-spacing: 0 !important; margin: 0; color: var(--bg); filter: none !important; }
.sub .deal { font-family: "coolgrades signature"; font-size: 26px; line-height: 1.15; margin: 0; }
.sub .promise { font: 400 15px/1.5 var(--ui); color: #5d5b57; margin: 0; }
.sub .btn { align-self: flex-start; margin-top: 8px; background: var(--bg); color: var(--ink); }
.sub .nah { align-self: flex-start; font: 500 13px var(--ui); color: #7d7a74; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.sub .x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-family: "coolgrades signature"; font-size: 34px; line-height: 1; color: var(--bg); z-index: 1; }
@media (max-width: 640px) {
  .sub { grid-template-columns: 1fr; }
  .sub .pic { height: 170px; }
  .sub .txt { padding: 26px 22px 24px; gap: 10px; }
  .sub .deal { font-size: 22px; }
  .sub .x { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
}
@media (prefers-reduced-motion: reduce) { .sub, .sub-wrap { transition: none; } }

/* bundle title in the signature font (15 Nov) */
.bundle h3 { font-family: "coolgrades signature" !important; font-weight: 400 !important; font-size: clamp(30px, 3.4vw, 42px) !important; line-height: 1 !important; letter-spacing: .01em !important; filter: none !important; }

/* try page, 16 nov: sliders on the left sit beside the picture; samples go under the picture, 7 across */
.try .pick { margin-top: 14px; }
.try .pick .samples { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 900px) {
  /* one column: picture first, the sliders right under it, then the samples */
  .try .panel, .try .stagecol { display: contents; }
  .try .field { order: 1; } .try .drop { order: 2; } .try .viewer { order: 3; } .try .check { order: 4; }
  .try .toggle { order: 5; } .try .panel > .btns { order: 6; } .try .pick { order: 7; margin-top: 0; }
  .try .honest { order: 8; margin-top: 0; } .try .scope-src { order: 9; } .try .scopes { order: 10; margin-top: 0; }
  .try .panel > .privacy { order: 11; }
  .try .pick .samples { grid-template-columns: repeat(4, 1fr); }
}
