/* AKARA website v2 — a white, calm page; colour comes from the product itself (full-screen silent loops of the real app).
   One font (Noto Sans Hebrew), one deep blue, one thin gold accent. No glow, no gradients on buttons, no particles. */
:root {
  --navy: #304b58; --navy-2: #3b5a69; --ink: #0b1626; --text: #33404f; --muted: #566376;
  --line: #dfe5ec; --soft: #f4f6f9; --gold: #b98a3c; --white: #fff;
  --font: "Noto Sans Hebrew", system-ui, "Segoe UI", Arial, sans-serif;
  --w: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h6 { font-family: var(--font); color: var(--navy); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.ltr { direction: ltr; unicode-bidi: embed; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.skip { position: absolute; top: -60px; right: 12px; z-index: 1000; background: var(--gold); color: #1a1408; font-weight: 700; padding: 12px 18px; text-decoration: none; transition: top .15s; }
.skip:focus { top: 0; outline: 3px solid #fff; }
.inner { max-width: var(--w); margin-inline: auto; padding-inline: 32px; }

/* buttons: squared, flat */
.btn-w, .btn-d { display: inline-block; padding: 15px 30px; border-radius: 3px; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s, color .2s; border: 0; }
.btn-w { background: #fff; color: var(--navy); } .btn-w:hover { background: #e8edf3; }
.btn-d { background: var(--navy); color: #fff; } .btn-d:hover { background: var(--navy-2); }

/* ═════ header: transparent over the hero, white after the first scroll ═════ */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 84px; transition: background .25s, box-shadow .25s; color: #fff; }
.top .bar { max-width: 1440px; margin-inline: auto; height: 100%; padding-inline: 40px; display: flex; align-items: center; gap: 36px; }
.brand img { height: 46px; width: auto; }
.brand .l-dark { display: none; }
.top nav { flex: 1; }
.top nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.top nav a { text-decoration: none; font-size: 16px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { border-bottom-color: var(--gold); }
.acts { display: flex; align-items: center; gap: 22px; }
.login { text-decoration: none; font-size: 16px; font-weight: 500; }
.cta { text-decoration: none; background: #fff; color: var(--navy); padding: 11px 22px; border-radius: 3px; font-weight: 700; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; background: currentColor; }
.top.solid { background: #fff; color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.top.solid .l-light { display: none; } .top.solid .l-dark { display: block; }
.top.solid .cta { background: var(--navy); color: #fff; }

/* ═════ hero ═════ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--navy); color: #fff; }
.stage, .scrim { position: absolute; inset: 0; }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.stage video.on { opacity: 1; }
.scrim { background: linear-gradient(0deg, rgba(36, 58, 69, .45), rgba(36, 58, 69, 0) 35%); pointer-events: none; }
.copy { position: absolute; inset-inline-start: max(40px, 5vw); top: 50%; transform: translateY(-50%); width: min(600px, 46vw); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease, visibility .6s; }
.slide.on { opacity: 1; visibility: visible; transform: none; }
.slide h1, .slide h2 { color: #fff; font-weight: 700; font-size: clamp(36px, 4.6vw, 68px); margin-bottom: 22px; }
.slide p { font-size: 20px; line-height: 1.55; color: rgba(255, 255, 255, .86); margin: 0 0 34px; max-width: 30em; }
.ctrl { position: absolute; inset-inline-start: max(40px, 5vw); bottom: 46px; z-index: 3; display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.dots button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; font-size: 14px; font-weight: 600; }
.dots button.on { background: #fff; color: var(--navy); border-color: #fff; }
.pp, .ar { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; display: grid; place-items: center; }
.pp svg, .ar svg { width: 15px; height: 15px; fill: currentColor; }
.pp:hover, .ar:hover, .dots button:hover { background: rgba(255, 255, 255, .16); }
.pp[aria-pressed="true"] svg { transform: scaleX(-1); }

/* ═════ numbers ═════ */
.nums { background: var(--soft) radial-gradient(#ccd4de 1px, transparent 1.2px) 0 0 / 16px 16px; padding: 100px 0; text-align: center; }
.lede { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; margin-bottom: 60px; }
.nums ul { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.nums li svg { width: 54px; height: 54px; margin: 0 auto 14px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nums li b { display: block; font-size: clamp(40px, 4.4vw, 58px); font-weight: 700; color: var(--navy); line-height: 1.1; }
.nums li span { display: block; font-size: 16px; color: var(--muted); margin-top: 6px; }

/* ═════ what's new ═════ */
.band { padding: 110px 0; }
.h { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; margin-bottom: 52px; }
.h.c { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.card > a { display: block; overflow: hidden; background: var(--soft); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.card img.doc { object-position: top; }
.card:hover img { transform: scale(1.03); }
.card .tx { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 24px; font-weight: 700; }
.card p { margin: 0; font-size: 16.5px; }
.more { margin-top: auto; padding-top: 10px; color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); align-self: flex-start; padding-bottom: 2px; }

/* ═════ featured: the defects loop ═════ */
.feat { padding: 110px 0; background: var(--soft); }
.fwrap { display: grid; grid-template-columns: 1.55fr 1fr; align-items: center; }
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; touch-action: pan-y; background: #000; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .before { clip-path: inset(0 0 0 var(--pos)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba .handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-size: 20px; font-weight: 700; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); }
.ba .tag { position: absolute; top: 18px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: #fff; pointer-events: none; }
.ba .tag.b { right: 18px; background: #b23a2a; } .ba .tag.a { left: 18px; background: #1d7a4f; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; direction: ltr; }
.fcard { background: #fff; padding: 44px 44px 48px; margin-inline-start: -56px; position: relative; z-index: 2; box-shadow: 0 20px 50px -24px rgba(48, 75, 88, .35); }
.chip { display: inline-block; font-size: 14px; font-weight: 700; color: #1d7a4f; border: 1px solid #b9e3cc; background: #f1faf5; padding: 5px 12px; margin-bottom: 18px; }
.fcard h3 { font-size: 30px; font-weight: 700; margin-bottom: 18px; }
.fcard ol { margin: 0 0 28px; padding-inline-start: 22px; display: grid; gap: 12px; font-size: 17px; }
.fcard li b { color: var(--navy); }

/* ═════ who it's for ═════ */
.sol { padding: 110px 0; }
.tabs { display: flex; justify-content: center; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 52px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 14px 26px; font-size: 17px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.panel { display: none; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.panel.on { display: grid; }
.panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.panel h3 { font-size: 34px; font-weight: 700; margin-bottom: 16px; }
.panel p { margin: 0 0 30px; font-size: 19px; }

/* ═════ closing + footer ═════ */
.close { background: var(--navy); color: #fff; text-align: center; padding: 110px 0; }
.close h2 { color: #fff; font-size: clamp(32px, 4.2vw, 56px); font-weight: 700; margin-bottom: 14px; }
.close p { font-size: 20px; margin: 0 0 34px; color: rgba(255, 255, 255, .82); }
.foot { padding: 70px 0 34px; background: #fff; border-top: 1px solid var(--line); font-size: 16px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.flogo { width: 200px; height: auto; margin-bottom: 16px; }
.foot p { margin: 0; color: var(--muted); max-width: 32ch; }
.foot h6 { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--navy); }
.foot .cols a { display: block; padding: 5px 0; color: var(--text); text-decoration: none; } .foot .cols a:hover { color: var(--navy); text-decoration: underline; }
.foot .sub { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; }
.foot .sub a { color: var(--muted); }

/* ═════ phone ═════ */
@media (max-width: 960px) {
  .top { height: 70px; } .top .bar { padding-inline: 20px; gap: 12px; } .brand img { height: 40px; }
  .burger { display: flex; }
  .top nav { position: fixed; inset: 70px 0 auto 0; background: #fff; max-height: 0; overflow: hidden; transition: max-height .3s; }
  .top nav ul { flex-direction: column; gap: 0; padding: 8px 20px 20px; }
  .top nav a { color: var(--navy); display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  body.menu-open .top nav { max-height: 460px; }
  body.menu-open .top { background: #fff; color: var(--navy); } body.menu-open .top .l-light { display: none; } body.menu-open .top .l-dark { display: block; }
  .login { display: none; }
  .acts { margin-inline-start: auto; }
  /* phone: the video on top (the phone in view), the message underneath on the same deep blue */
  .hero { height: auto; min-height: 0; background: var(--navy); }
  .stage { position: relative; inset: auto; height: 62svh; min-height: 380px; }
  .stage video { object-position: 25% 50%; }
  .scrim { display: none; }
  .copy { position: static; transform: none; width: auto; padding: 22px 20px 0; }
  .slide h1, .slide h2 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 12px; }
  .slide p { font-size: 17px; margin-bottom: 20px; }
  .ctrl { position: static; padding: 24px 20px 40px; gap: 10px; }
  .dots { gap: 6px; } .dots button { width: 34px; height: 34px; }
  .ar { display: none; }
  .inner { padding-inline: 20px; }
  .nums, .band, .feat, .sol, .close { padding: 72px 0; }
  .nums ul { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .cards { grid-template-columns: 1fr; }
  .fwrap { grid-template-columns: 1fr; }
  .fcard { margin: -40px 16px 0; padding: 28px 24px 32px; }
  .panel.on { grid-template-columns: 1fr; gap: 24px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ═════ drawing-paper background + line drawings (replace photos until the final pictures arrive) ═════ */
body {
  background-color: #fbfcfe;
  background-image:
    linear-gradient(rgba(48, 75, 88, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(48, 75, 88, .075) 1px, transparent 1px),
    linear-gradient(rgba(48, 75, 88, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(48, 75, 88, .035) 1px, transparent 1px);
  background-size: 144px 144px, 144px 144px, 24px 24px, 24px 24px;
}
.nums { background: #f1f5fa; background-image:
    linear-gradient(rgba(48, 75, 88, .085) 1px, transparent 1px), linear-gradient(90deg, rgba(48, 75, 88, .085) 1px, transparent 1px),
    linear-gradient(rgba(48, 75, 88, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(48, 75, 88, .04) 1px, transparent 1px);
  background-size: 144px 144px, 144px 144px, 24px 24px, 24px 24px; }
.feat { background: #eef3f9; background-image:
    linear-gradient(rgba(48, 75, 88, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(48, 75, 88, .08) 1px, transparent 1px);
  background-size: 48px 48px; }
.foot { background: #fff; }
.card { background: #fff; }

.ln { fill: none; stroke: #304b58; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ln .t { stroke-width: 1; opacity: .5; }
.ln .go { stroke: #b98a3c; }
.ln .rd { stroke: #b23a2a; stroke-width: 4; }
.ln .gn { stroke: #1d7a4f; stroke-width: 5; }
.ln text { fill: #304b58; stroke: none; font-family: var(--font); font-size: 21px; font-weight: 500; }
.ln .callout { fill: #fff; stroke: #b23a2a; stroke-width: 1.4; }
.fig { display: block; aspect-ratio: 4 / 3; border: 1px solid var(--line); background-color: #f7f9fc; overflow: hidden;
  background-image: linear-gradient(rgba(48, 75, 88, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(48, 75, 88, .06) 1px, transparent 1px); background-size: 28px 28px; }
.fig svg { width: 100%; height: 100%; display: block; }
.card > a.fig { border: 0; border-bottom: 1px solid var(--line); }
.ba .pic { position: absolute; inset: 0; width: 100%; height: 100%; background-color: #f7f9fc; background-image: linear-gradient(rgba(48, 75, 88, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(48, 75, 88, .06) 1px, transparent 1px); background-size: 28px 28px; }
.panel .fig { aspect-ratio: 4 / 3; }
.wm { position: absolute; width: 520px; height: 390px; opacity: .4; pointer-events: none; }
.nums, .sol, .band { position: relative; overflow: hidden; }
.nums .inner, .sol .inner, .band .inner { position: relative; z-index: 1; }
@media (max-width: 960px) { .wm { display: none; } }

/* ═════ light hero (the loops now sit on drawing paper, so the header and copy are navy) ═════ */
.top { color: var(--navy); }
.brand .l-light { display: none; } .brand .l-dark { display: block; }
.top.solid .l-light, body.menu-open .top .l-light { display: none; }
.cta, .top.solid .cta { background: var(--navy); color: #fff; }
.hero { background: #f7f9fc; color: var(--navy); }
.scrim { display: none; }
.stage video { background: #f7f9fc; }
.slide h1, .slide h2 { color: var(--navy); }
.slide p { color: var(--text); }
.hero .btn-w { background: var(--navy); color: #fff; } .hero .btn-w:hover { background: var(--navy-2); }
.dots button, .pp, .ar { border-color: var(--navy); color: var(--navy); }
.dots button.on { background: var(--navy); color: #fff; }
.pp:hover, .ar:hover, .dots button:hover { background: rgba(48, 75, 88, .08); }
.dots button.on:hover { background: var(--navy); }
.vfig video { background: #f7f9fc; }
@media (max-width: 960px) { .hero { background: #f7f9fc; } }
/* the loops start under the header so the phone never sits behind the buttons */
.stage { inset: 84px 0 0 0; }
.copy { top: calc(50% + 42px); }
@media (max-width: 960px) {
  .hero { padding-top: 70px; }
  .stage { inset: auto; }
  .stage video { object-position: 12% 50%; }
  .copy { top: auto; }
}

/* ═════ cover: the AKARA drawing, headline on the empty paper to the right ═════ */
.cover { position: relative; margin-top: 84px; height: calc(100svh - 84px); min-height: 560px; max-height: 920px; overflow: hidden; background: #f6fafc; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%; }
.cover-copy { position: absolute; inset-inline-start: max(32px, 4vw); top: 50%; transform: translateY(-50%); width: min(500px, 31vw); }
.cover-copy h1 { font-size: clamp(34px, 3.7vw, 58px); font-weight: 700; margin-bottom: 20px; }
.cover-copy .cp { font-size: 18px; line-height: 1.6; max-width: 26em; margin: 0 0 28px; }
.cover-copy .kick { margin-bottom: 16px; }
.cbtns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-o.d { padding: 14px 28px; }
.demo-head { padding: 90px 0 8px; }
.demo-head .h { margin: 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; }
.demo-sec { height: min(78svh, 740px); min-height: 560px; margin-top: 0; }
.demo-sec .stage { inset: 0; }
.demo-sec .copy { top: 50%; }
@media (max-width: 1100px) { .cover-copy { width: 33vw; } .cover-copy .cp { font-size: 16px; } .cover-copy h1 { font-size: 32px; } }
@media (max-width: 960px) {
  .cover { margin-top: 70px; height: auto; min-height: 0; max-height: none; background: #f6fafc; }
  .cover-img { position: relative; inset: auto; height: 56svh; min-height: 330px; object-position: 12% 50%; }
  .cover-copy { position: static; transform: none; width: auto; padding: 26px 20px 40px; }
  .cover-copy h1 { font-size: clamp(32px, 9vw, 44px); }
  .demo-head { padding: 56px 0 0; }
  .demo-sec { height: auto; min-height: 0; padding-top: 24px; }
  .demo-sec .stage { position: relative; inset: auto; }
  .demo-sec .copy { top: auto; }
}
.btn-o { display: inline-block; padding: 14px 28px; border-radius: 3px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid rgba(255, 255, 255, .8); color: #fff; transition: background .2s; }
.btn-o:hover { background: rgba(255, 255, 255, .14); }
.btn-o.d { border-color: var(--navy); color: var(--navy); }
.btn-o.d:hover { background: rgba(48, 75, 88, .08); }

/* pencil-and-ink illustrations (made with the AKARA style reference) */
.ba { container-type: inline-size; }
.ba .pic { overflow: hidden; background-image: none; }
.ba .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co { position: absolute; display: grid; place-items: center; font-weight: 700; font-size: 2.1cqw; line-height: 1; white-space: nowrap; }
.before .co.bad { left: 77%; top: 18.8%; width: 19%; height: 9.8%; color: #b23a2a; }
.after .co.ok { left: 77.6%; top: 21.7%; width: 14.5%; height: 8.7%; color: #1d7a4f; }
.shot { border: 1px solid var(--line); background: #fff; overflow: hidden; aspect-ratio: 4 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card img { transition: none; }

/* where am I: the current page is marked in the menu */
.top nav a[aria-current="page"] { font-weight: 700; border-bottom-color: var(--gold); }
@media (max-width: 960px) {
  .top nav a[aria-current="page"] { border-bottom-color: var(--line); border-inline-start: 4px solid var(--gold); padding-inline-start: 12px; background: var(--soft); }
}
@media (max-width: 1280px) and (min-width: 961px) { .top .bar { gap: 20px; padding-inline: 24px; } .top nav ul { gap: 18px; } .top nav a { font-size: 15px; } .brand img { height: 40px; } }

/* ═════ cover carousel (illustrations) ═════ */
.cslides { position: absolute; inset: 0; display: grid; }
.cs { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.cs.on { opacity: 1; visibility: visible; }
.cimg { position: absolute; top: 0; bottom: 0; left: 0; container-type: inline-size; }
.cimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cimg.c169 { right: 0; }
.cimg.c169 img { object-position: 18% 50%; }
.cimg.c43 { width: min(66vw, calc((100svh - 84px) * 1.3334)); -webkit-mask-image: linear-gradient(to right, #000 66%, transparent 100%); mask-image: linear-gradient(to right, #000 66%, transparent 100%); }
.cimg.cmp { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%); mask-image: linear-gradient(to right, #000 88%, transparent 100%); }
.cimg .co { position: absolute; display: grid; place-items: center; font-weight: 800; font-size: 1.15cqw; line-height: 1; white-space: nowrap; }
.cimg .co.bad { left: 38.5%; top: 26.9%; width: 9.5%; height: 4.8%; color: #b23a2a; }
.cimg .co.ok { left: 88.8%; top: 28.4%; width: 7.4%; height: 4.3%; color: #1d7a4f; }
.ccopy { position: absolute; inset-inline-start: max(32px, 4vw); top: 50%; transform: translateY(-50%); width: min(500px, 31vw); }
.ccopy h1, .ccopy h2 { font-size: clamp(34px, 3.7vw, 58px); font-weight: 700; margin-bottom: 20px; }
.ccopy .cp { font-size: 18px; line-height: 1.6; max-width: 26em; margin: 0 0 28px; }
.ccopy .kick { margin-bottom: 16px; }
.cover .ctrl { z-index: 3; }
@media (max-width: 1100px) { .ccopy { width: 33vw; } .ccopy .cp { font-size: 16px; } .ccopy h1, .ccopy h2 { font-size: 32px; } }
@media (max-width: 960px) {
  .cover { height: auto; min-height: 0; max-height: none; }
  .cslides { position: relative; inset: auto; }
  .cimg, .cimg.c169, .cimg.c43 { position: relative; width: 100%; left: auto; right: auto; top: auto; bottom: auto; aspect-ratio: 4 / 3; -webkit-mask-image: none; mask-image: none; }
  .cimg.c169 { aspect-ratio: 16 / 11; }
  .cimg .co { font-size: 2.2cqw; }
  .ccopy { position: static; transform: none; width: auto; padding: 24px 20px 0; }
  .ccopy h1, .ccopy h2 { font-size: clamp(30px, 8.5vw, 42px); }
  .cover .ctrl { padding-top: 22px; }
}

/* the slides sit on the same drafting paper as the drawings, so each picture appears to continue into the page */
.cover { background-color: #f8fcfe; background-image: linear-gradient(rgba(76, 108, 132, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(76, 108, 132, .11) 1px, transparent 1px); background-size: 30px 30px; }
.cimg.c43 { -webkit-mask-image: linear-gradient(to right, #000 56%, transparent 100%); mask-image: linear-gradient(to right, #000 56%, transparent 100%); }
.cimg.cmp { -webkit-mask-image: linear-gradient(to right, #000 91%, transparent 100%); mask-image: linear-gradient(to right, #000 91%, transparent 100%); }
@media (max-width: 960px) { .cimg.c43, .cimg.cmp { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); } }

/* one drafting sheet across the whole slide: the same squares run over the picture and the page, so the drawing simply continues */
.cover { background-image: none; background-color: #f8fcfe; }
.cs::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply;
  background-image: linear-gradient(rgba(76, 108, 132, .15) 1px, transparent 1px), linear-gradient(90deg, rgba(76, 108, 132, .15) 1px, transparent 1px),
    linear-gradient(rgba(76, 108, 132, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(76, 108, 132, .06) 1px, transparent 1px);
  background-size: 150px 150px, 150px 150px, 30px 30px, 30px 30px; }
.ccopy { z-index: 2; }
.cimg { z-index: 0; }
.cimg.c43 { -webkit-mask-image: linear-gradient(to right, #000 80%, transparent 100%); mask-image: linear-gradient(to right, #000 80%, transparent 100%); }
.cimg.cmp { -webkit-mask-image: linear-gradient(to right, #000 93%, transparent 100%); mask-image: linear-gradient(to right, #000 93%, transparent 100%); }
