/* OPRONE shared styles: used by /work and /health-check */
:root {
  --blue: #1D3BFF;
  --violet: #6B1FF5;
  --grad: linear-gradient(90deg, #1D3BFF 0%, #6B1FF5 100%);
  --ink: #0F172A;
  --text: #1F2937;
  --muted: #5B6476;
  --line: #E5E7EB;
  --soft: #F4F5F8;
  --lav: #F6F3FF;
  --footer: #0D1220;
  --ok: #15803D;
  --ok-bg: #E7F6EC;
  --warn: #B45309;
  --warn-bg: #FEF3E2;
  --wrap: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: #fff;
  font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin-top: 1rem; }
.section { padding: 5.5rem 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 680px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem var(--font); padding: .9rem 1.5rem; border-radius: 8px;
  background: #111111; color: #fff; text-decoration: none; border: 0; cursor: pointer;
  box-shadow: none; transition: background-color .2s, transform .2s;
}
/* Solid black like the logo, same as the React site's buttons (no gradient, no glow) */
.btn:hover { transform: translateY(-1px); }
.btn:not(.btn-ghost):not(.btn-dark):not(.btn-line):not(.btn-orange):not(.btn-aiqo):hover { background: #2E2E2E; }
.btn-orange:hover, .btn-aiqo:hover, .btn-dark:hover { filter: brightness(1.08); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--soft); filter: none; transform: none; }
.btn-dark { background: #1A2235; box-shadow: none; }

.pill {
  display: inline-block; padding: .45rem .95rem; border-radius: 10px;
  background: var(--soft); border: 1px solid var(--line); color: var(--text);
  font-size: .92rem; font-weight: 500;
}

/* Header */
/* Matches the React <Header>: blurred white bar, image logo, bordered nav pills, gradient CTA */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .05), 0 4px 6px -4px rgba(0, 0, 0, .05);
}
/* Full width like the React header: logo and menu pinned near the screen edges */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; width: 100%; max-width: none; padding: 0 34.85px 0 35.2px; }
@media (min-width: 768px) and (max-width: 1023px) { .site-header .wrap { padding: 0 23.2px 0 26.4px; } }
@media (max-width: 767px) { .site-header .wrap { padding: 0 1rem 0 17.6px; } }
.logo { text-decoration: none; display: inline-flex; align-items: center; }
.logo img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) {
  color: #374151; text-decoration: none; padding: .375rem .75rem; border-radius: 6px;
  border: 1px solid transparent; font-size: 1rem; transition: border-color .2s, color .2s;
}
.nav a:not(.btn):hover { color: #111827; border-color: #D1D5DB; }
.nav a[aria-current="page"] { border-color: #D1D5DB; background: rgba(249, 250, 251, .5); }
.nav .btn, .site-header .btn {
  padding: .625rem 1.5rem; border-radius: 8px; font-size: 1rem; font-weight: 500;
  background: #111111; box-shadow: none;
}
.nav .btn:hover, .site-header .btn:hover { background: #2E2E2E; transform: translateY(-2px); }
.menu-btn { display: none; background: none; border: 0; padding: .75rem; margin-right: -.75rem; cursor: pointer; color: #374151; }
.menu-btn svg { width: 32px; height: 32px; }
/* Offer pages (ads landing): logo + one button, no menu */
.site-header.offer .btn { padding: .6rem 1.2rem; }

/* Page hero */
.page-hero { padding: 5rem 0 4rem; background: linear-gradient(180deg, #EEF0F5 0%, var(--lav) 100%); }
.page-hero .pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }

/* Work: filters and grid */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter {
  font: 500 .95rem var(--font); padding: .6rem 1.1rem; border-radius: 10px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--text);
}
.filter:hover { background: var(--soft); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
.card { text-decoration: none; color: inherit; display: block; }
.card[hidden] { display: none; }
.card .thumb { transition: transform .3s ease; }
.card:hover .thumb { transform: scale(1.015); }
.card-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; color: var(--muted); font-size: .92rem; }
.card h3 { margin-top: .35rem; font-size: 1.35rem; }
.card p { color: var(--muted); margin-top: .35rem; }
.card:hover h3 { color: var(--blue); }

/* Placeholder thumbnails: replace each with <img src="..." alt="..."> */
.thumb {
  aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; position: relative;
  display: grid; place-items: center; color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.wide { aspect-ratio: 16 / 9; }
.t-blue   { background: linear-gradient(135deg, #2541FF, #7C9BFF); }
.t-violet { background: linear-gradient(135deg, #5B21E6, #B79CFF); }
.t-slate  { background: linear-gradient(135deg, #334155, #94A3B8); }
.t-teal   { background: linear-gradient(135deg, #0F766E, #5EEAD4); }
.t-amber  { background: linear-gradient(135deg, #C2410C, #FDBA74); }
.t-rose   { background: linear-gradient(135deg, #BE185D, #F9A8D4); }

/* CTA band */
.cta-band {
  border-radius: 24px; padding: 3.5rem; background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
  background-image: radial-gradient(circle at 100% 0%, rgba(107,31,245,.55), transparent 55%), radial-gradient(circle at 0% 100%, rgba(29,59,255,.45), transparent 50%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #C7CCE0; margin-top: .75rem; max-width: 56ch; }
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.cta-pair .cta-band { grid-template-columns: 1fr; padding: 2.5rem; }
.cta-pair .cta-band.light { background: var(--lav); background-image: none; color: var(--text); border: 1px solid #E6E0FA; }
.cta-pair .cta-band.light h2 { color: var(--ink); }
.cta-pair .cta-band.light p { color: var(--muted); }
.cta-band .btn { justify-self: start; }

/* Case study */
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); }
.cs-hero h1 { max-width: 18ch; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #DCDDF0; }
.facts dt { font-size: .88rem; color: var(--muted); }
.facts dd { margin: .2rem 0 0; font-weight: 600; color: var(--ink); }
.cs-cover { margin-top: -2.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.two-col p { color: var(--muted); margin-top: 1rem; }
.ticks { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.ticks li { position: relative; padding: .45rem 0 .45rem 1.9rem; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .72rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat, var(--grad);
}
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.metric { padding: 1.75rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.metric strong {
  display: block; font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric span { display: block; margin-top: .6rem; color: var(--muted); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.gallery .full { grid-column: 1 / -1; }
.video-frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--ink); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
blockquote.quote { margin: 0; max-width: 820px; }
blockquote.quote p { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.4; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
blockquote.quote footer { margin-top: 1.25rem; color: var(--muted); }
.tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.next-link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-decoration: none; padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); }
.next-link span { color: var(--muted); }
.next-link strong { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.02em; }
.next-link:hover strong { color: var(--blue); }

/* Health check */
.hc-hero { padding: 4.5rem 0 5rem; background: linear-gradient(180deg, #EEF0F5 0%, var(--lav) 100%); }
.hc-hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.hc-hero h1 { max-width: 15ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.promises { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: .97rem; }
.promises li::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--grad); margin-right: .55rem; vertical-align: middle; }

.report { background: #fff; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(29, 37, 90, .35); }
.report-head { background: var(--ink); color: #fff; padding: 1.2rem 1.5rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.report-head strong { font-size: 1.05rem; }
.report-head span { font-size: .85rem; color: #A9B1C7; }
.report ul { list-style: none; margin: 0; padding: .4rem 1.5rem 0; }
.report li { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.report li:last-child { border-bottom: 0; }
.report li strong { color: var(--ink); font-weight: 600; }
.report li small { grid-column: 1; color: var(--muted); font-size: .88rem; }
.status { grid-row: 1 / span 2; grid-column: 2; font-size: .82rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; white-space: nowrap; }
.status.ok { background: var(--ok-bg); color: var(--ok); }
.status.warn { background: var(--warn-bg); color: var(--warn); }
.report-foot { margin: .25rem 1.5rem 1.5rem; padding: 1rem 1.1rem; background: var(--lav); border-radius: 12px; font-size: .95rem; }
.report-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .report li, .report-foot { opacity: 0; animation: rowIn .45s ease-out forwards; }
  .report li:nth-child(1) { animation-delay: .35s; }
  .report li:nth-child(2) { animation-delay: .7s; }
  .report li:nth-child(3) { animation-delay: 1.05s; }
  .report li:nth-child(4) { animation-delay: 1.4s; }
  .report-foot { animation-delay: 1.85s; }
  @keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.check { padding: 1.75rem; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.check.featured { grid-column: span 2; background: var(--lav); border-color: #E6E0FA; }
.check .ico { width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 1rem; }
.check.featured .ico { background: #fff; }
.check p { color: var(--muted); margin-top: .4rem; }

.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.3rem; left: 3.4rem; right: -1.25rem; border-top: 1px dashed #C9CDE0; }
.steps p { color: var(--muted); margin-top: .45rem; }

.founder { display: grid; grid-template-columns: 200px 1fr; gap: 3rem; align-items: start; }
.avatar { aspect-ratio: 1; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 3rem; font-weight: 700; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder .body { color: var(--muted); max-width: 64ch; }
.founder .body p + p { margin-top: 1rem; }
.founder .body strong { color: var(--ink); }
.founder .links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

.faq { margin-top: 2.5rem; max-width: 780px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 2.5rem 1.4rem 0; max-width: 64ch; }

/* Form (matches the main site's consultation form) */
.form-section { background: linear-gradient(135deg, #F3F5FB 0%, var(--lav) 100%); }
.form-area { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.dots { list-style: none; padding: 0; margin: 2rem 0 0; }
.dots li { padding: .4rem 0 .4rem 1.4rem; position: relative; }
.dots li::before { content: ""; position: absolute; left: 0; top: .95rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--grad); }
.form-card { background: #fff; border: 1px solid #E6E3F5; border-radius: 20px; padding: 2.25rem; box-shadow: 0 24px 50px -30px rgba(70, 50, 160, .3); }
.field { margin-bottom: 1.25rem; }
.field > label, fieldset legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: .45rem; font-size: .97rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #FAFBFC;
  border: 1px solid #D9DCE3; border-radius: 12px; padding: .85rem 1rem;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 59, 255, .15); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-block; padding: .5rem .95rem; border: 1px solid #D9DCE3; border-radius: 10px; font-size: .94rem; background: #FAFBFC; }
.choices input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choices input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.error { display: none; color: #B42318; font-size: .88rem; margin-top: .35rem; }
.field.invalid input { border-color: #B42318; }
.field.invalid .error { display: block; }
.form-card .btn { width: 100%; padding: 1.05rem; font-size: 1.05rem; }
.fine { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 1rem; }
.success { display: none; text-align: center; padding: 2rem .5rem; }
.success h3 { font-size: 1.5rem; }
.success p { color: var(--muted); margin-top: .75rem; }
.form-card.done form { display: none; }
.form-card.done .success { display: block; }

/* Footer (matches main site) */
/* Matches the React <Footer> (Tailwind gray-900 / gray-300, text-sm) */
.site-footer { background: #111827; color: #D1D5DB; padding: 4rem 0; font-size: .875rem; line-height: 1.6; }
.site-footer .wrap { width: min(1280px, 100% - 3rem); }
.site-footer a { color: #D1D5DB; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-bottom: 3rem; }
.foot-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.site-footer .about { line-height: 1.625; margin-bottom: 1.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; margin: 0 0 1rem; }
.foot-links, .foot-cats, .foot-legal { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.foot-links { margin-bottom: 1.5rem; }
.socials { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.socials a { width: 24px; height: 24px; opacity: .7; transition: opacity .2s; }
.socials a:hover { opacity: 1; }
.socials img { width: 100%; height: 100%; filter: brightness(0) invert(1); }
.talk-btn { display: inline-block; margin: 0 0 2rem; padding: .75rem 1.5rem; border-radius: 8px; background: #1F2937; color: #fff !important; font-weight: 600; font-size: 1rem; }
.talk-btn:hover { background: #374151; }
.site-footer .lead-in { margin-bottom: 1rem; }
.hq { margin-bottom: 1rem; }
.hq-title { color: #fff; font-weight: 600; margin-bottom: .5rem; }
.contact-lines strong { font-weight: 600; }
.foot-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.foot-head h4 { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: .5rem; }
.to-top i { width: 24px; height: 24px; border: 2px solid #9CA3AF; border-radius: 4px; display: grid; place-items: center; transition: border-color .2s; }
.to-top:hover i { border-color: #fff; }
.foot-legal { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #1F2937; }
.copyright { padding-top: 2rem; border-top: 1px solid #1F2937; }

/* Responsive */
@media (max-width: 960px) {
  .hc-hero .wrap, .form-area, .two-col, .cta-band, .cta-pair { grid-template-columns: 1fr; }
  .report { max-width: 540px; }
  .checks { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
}
/* Same breakpoint as Tailwind md: (768px) used by the React header/footer */
@media (max-width: 767px) {
  .menu-btn { display: block; }
  .logo img { height: 40px; }
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.5rem; border-top: 1px solid #F3F4F6; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .05); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .5rem .75rem; }
  .nav .btn { width: 100%; padding: .75rem 1.5rem; }
  .foot-grid { grid-template-columns: 1fr; text-align: center; }
  .socials, .foot-head { justify-content: center; }
  .to-top span { display: none; }
  .foot-head .to-top { margin-left: 1rem; }
  .copyright { text-align: center; }
}
@media (min-width: 768px) and (max-width: 1023px) { .logo img { height: 48px; } .nav { gap: 1rem; } }
@media (max-width: 640px) {
  .section { padding: 3.75rem 0; }
  .grid, .metrics, .gallery, .checks, .steps, .row-2 { grid-template-columns: 1fr; }
  .check.featured { grid-column: auto; }
  .founder { grid-template-columns: 1fr; gap: 1.5rem; }
  .avatar { width: 130px; font-size: 2.2rem; }
  .cta-band, .cta-pair .cta-band { padding: 2rem; }
  .form-card { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card .thumb { transition: none; } }
a.pill { text-decoration: none; }
a.pill:hover { background: #fff; }
.page-hero .section-head { max-width: 780px; }

/* ===== Case study v2 components ===== */
.cs { --accent: var(--blue); --accent-soft: var(--lav); --accent-ink: var(--ink); }
.cs .eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--muted); }
.cs .eyebrow b { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); display: inline-block; }
.cs-top { padding: 4rem 0 0; background: var(--accent-soft); }
.cs-top h1 { max-width: 20ch; margin-top: 1rem; }
.cs-top .lede { max-width: 64ch; }
.cs-top .facts { border-top-color: rgba(0,0,0,.08); }
.cs-stage { padding: 3rem 0 0; background: linear-gradient(180deg, var(--accent-soft) 55%, #fff 55%); }

.browser { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(15,23,42,.1); box-shadow: 0 40px 80px -40px rgba(15,23,42,.45); }
.browser-bar { display: flex; align-items: center; gap: .45rem; padding: .7rem 1rem; background: #F1F2F5; border-bottom: 1px solid var(--line); }
.browser-bar i { width: .7rem; height: .7rem; border-radius: 50%; background: #D5D8DF; display: block; }
.browser-bar span { margin-left: .75rem; flex: 1; max-width: 340px; background: #fff; border-radius: 6px; padding: .2rem .8rem; font-size: .8rem; color: var(--muted); }
.browser img, .shot img { width: 100%; height: auto; }
.shot { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(15,23,42,.4); }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: .93rem; margin-top: .85rem; }

.kicker { font-size: .95rem; font-weight: 600; color: var(--accent); margin-bottom: .75rem; display: block; }
.intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; }
.intro-grid .big { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; }
.side-card { background: var(--soft); border-radius: 18px; padding: 1.75rem; }
.side-card h3 { font-size: 1rem; }
.side-card + .side-card { margin-top: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; }
.chip { font-size: .88rem; font-weight: 500; padding: .35rem .75rem; border-radius: 8px; background: #fff; border: 1px solid var(--line); }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.feature { border-radius: 18px; padding: 1.9rem; background: #fff; border: 1px solid var(--line); }
.feature .num { font-size: .85rem; font-weight: 600; color: var(--accent); }
.feature h3 { margin-top: .4rem; font-size: 1.25rem; }
.feature > p { color: var(--muted); margin-top: .5rem; }
.feature .ticks li { font-size: .97rem; }

/* Architecture flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-top: 3rem; position: relative; }
.node { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; }
.node small { display: block; font-size: .8rem; font-weight: 600; color: var(--accent); }
.node strong { display: block; color: var(--ink); font-size: 1.08rem; margin-top: .25rem; }
.node p { color: var(--muted); font-size: .92rem; margin-top: .5rem; }
.node:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -2.05rem; width: 1.6rem; height: 2px; background: var(--accent);
}
.node:not(:last-child)::before {
  content: ""; position: absolute; top: calc(50% - 5px); right: -2.15rem; border: 6px solid transparent; border-left: 8px solid var(--accent); border-right: 0;
}
.node.dark { background: var(--accent-ink); border-color: var(--accent-ink); }
.node.dark strong { color: #fff; }
.node.dark p { color: rgba(255,255,255,.72); }
.node.dark small { color: #E8C98F; }

/* Annotated screenshot */
.annot-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: center; margin-top: 3rem; }
.annot { position: relative; }
.pin {
  position: absolute; width: 2rem; height: 2rem; margin: -1rem 0 0 -1rem; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center;
  box-shadow: 0 0 0 5px rgba(255,255,255,.75), 0 6px 14px rgba(0,0,0,.25);
}
@media (prefers-reduced-motion: no-preference) {
  .pin::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2.4s ease-out infinite; }
  @keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
}
.annot-list { list-style: none; padding: 0; margin: 0; counter-reset: a; }
.annot-list li { counter-increment: a; position: relative; padding: 0 0 1.4rem 2.9rem; }
.annot-list li::before {
  content: counter(a); position: absolute; left: 0; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center;
}
.annot-list strong { color: var(--ink); display: block; }
.annot-list span { color: var(--muted); font-size: .97rem; }

.callout { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 2rem; border-radius: 18px; background: var(--accent-ink); color: rgba(255,255,255,.8); }
.callout h3 { color: #fff; font-size: 1.3rem; }
.callout p { margin-top: .5rem; max-width: 70ch; }
.callout .ico2 { width: 3rem; height: 3rem; border-radius: 14px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #E8C98F; }

/* Step viewer */
.viewer { margin-top: 3rem; display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.viewer-stage { position: relative; border-radius: 18px; overflow: hidden; background: var(--accent-soft); aspect-ratio: 1543 / 928; }
.viewer-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.viewer-stage img.on { opacity: 1; }
.step-tabs { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.step-tabs button {
  width: 100%; text-align: left; font: inherit; cursor: pointer; padding: 1rem 1.1rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--text); display: grid; grid-template-columns: 2rem 1fr; gap: .2rem .8rem;
}
.step-tabs button b { grid-row: span 2; width: 2rem; height: 2rem; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: .9rem; color: var(--ink); }
.step-tabs button strong { color: var(--ink); font-weight: 600; }
.step-tabs button small { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.step-tabs button[aria-selected="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.step-tabs button[aria-selected="true"] b { background: var(--accent); color: #fff; }

.faces { display: grid; grid-template-columns: 140px repeat(3, 1fr); gap: 1rem; margin-top: 3rem; align-items: center; }
.faces img { width: 100%; border-radius: 16px; aspect-ratio: 1; object-fit: cover; }
.faces .label { font-weight: 600; color: var(--ink); }
.faces .label small { display: block; font-weight: 400; color: var(--muted); }
.faces .colhead { text-align: center; font-size: .9rem; color: var(--muted); }

.assets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.asset { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 1rem; text-align: center; }
.asset img { height: 150px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.asset span { display: block; margin-top: .6rem; font-size: .9rem; color: var(--muted); }
.asset.more { display: flex; flex-direction: column; justify-content: center; background: var(--accent-soft); border-color: transparent; text-align: left; padding: 1.5rem; }
.asset.more strong { color: var(--ink); }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.principle { padding: 1.4rem; border-radius: 16px; background: rgba(255,255,255,.75); }
.principle strong { color: var(--ink); display: block; }
.principle span { color: var(--muted); font-size: .94rem; display: block; margin-top: .35rem; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }

/* Theme: SerendiGem */
.theme-gem { --accent: #9A7434; --accent-soft: #F4EFE6; --accent-ink: #0F1B3A; }
.theme-gem h1, .theme-gem .big { font-family: Georgia, "Times New Roman", serif; letter-spacing: -0.015em; font-weight: 500; }
/* Theme: Caregiving */
.theme-care { --accent: #15606A; --accent-soft: #F7E7D3; --accent-ink: #15363B; }
.theme-care .callout .ico2 { color: #F4C99A; }

@media (max-width: 960px) {
  .intro-grid, .annot-wrap, .viewer, .duo { grid-template-columns: 1fr; gap: 2rem; }
  .cols-3 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow .node::before, .flow .node::after { display: none; }
  .principles, .assets { grid-template-columns: 1fr 1fr; }
  .step-tabs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; gap: 1rem; }
  .faces { grid-template-columns: 70px repeat(3, 1fr); gap: .5rem; }
  .faces .label small { display: none; }
  .callout { grid-template-columns: 1fr; }
  .pin { width: 1.5rem; height: 1.5rem; margin: -.75rem 0 0 -.75rem; font-size: .75rem; }
  .step-tabs button small { display: none; }
}
.asset { padding: .6rem; }
.asset img { width: 100%; height: 210px; object-fit: cover; border-radius: 10px; }
.asset span { margin: .6rem 0 .3rem; }
.card .thumb img { position: absolute; inset: 0; }
.theme-care .viewer-stage img[data-step="2"] { object-fit: contain; object-position: center bottom; }
.faces { max-width: 860px; }
@media (max-width: 640px) { .faces { grid-template-columns: 76px repeat(3, 1fr); } .faces .label { font-size: .8rem; } .next-link { flex-direction: column; align-items: flex-start; } }

/* ===== SerendiGem v2 ===== */
.journey { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.journey .j { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); }
.journey .j b { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; border: 1px solid var(--accent); color: var(--accent); background: #fff; }
.journey .j.done b { background: var(--accent); color: #fff; }
.journey .j-line { width: 48px; border-top: 1px solid #CDBF9F; }
.stack { margin-top: 3.5rem; }
.stack .s1 { width: 70%; position: relative; z-index: 1; }
.stack .s2 { width: 62%; margin: -21% 0 0 auto; position: relative; z-index: 2; }
.tagged { position: relative; }
.tag {
  position: absolute; top: -.95rem; left: 1.25rem; z-index: 3; background: var(--accent-ink); color: #fff;
  font-size: .82rem; font-weight: 500; padding: .4rem .9rem; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4);
}
.tag em { font-style: normal; color: #E8C98F; margin-right: .35rem; }
.points-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.point { border-top: 2px solid var(--accent); padding-top: 1rem; }
.point strong { color: var(--ink); display: block; }
.point span { color: var(--muted); font-size: .95rem; display: block; margin-top: .3rem; }
.browser .annot { position: relative; }
.annot-list.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2.5rem; margin-top: 2.75rem; }
.annot-list.cols li { padding-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1.35fr; gap: 4rem; align-items: center; }
.split .ticks { margin-top: 1.5rem; }
@media (max-width: 960px) {
  .stack .s1, .stack .s2 { width: 100%; }
  .stack .s2 { margin: 2.5rem 0 0; }
  .points-4 { grid-template-columns: 1fr 1fr; }
  .annot-list.cols { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .points-4, .annot-list.cols { grid-template-columns: 1fr; }
  .journey .j-line { width: 20px; }
}

/* ===== Folaio ===== */
.theme-folaio { --accent: #E8641B; --accent-soft: #FFF2E9; --accent-ink: #191513; }
.theme-folaio .cs-top {
  background: #141110; background-image: radial-gradient(ellipse at 100% 0%, rgba(232,100,27,.45), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(232,100,27,.18), transparent 50%);
  color: #CFC7C1; padding-bottom: 1rem;
}
.theme-folaio .cs-top h1 { color: #F6F1EC; }
.theme-folaio .cs-top h1 em { font-style: normal; color: #F59A4B; }
.theme-folaio .cs-top .lede { color: #BDB4AD; }
.theme-folaio .cs-top .crumbs, .theme-folaio .cs-top .crumbs a, .theme-folaio .cs-top .eyebrow { color: #A79D96; }
.theme-folaio .cs-top .facts { border-top-color: rgba(255,255,255,.12); }
.theme-folaio .cs-top .facts dt { color: #A79D96; }
.theme-folaio .cs-top .facts dd { color: #F6F1EC; }
.theme-folaio .cs-stage { background: linear-gradient(180deg, #141110 50%, #fff 50%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn-orange { background: #E8641B; box-shadow: 0 10px 24px -12px rgba(232,100,27,.9); }
.btn-line { background: transparent; border: 1px solid rgba(255,255,255,.25); color: #F6F1EC; box-shadow: none; }
.btn-line:hover { background: rgba(255,255,255,.08); filter: none; }
.btn svg { flex: none; }

.appwin { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(15,23,42,.12); box-shadow: 0 40px 80px -40px rgba(20,17,16,.55); }
.appwin-bar { display: flex; align-items: center; gap: .45rem; padding: .65rem 1rem; background: #EFEDEB; border-bottom: 1px solid #E2DFDB; }
.appwin-bar i { width: .7rem; height: .7rem; border-radius: 50%; background: #D6D2CE; display: block; }
.appwin-bar span { flex: 1; text-align: center; font-size: .8rem; color: #7A726C; margin-right: 2.6rem; }
.appwin .annot { position: relative; }
.appwin img { width: 100%; height: auto; display: block; }
.theme-folaio .viewer { grid-template-columns: 1fr 320px; }
.theme-folaio .viewer-stage { aspect-ratio: 1280 / 800; border-radius: 0; background: #fff; }

.promises-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.promise { padding: 1.6rem; border-radius: 18px; background: #191513; color: #BDB4AD; }
.promise strong { display: block; color: #F6F1EC; font-size: 1.6rem; letter-spacing: -0.02em; }
.promise strong em { font-style: normal; color: #F59A4B; }
.promise span { display: block; margin-top: .4rem; font-size: .96rem; }

.video-split { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 4rem; align-items: center; }
.video-card { border-radius: 22px; overflow: hidden; background: #141110; box-shadow: 0 40px 80px -36px rgba(20,17,16,.6); aspect-ratio: 1080 / 1350; }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.quote-line { font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.4; color: var(--ink); font-weight: 600; letter-spacing: -0.015em; margin-top: 1.25rem; max-width: 26ch; }
.quote-line em { font-style: normal; color: var(--accent); }

.theme-folaio .flow .node.dark small { color: #F59A4B; }
.gh-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 2rem; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.gh-card .gh-ico { width: 3.25rem; height: 3.25rem; border-radius: 14px; background: #191513; color: #fff; display: grid; place-items: center; }
.gh-card h3 { font-size: 1.25rem; }
.gh-card p { color: var(--muted); margin-top: .3rem; }
.gh-card code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92rem; background: var(--soft); padding: .15rem .45rem; border-radius: 6px; color: var(--ink); }

@media (max-width: 960px) {
  .theme-folaio .viewer { grid-template-columns: 1fr; }
  .video-split { grid-template-columns: 1fr; gap: 2rem; }
  .video-card { max-width: 380px; }
  .promises-3 { grid-template-columns: 1fr; }
  .gh-card { grid-template-columns: 1fr; }
}

/* ===== AIQO ===== */
.theme-aiqo { --accent: #1E4DFF; --accent-soft: #F1F5FF; --accent-ink: #0B1222; }
.theme-aiqo .cs-top { background: linear-gradient(120deg, #F7F3FF 0%, #EEF4FF 45%, #ECFAFF 100%); }
.grad-text { background: linear-gradient(90deg, #E2399B 0%, #A54BDB 55%, #6D5BF0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-aiqo { background: linear-gradient(90deg, #1E4DFF, #12B5DE); }
.theme-aiqo .cta-band { background-image: radial-gradient(circle at 100% 0%, rgba(226,57,155,.45), transparent 55%), radial-gradient(circle at 0% 100%, rgba(18,181,222,.45), transparent 50%); }

.problems { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.problem { display: flex; gap: .9rem; align-items: flex-start; padding: 1.25rem 1.4rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.problem b { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #FFE9EC; color: #D2324A; display: grid; place-items: center; font-size: .9rem; }
.problem span { color: var(--ink); font-weight: 500; }
.problem small { display: block; color: var(--muted); font-weight: 400; margin-top: .25rem; font-size: .93rem; }

.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.usecase { padding: 1.6rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.usecase .ico { width: 2.75rem; height: 2.75rem; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 1rem; background: linear-gradient(135deg, #1E4DFF, #12B5DE); }
.usecase:nth-child(2) .ico { background: linear-gradient(135deg, #A54BDB, #E2399B); }
.usecase:nth-child(3) .ico { background: linear-gradient(135deg, #12B5DE, #22C3A6); }
.usecase:nth-child(4) .ico { background: linear-gradient(135deg, #F08A24, #E2399B); }
.usecase p { color: var(--muted); margin-top: .4rem; font-size: .97rem; }

.layers { margin-top: 3rem; display: grid; gap: .75rem; }
.layer { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: center; padding: 1.15rem 1.5rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c, var(--accent)); }
.layer strong { color: var(--ink); display: block; }
.layer small { color: var(--muted); font-size: .88rem; }
.layer .chips { margin-top: 0; }
.layer p { color: var(--muted); font-size: .95rem; margin-top: .5rem; }

.screens-2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; margin-top: 3rem; align-items: start; }
.screens-2 figcaption { margin-top: 1rem; }

.theme-aiqo .flow .node.dark small { color: #7FD8F0; }
.theme-aiqo .callout .ico2 { color: #7FD8F0; }

@media (max-width: 960px) {
  .usecases { grid-template-columns: 1fr 1fr; }
  .screens-2 { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 1fr; gap: .6rem; }
}
@media (max-width: 640px) { .usecases, .problems { grid-template-columns: 1fr; } }
.theme-aiqo .cs-stage { background: linear-gradient(180deg, #EEF3FF 55%, #fff 55%); }

/* ===== Ceylon Natural LifeScience ===== */
.theme-cnl { --accent: #11867D; --accent-soft: #EDF3F1; --accent-ink: #14302A; }
.theme-cnl .cs-top { background: #EDF3F1; }
.theme-cnl .cta-band { background: #14302A; background-image: radial-gradient(circle at 100% 0%, rgba(201,176,64,.35), transparent 55%), radial-gradient(circle at 0% 100%, rgba(17,134,125,.5), transparent 50%); }
.theme-cnl .callout .ico2 { color: #D9C46A; }

.palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; }
.swatch { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.swatch i { display: block; height: 96px; }
.swatch div { padding: .8rem 1rem; }
.swatch strong { display: block; color: var(--ink); font-size: .95rem; }
.swatch span { color: var(--muted); font-size: .85rem; font-family: ui-monospace, Menlo, monospace; }
.type-card { margin-top: 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 1.6rem 1.75rem; display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: center; }
.type-card .big-aa { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 600; letter-spacing: -0.03em; color: var(--accent-ink); line-height: 1; }
.type-card .over { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.type-card p { color: var(--muted); margin-top: .4rem; }

.anatomy { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.scrollshot { position: relative; height: 640px; overflow: hidden; background: #fff; }
.scrollshot img { width: 100%; height: auto; display: block; transition: transform 10s cubic-bezier(.45,0,.55,1); }
.scrollshot:hover img, .scrollshot:focus-within img { transform: translateY(calc(-100% + 640px)); }
.scroll-hint { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); background: rgba(20,48,42,.88); color: #fff; font-size: .82rem; padding: .45rem .9rem; border-radius: 999px; pointer-events: none; transition: opacity .3s; white-space: nowrap; }
.scrollshot:hover .scroll-hint { opacity: 0; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .scrollshot { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .scrollshot:hover img, .scrollshot:focus-within img { transform: none; }
}
.anatomy-list { list-style: none; padding: 0; margin: 0; counter-reset: s; position: sticky; top: 110px; }
.anatomy-list li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: .2rem .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.anatomy-list li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-size: .85rem; font-weight: 600; color: var(--accent); padding-top: .15rem; }
.anatomy-list strong { color: var(--ink); }
.anatomy-list span { color: var(--muted); font-size: .94rem; }

.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.bento figure { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.bento figure img { width: 100%; height: auto; display: block; }
.bento figure.wide { grid-column: 1 / -1; }
.bento figcaption { margin: 0; padding: 1.1rem 1.4rem 1.3rem; }
.bento figcaption strong { display: block; color: var(--ink); font-size: 1.05rem; }
.bento figcaption span { color: var(--muted); font-size: .95rem; }

@media (max-width: 960px) {
  .palette { grid-template-columns: repeat(3, 1fr); }
  .anatomy { grid-template-columns: 1fr; gap: 2rem; }
  .anatomy-list { position: static; }
  .type-card { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 640px) {
  .palette { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .scrollshot { height: 520px; }
  .scrollshot:hover img { transform: translateY(calc(-100% + 520px)); }
}
.bento figure:not(.wide) img { aspect-ratio: 961 / 500; object-fit: contain; background: #fff; }
.cs .ticks li::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat, var(--accent); }

/* ===== YES4Security ===== */
.theme-y4 { --accent: #E8262D; --accent-soft: #EEF2F7; --accent-ink: #1C1F4F; }
.theme-y4 .cs-top { background: linear-gradient(180deg, #F5F7FA 0%, #DCE5EE 100%); }
.theme-y4 .cs-top h1, .theme-y4 h2 { color: #1C1F4F; }
.theme-y4 .cs-stage { background: linear-gradient(180deg, #DCE5EE 55%, #fff 55%); }
.theme-y4 .cta-band { background: #1C1F4F; background-image: radial-gradient(circle at 100% 0%, rgba(232,38,45,.45), transparent 55%), radial-gradient(circle at 0% 100%, rgba(120,150,190,.35), transparent 50%); }
.theme-y4 .callout .ico2 { color: #FF8A8E; }
.theme-y4 .flow .node.dark small { color: #FF8A8E; }
.svc-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.svc-list li { padding: .8rem 1rem; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-weight: 500; font-size: .97rem; }
.svc-list li small { display: block; color: var(--muted); font-weight: 400; font-size: .84rem; font-family: ui-monospace, Menlo, monospace; margin-top: .15rem; }
.rating { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.25rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.rating .stars { color: #F5B400; letter-spacing: .1em; }
@media (max-width: 640px) { .svc-list { grid-template-columns: 1fr; } }
.theme-y4 .cta-band h2 { color: #fff; }

/* ===== Omkisa ===== */
.theme-om { --accent: #253656; --accent-soft: #E6E5DD; --accent-ink: #1E2B45; }
.theme-om .cs-top { background: #E6E5DD; }
.theme-om .cs-top h1 em { font-style: normal; color: #C2559A; }
.theme-om .kicker { color: #B04A8A; }
.theme-om .cta-band { background: #1E2B45; background-image: radial-gradient(circle at 100% 0%, rgba(194,85,154,.45), transparent 55%), radial-gradient(circle at 0% 100%, rgba(170,160,130,.35), transparent 50%); }
.theme-om .callout .ico2, .theme-om .flow .node.dark small { color: #F0A6D2; }
.voice { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.voice blockquote { margin: 0; padding: 1.75rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: 1.2rem; line-height: 1.4; color: var(--accent-ink); font-weight: 500; letter-spacing: -0.01em; }
.voice blockquote::before { content: "\201C"; display: block; font-size: 2.6rem; line-height: .8; color: #C2559A; font-family: Georgia, serif; }
.zig { display: grid; gap: 1.5rem; margin-top: 3rem; }
.zig figure { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; }
.zig figure.rev { grid-template-columns: 1fr 1.6fr; }
.zig figure.rev img { order: 2; }
.zig figure img { width: 100%; height: auto; display: block; }
.zig figcaption { margin: 0; padding: 1.75rem 2rem; }
.zig figcaption strong { display: block; color: var(--ink); font-size: 1.15rem; }
.zig figcaption span { display: block; color: var(--muted); margin-top: .4rem; }
@media (max-width: 960px) {
  .voice { grid-template-columns: 1fr; }
  .zig figure, .zig figure.rev { grid-template-columns: 1fr; }
  .zig figure.rev img { order: 0; }
}

/* ===== SaaS event illustrations ===== */
.theme-ev { --accent: #1E3BB3; --accent-soft: #EEF4FD; --accent-ink: #10206B; }
.theme-ev .cs-top { background: linear-gradient(135deg, #F4F8FF 0%, #E6EFFC 100%); }
.theme-ev .cs-stage { background: linear-gradient(180deg, #E8F0FC 55%, #fff 55%); }
.theme-ev .cs-top h1 em { font-style: normal; color: #2CB5A0; }
.theme-ev .cta-band { background: #10206B; background-image: radial-gradient(circle at 100% 0%, rgba(44,203,176,.45), transparent 55%), radial-gradient(circle at 0% 100%, rgba(155,79,217,.4), transparent 50%); }
.theme-ev .callout .ico2 { color: #7FE3D2; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.stat { padding: 1.5rem 1.6rem; border-radius: 18px; background: var(--accent-soft); }
.stat strong { display: block; font-size: 2.3rem; line-height: 1; letter-spacing: -0.03em; color: var(--accent-ink); }
.stat span { display: block; margin-top: .5rem; color: var(--muted); }
.ill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ill { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.ill:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(16,32,107,.45); }
.ill[hidden] { display: none; }
.ill img { width: 100%; aspect-ratio: 1260 / 765; object-fit: cover; display: block; background: #F2F7FE; }
.ill figcaption { margin: 0; padding: 1rem 1.2rem 1.2rem; }
.ill figcaption small { display: block; font-size: .78rem; font-weight: 600; color: var(--accent); }
.ill figcaption strong { display: block; color: var(--ink); margin-top: .15rem; }
.ill figcaption span { display: block; color: var(--muted); font-size: .93rem; margin-top: .2rem; }
.components { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.component { border-radius: 16px; background: #F5F9FF; border: 1px solid #DCE7FA; padding: 1.25rem; display: flex; flex-direction: column; }
.component .imgbox { height: 160px; display: grid; place-items: center; }
.component img { max-height: 160px; max-width: 100%; width: auto; border-radius: 8px; }
.component strong { display: block; color: var(--ink); margin-top: 1rem; }
.component span { color: var(--muted); font-size: .9rem; }
@media (max-width: 960px) { .ill-grid { grid-template-columns: 1fr 1fr; } .components { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ill-grid, .stat-row { grid-template-columns: 1fr; } }

/* ===== Geometric illustration series ===== */
.theme-geo { --accent: #8A352C; --accent-soft: #F5EDD3; --accent-ink: #1D2A4F; }
.theme-geo .cs-top { background: #1D2A4F; position: relative; overflow: hidden; color: #D9D3C2; }
.theme-geo .cs-top::before { content: ""; position: absolute; right: -4%; top: 10%; width: 340px; height: 330px; border-radius: 180px 180px 0 0; background: #61807F; opacity: .55; }
.theme-geo .cs-top::after { content: ""; position: absolute; right: 9%; top: 18%; width: 200px; height: 200px; border-radius: 50%; background: #F1E3B4; opacity: .35; }
.theme-geo .cs-top .wrap { position: relative; z-index: 1; }
.theme-geo .cs-top h1 { color: #F6EFD9; }
.theme-geo .cs-top h1 em { font-style: normal; color: #E7A36E; }
.theme-geo .cs-top .lede, .theme-geo .cs-top .crumbs, .theme-geo .cs-top .crumbs a, .theme-geo .cs-top .eyebrow { color: #B9B7B0; }
.theme-geo .cs-top .eyebrow b { background: #E7A36E; }
.theme-geo .cs-top .facts { border-top-color: rgba(255,255,255,.14); }
.theme-geo .cs-top .facts dt { color: #A7A69F; }
.theme-geo .cs-top .facts dd { color: #F6EFD9; }
.theme-geo .cs-stage { background: linear-gradient(180deg, #1D2A4F 50%, #fff 50%); }
.theme-geo .cta-band { background: #1D2A4F; background-image: radial-gradient(circle at 100% 0%, rgba(231,163,110,.45), transparent 55%), radial-gradient(circle at 0% 100%, rgba(97,128,127,.5), transparent 50%); }
.theme-geo .callout .ico2 { color: #E7A36E; }
.wall { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.wall button { all: unset; cursor: zoom-in; display: block; border-radius: 18px; overflow: hidden; position: relative; }
.wall button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wall img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.wall button:hover img { transform: scale(1.03); }
.wall .cap { position: absolute; left: 1rem; bottom: 1rem; background: rgba(29,42,79,.88); color: #F6EFD9; font-size: .88rem; font-weight: 500; padding: .45rem .9rem; border-radius: 999px; }
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1280px, 94vw); width: 94vw; }
dialog.lightbox::backdrop { background: rgba(14,20,40,.86); }
dialog.lightbox img { width: 100%; height: auto; border-radius: 14px; display: block; }
dialog.lightbox p { color: #F6EFD9; text-align: center; margin-top: .9rem; }
dialog.lightbox .close { position: absolute; top: -.25rem; right: 0; transform: translateY(-100%); background: none; border: 0; color: #fff; font: 600 .95rem var(--font); cursor: pointer; padding: .5rem; }
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.detail { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.detail img { width: 100%; height: 240px; object-fit: cover; display: block; background: var(--accent-soft); }
.detail div { padding: 1.2rem 1.35rem 1.4rem; }
.detail small { display: block; font-size: .8rem; font-weight: 600; color: var(--accent); }
.detail strong { display: block; color: var(--ink); margin-top: .2rem; }
.detail p { color: var(--muted); font-size: .95rem; margin-top: .35rem; }
.faces6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; margin-top: 2.5rem; }
.faces6 img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; display: block; }
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.use { padding: 1.4rem; border-radius: 16px; background: var(--accent-soft); }
.use strong { display: block; color: var(--accent-ink); }
.use span { color: var(--muted); font-size: .93rem; }
@media (max-width: 960px) { .details { grid-template-columns: 1fr 1fr; } .faces6 { grid-template-columns: repeat(3, 1fr); } .uses { grid-template-columns: 1fr 1fr; } .theme-geo .cs-top::before, .theme-geo .cs-top::after { display: none; } }
@media (max-width: 640px) { .wall, .details { grid-template-columns: 1fr; } }

/* ===== Pet care SaaS illustrations ===== */
.theme-pet { --accent: #E85F2C; --accent-soft: #FDF2EC; --accent-ink: #102A43; }
.theme-pet .cs-top { background: #FDF2EC; }
.theme-pet .cs-top h1 em { font-style: normal; color: #E85F2C; }
.theme-pet .cs-stage { background: linear-gradient(180deg, #FDF2EC 55%, #fff 55%); }
.theme-pet .cta-band { background: #102A43; background-image: radial-gradient(circle at 100% 0%, rgba(239,146,53,.5), transparent 55%), radial-gradient(circle at 0% 100%, rgba(46,158,110,.45), transparent 50%); }
.theme-pet .callout .ico2 { color: #F7B27A; }
.petapp { margin-top: 3rem; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 40px 80px -44px rgba(16,42,67,.45); }
.petapp-bar { display: flex; align-items: center; gap: .45rem; padding: .65rem 1rem; background: #F4F1EF; border-bottom: 1px solid var(--line); }
.petapp-bar i { width: .7rem; height: .7rem; border-radius: 50%; background: #D9D3CF; display: block; }
.petapp-bar span { margin-left: .75rem; font-size: .8rem; color: var(--muted); }
.petapp-body { display: grid; grid-template-columns: 250px 1fr; min-height: 520px; }
.petnav { list-style: none; margin: 0; padding: 1rem .75rem; background: #FBF8F6; border-right: 1px solid var(--line); display: grid; gap: .2rem; align-content: start; }
.petnav button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: .7rem; padding: .62rem .8rem; border-radius: 10px; cursor: pointer; color: var(--text); font-size: .95rem; }
.petnav button svg { flex: none; color: #8C8A87; }
.petnav button:hover { background: #F2ECE8; }
.petnav button[aria-selected="true"] { background: #fff; color: var(--accent-ink); font-weight: 600; box-shadow: 0 1px 3px rgba(16,42,67,.12); }
.petnav button[aria-selected="true"] svg { color: var(--accent); }
.petnav button:focus-visible { outline: 3px solid var(--accent); }
.petstage { position: relative; display: grid; grid-template-rows: 1fr auto; }
.petstage .imgs { position: relative; }
.petstage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; opacity: 0; transition: opacity .35s ease; }
.petstage img.on { opacity: 1; }
.petstage .cap { padding: 1.1rem 1.6rem 1.4rem; border-top: 1px solid var(--line); }
.petstage .cap strong { display: block; color: var(--ink); }
.petstage .cap span { color: var(--muted); font-size: .95rem; }
.crafted { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; }
.crafted div { padding: 1.4rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.crafted b { display: block; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: .85rem; margin-bottom: .8rem; }
.crafted strong { display: block; color: var(--ink); font-size: .98rem; }
.crafted span { color: var(--muted); font-size: .9rem; }
.dogs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; margin-top: 2.5rem; }
.dogs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; display: block; background: #FDF2EC; }
@media (max-width: 960px) {
  .petapp-body { grid-template-columns: 1fr; }
  .petnav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .petstage .imgs { aspect-ratio: 4 / 3; }
  .crafted { grid-template-columns: 1fr 1fr; }
  .dogs { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Meme cat pack ===== */
.theme-cat { --accent: #D9771F; --accent-soft: #FFF4E2; --accent-ink: #2B2118; }
.theme-cat .cs-top { background: #FFE9BF; position: relative; overflow: hidden; }
.theme-cat .cs-top .wrap { position: relative; z-index: 1; }
.theme-cat .cs-top h1 em { font-style: normal; color: #C9541F; }
.theme-cat .cs-stage { background: linear-gradient(180deg, #FFE9BF 55%, #fff 55%); }
.theme-cat .cta-band { background: #2B2118; background-image: radial-gradient(circle at 100% 0%, rgba(240,164,75,.55), transparent 55%), radial-gradient(circle at 0% 100%, rgba(245,155,147,.4), transparent 50%); }
.theme-cat .callout .ico2 { color: #F7C178; }
.sticker { filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 8px 12px rgba(43,33,24,.18)); }
.hero-stickers { position: absolute; right: 2%; top: 0; bottom: 0; width: 34%; pointer-events: none; }
.hero-stickers img { position: absolute; width: 150px; }
.hero-stickers img:nth-child(1) { top: 14%; right: 38%; transform: rotate(-8deg); width: 170px; }
.hero-stickers img:nth-child(2) { top: 8%; right: 2%; transform: rotate(7deg); }
.hero-stickers img:nth-child(3) { top: 44%; right: 16%; transform: rotate(-4deg); width: 160px; }
.theme-cat .cs-top h1, .theme-cat .cs-top .lede { max-width: 15ch; }
.theme-cat .cs-top .lede { max-width: 52ch; }

.mememaker { display: grid; grid-template-columns: 360px 1fr; gap: 3rem; align-items: start; margin-top: 3rem; }
.phone { width: 340px; border-radius: 44px; background: #1B1612; padding: 14px; box-shadow: 0 40px 70px -36px rgba(43,33,24,.6); position: sticky; top: 110px; }
.phone-screen { border-radius: 32px; background: #fff; overflow: hidden; }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem .6rem; font-size: .82rem; font-weight: 600; color: #2B2118; }
.phone-top span:last-child { color: var(--accent); }
.meme { margin: 0 .9rem; aspect-ratio: 1; border-radius: 18px; background: #F1EEE9; position: relative; display: grid; place-items: center; overflow: hidden; }
.meme img { max-width: 74%; max-height: 62%; object-fit: contain; }
.meme .line { position: absolute; left: 6%; right: 6%; text-align: center; font-family: Impact, "Anton", "Arial Black", sans-serif; font-weight: 900; font-size: 1.55rem; line-height: 1.05; color: #fff; text-transform: uppercase; letter-spacing: .01em; -webkit-text-stroke: 2px #000; paint-order: stroke fill; outline: none; }
.meme .line.top { top: 4.5%; }
.meme .line.bottom { bottom: 4.5%; }
.meme .line:focus { background: rgba(255,255,255,.15); border-radius: 6px; }
.phone-tools { display: flex; gap: .5rem; padding: .9rem .9rem 1.2rem; }
.phone-tools span { flex: 1; text-align: center; font-size: .78rem; font-weight: 600; padding: .55rem 0; border-radius: 999px; background: #F4EFE9; color: #5B5047; }
.phone-tools span.primary { background: var(--accent); color: #fff; }
.edit-hint { font-size: .88rem; color: var(--muted); margin-top: 1rem; text-align: center; width: 340px; }
.catpicker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.catpicker button { all: unset; box-sizing: border-box; cursor: pointer; border-radius: 18px; padding: 1rem .75rem .85rem; background: var(--c, #FFF4E2); display: flex; flex-direction: column; align-items: center; gap: .6rem; transition: transform .2s ease; }
.catpicker button:hover { transform: rotate(-2deg) scale(1.03); }
.catpicker button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--accent-ink); }
.catpicker button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.catpicker img { height: 110px; width: 100%; object-fit: contain; }
.catpicker span { font-size: .88rem; font-weight: 600; color: var(--accent-ink); }
.meme-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.meme-rules div { padding: 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.meme-rules img { height: 90px; width: auto; max-width: 100%; object-fit: contain; display: block; margin-bottom: .9rem; }
.meme-rules strong { display: block; color: var(--ink); }
.meme-rules span { color: var(--muted); font-size: .93rem; }
.sheets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.sheets img { width: 100%; border-radius: 14px; display: block; }
@media (max-width: 960px) {
  .hero-stickers { display: none; }
  .mememaker { grid-template-columns: 1fr; justify-items: center; }
  .phone { position: static; }
  .catpicker { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .meme-rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .catpicker { grid-template-columns: 1fr 1fr; } .sheets { grid-template-columns: 1fr; } .phone, .edit-hint { width: 300px; } }

/* ===== Brand vector series ===== */
.theme-bv { --accent: #F0003F; --accent-soft: #F3F3F3; --accent-ink: #111111; }
.theme-bv .cs-top { background: #fff; border-bottom: 1px solid var(--line); }
.theme-bv .cs-top h1 em { font-style: normal; color: #F0003F; }
.theme-bv .cs-stage { background: linear-gradient(180deg, #fff 55%, #fff 55%); padding-top: 2.5rem; }
.theme-bv .cs-stage .shot { box-shadow: none; border: 1px solid var(--line); }
.theme-bv .cta-band { background: #111; background-image: radial-gradient(circle at 100% 0%, rgba(240,0,63,.55), transparent 55%); }
.theme-bv .callout { background: #111; }
.theme-bv .callout .ico2 { color: #FF5A85; }
.spec { margin-top: 2.5rem; border-top: 2px solid #111; }
.spec-row { display: grid; grid-template-columns: 200px 1fr 320px; gap: 2rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.spec-row strong { color: var(--ink); font-size: 1.05rem; }
.spec-row p { color: var(--muted); }
.spec-row .demo { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; }
.chipc { width: 52px; height: 52px; border-radius: 12px; border: 1.5px solid #111; }
.demo-line { width: 100%; height: 0; border-top: 2.5px solid #111; border-radius: 2px; }
.demo-shapes span { width: 40px; height: 40px; border: 2px solid #111; background: #fff; }
.demo-shapes span:nth-child(1) { border-radius: 50%; }
.demo-shapes span:nth-child(2) { border-radius: 10px; }
.demo-shapes span:nth-child(3) { border-radius: 50% 50% 8px 8px; }
.demo-accent span { width: 40px; height: 40px; border-radius: 10px; border: 2px solid #111; background: #fff; }
.demo-accent span.red { background: #F0003F; }
.redstrip { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; margin-top: 2.5rem; }
.redstrip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; display: block; }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.cat-nav { display: flex; gap: .5rem; }
.cat-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #111; background: #fff; cursor: pointer; display: grid; place-items: center; }
.cat-nav button:hover { background: #111; color: #fff; }
.cat-nav button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.catalog { display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 82vw); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2.5rem 0 1.5rem; scrollbar-width: thin; }
.catalog figure { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem; display: flex; flex-direction: column; }
.catalog figure .art { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.catalog figure img { max-width: 100%; max-height: 100%; object-fit: contain; }
.catalog figcaption { margin: 1rem 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.catalog figcaption strong { color: var(--ink); }
.catalog figcaption small { color: var(--accent); font-weight: 600; font-size: .8rem; white-space: nowrap; }
@media (max-width: 960px) {
  .spec-row { grid-template-columns: 1fr; gap: .6rem; }
  .spec-row .demo { justify-content: flex-start; }
  .redstrip { grid-template-columns: repeat(3, 1fr); }
}
.catalog { align-items: start; }
.catalog figure .art { aspect-ratio: auto; height: 300px; }
.catalog figure img { max-height: 300px; width: auto; }
@media (max-width: 640px) { .catalog figure .art { height: 220px; } .catalog figure img { max-height: 220px; } }
.catalog figure .art { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.catalog figure img { max-width: 100%; height: auto; object-fit: contain; }

/* ===== Connected property campaign ===== */
.theme-kp { --accent: #1E63E0; --accent-soft: #EEF4FE; --accent-ink: #12264F; }
.theme-kp .cs-top { background: linear-gradient(180deg, #F4F8FF, #E7F0FE); }
.theme-kp .cs-top h1 em { font-style: normal; color: #1E63E0; }
.theme-kp .cs-stage { background: linear-gradient(180deg, #E7F0FE 55%, #fff 55%); }
.theme-kp .cta-band { background: #12264F; background-image: radial-gradient(circle at 100% 0%, rgba(30,99,224,.7), transparent 55%), radial-gradient(circle at 0% 100%, rgba(120,180,250,.35), transparent 50%); }
.theme-kp .callout { background: #12264F; }
.theme-kp .callout .ico2 { color: #8DBBFF; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.post { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid #DCE6F7; display: flex; flex-direction: column; }
.post-head { background: linear-gradient(135deg, #1E63E0, #3B86F5); color: #fff; padding: 1.25rem 1.4rem 1.1rem; }
.post-head small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: #CFE1FF; }
.post-head strong { display: block; font-size: 1.3rem; line-height: 1.2; margin-top: .2rem; letter-spacing: -0.01em; }
.post .art { height: 240px; padding: 1rem; display: flex; align-items: center; justify-content: center; }
.post .art img { max-width: 100%; max-height: 100%; object-fit: contain; }
.post p { padding: 0 1.4rem 1.4rem; color: var(--muted); font-size: .95rem; }
.post.wide { grid-column: span 2; }
.post.wide .art { height: 360px; }
.charsheet { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; margin-top: 3rem; }
.poses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; background: #fff; border-radius: 20px; border: 1px solid #DCE6F7; padding: 1.5rem; }
.poses img { width: 100%; height: 300px; object-fit: contain; }
.notes { list-style: none; padding: 0; margin: 0; }
.notes li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.notes strong { display: block; color: var(--ink); }
.notes span { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } .post.wide { grid-column: span 2; } .charsheet { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .post.wide { grid-column: auto; } .post.wide .art { height: 240px; } .poses img { height: 200px; } }

/* ===== T-shirt branding ===== */
.theme-ts { --accent: #E5194D; --accent-soft: #F6ECD6; --accent-ink: #141414; }
.theme-ts .cs-top { background: #F3E3BE; }
.theme-ts .cs-top h1 em { font-style: normal; background: linear-gradient(90deg, #1FC9D6, #E5194D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-ts .cs-stage { background: linear-gradient(180deg, #F3E3BE 55%, #fff 55%); }
.theme-ts .cta-band { background: #141414; background-image: radial-gradient(circle at 100% 0%, rgba(229,25,77,.55), transparent 55%), radial-gradient(circle at 0% 100%, rgba(31,201,214,.45), transparent 50%); }
.theme-ts .callout { background: #141414; }
.theme-ts .callout .ico2 { color: #5FE3EC; }
.shirtview { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; margin-top: 3rem; }
.shirtstage { position: relative; aspect-ratio: 1; border-radius: 24px; background: #EDEBE7; overflow: hidden; }
.shirtstage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; opacity: 0; transform: scale(.97); transition: opacity .4s ease, transform .4s ease; }
.shirtstage img.on { opacity: 1; transform: none; }
.shirt-tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
.shirt-tabs button { font: 600 .92rem var(--font); padding: .65rem 1.1rem; border-radius: 999px; border: 1.5px solid #141414; background: #fff; cursor: pointer; }
.shirt-tabs button[aria-selected="true"] { background: #141414; color: #fff; }
.shirt-tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.shirt-info h3 { font-size: 1.6rem; margin-top: 1.75rem; }
.shirt-info .tagline { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--accent); margin-top: 1.5rem; }
.shirt-info p { color: var(--muted); margin-top: .6rem; }
.shirt-info .ticks { margin-top: 1rem; }
.directions { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.direction { border-radius: 22px; overflow: hidden; background: #F3E3BE; }
.direction img { width: 100%; height: 360px; object-fit: contain; display: block; padding: 1.5rem; }
.direction > div { background: #fff; padding: 1.5rem 1.6rem 1.7rem; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; }
.direction small { font-weight: 700; color: var(--accent); font-size: .8rem; }
.direction h3 { margin-top: .3rem; font-size: 1.3rem; }
.direction p { color: var(--muted); margin-top: .4rem; }
.direction .chips { margin-top: 1rem; }
.wordplay { display: flex; align-items: baseline; gap: .6rem; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: .5rem; }
.wordplay s { color: #8D8D8D; text-decoration-thickness: 3px; text-decoration-color: #E5194D; }
.wordplay em { font-style: normal; color: #5FE3EC; }
@media (max-width: 960px) { .shirtview, .directions { grid-template-columns: 1fr; } }

/* ===== Embroidery pattern collection ===== */
.theme-em { --accent: #F30A7D; --accent-soft: #FFF0F7; --accent-ink: #141414; }
.theme-em .cs-top { background: #141414; color: #BDBDBD; position: relative; overflow: hidden; }
.theme-em .cs-top::after { content: ""; position: absolute; right: -60px; top: -40px; width: 520px; height: 120%; background-size: cover; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); background-image: var(--hero-pattern); }
.theme-em .cs-top .wrap { position: relative; z-index: 1; }
.theme-em .cs-top h1 { color: #fff; max-width: 14ch; }
.theme-em .cs-top h1 em { font-style: normal; color: #FF4DA3; }
.theme-em .cs-top .lede { color: #BDBDBD; max-width: 48ch; }
.theme-em .cs-top .crumbs, .theme-em .cs-top .crumbs a, .theme-em .cs-top .eyebrow { color: #9A9A9A; }
.theme-em .cs-top .facts { border-top-color: rgba(255,255,255,.14); max-width: 760px; }
.theme-em .cs-top .facts dt { color: #8F8F8F; }
.theme-em .cs-top .facts dd { color: #fff; }
.theme-em .cs-stage { background: linear-gradient(180deg, #141414 50%, #fff 50%); }
.theme-em .cta-band { background: #141414; background-image: radial-gradient(circle at 100% 0%, rgba(255,77,163,.5), transparent 55%), radial-gradient(circle at 0% 100%, rgba(2,202,251,.4), transparent 50%); }
.theme-em .callout { background: #141414; }
.theme-em .callout .ico2 { color: #FF8CC6; }
.studio { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; margin-top: 3rem; align-items: start; }
.panels { display: flex; gap: 2rem; align-items: flex-start; justify-content: center; padding: 2rem; border-radius: 22px; background: #F4F4F2; }
.panel { text-align: center; }
.panel b { display: block; font-size: .8rem; letter-spacing: .08em; color: #141414; }
.panel span { display: block; font-size: .8rem; color: var(--muted); margin: .15rem 0 .7rem; }
.panel img { display: block; border-radius: 6px; box-shadow: 0 18px 30px -18px rgba(0,0,0,.45); object-fit: cover; transition: opacity .25s ease; }
.panel.spine img { width: 150px; height: 300px; }
.panel.front img { width: 247px; height: 371px; }
.cw-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.cw-buttons button { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .45rem; width: 78px; }
.cw-buttons i { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #D9D9D9; display: block; box-shadow: inset 0 0 0 3px #fff; }
.cw-buttons span { font-size: .78rem; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.2; }
.cw-buttons button[aria-pressed="true"] i { border-color: #141414; }
.cw-buttons button[aria-pressed="true"] span { color: #141414; }
.cw-buttons button:focus-visible i { outline: 3px solid var(--accent); outline-offset: 2px; }
.cw-title { margin-top: 1.75rem; font-size: 1.5rem; }
.speclist { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--line); }
.speclist li { display: grid; grid-template-columns: 34px 1fr auto; gap: .9rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.speclist i { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #D5D5D5; display: block; }
.speclist strong { color: var(--ink); font-size: .95rem; }
.speclist small { color: var(--muted); font-size: .85rem; }
.applications { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; margin-top: 2rem; }
.applications div { padding: 1.2rem 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: center; font-weight: 600; color: var(--ink); font-size: .95rem; }
.applications svg { display: block; margin: 0 auto .6rem; color: var(--accent); }
@media (max-width: 960px) {
  .studio { grid-template-columns: 1fr; }
  .applications { grid-template-columns: repeat(3, 1fr); }
  .theme-em .cs-top::after { opacity: .25; width: 100%; right: 0; }
}
@media (max-width: 640px) { .panel.spine img { width: 100px; height: 200px; } .panel.front img { width: 165px; height: 248px; } .panels { gap: 1rem; padding: 1.25rem; } .applications { grid-template-columns: 1fr 1fr; } }
.theme-em .cs-top::after { background-image: linear-gradient(180deg, transparent 55%, #141414 98%), var(--hero-pattern); background-size: cover, cover; }
.cw-buttons { gap: .35rem; } .cw-buttons button { width: 74px; }

/* ===== PET imaging series ===== */
.theme-pt { --accent: #2F6FB2; --accent-soft: #EAF2FB; --accent-ink: #1B3352; }
.theme-pt .cs-top { background: linear-gradient(180deg, #F3F8FD, #E3EEF9); }
.theme-pt .cs-top h1 em { font-style: normal; color: #2F6FB2; }
.theme-pt .cs-stage { background: linear-gradient(180deg, #E3EEF9 55%, #fff 55%); }
.theme-pt .cta-band { background: #1B3352; background-image: radial-gradient(circle at 100% 0%, rgba(92,178,122,.45), transparent 55%), radial-gradient(circle at 0% 100%, rgba(47,111,178,.6), transparent 50%); }
.theme-pt .callout { background: #1B3352; }
.theme-pt .callout .ico2 { color: #8FD3A6; }
.chapters { display: grid; gap: 3.5rem; margin-top: 3rem; }
.chapter { display: grid; grid-template-columns: 290px 1fr; gap: 2.5rem; align-items: start; }
.chapter .no { font-size: 3rem; font-weight: 800; line-height: 1; color: #C9DCF0; letter-spacing: -0.04em; }
.chapter h3 { font-size: 1.35rem; margin-top: .5rem; }
.chapter p { color: var(--muted); margin-top: .5rem; font-size: .97rem; }
.chapter .chips { margin-top: 1rem; }
.chapter .chip { background: var(--accent-soft); border-color: #D3E3F4; }
.zoomable { all: unset; display: block; cursor: zoom-in; border-radius: 18px; overflow: hidden; border: 1px solid #DCE7F3; background: #fff; position: relative; box-shadow: 0 30px 50px -40px rgba(27,51,82,.5); }
.zoomable img { width: 100%; height: auto; display: block; }
.zoomable .zhint { position: absolute; right: .9rem; bottom: .9rem; background: rgba(27,51,82,.9); color: #fff; font-size: .8rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; }
.zoomable:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.toolkit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.tool { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.tool .art { height: 200px; background: #F5F9FD; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.tool .art img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tool div:last-child { padding: 1rem 1.25rem 1.25rem; }
.tool strong { color: var(--ink); display: block; }
.tool span { color: var(--muted); font-size: .93rem; }
.dialog-wide { max-width: min(1500px, 96vw) !important; width: 96vw; }
@media (max-width: 960px) { .chapter { grid-template-columns: 1fr; gap: 1.25rem; } .toolkit { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .toolkit { grid-template-columns: 1fr; } }

/* ===== Alpine Professionals ===== */
.theme-al { --accent: #2F7CB2; --accent-soft: #EDF4FB; --accent-ink: #0F2233; }
.theme-al .cs-top { background: linear-gradient(180deg, #E9F1F9 0%, #D4E4F3 100%); }
.theme-al .cs-top h1 em { font-style: normal; color: #2F7CB2; }
.theme-al .cs-stage { background: linear-gradient(180deg, #D4E4F3 55%, #fff 55%); }
.theme-al .cta-band { background: #0F2233; background-image: radial-gradient(circle at 100% 0%, rgba(143,182,221,.5), transparent 55%), radial-gradient(circle at 0% 100%, rgba(47,124,178,.55), transparent 50%); }
.theme-al .callout { background: #0F2233; }
.theme-al .callout .ico2 { color: #9CC7EC; }
.logo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 3rem; }
.logo-stage { border-radius: 22px; background: linear-gradient(180deg, #BFD2E4, #8EA6BD); min-height: 320px; display: grid; place-items: center; padding: 2rem; }
.logo-stage img { width: min(340px, 100%); height: auto; border-radius: 6px; image-rendering: auto; }
.logo-notes { list-style: none; padding: 0; margin: 0; }
.logo-notes li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.logo-notes li:first-child { border-top: 1px solid var(--line); }
.logo-notes strong { display: block; color: var(--ink); }
.logo-notes span { color: var(--muted); font-size: .95rem; }
.al-quote { margin-top: 2.5rem; padding: 2.5rem; border-radius: 22px; background: #EBEAF0; text-align: center; }
.al-quote p { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.35; color: var(--ink); font-weight: 500; max-width: 30ch; margin: 0 auto; letter-spacing: -0.01em; }
.al-quote span { display: block; margin-top: 1rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) { .logo-split { grid-template-columns: 1fr; } }

/* ===== Pathway Medical Career College ===== */
.theme-pw { --accent: #F06A23; --accent-soft: #EAFBFB; --accent-ink: #13343B; }
.theme-pw .cs-top { background: #ADF5F4; position: relative; overflow: hidden; }
.theme-pw .cs-top h1 em { font-style: normal; color: #E0601C; }
.theme-pw .cs-stage { background: linear-gradient(180deg, #ADF5F4 55%, #fff 55%); }
.theme-pw .cta-band { background: #13343B; background-image: radial-gradient(circle at 100% 0%, rgba(255,219,81,.45), transparent 55%), radial-gradient(circle at 0% 100%, rgba(173,245,244,.35), transparent 50%); }
.theme-pw .callout { background: #13343B; }
.theme-pw .callout .ico2 { color: #FFDB51; }
.theme-pw .flow .node.dark small { color: #FFDB51; }
.lms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.lms div { padding: 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.lms b { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: #FFF1E6; color: var(--accent); margin-bottom: .9rem; }
.lms strong { display: block; color: var(--ink); }
.lms span { color: var(--muted); font-size: .94rem; }
@media (max-width: 960px) { .lms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lms { grid-template-columns: 1fr; } }

/* ===== Austrian Consulate ===== */
.theme-at { --accent: #2E9C45; --accent-soft: #F3F4EE; --accent-ink: #14361C; }
.theme-at .cs-top { background: #F3F4EE; position: relative; }
.theme-at .cs-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(180deg, #ED2939 0 33%, #fff 33% 66%, #ED2939 66%); }
.theme-at .cs-top h1 em { font-style: normal; color: #2E9C45; }
.theme-at .cs-stage { background: linear-gradient(180deg, #F3F4EE 55%, #fff 55%); }
.theme-at .cta-band { background: #14361C; background-image: radial-gradient(circle at 100% 0%, rgba(237,41,57,.4), transparent 55%), radial-gradient(circle at 0% 100%, rgba(56,194,83,.45), transparent 50%); }
.theme-at .callout { background: #14361C; }
.theme-at .callout .ico2 { color: #7FE08F; }
.theme-at .lms b { background: #E8F6EA; }
.theme-at .lms { grid-template-columns: repeat(3, 1fr); }

/* ===== Hunt Visual ===== */
.theme-hv { --accent: #2F86C8; --accent-soft: #EEF5FB; --accent-ink: #0E1116; }
.theme-hv .cs-top { background: #0E1116; color: #B7BCC6; }
.theme-hv .cs-top h1 { color: #fff; }
.theme-hv .cs-top h1 em { font-style: normal; background: linear-gradient(90deg, #3AA0E0, #7CC4F2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-hv .cs-top .lede { color: #B7BCC6; }
.theme-hv .cs-top .crumbs, .theme-hv .cs-top .crumbs a, .theme-hv .cs-top .eyebrow { color: #8C93A0; }
.theme-hv .cs-top .facts { border-top-color: rgba(255,255,255,.12); }
.theme-hv .cs-top .facts dt { color: #8C93A0; }
.theme-hv .cs-top .facts dd { color: #fff; }
.theme-hv .cs-stage { background: linear-gradient(180deg, #0E1116 50%, #fff 50%); }
.theme-hv .cta-band { background: #0E1116; background-image: radial-gradient(circle at 100% 0%, rgba(58,160,224,.5), transparent 55%), radial-gradient(circle at 0% 100%, rgba(203,43,27,.35), transparent 50%); }
.theme-hv .callout { background: #0E1116; }
.theme-hv .callout .ico2 { color: #7CC4F2; }
.heroshow { position: relative; }
.heroshow img { width: 100%; height: auto; display: block; }
.heroshow img + img { position: absolute; inset: 0; height: 100%; object-fit: cover; animation: heroswap 10s ease-in-out infinite; }
@keyframes heroswap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .heroshow img + img { animation: none; opacity: 0; } }
.heroshow .slide-note { position: absolute; right: 1rem; bottom: 1rem; background: rgba(14,17,22,.85); color: #fff; font-size: .8rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; }
.logo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.logo-duo div { border-radius: 20px; min-height: 260px; display: grid; place-items: center; padding: 2rem; border: 1px solid var(--line); background: #fff; }
.logo-duo div.dark { padding: 0; overflow: hidden; border: 0; }
.logo-duo img { max-width: 100%; height: auto; }
.logo-duo div.dark img { width: 100%; height: 100%; object-fit: cover; }
.svc-colors { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.svc-colors span { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--ink); }
.svc-colors i { width: .8rem; height: .8rem; border-radius: 3px; display: block; }
.hv-quote { margin-top: 2.5rem; padding: 2.5rem; border-radius: 22px; background: var(--accent-soft); text-align: center; }
.hv-quote p { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink); max-width: 40ch; margin: 0 auto; }
.hv-quote span { display: block; margin-top: 1rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) { .logo-duo { grid-template-columns: 1fr; } }
.theme-hv .logo-split { grid-template-columns: 1.5fr 1fr; } .theme-hv .logo-duo div { min-height: 300px; }
.heroshow .slide-note { position: absolute; right: 1rem; bottom: 1rem; background: rgba(14,17,22,.85); color: #fff; font-size: .8rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; }
.theme-hv .logo-duo div.dark { background: #2B2420; padding: 2rem; }
.theme-hv .logo-duo div.dark img { width: auto; max-width: 100%; height: auto; object-fit: contain; }
.theme-al .logo-stage { background: linear-gradient(180deg, #E4E8EE, #A9B7C6); }
.theme-al .logo-stage img { width: min(380px, 100%); border-radius: 0; }
.theme-al .logo-stage { background: #F4F7FA; border: 1px solid var(--line); } .theme-al .logo-stage img { border-radius: 12px; box-shadow: 0 20px 40px -24px rgba(15,34,51,.45); }


/* Cookie consent bar (shares the cookieConsent choice with the React site) */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 720px; margin-inline: auto;
  display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; justify-content: space-between;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.25rem; box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .25); font-size: .92rem;
}
.consent p { flex: 1 1 280px; }
.consent-actions { display: flex; gap: .5rem; }
.consent-actions button { font: 600 .92rem var(--font); padding: .6rem 1.1rem; border-radius: 10px; cursor: pointer; }
.consent-no { background: #fff; border: 1px solid var(--line); color: var(--ink); }

/* Lead form: spam trap and submit states */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin-top: 1rem; padding: .8rem 1rem; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: .95rem; }
.form-error.show { display: block; }
.form-card button[disabled] { opacity: .65; cursor: wait; }

/* Client reviews (rendered from _partials/reviews.json) */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; }
.rating-badge { display: inline-flex; align-items: center; gap: .75rem; padding: .7rem 1.1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.rating-badge .stars { font-size: 1.15rem; }
.rating-badge strong { color: var(--ink); font-size: 1.15rem; }
.rating-badge span { color: var(--muted); font-size: .92rem; }
.reviews { columns: 3 320px; column-gap: 1.25rem; margin-top: 2.5rem; }
.review {
  break-inside: avoid; margin: 0 0 1.25rem; padding: 1.5rem 1.5rem 1.25rem; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px -24px rgba(15, 23, 42, .35);
}
.stars { color: #F5A524; letter-spacing: .12em; font-size: 1rem; line-height: 1; }
.review blockquote { margin: .9rem 0 0; }
.review blockquote p { color: var(--text); font-size: 1rem; line-height: 1.65; }
.review figcaption { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.review .ava { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 1.05rem; }
.review .who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.review .who strong { color: var(--ink); font-size: .95rem; font-weight: 600; overflow-wrap: anywhere; }
.review .who small { color: var(--muted); font-size: .85rem; }
.review .ongoing { margin-left: auto; flex: none; font-size: .75rem; font-weight: 500; color: var(--muted); background: var(--soft); border-radius: 999px; padding: .3rem .65rem; }
.reviews.compact { columns: 3 280px; }
.case-review { margin-top: 3rem; max-width: 760px; }
.case-review .reviews { columns: 1; margin-top: 1.25rem; }
.reviews-head .kicker, .case-review .kicker { color: var(--blue); }

/* Track record bar (_partials/proof.html) */
.proof { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.proof li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; display: flex; flex-direction: column; gap: .2rem; }
.proof strong { color: var(--ink); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.proof span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.proof a { color: inherit; text-decoration: none; display: contents; }
@media (max-width: 960px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Health check: "sites we've built" strip */
.work-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: 2.5rem; }
.more-link { font-weight: 600; text-decoration: none; white-space: nowrap; padding: .7rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; }
.more-link:hover { border-color: var(--blue); color: var(--blue); }
.grid.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.75rem; }
.grid-3 .card h3 { font-size: 1.15rem; }
.work-cta { margin-top: 2.75rem; text-align: center; }
@media (max-width: 960px) { .grid.grid-3 { grid-template-columns: 1fr; max-width: 560px; } }

/* Health check hero: copy + short form */
.hero-eyebrow { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--blue); background: #fff; border: 1px solid #DCE1FF; border-radius: 999px; padding: .35rem .85rem; margin-bottom: 1.25rem; }
.text-link { display: inline-block; margin-top: 1.5rem; font-weight: 600; text-decoration: none; }
.form-card.quick { padding: 2rem; }
.form-title { font-size: 1.45rem; font-weight: 700; }
.form-sub { color: var(--muted); margin: .35rem 0 1.4rem; font-size: .97rem; }
.form-card.quick .btn { width: 100%; margin-top: .25rem; }
.form-card.quick .fine { margin-top: .9rem; }
.check-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 3.5rem; }
.check-intro .lede + .lede { margin-top: .75rem; }
@media (max-width: 960px) { .check-intro { grid-template-columns: 1fr; gap: 2.5rem; } .check-intro .report { max-width: 540px; } }

/* Instant speed score shown after a health check request */
.speed { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); text-align: left; }
.speed-wait { display: flex; gap: .75rem; align-items: center; color: var(--muted); font-size: .95rem; }
.spinner { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 3px solid #DCE1FF; border-top-color: var(--blue); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.speed-score { display: flex; align-items: center; gap: 1.1rem; }
.ring {
  --p: 0; --c: #E5484D; width: 92px; height: 92px; flex: none; border-radius: 50%; display: grid; place-items: center; align-content: center;
  background: radial-gradient(closest-side, #fff 78%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), #EEF0F5 0);
}
.ring.ok { --c: #F5A524; } .ring.good { --c: #17A34A; }
.ring strong { font-size: 1.9rem; line-height: 1; color: var(--ink); }
.ring small { font-size: .75rem; color: var(--muted); }
.speed-label { font-weight: 600; color: var(--ink); }
.speed-verdict { color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.speed-metrics { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.speed-metrics li { background: var(--soft); border-radius: 10px; padding: .6rem .75rem; font-size: .85rem; color: var(--muted); display: flex; flex-direction: column; }
.speed-metrics strong { color: var(--ink); font-size: 1.05rem; }
.speed-note, .speed-fail { margin-top: 1rem; font-size: .88rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.form-card.done .form-title, .form-card.done .form-sub { display: none; }
.speed [hidden], .speed[hidden] { display: none !important; }

/* WhatsApp alternative under the hero form */
.wa-link { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; padding: .7rem 1rem; border-radius: 12px; border: 1px solid #CDEBD8; background: #F2FBF5; color: #128C4A; font-weight: 600; text-decoration: none; font-size: .95rem; }
.wa-link:hover { background: #E3F7EA; }
.form-card.done .wa-link { display: none; }
.pill-li { display: inline-flex; align-items: center; gap: .45rem; color: #0A66C2; }

/* Load and scroll animations, matching the React site (motion: fade up, ease [0.22, 1, 0.36, 1]) */
@media (prefers-reduced-motion: no-preference) {
  .site-header { animation: headerIn .6s cubic-bezier(.22, 1, .36, 1) both; }
  .site-header .logo { animation: logoIn .5s ease-out both; }
  .site-header .btn { animation: ctaIn .5s ease-out .4s both; }
  @keyframes headerIn { from { transform: translateY(-100px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes logoIn { from { transform: translateX(-20px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes ctaIn { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }

  /* Elements marked by oprone.js fade up when they scroll into view */
  html.js-anim .reveal { opacity: 0; transform: translateY(30px); }
  html.js-anim .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease-out, transform .6s cubic-bezier(.22, 1, .36, 1); }
}
.reviews .is-extra { display: none; }
.reviews.expanded .is-extra { display: block; }
.reviews-more { text-align: center; margin-top: 1rem; }

/* On dark panels the black button flips to white so it stays visible */
.cta-band:not(.light) .btn:not(.btn-ghost):not(.btn-line):not(.btn-orange):not(.btn-aiqo) { background: #fff; color: #111111; }
.cta-band:not(.light) .btn:not(.btn-ghost):not(.btn-line):not(.btn-orange):not(.btn-aiqo):hover { background: #E8E8E8; }

/* Line under review cards: verified source + link to all reviews */
.reviews-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.reviews-foot .verified { display: flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 600; font-size: 1rem; }
.reviews-foot .verified svg { color: #17A34A; flex: none; }
.reviews-foot .btn { padding: .7rem 1.2rem; font-size: .95rem; }
.case-review .reviews-foot { margin-top: 1.25rem; }
