/* RFL Systems · Raphael Perez — main stylesheet (mobile-first)
   Brand: #03318c navy · #1261a6 blue · #18a2d9 cyan · #f2f2f2 mist · #0d0d0d ink
   Breakpoints: 640 (large phone) · 900 (tablet) · 1100 (desktop nav) · 1320 (wide) */

:root {
  --navy: #03318c; --navy-900: #021d57; --navy-950: #01133d;
  --blue: #1261a6; --blue-700: #0e4f88;
  --cyan: #18a2d9; --cyan-300: #8fd3f0; --cyan-50: #e8f6fc;
  --mist: #f2f2f2; --ink: #0d0d0d;
  --text: #263042; --muted: #566175; --line: #dfe4ec; --line-2: #c9d2df;
  --bg: #ffffff; --bg-alt: #f2f2f2;
  --f-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --r: 14px; --r-lg: 22px; --r-sm: 9px;
  --sh-1: 0 1px 2px rgba(1, 19, 61, .06), 0 4px 14px rgba(1, 19, 61, .06);
  --sh-2: 0 2px 4px rgba(1, 19, 61, .06), 0 18px 40px rgba(1, 19, 61, .14);
  --header-h: 66px;
  --gutter: 20px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 1100px) { :root { --header-h: 78px; --gutter: 32px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { overflow-x: clip; margin: 0; font: 400 1rem/1.65 var(--f-body); color: var(--text); background: var(--bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, .h4, .h5 { font-family: var(--f-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.35rem + 3.1vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.h4, h4 { font-size: 1.25rem; font-weight: 600; }
.h5, h5 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
main:focus { outline: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .01em; color: var(--muted); }
.small { font-size: .875rem; color: var(--muted); }
.muted { color: var(--muted); font-size: .9rem; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 46em; }
.eyebrow { font-family: var(--f-mono); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 .9rem; display: flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.demo-note { font-size: .85rem; background: #fff7e0; border: 1px dashed #d9a400; color: #5c4400; padding: 10px 14px; border-radius: var(--r-sm); }

/* ---------------------------------------------------------------- buttons */
.btn { --b: var(--blue); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .7em 1.25em; border-radius: 999px;
  font: 600 .95rem/1.2 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(18, 97, 166, .28); }
.btn--primary:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn--ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn--lg { min-height: 52px; padding: .8em 1.5em; font-size: 1rem; }
.btn--block { width: 100%; }
.hero .btn--primary, .section--navy .btn--primary, .cta-band .btn--primary, .nl-band .btn--primary, .lp-hero .btn--primary { background: var(--cyan); color: var(--ink); box-shadow: 0 8px 22px rgba(24, 162, 217, .35); }
.hero .btn--primary:hover, .section--navy .btn--primary:hover, .cta-band .btn--primary:hover, .nl-band .btn--primary:hover { background: #fff; color: var(--navy); }
.section--navy .btn--secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.section--navy .btn--secondary:hover { border-color: #fff; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; color: var(--blue); }
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover svg, .card:hover .link-arrow svg { transform: translateX(4px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ---------------------------------------------------------------- brand / logo */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.mark { width: 46px; height: auto; }
.mark .s1 { fill: var(--navy); } .mark .s2 { fill: var(--blue); } .mark .s3 { fill: var(--cyan); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font: 700 1.12rem/1.1 var(--f-head); letter-spacing: -.02em; color: var(--ink); }
.brand__co { font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-top: 3px; }
.site-footer .mark .s1, .section--navy .mark .s1 { fill: #fff; }
.site-footer .mark .s2, .section--navy .mark .s2 { fill: var(--cyan-300); }
.site-footer .brand__name { color: #fff; } .site-footer .brand__co { color: var(--cyan-300); }

/* ---------------------------------------------------------------- header + nav */
/* the blur sits on ::before: backdrop-filter on the header itself would trap the fixed mobile drawer inside it */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.nav-open .site-header::before { background: #fff; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(1, 19, 61, .06); }
.header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.header__inner .brand { margin-right: auto; }
.header__cta { display: none; }
.menu-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; grid-area: 1 / 1; transition: opacity .2s, transform .2s; }
.menu-btn .i-close { opacity: 0; transform: rotate(-45deg); }
.nav-open .menu-btn .i-open { opacity: 0; transform: rotate(45deg); }
.nav-open .menu-btn .i-close { opacity: 1; transform: none; }

/* mobile drawer */
.nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
.nav-open .nav { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.nav-open { overflow: hidden; }
.nav__list { list-style: none; }
.nav__item { border-bottom: 1px solid var(--line); }
.nav__row { display: flex; align-items: center; }
.nav__link { flex: 1; display: block; padding: 16px 0; font: 600 1.15rem/1.2 var(--f-head); color: var(--ink); text-decoration: none; }
.nav__link[aria-current="page"], .is-section > .nav__row .nav__link, .is-section > .nav__link { color: var(--blue); }
.nav__toggle { width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: var(--bg-alt); border-radius: 10px; color: var(--ink); cursor: pointer; }
.nav__toggle svg { width: 20px; height: 20px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__panel { display: none; padding: 0 0 16px; }
.nav__panel.is-open { display: block; }
.nav__panel ul { list-style: none; display: grid; gap: 2px; }
.nav__panel a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.nav__panel a:hover { background: var(--bg-alt); }
.nav__t { display: block; font-weight: 600; color: var(--ink); font-size: .98rem; }
.nav__d { display: none; }
.nav__all { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 600; color: var(--blue) !important; margin-top: 6px; }
.nav__all svg { width: 16px; height: 16px; }
.nav__mobile-extra { padding-top: 24px; }
.nav__social { display: flex; gap: 20px; margin-top: 18px; }
.nav__social a { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; font-weight: 500; }
.nav__social svg { width: 18px; height: 18px; }

@media (min-width: 640px) { .header__cta { display: inline-flex; min-height: 42px; padding: .55em 1.1em; } }

@media (min-width: 1100px) {
  .menu-btn, .nav__mobile-extra { display: none; }
  .nav { position: static; transform: none; visibility: visible; background: none; overflow: visible; padding: 0; transition: none; }
  .nav-open { overflow: visible; }
  .nav__list { display: flex; gap: 4px; }
  .nav__item { border: 0; position: relative; }
  .nav__row { gap: 0; }
  .nav__link { padding: 10px 6px 10px 14px; font: 600 .97rem/1 var(--f-body); color: var(--ink); border-radius: 10px; }
  .nav__item:not(.has-sub) .nav__link { padding-right: 14px; }
  .nav__link:hover { color: var(--blue); }
  .nav__link[aria-current="page"], .is-section .nav__link { color: var(--blue); }
  .is-section > .nav__row::after, .is-section > .nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -8px; height: 2px; background: var(--cyan); border-radius: 2px; }
  .nav__toggle { width: 26px; height: 34px; background: none; padding: 0; }
  .nav__toggle svg { width: 16px; height: 16px; }
  .nav__panel { display: block; position: absolute; top: calc(100% + 14px); left: 0; width: 360px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s; }
  .nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .nav__item:hover > .nav__panel, .nav__panel.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s var(--ease); }
  .nav__panel--mega { width: 680px; left: -40px; }
  .nav__panel--mega ul { grid-template-columns: 1fr 1fr; }
  .nav__panel a { padding: 10px 12px; }
  .nav__d { display: block; font-size: .82rem; line-height: 1.4; color: var(--muted); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .nav__all { margin: 8px 0 0 12px; font-size: .9rem; }
  .header__cta { margin-left: 8px; }
}

/* ---------------------------------------------------------------- hero (home) — see docs/ia-blueprint.html §8 */
.hero { position: relative; overflow: hidden; color: #dbe7f7; background: radial-gradient(1200px 600px at 85% 10%, rgba(24, 162, 217, .28), transparent 60%), linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy) 100%); padding: 40px 0 28px; }
.hero__bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(143, 211, 240, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 211, 240, .07) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(180deg, #000 40%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.05rem, 1.2rem + 3.6vw, 3.5rem); letter-spacing: -.03em; margin-bottom: .45em; }
.hero .hl { color: var(--cyan); position: relative; white-space: nowrap; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(143, 211, 240, .28); font: 500 .8rem/1.2 var(--f-mono); letter-spacing: .04em; color: var(--cyan-300); margin-bottom: 22px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); line-height: 1.6; color: #c8d7ee; max-width: 36em; margin-bottom: 0; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .9rem; color: #b3c6e3; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 17px; height: 17px; color: var(--cyan); }
.hero__trust--dark { color: var(--muted); } .hero__trust--dark svg { color: var(--blue); }
.hero__visual { position: relative; display: none; }
@media (min-width: 640px) { .hero__visual { display: block; } }
.term { margin: 0; background: #071230; border: 1px solid rgba(143, 211, 240, .22); border-radius: var(--r-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05); overflow: hidden; }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(143, 211, 240, .12); }
.term__bar span { width: 11px; height: 11px; border-radius: 50%; background: #2c3b62; }
.term__bar span:nth-child(1) { background: #ff6159; } .term__bar span:nth-child(2) { background: #ffbd2e; } .term__bar span:nth-child(3) { background: #28c941; }
.term__bar b { margin-left: 10px; font: 500 .75rem var(--f-mono); color: #8aa0c6; letter-spacing: .03em; }
.term__body { margin: 0; padding: 18px 18px 22px; overflow-x: auto; font: 400 .78rem/1.75 var(--f-mono); color: #e3ecfb; }
.term__body code { font: inherit; }
.t-p { color: #8fd3f0; } .t-c { color: #ffd479; } .t-a { color: #9aa9c9; } .t-s { color: #8ef0b8; } .t-k { color: #7cb8ff; } .t-m { color: #6f7fa3; }
.t-cur { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: var(--cyan); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float { display: none; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { display: flex; flex-direction: column; background: #fff; padding: 18px 16px; }
.stat dt { order: 2; font-weight: 600; color: var(--ink); font-size: .92rem; line-height: 1.3; }
.stat__n { order: 1; font: 700 clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem)/1 var(--f-head); color: var(--navy); letter-spacing: -.03em; margin-bottom: 8px; }
.stat__s { order: 3; font-size: .8rem; color: var(--muted); margin-top: 3px; }
.stats--hero { margin-top: 40px; background: rgba(143, 211, 240, .16); border-color: rgba(143, 211, 240, .2); }
.stats--hero .stat { background: rgba(1, 19, 61, .55); }
.stats--hero .stat dt { color: #fff; } .stats--hero .stat__n { color: var(--cyan); } .stats--hero .stat__s { color: #9fb3d4; }

@media (min-width: 640px) {
  .hero__ctas { flex-direction: row; }
  .term__body { font-size: .86rem; padding: 22px 24px 26px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 22px 22px; }
}
@media (min-width: 1000px) {
  .hero { padding: 72px 0 40px; min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; }
  .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
  .float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; color: var(--text); border-radius: 16px; box-shadow: var(--sh-2); animation: floaty 6s ease-in-out infinite; }
  .float b { display: block; font: 700 1rem/1.2 var(--f-head); color: var(--ink); }
  .float small { display: block; font-size: .78rem; color: var(--muted); }
  .float__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; }
  .float__icon svg { width: 21px; height: 21px; }
  .float__icon--cyan { background: var(--cyan); color: var(--ink); }
  .float--a { top: -26px; right: -14px; }
  .float--b { bottom: -44px; left: -26px; animation-delay: -3s; }
  .stats--hero { margin-top: 64px; }
}
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero { position: relative; background: linear-gradient(180deg, #f6f8fb 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: 28px 0 44px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(18, 97, 166, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 97, 166, .06) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 22em; }
.page-hero .lead { margin-bottom: 0; }
.page-hero__grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .page-hero { padding: 36px 0 72px; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; }
  .page-hero--book .page-hero__grid, .page-hero--about .page-hero__grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .84rem; margin-bottom: 22px; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin: 0 9px; color: var(--line-2); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; max-width: 26ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glance { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-1); }
.glance__h { font: 500 .74rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.glance dl { display: grid; gap: 12px; margin-bottom: 18px; }
.glance dl:last-child { margin-bottom: 0; }
.glance dl div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.glance dl div:last-child { border: 0; padding: 0; }
.glance dt { font-size: .8rem; color: var(--muted); }
.glance dd { font-weight: 600; color: var(--ink); font-size: .95rem; }
.glance dd a { display: inline-flex; align-items: center; gap: 6px; }
.glance dd svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- sections + layout */
.section { padding: 60px 0; }
.section--tight { padding: 36px 0; }
.section--light { background: var(--bg-alt); }
.section--navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, var(--navy)); color: #c8d7ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--cyan); }
.section--navy .lead { color: #b3c6e3; }
@media (min-width: 900px) { .section { padding: 96px 0; } .section--tight { padding: 48px 0; } }
.section-head { margin-bottom: 36px; max-width: 46rem; }
.section-head h2 { margin-bottom: .35em; }
.section-head .lead { margin: 0; }
.section-foot { margin: 32px 0 0; }
.grid { display: grid; gap: 18px; }
.grid > *, .split > *, .article > *, .feature-case > *, .contact-grid > *, .page-hero__grid > *, .lp-hero__grid > *, .soon > * { min-width: 0; }
.grid--mt { margin-top: 18px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 22px; } }
.split { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .split--2 { grid-template-columns: 1fr 1fr; }
  .split--center { align-items: center; }
  .split--tl { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .split--inc { grid-template-columns: 1fr 1fr; }
}
.stack { display: grid; gap: 18px; }

/* ---------------------------------------------------------------- cards */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: rgba(24, 162, 217, .55); }
.card__body { display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.14rem; margin: 0 0 .5em; line-height: 1.3; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__title a:focus-visible { outline: none; }
.card:focus-within { outline: 3px solid var(--cyan); outline-offset: 2px; }
.card__text { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.card__kicker { font: 500 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
.card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cyan-50); color: var(--blue); margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; }
.card__num { position: absolute; top: 22px; right: 22px; font: 500 .8rem var(--f-mono); color: var(--line-2); }
.card--svc:hover .card__icon { background: var(--blue); color: #fff; }
.card .link-arrow { font-size: .92rem; }
.tag, .badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .04em; background: var(--cyan-50); color: var(--blue-700); }
.badge { background: #e7f8ef; color: #14663f; }
.badge--soon { background: #fff2d9; color: #7a5200; }
.case-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.case-top__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.case-top__icon svg { width: 18px; height: 18px; }
.case-top__yr { margin-left: auto; font: 500 .78rem var(--f-mono); color: var(--muted); }
.kpi { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .86rem; color: var(--ink); }
.kpi svg { width: 16px; height: 16px; color: var(--cyan); }
.card--big { background: linear-gradient(150deg, var(--navy-950), var(--navy) 70%, var(--blue)); border: 0; color: #c8d7ee; padding: 30px; }
.card--big .card__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
.card--big .card__title a, .card--big .kpi { color: #fff; }
.card--big .card__text { color: #b9cbe6; font-size: 1.02rem; }
.card--big .tag { background: rgba(143, 211, 240, .16); color: var(--cyan-300); }
.card--big .case-top__icon { background: var(--cyan); color: var(--ink); }
.card--big .case-top__yr { color: #9fb3d4; }
.card--big .link-arrow { color: var(--cyan); }
.card--big { overflow: hidden; }
.card__bgmark { position: absolute; right: -40px; bottom: 40px; width: 72%; opacity: .14; pointer-events: none; }
.card__bgmark .s1 { fill: #fff; } .card__bgmark .s2 { fill: var(--cyan-300); } .card__bgmark .s3 { fill: var(--cyan); }
.card--big .card__body, .card--big .case-top { position: relative; }
.feature-case { display: grid; gap: 18px; }
.feature-case__side { display: grid; gap: 18px; }
@media (min-width: 1000px) { .feature-case { grid-template-columns: 1.15fr 1fr; gap: 22px; } .feature-case__side { gap: 22px; } .card--big { padding: 40px; justify-content: flex-end; min-height: 100%; } .card--big .card__body { justify-content: flex-end; } }
.tool-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card--book { padding: 0; overflow: hidden; }
.card--book .card__body { padding: 22px 24px 24px; }
.book-card__cover { background: linear-gradient(160deg, #eaf1f9, #dce7f3); padding: 28px 0 22px; display: grid; place-items: center; }
.books-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .books-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .books-row--wide { grid-template-columns: 1fr 1fr; max-width: 980px; } }

/* book cover (CSS) */
.book-cover { position: relative; width: 150px; aspect-ratio: 2 / 3; display: flex; transform: perspective(900px) rotateY(-14deg); transform-origin: left center; filter: drop-shadow(14px 18px 22px rgba(1, 19, 61, .3)); }
.book-cover--sm { width: 128px; }
.book-cover--lg { width: min(240px, 60vw); margin: 0 auto; }
.book-cover__spine { width: 10%; background: linear-gradient(90deg, #011034, var(--navy-900)); border-radius: 3px 0 0 3px; }
.book-cover__face { flex: 1; display: flex; flex-direction: column; padding: 14% 11%; background: linear-gradient(165deg, var(--navy) 0%, var(--navy-900) 70%); border-radius: 0 6px 6px 0; color: #fff; position: relative; overflow: hidden; }
.book-cover__face::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(143, 211, 240, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 211, 240, .1) 1px, transparent 1px); background-size: 12px 12px; }
.book-cover__mark { width: 46%; margin-bottom: 14%; position: relative; z-index: 1; }
.book-cover__mark .s1 { fill: #fff; } .book-cover__mark .s2 { fill: var(--cyan-300); } .book-cover__mark .s3 { fill: var(--cyan); }
.book-cover__a { position: relative; z-index: 1; font: 500 clamp(.5rem, 2.4cqw, .7rem)/1.2 var(--f-mono); letter-spacing: .08em; color: var(--cyan-300); text-transform: uppercase; }
.book-cover__b { position: relative; z-index: 1; font: 700 .98rem/1.15 var(--f-head); margin-top: 6px; }
.book-cover--lg .book-cover__b { font-size: 1.5rem; } .book-cover--lg .book-cover__a { font-size: .8rem; }
.book-cover__by { position: relative; z-index: 1; margin-top: auto; font: 500 .6rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #b9cbe6; }
.book-cover--lg .book-cover__by { font-size: .72rem; }

/* ---------------------------------------------------------------- lists, chips, ticks */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .84rem; font-weight: 500; color: var(--text); }
.chips--sm .chip { font-size: .76rem; padding: 3px 10px; }
.chips--lg .chip { font-size: .95rem; padding: 9px 16px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; padding: 3px; border-radius: 50%; background: var(--cyan-50); color: var(--blue); stroke-width: 3; }
.signs { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .signs { grid-template-columns: 1fr 1fr; } }
.signs li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-weight: 500; color: var(--ink); }
.signs svg { width: 22px; height: 22px; color: var(--cyan); flex: none; margin-top: 1px; }
.plain { list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.icon-list { list-style: none; display: grid; gap: 12px; margin: 18px 0 22px; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-list svg { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }

/* steps */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.step__n { display: inline-block; font: 500 .82rem var(--f-mono); color: var(--blue); background: var(--cyan-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.step__t { font-size: 1.1rem; margin-bottom: .4em; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (min-width: 900px) { .steps--3 { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.steps--v { gap: 0; }
.steps--v .step { background: none; border: 0; border-radius: 0; padding: 0 0 22px 52px; }
.steps--v .step::before { content: ""; position: absolute; left: 17px; top: 34px; bottom: 4px; width: 2px; background: var(--line); }
.steps--v .step:last-child::before { display: none; }
.steps--v .step__n { position: absolute; left: 0; top: 0; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; margin: 0; background: var(--navy); color: #fff; }
.steps--v .step__t { font-size: 1.02rem; padding-top: 6px; }
.steps--sm .step p { font-size: .9rem; }
.howto { margin-top: 28px; }
.offer { padding: 26px; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--navy-950), var(--navy)); color: #c8d7ee; }
.offer h3 { color: #fff; font-size: 1.35rem; }
.offer .eyebrow { color: var(--cyan); }
.offer .btn--primary { background: var(--cyan); color: var(--ink); }

/* why / recognition / engagement */
.why { list-style: none; display: grid; gap: 16px; }
.why__item { padding: 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(143, 211, 240, .18); }
.why__item h3 { margin-bottom: .35em; }
.why__item p { margin: 0; color: #b3c6e3; }
.why__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--cyan); color: var(--ink); margin-bottom: 16px; }
.why__icon svg { width: 22px; height: 22px; }
.recs { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .recs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .recs { grid-template-columns: repeat(4, 1fr); } }
.rec { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.rec__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--cyan)); color: #fff; }
.rec__icon svg { width: 22px; height: 22px; }
.rec__yr { font: 500 .78rem var(--f-mono); color: var(--blue); margin: 0 0 4px; letter-spacing: .05em; }
.rec h3 { font-size: 1.05rem; margin-bottom: .4em; }
.rec p:last-child { margin: 0; font-size: .92rem; color: var(--muted); }
.engs { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .engs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .engs { grid-template-columns: repeat(4, 1fr); } }
.eng { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; }
.eng p { color: var(--muted); font-size: .94rem; }
.eng .link-arrow { margin-top: auto; font-size: .9rem; }
.eng__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: #fff; margin-bottom: 14px; }
.eng__icon svg { width: 21px; height: 21px; }

/* services list (hub) */
.svc-rows { list-style: none; border-top: 1px solid var(--line); }
.svc-row a { display: grid; grid-template-columns: 44px 1fr 22px; gap: 16px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: background .2s, padding .2s; }
.svc-row a:hover { background: linear-gradient(90deg, var(--cyan-50), transparent); padding-left: 12px; }
.svc-row__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--cyan-50); color: var(--blue); }
.svc-row__icon svg { width: 22px; height: 22px; }
.svc-row__t { display: block; font: 600 1.2rem/1.25 var(--f-head); color: var(--ink); margin-bottom: 4px; }
.svc-row__d { display: block; font-size: .94rem; color: var(--muted); }
.svc-row__tech { display: none; }
.svc-row a > svg { width: 20px; height: 20px; color: var(--blue); }
@media (min-width: 900px) { .svc-row a { grid-template-columns: 52px 1.6fr 1fr 24px; padding: 26px 8px; } .svc-row__tech { display: block; font: 400 .8rem var(--f-mono); color: var(--muted); } }
.other-svcs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.other-svcs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .9rem; color: var(--ink); text-decoration: none; }
.other-svcs a:hover { border-color: var(--blue); color: var(--blue); }
.other-svcs svg { width: 16px; height: 16px; color: var(--blue); }
.sectors { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.sectors li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.sectors svg { width: 20px; height: 20px; color: var(--blue); }

/* ---------------------------------------------------------------- article (case / tool / book) */
.article { display: grid; gap: 40px; }
@media (min-width: 1000px) { .article { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; } .article__aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.article__aside { display: grid; gap: 18px; align-content: start; }
.aside-box { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.aside-box .h5 { margin-bottom: 12px; }
.aside-box--cta { background: var(--bg-alt); border-color: transparent; }
.aside-box--cta p { color: var(--muted); font-size: .94rem; }
.svc-links { list-style: none; display: grid; gap: 4px; }
.svc-links a { display: flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; font-weight: 500; color: var(--ink); }
.svc-links a:hover { color: var(--blue); }
.svc-links svg { width: 18px; height: 18px; color: var(--blue); }
.prose { max-width: 44rem; font-size: 1.03rem; }
.prose--narrow { margin: 0 auto; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul:not(.ticks):not(.repos) { padding-left: 1.2em; display: grid; gap: .6em; margin-bottom: 1.2em; }
.prose ul:not(.ticks):not(.repos) li::marker { color: var(--cyan); }
.dl { display: grid; gap: 10px; }
.dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.dl dt { color: var(--muted); } .dl dd { font-weight: 600; color: var(--ink); text-align: right; }
.prevnext { display: grid; gap: 14px; }
@media (min-width: 900px) { .prevnext { grid-template-columns: 1fr 1fr; } }
.prevnext a { display: block; padding: 20px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; }
.prevnext a:hover { border-color: var(--cyan); }
.prevnext span { display: block; font: 500 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.prevnext b { font: 600 1rem/1.35 var(--f-head); color: var(--ink); }
.prevnext__b { text-align: right; }

/* related */
.related .h4 { margin-bottom: 14px; }
.related__list { list-style: none; display: grid; gap: 10px; }
.rel { display: grid; grid-template-columns: 40px 1fr 18px; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); transition: border-color .2s; }
.rel:hover { border-color: var(--cyan); }
.rel > svg { width: 18px; height: 18px; color: var(--blue); }
.rel__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--cyan-50); color: var(--blue); }
.rel__icon svg { width: 20px; height: 20px; }
.rel__kind { display: block; font: 500 .7rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rel__title { display: block; font-weight: 600; color: var(--ink); line-height: 1.3; }
.rel__text { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* code */
.code { border-radius: var(--r); overflow: hidden; background: #071230; margin: 0 0 .8em; }
.code__bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 8px 16px; background: rgba(255, 255, 255, .05); font: 500 .74rem var(--f-mono); color: #8aa0c6; }
.code__copy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(143, 211, 240, .25); background: none; color: #dbe7f7; font: 500 .75rem var(--f-mono); cursor: pointer; min-height: 32px; }
.code__copy svg { width: 14px; height: 14px; }
.code pre { margin: 0; padding: 16px; overflow-x: auto; font: .84rem/1.7 var(--f-mono); color: #e3ecfb; }
.repos { list-style: none; display: grid; gap: 10px; }
.repos a { display: grid; grid-template-columns: 22px 1fr 16px; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.repos a:hover { border-color: var(--cyan); }
.repos svg { width: 20px; height: 20px; } .repos a > svg:last-child { width: 15px; color: var(--muted); }
.repos small { display: block; color: var(--muted); font-size: .85rem; }
.callout { display: flex; gap: 18px; padding: 24px; border-radius: var(--r-lg); background: var(--bg-alt); margin-top: 28px; }
.callout > svg { width: 32px; height: 32px; color: var(--blue); flex: none; }

/* timeline */
.tl { list-style: none; position: relative; display: grid; gap: 4px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--cyan), var(--navy)); border-radius: 2px; }
.tl__item { position: relative; padding: 0 0 26px 36px; }
.tl__item::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tl__yr { font: 500 .8rem var(--f-mono); color: var(--blue); margin: 0 0 4px; letter-spacing: .04em; }
.tl__item h2, .tl__item h3 { font-size: 1.12rem; margin-bottom: .2em; }
.tl__role { font-weight: 600; color: var(--muted); font-size: .92rem; margin-bottom: .5em; }
.tl--short .tl__item { padding-bottom: 18px; }
.tl--short .tl__role { margin: 0; }
.tl-aside { display: grid; gap: 18px; align-content: start; }
.edu { list-style: none; display: grid; gap: 16px; }
.edu h3 { font-size: .98rem; margin-bottom: .2em; } .edu p { margin: 0; font-size: .88rem; color: var(--muted); }
.story { list-style: none; display: grid; gap: 16px; }
@media (min-width: 900px) { .story { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.story__item { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.story__yr { font: 700 1.9rem/1 var(--f-head); color: var(--cyan); margin-bottom: 12px; letter-spacing: -.03em; }
.story__item p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.offclock { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--r-lg); background: var(--cyan-50); }
.offclock > svg { width: 30px; height: 30px; color: var(--blue); flex: none; }
.offclock p { margin: 0; }
.portrait { margin: 0; }
.portrait__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(circle at 70% 20%, rgba(24, 162, 217, .5), transparent 55%), linear-gradient(160deg, var(--navy), var(--navy-950)); display: grid; place-items: center; box-shadow: var(--sh-2); }
.portrait__img img { width: 100%; height: 100%; object-fit: cover; }
.portrait__img span { font: 700 4.5rem var(--f-head); color: #fff; letter-spacing: -.04em; position: relative; }
.portrait__mark { position: absolute; width: 70%; bottom: -6%; right: -12%; opacity: .25; }
.portrait__mark .s1 { fill: #fff; } .portrait__mark .s2 { fill: var(--cyan-300); } .portrait__mark .s3 { fill: var(--cyan); }
.portrait figcaption { font: 500 .78rem var(--f-mono); color: var(--muted); margin-top: 10px; text-align: center; letter-spacing: .05em; }
.page-hero--about .page-hero__side { max-width: 320px; }

/* learn */
.ebooks { list-style: none; display: grid; gap: 16px; }
@media (min-width: 900px) { .ebooks { grid-template-columns: 1fr 1fr; } }
.ebook { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.ebook h3 { font-size: 1.05rem; margin-bottom: .3em; }
.ebook p { color: var(--muted); font-size: .92rem; margin-bottom: .6em; }
.ebook a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.ebook a svg { width: 14px; height: 14px; }
.ebook__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; flex: none; }
.ebook__icon svg { width: 21px; height: 21px; }
.archive { list-style: none; border-top: 1px solid var(--line); }
.archive li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.archive .mono { flex: none; text-align: right; }
.soon { display: grid; gap: 32px; }
@media (min-width: 900px) { .soon { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; } }
.soon .ticks svg { background: rgba(24, 162, 217, .2); color: var(--cyan); }
.soon__form { padding: 26px; border-radius: var(--r-lg); background: #fff; color: var(--text); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font: 600 1.02rem/1.35 var(--f-head); color: var(--ink); min-height: 56px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 20px; height: 20px; color: var(--blue); transition: transform .2s; }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__item[open] { border-color: rgba(24, 162, 217, .55); }
.faq__a { padding: 0 20px 18px; color: var(--muted); }
.faq__a p { margin: 0; }

/* ---------------------------------------------------------------- forms */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.req { color: #c0392b; } .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font: 400 16px/1.4 var(--f-body); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 140px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231261a6' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(24, 162, 217, .2); }
.is-invalid { border-color: #c0392b !important; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.check--sm { font-size: .84rem; color: var(--muted); }
.form-grid { display: grid; gap: 16px; margin-bottom: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 20px; }
.form-note { display: inline-flex; gap: 8px; align-items: center; margin: 0; font-size: .85rem; color: var(--muted); }
.form-note svg { width: 16px; height: 16px; }
.form-msg { margin: 14px 0 0; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: #14663f; background: #e7f8ef; padding: 14px 16px; border-radius: 12px; }
.form-msg.is-err { color: #a12a1e; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); }
@media (min-width: 900px) { .form-card { padding: 34px; } }
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.contact-side .steps { margin: 18px 0 26px; }
.contact-links { display: grid; gap: 10px; }
.contact-links a, .contact-links p { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); margin: 0; }
.contact-links a:hover { border-color: var(--cyan); }
.contact-links svg { width: 22px; height: 22px; color: var(--blue); }
.contact-links small { display: block; color: var(--muted); font-size: .84rem; }

/* newsletter form */
.nl-form { display: grid; gap: 14px; }
.nl-form__row { display: grid; gap: 10px; }
@media (min-width: 640px) { .nl-form__row { grid-template-columns: 1fr auto; align-items: end; } .nl-form__row .btn { min-height: 50px; } }
.nl-form__interests { border: 0; padding: 0; margin: 4px 0; display: grid; gap: 10px; }
.nl-form__interests legend { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.nl-form--dark .field label { color: #dbe7f7; }
.nl-form--dark input[type=email] { background: rgba(255, 255, 255, .96); border-color: transparent; }
.nl-form--dark .check--sm { color: #9fb3d4; }
.nl-form--dark .check--sm a { color: var(--cyan-300); }
.nl-form--dark .form-msg.is-err { color: #ffb4a8; }
.nl-band { position: relative; background: var(--navy-950); color: #c8d7ee; padding: 56px 0; overflow: hidden; }
.nl-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(143, 211, 240, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 211, 240, .06) 1px, transparent 1px); background-size: 40px 40px; }
.nl-band__inner { position: relative; display: grid; gap: 26px; }
.nl-band h2 { color: #fff; margin-bottom: .3em; }
.nl-band .eyebrow { color: var(--cyan); }
.nl-band p { margin: 0; }
@media (min-width: 900px) { .nl-band { padding: 72px 0; } .nl-band__inner { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; } }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--navy) 60%, var(--navy-900)); color: #d5e3f6; padding: 56px 0; }
.cta-band__inner { display: grid; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 40em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band { padding: 80px 0; } .cta-band__inner { grid-template-columns: 1.4fr auto; align-items: center; gap: 48px; } }

/* landing template */
.lp-hero { background: linear-gradient(180deg, #f6f8fb, #fff); border-bottom: 1px solid var(--line); padding: 28px 0 48px; }
.lp-hero__grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .lp-hero { padding: 40px 0 88px; } .lp-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; } }
.benefits { list-style: none; display: grid; gap: 18px; }
@media (min-width: 900px) { .benefits { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.benefit { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.benefit p { color: var(--muted); margin: 0; }
.benefit__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cyan-50); color: var(--blue); margin-bottom: 16px; }
.benefit__icon svg { width: 24px; height: 24px; }
.author { display: flex; gap: 22px; align-items: center; max-width: 52rem; }
.author__mark { width: 84px; flex: none; }
.author__mark .s1 { fill: var(--navy); } .author__mark .s2 { fill: var(--blue); } .author__mark .s3 { fill: var(--cyan); }
.author p { margin-bottom: .6em; color: var(--muted); }

/* ---------------------------------------------------------------- footer + mobile CTA bar */
.site-footer { background: #000d2b; color: #9fb3d4; padding: 56px 0 0; font-size: .93rem; }
.footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; } .footer__brand { grid-column: auto; } }
.footer__brand p { margin: 16px 0 0; max-width: 30em; }
.footer__loc { display: flex; gap: 8px; align-items: center; }
.footer__loc svg { width: 16px; height: 16px; color: var(--cyan); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(143, 211, 240, .2); color: #dbe7f7; }
.footer__social a:hover { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.footer__social svg { width: 18px; height: 18px; }
.footer__h { font: 500 .74rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: grid; gap: 9px; }
.footer__col a { color: #c8d7ee; text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; font-size: .84rem; }
.footer__legal::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(143, 211, 240, .14); }
.footer__legal p { margin: 0; }
.footer__legal a { color: #c8d7ee; }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(1, 19, 61, .08); transform: translateY(110%); transition: transform .3s var(--ease); }
.mbar.is-on { transform: none; }
.mbar .btn { min-height: 48px; }
@media (max-width: 899px) { body:has(.mbar) .site-footer { padding-bottom: 76px; } }
@media (min-width: 900px) { .mbar { display: none; } }

/* ---------------------------------------------------------------- reveal on scroll (JS adds .js) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media print { .site-header, .nl-band, .cta-band, .mbar, .site-footer { display: none; } }

/* ================================================================ personal-brand layout (round 2) */
/* hero: name + role, portrait on the right (on phones a round portrait sits above the text) */
.hero--person .hero__inner { align-items: center; }
.hero__name { display: block; font-size: clamp(2.6rem, 1.6rem + 5vw, 4.6rem); line-height: 1; letter-spacing: -.04em; color: #fff; }
.hero__role { display: block; margin-top: 14px; font: 600 clamp(1.15rem, .95rem + 1vw, 1.6rem)/1.3 var(--f-head); letter-spacing: -.01em; color: #dbe7f7; }
.hero--person .hero__lead { margin-top: 6px; }
.hero__social { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; font-size: .92rem; }
.hero__social a, .hero__social span { display: inline-flex; align-items: center; gap: 8px; color: #b3c6e3; text-decoration: none; }
.hero__social a:hover { color: #fff; }
.hero__social svg { width: 18px; height: 18px; color: var(--cyan); }
.hero__visual--person { display: block; order: -1; justify-self: start; }
.portrait--hero { width: 132px; margin: 0; }
.portrait--hero .portrait__img { border-radius: 50%; aspect-ratio: 1; border: 3px solid rgba(143, 211, 240, .5); }
.portrait--hero .portrait__img span { font-size: 2.6rem; }
.portrait__img--ph small { position: absolute; bottom: 9%; left: 0; right: 0; text-align: center; font: 500 .62rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #9fb3d4; }
.portrait--hero .portrait__img--ph small { display: none; }
@media (min-width: 640px) { .portrait--hero { width: 160px; } }
@media (min-width: 1000px) {
  .hero--person .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hero__visual--person { order: 0; justify-self: end; position: relative; width: 100%; max-width: 440px; padding: 30px 40px 40px; }
  .portrait--hero { width: 100%; }
  .portrait--hero .portrait__img { border-radius: 28px; aspect-ratio: 4 / 5; border: 1px solid rgba(143, 211, 240, .35); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
  .portrait--hero .portrait__img span { font-size: 5rem; }
  .portrait--hero .portrait__img--ph small { display: block; }
  .hero--person .float--a { top: 50px; left: -16px; right: auto; }
  .hero--person .float--b { bottom: 130px; right: -26px; left: auto; animation-delay: -2s; }
  .hero--person .float--c { bottom: 14px; left: 4px; animation-delay: -4s; }
}
@media (max-width: 999px) { .hero--person .float { display: none; } }

/* about + expertise */
@media (min-width: 1000px) { .split--about { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; } }
.offclock-line { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; font-size: .9rem; color: var(--muted); }
.offclock-line svg { width: 18px; height: 18px; color: var(--blue); margin-top: 3px; flex: none; }
.xps { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .xps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .xps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.xp { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.xp p { color: var(--muted); font-size: .94rem; }
.xp__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--navy); color: #fff; margin-bottom: 16px; }
.xp__icon svg { width: 22px; height: 22px; }

/* in-page sub navigation (Experience, Tools & Books) */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--text); text-decoration: none; white-space: nowrap; }
.subnav a:hover { background: var(--bg-alt); color: var(--blue); }
.subnav a.is-active { background: var(--navy); color: #fff; }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 72px); }
.stats--mt { margin-top: 40px; }

/* skills */
.skills { display: grid; gap: 16px; }
@media (min-width: 900px) { .skills { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .skills { grid-template-columns: repeat(3, 1fr); } }
.skill { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.skill h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 14px; }
.skill h3 svg { width: 22px; height: 22px; color: var(--blue); }

/* projects (expandable) */
.projs { display: grid; gap: 12px; }
.proj { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .2s; }
.proj[open] { border-color: rgba(24, 162, 217, .6); box-shadow: var(--sh-1); }
.proj summary { list-style: none; display: grid; grid-template-columns: 44px 1fr 28px; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; }
.proj summary::-webkit-details-marker { display: none; }
.proj__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.proj__icon svg { width: 21px; height: 21px; }
.proj__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 500 .78rem var(--f-mono); color: var(--muted); margin-bottom: 6px; }
.proj__title { display: block; font: 600 1.08rem/1.35 var(--f-head); color: var(--ink); }
.proj__scale { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .86rem; font-weight: 600; color: var(--blue); }
.proj__scale svg { width: 15px; height: 15px; color: var(--cyan); }
.proj__chev svg { width: 22px; height: 22px; color: var(--blue); transition: transform .2s; }
.proj[open] .proj__chev svg { transform: rotate(180deg); }
.proj__body { display: grid; gap: 24px; margin: 0 20px; padding: 20px 0 24px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .proj__body { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin: 0 24px; } .proj summary { padding: 20px 24px; } }
.proj__main h4 { font-size: 1rem; margin: 1.2em 0 .4em; } .proj__main h4:first-child { margin-top: 0; }
.proj__main p, .proj__main li { font-size: .97rem; }
.proj__aside { display: grid; gap: 16px; align-content: start; }
.proj:target { border-color: var(--cyan); }
@media (max-width: 639px) { .proj summary { grid-template-columns: 1fr 24px; } .proj__icon { display: none; } }

/* career timeline as a CV */
.tl--cv .tl__item { padding-bottom: 30px; }
.tl--cv .tl__item > div > p:not(.tl__role) { color: var(--text); font-size: .97rem; margin-bottom: 10px; }
.tl__h { font-size: 1.14rem; margin-bottom: .15em; }
.tl__proj { display: inline-flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.tl__proj svg { width: 16px; height: 16px; margin-top: 3px; flex: none; }
.badge--line { background: none; border: 1px solid var(--line-2); color: var(--muted); margin-left: 6px; vertical-align: 1px; }
@media (min-width: 900px) {
  .tl--cv::before { left: 177px; }
  .tl--cv .tl__item { display: grid; grid-template-columns: 150px 1fr; gap: 0 54px; padding-left: 0; }
  .tl--cv .tl__item::before { left: 170px; }
  .tl--cv .tl__yr { text-align: right; padding-top: 4px; white-space: nowrap; font-size: .76rem; }
}
.earlier { margin-top: 8px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: #fff; }
.earlier > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; font: 600 1.05rem var(--f-head); color: var(--ink); }
.earlier > summary::-webkit-details-marker { display: none; }
.earlier > summary svg { width: 20px; height: 20px; color: var(--blue); }
.earlier > summary small { margin-left: auto; font: 500 .8rem var(--f-mono); color: var(--muted); }
.earlier[open] > summary svg:last-child { transform: rotate(180deg); }
.earlier > .tl { padding: 8px 20px 0; }
.plain--cols { columns: 2 220px; column-gap: 24px; }
.plain--cols li { break-inside: avoid; margin-bottom: 6px; }

/* work with me */
.signs--1 { grid-template-columns: 1fr !important; }
.ticks--sm { gap: 8px; margin: 12px 0 16px; } .ticks--sm li { font-size: .92rem; } .ticks--sm svg { width: 18px; height: 18px; margin-top: 2px; }
.svc { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: calc(var(--header-h) + 20px); }
.svc h3 { margin-bottom: .4em; }
.svc > p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.svc .svc__offer { margin-top: -4px; }
.svc__tools { font-size: .86rem; color: var(--muted); margin: 0 0 16px; }
.svc .link-arrow { margin-top: auto; font-size: .92rem; }
.svc__offer { font-size: .86rem; background: var(--cyan-50); color: var(--text); padding: 8px 12px; border-radius: 10px; margin-bottom: 12px !important; }
.svc:target, .tool:target, .book:target { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(24, 162, 217, .18); }

/* tools & books */
.tools { display: grid; gap: 18px; }
@media (min-width: 900px) { .tools { grid-template-columns: 1fr 1fr; gap: 22px; } }
.tool { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: calc(var(--header-h) + 80px); }
.tool__head { display: flex; justify-content: space-between; align-items: flex-start; }
.tool > p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.tool__foot { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.tool__meta { display: flex; gap: 14px; }
.tool .repos { margin-bottom: 18px; }
.quick { margin-bottom: 18px; }
.quick > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--blue); padding: 4px 0; }
.quick > summary::-webkit-details-marker { display: none; }
.quick > summary svg { width: 16px; height: 16px; transition: transform .2s; }
.quick[open] > summary svg { transform: rotate(180deg); }
.quick .code { margin-top: 10px; }
.books { display: grid; gap: 22px; }
@media (min-width: 1100px) { .books { grid-template-columns: 1fr 1fr; } }
.book { display: grid; gap: 24px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: calc(var(--header-h) + 80px); }
@media (min-width: 640px) { .book { grid-template-columns: 170px 1fr; } }
.book__cover { display: grid; place-items: start center; padding-top: 6px; }
.book__body h3 { font-size: 1.2rem; }
.book__body > p { color: var(--muted); font-size: .95rem; }
.book .dl { margin: 6px 0 20px; }

/* print: the Experience page doubles as a CV (Print / save as PDF) */
.print-only { display: none; }
@media print {
  .print-only { display: block; }
  .print-head { padding: 0 var(--gutter) 10pt; border-bottom: 2px solid var(--navy); margin-bottom: 6pt; }
  .print-head p { margin: 0; font-size: 9.5pt; color: #333; }
  .print-head .print-head__name { font: 700 24pt/1.1 var(--f-head); color: var(--ink); margin-bottom: 4pt; }
  .skills { grid-template-columns: 1fr 1fr !important; }
  @page { margin: 14mm 12mm; }
  body { font-size: 10.5pt; color: #000; }
  .site-header, .subnav, .nl-band, .cta-band, .mbar, .site-footer, .hero-ctas, .breadcrumbs, .page-hero::before, .proj__chev, .earlier > summary svg { display: none !important; }
  .page-hero, .section, .section--light { background: #fff !important; padding: 10pt 0 !important; border: 0; }
  .page-hero__grid { grid-template-columns: 1fr 240px !important; }
  .section-head { margin-bottom: 8pt; } h1 { font-size: 20pt; } h2 { font-size: 14pt; }
  .card, .proj, .skill, .rec, .tl__item, .glance { break-inside: avoid; box-shadow: none !important; }
  .stats { border: 1px solid #ccc; } .stat { padding: 6pt; } .stat__n { font-size: 16pt; }
  a { color: #000; text-decoration: none; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* real book covers */
.book-img { display: block; width: 150px; height: auto; border-radius: 3px 6px 6px 3px; box-shadow: -1px 0 0 rgba(0, 0, 0, .25) inset, 10px 14px 28px rgba(1, 19, 61, .28); }
.book__cover .book-img { width: 100%; max-width: 170px; }
.rel__icon--img { background: none; width: 40px; height: 52px; }
.rel__icon--img img { width: 34px; height: auto; border-radius: 2px; box-shadow: 2px 3px 8px rgba(1, 19, 61, .25); }
