/* OptimityFX — studio polish layer: grade wipe, Grade Room, slate metadata, shutter,
   cinematic reel, case studies, press strip, sound toggle, booking. */

/* ---------- Certification badge ---------- */
.cert { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 14px;
  border: 1px solid var(--line-2); background: linear-gradient(120deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.cert__dot { width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: conic-gradient(from 0deg, #ff3b3b, #ffb13b, #f5f23b, #3bff7a, #3bd5ff, #6b3bff, #ff3bd5, #ff3b3b);
  -webkit-mask: radial-gradient(circle, transparent 7px, #000 8px); mask: radial-gradient(circle, transparent 7px, #000 8px); }
.cert span:last-child { display: flex; flex-direction: column; font: 500 11px/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cert b { font: 700 14px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }

/* ---------- Raw ↔ graded wipe ---------- */
.gwipe { margin-top: 28px; }
.gwipe__stage { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #050507; border: 1px solid var(--line);
  cursor: ew-resize; touch-action: pan-y; user-select: none; isolation: isolate; }
.gwipe__stage::before { content: ""; position: absolute; inset: -40px; background: var(--bg) center / cover; filter: blur(34px) brightness(.32) saturate(1.2); opacity: 0; transition: opacity .5s; z-index: -1; }
.gwipe__stage.is-v::before { opacity: 1; }
.gwipe__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gwipe__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: rgba(255,255,255,.92); box-shadow: 0 0 18px rgba(0,0,0,.5); pointer-events: none; }
.gwipe__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%,-50%); border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,10,14,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1.5px solid #fff; color: #fff; }
.gwipe__knob svg { width: 22px; }
.gwipe__lab { position: absolute; top: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(5,5,7,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; transition: opacity .3s; }
.gwipe__lab em { font-style: normal; }
.gwipe__lab--l { left: 16px; opacity: calc(var(--split, .5) * 4 - .4); }
.gwipe__lab--r { right: 16px; opacity: calc((1 - var(--split, .5)) * 4 - .4); }
.gwipe__meta { position: absolute; left: 16px; bottom: 16px; font: 500 12px/1.3 var(--mono); letter-spacing: .04em; color: rgba(255,255,255,.75); text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.gwipe__meta b { color: #fff; font-family: var(--sans); font-size: 14px; margin-right: 8px; }
.gwipe__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.gwipe__thumbs::-webkit-scrollbar { display: none; }
.gthumb { flex: none; width: 150px; text-align: left; opacity: .55; transition: opacity .3s; }
.gthumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1.5px solid transparent; display: block; transition: border-color .3s; }
.gthumb span { display: block; margin-top: 6px; font: 600 12px/1.25 var(--sans); color: var(--ink); }
.gthumb small { display: block; font: 500 10px/1.4 var(--mono); color: var(--ink-3); letter-spacing: .04em; }
.gthumb:hover, .gthumb.is-on { opacity: 1; } .gthumb.is-on img { border-color: var(--gold); }
@media (max-width: 760px) { .gwipe__stage.is-v { aspect-ratio: 4 / 5; } .gwipe__lab em { display: none; } .gwipe__meta { font-size: 10px; } .gwipe__meta b { display: block; font-size: 12px; } .gthumb { width: 116px; } .gwipe__lab { font-size: 9px; top: 10px; } .gwipe__lab em { font-style: normal; }
.gwipe__lab--l { left: 10px; } .gwipe__lab--r { right: 10px; } }
.svc-grade { margin: 10px 0 clamp(60px, 8vw, 110px); }
.svc-grade__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Grade Room ---------- */
.groom { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(18px, 3vw, 40px); margin-top: clamp(40px, 5vw, 70px); align-items: center; }
.groom__frame { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #000; }
.groom__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .6s var(--ease); }
.groom__tint { position: absolute; inset: 0; pointer-events: none; transition: background .6s, opacity .6s; }
.groom__hud { position: absolute; left: 16px; top: 16px; display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(5,5,7,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 10px/1 var(--mono); letter-spacing: .12em; color: var(--ink-3); }
.groom__hud b { font: 600 13px/1 var(--sans); letter-spacing: 0; color: #fff; }
.groom__next { position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; border-radius: 999px; background: rgba(5,5,7,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 11px/1 var(--mono); color: #fff; border: 1px solid var(--line-2); }
.groom__h { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; margin: 12px 0 20px; }
.groom__h i { font-style: normal; background: var(--heaven); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gwheels { display: flex; gap: 18px; margin-bottom: 22px; }
.gwheel { position: relative; width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.9) 0 2%, transparent 60%), conic-gradient(from 90deg, #ff4d4d, #ffd24d, #7dff4d, #4dffd8, #4d8bff, #c04dff, #ff4d9e, #ff4d4d);
  box-shadow: inset 0 0 0 8px rgba(5,5,7,.55), 0 0 0 1px var(--line-2); }
.gwheel::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: radial-gradient(circle, rgba(5,5,7,.0), rgba(5,5,7,.55)); }
.gwheel i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; border: 2px solid #050507; z-index: 2; transition: transform .6s var(--ease), background .6s; }
.gwheel span { position: absolute; left: 0; right: 0; bottom: -20px; text-align: center; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.groom__looks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.glook { position: relative; padding: 9px 14px 9px 30px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 13px/1 var(--sans); color: var(--ink-2); background: rgba(255,255,255,.02); transition: border-color .3s, color .3s, background .3s; }
.glook::before { content: ""; position: absolute; left: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--sw, #888); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.glook[data-k="-1"]::before { background: var(--heaven); }
.glook:hover, .glook.is-on { color: var(--ink); border-color: var(--gold); background: rgba(243,196,126,.08); }
.groom__note { margin-top: 18px; color: var(--ink-3); font-size: 13px; }
@media (max-width: 900px) { .groom { grid-template-columns: 1fr; } }

/* ---------- Slate metadata on cards (idea 2) ---------- */
.slate { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; z-index: 3;
  font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.82); text-shadow: 0 1px 6px rgba(0,0,0,.8); opacity: 0; transform: translateY(-4px); transition: opacity .35s, transform .35s; }
.slate span { padding: 5px 7px; border-radius: 6px; background: rgba(5,5,7,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.slate .rec::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #ff3b3b; vertical-align: 1px; animation: recBlink 1.2s steps(2) infinite; }
@keyframes recBlink { 50% { opacity: 0; } }
.ccard:hover .slate, .wcard:hover .slate, .ccard:focus-visible .slate, .wcard:focus-visible .slate { opacity: 1; transform: none; }
@media (hover: none) { .slate { opacity: 1; transform: none; } .slate .tc { display: none; } }
.mi__made { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font: 500 10.5px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.mi__made b { display: block; font: 600 12.5px/1.3 var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); }
.mi__made .cert__dot { width: 22px; height: 22px; -webkit-mask: radial-gradient(circle, transparent 5px, #000 6px); mask: radial-gradient(circle, transparent 5px, #000 6px); }

/* ---------- Shutter page transition (idea 3) ---------- */
.shutter { position: fixed; inset: 0; z-index: 9998; pointer-events: none; display: grid; grid-template-rows: 1fr 1fr; }
.shutter i { background: #050507; transform: scaleY(0); transition: transform .26s cubic-bezier(.7,0,.3,1); }
.shutter i:first-child { transform-origin: top; } .shutter i:last-child { transform-origin: bottom; }
.shutter::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--heaven); opacity: 0; transition: opacity .15s; }
.shutter.is-closing i { transform: scaleY(1); } .shutter.is-closing::after { opacity: 1; transition-delay: .2s; }
.shutter.is-opening i { transform: scaleY(1); animation: shutOpen .34s .02s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes shutOpen { to { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .shutter { display: none; } }

/* ---------- Cinematic showreel (idea 4) ---------- */
.reel--cine { position: relative; }
.reel--cine::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, #000 0 var(--lb, 12.2%), transparent var(--lb, 12.2%) calc(100% - var(--lb, 12.2%)), #000 calc(100% - var(--lb, 12.2%))); transition: --lb .8s; }
.reel--cine:hover { --lb: 9%; }
.reel__chapters { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; gap: 6px; padding: 0 18px 14px; pointer-events: auto; }
.reel__chapters button { flex: 1; text-align: left; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); padding-top: 10px; position: relative; }
.reel__chapters button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; }
.reel__chapters button i { position: absolute; left: 0; top: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--gold); border-radius: 2px; }
.reel__chapters button.is-on { color: #fff; }
.reel__sound { position: absolute; right: 18px; top: calc(var(--lb, 12.2%) + 14px); z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(5,5,7,.55); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.reel__sound svg { width: 16px; }
.reel--cine .reel__tc { top: calc(var(--lb, 12.2%) + 14px); z-index: 5; }
@property --lb { syntax: '<percentage>'; inherits: true; initial-value: 12.2%; }
@media (max-width: 760px) { .reel__chapters button span { display: none; } .reel--cine { --lb: 6%; } }

/* ---------- Case studies (idea 5) ---------- */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.case { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); display: block; isolation: isolate; }
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: brightness(.7); }
.case:hover img { transform: scale(1.05); filter: brightness(.85); }
.case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,5,7,.92)); z-index: 0; }
.case__b { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.case__n { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.case__t { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1; margin: 10px 0 8px; color: #fff; }
.case__s { color: var(--ink-2); font-size: 14px; }
.case__go { display: inline-flex; margin-top: 14px; font: 600 13px/1 var(--sans); color: #fff; gap: 6px; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
@media (max-width: 1100px) { .cases { grid-template-columns: 1fr 1fr; } } @media (max-width: 640px) { .cases { grid-template-columns: 1fr; } .case { aspect-ratio: 16 / 11; } }
/* case study page */
.cs-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; padding: 140px 0 60px; overflow: hidden; }
.cs-hero video, .cs-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cs-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,7,.35), rgba(5,5,7,.2) 40%, rgba(5,5,7,.96)); }
.cs-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 9vw, 8rem); line-height: .88; letter-spacing: -.02em; margin: 14px 0 18px; }
.cs-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 30px; }
.cs-facts div { background: var(--bg); padding: 18px 20px; } .cs-facts dt { font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); } .cs-facts dd { margin: 8px 0 0; font-weight: 600; }
@media (max-width: 760px) { .cs-facts { grid-template-columns: 1fr 1fr; } }
.cs-step { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 40px 0; border-top: 1px solid var(--line); }
.cs-step h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; } .cs-step h3 small { display: block; font: 500 11px/1 var(--mono); color: var(--gold); letter-spacing: .12em; margin-bottom: 10px; }
.cs-step p { color: var(--ink-2); font-size: 17px; line-height: 1.7; max-width: 640px; }
.cs-frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; } .cs-frames img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.cs-frames--v { grid-template-columns: repeat(4, 1fr); } .cs-frames--v img { aspect-ratio: 9/16; }
@media (max-width: 760px) { .cs-step { grid-template-columns: 1fr; gap: 10px; } .cs-frames, .cs-frames--v { grid-template-columns: 1fr 1fr; } }
.cs-film { position: relative; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #000; margin-top: 20px; }
.cs-film video, .cs-film iframe { width: 100%; height: 100%; border: 0; display: block; }
.cs-film--v { aspect-ratio: 9/16; max-width: 420px; margin-inline: auto; }
.cs-next { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 40px 0 0; border-top: 1px solid var(--line); margin-top: 40px; }

/* ---------- Press & awards strip (idea 7) ---------- */
.pstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.pstrip a { background: var(--bg); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; transition: background .3s; min-height: 150px; }
.pstrip a:hover { background: var(--bg-2); }
.pstrip__src { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pstrip__t { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ink); }
.pstrip__d { margin-top: auto; font: 500 11px/1 var(--mono); color: var(--ink-3); display: flex; justify-content: space-between; }
.pstrip img { height: 40px; width: auto; object-fit: contain; align-self: flex-start; border-radius: 6px; }
@media (max-width: 900px) { .pstrip { grid-template-columns: 1fr 1fr; } }

/* ---------- Sound toggle (idea 9) ---------- */
.sfx-toggle { position: fixed; left: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px;
  background: rgba(10,10,14,.65); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.sfx-toggle .bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.sfx-toggle .bars i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; }
.sfx-toggle.is-on { color: var(--gold); border-color: rgba(243,196,126,.5); }
.sfx-toggle.is-on .bars i { animation: sfxBar .9s ease-in-out infinite alternate; } .sfx-toggle.is-on .bars i:nth-child(2) { animation-delay: .2s; } .sfx-toggle.is-on .bars i:nth-child(3) { animation-delay: .4s; } .sfx-toggle.is-on .bars i:nth-child(4) { animation-delay: .1s; }
@keyframes sfxBar { from { height: 3px; } to { height: 12px; } }
@media (max-width: 760px) { .sfx-toggle { left: 12px; bottom: 12px; padding: 8px 10px; } .sfx-toggle span:last-child { display: none; } }

/* ---------- Book a call (idea 10) ---------- */
.book-call { display: inline-flex; align-items: center; gap: 10px; }
.book-call .live { width: 8px; height: 8px; border-radius: 50%; background: #4dff9a; box-shadow: 0 0 0 0 rgba(77,255,154,.6); animation: livePulse 2s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 10px rgba(77,255,154,0); } 100% { box-shadow: 0 0 0 0 rgba(77,255,154,0); } }
.book-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; }
@media (max-width: 760px) { .book-float { right: 12px; bottom: 12px; } .book-float .btn { padding: 10px 14px; font-size: 13px; } }
.pstrip__d svg { width: 14px; height: 14px; flex: none; transition: transform .3s; } .pstrip a:hover .pstrip__d svg { transform: translate(2px,-2px); color: var(--gold); }
.pstrip__d { align-items: center; }
.case__n, .case__s { display: block; } .case__n { line-height: 1.5; } .case__go { width: max-content; }

@media (max-width: 760px) { .book-float .btn { font-size: 12.5px; padding: 9px 13px; } }

/* ---------- v2.4: badge icon, services imagery, crop fixes ---------- */
.cert__ico { width: 46px; height: 29px; flex: none; color: var(--ink-2); }
.mi__made .cert__ico { width: 36px; height: 23px; }
.cert span:last-child { min-width: 0; }

/* service media: always visible, project frame + live loop + credit */
.svc__media--live img { transform: none; }
.svc__media--live video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.svc__media--live.is-live video { opacity: 1; }
.svc__media--live .pill { z-index: 2; }
.svc__credit { position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 2; font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.svc__media--live::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55)); }

/* services hero film strip */
.fstrip { margin-top: clamp(34px, 5vw, 60px); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.fstrip__track { display: flex; gap: 12px; width: max-content; animation: fstrip 60s linear infinite; }
.fstrip:hover .fstrip__track { animation-play-state: paused; }
.fstrip__i { position: relative; flex: none; width: clamp(180px, 20vw, 280px); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.fstrip__i img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.82); }
.fstrip__i b { position: absolute; left: 10px; bottom: 8px; right: 10px; font: 600 12px/1.2 var(--sans); color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
@keyframes fstrip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fstrip__track { animation: none; } }

/* plan picture header */
.plan__img { position: relative; margin: -30px -28px 0; aspect-ratio: 16 / 8; overflow: hidden; }
.plan__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.plan:hover .plan__img img { transform: scale(1.05); }
.plan__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, var(--bg-2)); }
.plan__img span { position: absolute; left: 28px; bottom: 10px; z-index: 1; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.plan__flag { z-index: 3; }

/* "Pick a craft" picker */
.crafts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 900px; margin: 34px auto 0; text-align: left; }
.craft { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); display: block; }
.craft img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.55) saturate(.9); transition: filter .5s, transform 1s var(--ease); }
.craft:hover img { filter: brightness(.85); transform: scale(1.06); }
.craft span { position: absolute; left: 12px; right: 12px; bottom: 10px; font: 700 15px/1.15 var(--sans); color: #fff; }
.craft small { display: block; font: 500 10px/1 var(--mono); color: var(--gold); letter-spacing: .1em; margin-bottom: 5px; }
@media (max-width: 640px) { .crafts { grid-template-columns: 1fr 1fr; } .craft span { font-size: 13px; } }

/* crop fixes */
.footer__word { font-size: clamp(56px, 19vw, 400px); max-width: 100%; overflow: hidden; padding-bottom: .04em; }
.cs-step > * { min-width: 0; }
.deck__tag { max-width: calc(100% - 24px); white-space: normal; }
.gwipe__lab--l, .gwipe__lab--r { opacity: 1; }
.gthumb small { white-space: normal; }
.h2, .h-display, .cs-title, .doc-title { overflow-wrap: anywhere; }
.footer__word { overflow: visible; }
.wcard__badge { right: 14px; flex-wrap: wrap; }
.wcard__badge .pill { max-width: 100%; white-space: normal; line-height: 1.3; }
.founder__cap { flex-wrap: wrap; }
.founder__cap .pill { white-space: normal; line-height: 1.3; max-width: 100%; }
/* stop gradient / italic words losing their last letter's overhang */
.split .w { padding-left: .08em; padding-right: .08em; margin-left: -.08em; margin-right: -.08em; }
.glow-text, .h1 i, .h2 i, .h-display i, .groom__h i, .spot__t i, .cs-title i { padding-right: .1em; margin-right: -.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* conversion: lock estimate */
.lock { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.lock__form { display: flex; flex-wrap: wrap; gap: 8px; }
.lock__form input { padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--ink); font: inherit; min-width: 180px; }
.lock__note { color: var(--ink-3); font-size: 13px; }
.lock__done { color: var(--gold); font-weight: 600; }
