/* The Esbron Studios
   Bricolage Grotesque + Newsreader. Bright blue, signal yellow, ink black.
   Light and dark themes share one set of tokens. */

:root {
  --blue: #0a5bff;
  --blue-deep: #0740c4;
  --blue-text: #0a5bff;
  --sky: #cfe0ff;
  --yellow: #ffd23f;

  --bg: #ffffff;
  --bg-2: #f3f4f8;
  --surface: #ffffff;
  --text: #0c1033;
  --muted: #4a5070;
  --line: rgba(12, 16, 51, 0.14);
  --btn: #0c1033;
  --btn-text: #ffffff;
  --shadow: 0 1px 2px rgba(12, 16, 51, 0.06), 0 10px 30px rgba(12, 16, 51, 0.07);

  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;

  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1200px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --blue-text: #8fb0ff;
  --bg: #0a0e24;
  --bg-2: #0e1430;
  --surface: #131a3d;
  --text: #f1f3ff;
  --muted: #a9b0d6;
  --line: rgba(255, 255, 255, 0.16);
  --btn: #ffffff;
  --btn-text: #0c1033;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.1875rem / 1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, p, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-blue :focus-visible { outline-color: var(--yellow); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--max); margin-inline: auto; }
.block { padding: clamp(4rem, 9vw, 7.5rem) var(--pad); }

.h2 {
  font: 800 clamp(2rem, 4.4vw, 3.4rem) / 1.02 var(--display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-sub { margin-top: 0.6rem; color: var(--muted); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.9rem 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem / 1.1 var(--display); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--btn); color: var(--btn-text); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-yellow { background: var(--yellow); color: #0c1033; }
.btn-line { border-color: var(--text); color: var(--text); background: transparent; }
.btn-line:hover { background: var(--text); color: var(--bg); }
.btn-line-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--blue); }
.btn-sm { min-height: 2.6rem; padding: 0.6rem 1.2rem; font-size: 0.95rem; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50; padding-inline: var(--pad);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--max); margin-inline: auto; padding: 0.7rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font: 800 1.15rem / 1 var(--display); letter-spacing: -0.01em; text-transform: uppercase; text-decoration: none;
}
.brand img { width: 2.2rem; height: 2.2rem; }
.brand-text { display: flex; flex-direction: column; line-height: 0.95; }
.brand-text small { font: 800 0.6rem / 1 var(--display); letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; font: 600 0.95rem / 1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.nav-links a:not(.btn) { padding: 0.4rem 0; text-decoration: none; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { border-color: var(--blue); }
.nav-links .btn { text-transform: uppercase; letter-spacing: 0.03em; }

.theme-toggle {
  position: relative; width: 4rem; height: 2.15rem; padding: 0;
  border: 1.5px solid var(--text); border-radius: 999px; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: space-between; padding-inline: 0.45rem; color: var(--text);
}
.theme-toggle svg { width: 1.05rem; height: 1.05rem; position: relative; z-index: 1; }
.theme-toggle::before {
  content: ""; position: absolute; top: 0.2rem; left: 0.22rem; width: 1.5rem; height: 1.5rem;
  border-radius: 50%; background: var(--text); transition: translate 0.3s var(--ease);
}
:root[data-theme="dark"] .theme-toggle::before { translate: 1.85rem 0; }
.theme-toggle .i-moon { color: var(--bg); }
:root[data-theme="dark"] .theme-toggle .i-moon { color: var(--text); }
:root[data-theme="dark"] .theme-toggle .i-sun { color: var(--bg); }

.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: transparent; border: 2px solid var(--text); border-radius: 50%;
  color: var(--text); cursor: pointer;
}
.menu-btn span, .menu-btn span::before { display: block; width: 1.05rem; height: 2px; background: currentColor; position: relative; }
.menu-btn span::before { content: ""; position: absolute; top: 5px; left: 0; }
.menu-btn span { top: -3px; }

@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    padding: 1rem var(--pad) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; translate: 0 -0.5rem;
    transition: opacity 0.25s, translate 0.3s var(--ease), visibility 0.3s;
  }
  .nav-links.open { visibility: visible; opacity: 1; translate: none; }
  .nav-links a:not(.btn) { padding: 0.85rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 0.75rem; }
  .theme-toggle { align-self: flex-start; margin-top: 0.75rem; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero { background: var(--bg-2); padding: clamp(2.5rem, 6vw, 5rem) var(--pad) clamp(3.5rem, 7vw, 6rem); overflow: hidden; transition: background-color 0.3s; }
.hero-in { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; } }

.js:not(.settings-ready) .rise { opacity: 0; }

.hero h1 {
  font: 800 clamp(2.6rem, 6vw, 5.1rem) / 0.98 var(--display);
  letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance;
}
.hero-sub { max-width: 34rem; margin-top: 1.5rem; font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.5; color: var(--muted); }
.hero-sub span { display: block; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.text-link { font: 700 1.05rem / 1.2 var(--display); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.text-link:hover { color: var(--blue-text); }

/* Portrait with a bright-blue proof block behind it */
.portrait { position: relative; width: min(100%, 27rem); margin-inline: auto; padding: 0 1.2rem 1.2rem 0; }
.portrait::before {
  content: ""; position: absolute; inset: 1.2rem 0 0 1.2rem; border-radius: 22px; background: var(--blue);
}
.portrait img {
  position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: 22px; border: 3px solid var(--text); background: var(--sky);
}
.portrait-tag {
  position: absolute; left: -0.6rem; bottom: 2.4rem; padding: 0.55rem 0.9rem;
  border-radius: 10px; background: var(--yellow); color: #0c1033; rotate: -3deg;
  font: 800 0.95rem / 1.15 var(--display); box-shadow: 4px 4px 0 var(--text);
}

@keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
.settings-ready .rise { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms); }
.settings-ready .portrait { animation: rise 1s var(--ease) both; animation-delay: 0.3s; }

/* ── Work ────────────────────────────────────────────── */
.work-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 2rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.55rem 1.05rem; border: 1.5px solid var(--text); border-radius: 999px;
  background: transparent; color: var(--text); cursor: pointer;
  font: 600 0.95rem / 1.1 var(--display); transition: background-color 0.2s, color 0.2s;
}
.chip:hover { background: var(--bg-2); }
.chip[aria-pressed="true"] { background: var(--btn); color: var(--btn-text); }

.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card {
  display: flex; flex-direction: column; padding: 0.75rem 0.75rem 1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.card-img { display: block; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 10px; background: var(--sky); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
a.card-img:hover img { transform: scale(1.03); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; font: 800 clamp(3.5rem, 9vw, 6rem) / 1 var(--display); letter-spacing: -0.04em; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1rem 0.5rem 0; }
.card h3 { font: 800 1.3rem / 1.15 var(--display); letter-spacing: -0.01em; text-transform: uppercase; }
.card p { margin-top: 0.5rem; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 1.1rem; }
.pill { padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--bg-2); color: var(--text); font: 600 0.9rem / 1.2 var(--display); }
.empty { grid-column: 1 / -1; max-width: 34rem; color: var(--muted); }

.sk { background: var(--bg-2); border-radius: 10px; animation: pulse 1.3s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: 0.5; } }
.sk-line { height: 1.1rem; margin-top: 1rem; }
.sk-line.short { width: 55%; margin-top: 0.6rem; }

/* ── Services ────────────────────────────────────────── */
.services { background: var(--bg-2); }
.tiers { display: grid; align-items: stretch; gap: 1.25rem; margin-top: clamp(2rem, 5vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tier { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.tier h3 { font: 800 1.4rem / 1.1 var(--display); text-transform: uppercase; }
.price { margin: 1rem 0 0.6rem; color: var(--blue-text); font: 800 clamp(2.4rem, 4vw, 3.2rem) / 1 var(--display); letter-spacing: -0.03em; }
.blurb { color: var(--muted); }
.tier ul { display: grid; gap: 0.6rem; margin: 1.5rem 0 2rem; padding: 1.25rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.tier li { position: relative; padding-left: 1.7rem; font-size: 1.05rem; line-height: 1.4; }
.tier li::before { content: ""; position: absolute; left: 0.05rem; top: 0.32em; width: 0.9rem; height: 0.5rem; border-left: 2.5px solid var(--blue-text); border-bottom: 2.5px solid var(--blue-text); rotate: -45deg; }
.tier .btn { margin-top: auto; }
.tier.feat { background: var(--blue); border-color: var(--blue); color: #fff; }
.tier.feat .price { color: var(--yellow); }
.tier.feat .blurb { color: #dbe6ff; }
.tier.feat ul { border-color: rgba(255, 255, 255, 0.3); }
.tier.feat li::before { border-color: var(--yellow); }
.tier.feat .btn-ink { background: #fff; color: #0c1033; }

.addon { display: grid; align-items: center; gap: 1.5rem 3rem; margin-top: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 16px; background: var(--yellow); color: #0c1033; }
@media (min-width: 900px) { .addon { grid-template-columns: 1.4fr 0.6fr; } }
.addon h3 { font: 800 clamp(1.5rem, 3vw, 2.1rem) / 1.05 var(--display); letter-spacing: -0.02em; text-transform: uppercase; }
.addon p { max-width: 36rem; margin-top: 0.75rem; }
.addon-side { display: grid; justify-items: start; gap: 1rem; }
.addon .price { margin: 0; color: #0c1033; font-size: clamp(1.9rem, 3.2vw, 2.6rem); white-space: nowrap; }
.addon .btn-ink { background: #0c1033; color: #fff; }
@media (min-width: 900px) { .addon-side { justify-items: end; text-align: right; } }

/* ── About ───────────────────────────────────────────── */
.about-grid { display: grid; gap: 2rem 4rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.5fr 1.7fr; } }
.side-title { align-self: start; padding-top: 0.9rem; border-top: 4px solid var(--blue); font: 800 1.25rem / 1 var(--display); text-transform: uppercase; }
.lede { font: 600 clamp(1.6rem, 3.2vw, 2.4rem) / 1.2 var(--display); letter-spacing: -0.02em; text-wrap: pretty; }
.prose { max-width: 38rem; margin-top: 2rem; }
.prose p + p { margin-top: 1.1rem; }
.facts { display: grid; gap: 1.5rem 2rem; margin-top: 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.fact { padding-top: 0.9rem; border-top: 2px solid var(--text); }
.fact strong { display: block; margin-bottom: 0.3rem; font: 700 1.2rem / 1.2 var(--display); }
.fact span { color: var(--muted); }

/* ── Contact ─────────────────────────────────────────── */
.contact { background: var(--blue); color: #fff; }
.contact-grid { display: grid; gap: 3rem 4rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact h2 { font: 800 clamp(2.4rem, 6vw, 5rem) / 0.96 var(--display); letter-spacing: -0.035em; text-transform: uppercase; text-wrap: balance; }
.contact-lead { max-width: 30rem; margin-top: 1.25rem; font-size: 1.25rem; line-height: 1.5; color: #dbe6ff; }
.direct { display: grid; gap: 1.25rem; margin-top: 2rem; }
.direct dt { font: 700 0.85rem / 1 var(--display); text-transform: uppercase; letter-spacing: 0.06em; color: #c2d4ff; }
.direct dd { margin: 0.35rem 0 0; font: 700 1.3rem / 1.2 var(--display); }
.direct a { text-underline-offset: 0.25em; text-decoration-thickness: 2px; overflow-wrap: anywhere; }

.form { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 10px 10px 0 #0c1033; }
.form label { display: grid; gap: 0.35rem; font: 700 0.95rem / 1.2 var(--display); }
.form input, .form textarea {
  width: 100%; padding: 0.8rem 0.9rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text); font: 400 1.05rem / 1.4 var(--body);
}
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.form small { color: var(--muted); font: 400 0.95rem / 1.4 var(--body); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding: 1.5rem var(--pad); background: #0c1033; color: #c7cce8; font: 500 0.95rem / 1.4 var(--display); }

/* ── Scroll reveal (cards only) ──────────────────────── */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .settings-ready .rise, .settings-ready .portrait { animation: none; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .btn, .card-img img, .theme-toggle::before, body { transition: none; }
}

/* ═══ Multi-page additions ═══════════════════════════════ */

/* Purpose hero */
.kicker { margin-bottom: 1.25rem; color: #c2d4ff; font: 700 0.95rem / 1 var(--display); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-blue { background: var(--blue); color: #fff; padding: clamp(3.5rem, 8vw, 7rem) var(--pad); }
.hero-blue h1 { max-width: 20ch; font: 800 clamp(2.3rem, 5.2vw, 4.4rem) / 1 var(--display); letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
.hero-blue .hero-sub { max-width: 40rem; color: #dbe6ff; }

/* Areas / topics pills */
.areas { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.areas li { padding: 0.45rem 0.95rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font: 600 0.95rem / 1.2 var(--display); }

/* Ventures + roles */
.ventures { background: var(--bg-2); }
.venture-grid { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 5vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.venture { display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.4rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.venture-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 0.75rem; }
.venture h3 { font: 800 1.4rem / 1.1 var(--display); text-transform: uppercase; letter-spacing: -0.01em; }
.venture p { color: var(--muted); font-size: 1.075rem; line-height: 1.55; }
.venture .text-link { align-self: flex-start; margin-top: auto; }
.venture .pill { background: var(--bg-2); }

/* Build / Create / Solve / Impact strip */
.themes { padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad); background: #0c1033; color: #fff; }
.themes-in { display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.theme { padding-top: 1rem; border-top: 3px solid var(--blue); }
.theme b { display: block; color: var(--yellow); font: 800 clamp(2.2rem, 4.5vw, 3.4rem) / 1 var(--display); letter-spacing: -0.03em; text-transform: uppercase; }
.theme p { margin-top: 0.6rem; color: #c7cce8; font-size: 1.05rem; line-height: 1.45; }

/* Two big links on the home page */
.tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; min-height: 15rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 20px; text-decoration: none; }
.tile h3 { font: 800 clamp(2rem, 4vw, 3rem) / 1 var(--display); letter-spacing: -0.03em; text-transform: uppercase; }
.tile p { max-width: 28rem; font-size: 1.15rem; line-height: 1.5; }
.tile .btn { margin-top: auto; }
.tile:hover .btn { transform: translateY(-2px); }
.tile-blue { background: var(--blue); color: #fff; }
.tile-blue p { color: #dbe6ff; }
.tile-yellow { background: var(--yellow); color: #0c1033; }

/* Contact panel (home + purpose) and social links */
.panel-card { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 10px 10px 0 #0c1033; }
.panel-card h3 { font: 800 1.4rem / 1.1 var(--display); text-transform: uppercase; }
.panel-card p { color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.75rem; font: 700 1rem / 1.2 var(--display); }
.socials a { text-underline-offset: 0.25em; text-decoration-thickness: 2px; }

/* Purpose page */
.prose.big { max-width: 44rem; margin-top: 0; font-size: 1.25rem; }
.prose.big p:last-child { margin-top: 1.5rem; color: var(--blue-text); font: 800 clamp(1.6rem, 3.2vw, 2.4rem) / 1.15 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.principles { display: grid; gap: 1.75rem 2rem; margin-top: clamp(2rem, 5vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.principles > div { padding-top: 0.9rem; border-top: 2px solid var(--text); }
.principles strong { display: block; margin-bottom: 0.3rem; font: 700 1.2rem / 1.2 var(--display); }
.principles p { color: var(--muted); }

.gallery { columns: 3 260px; column-gap: 1rem; }
.gtile { break-inside: avoid; margin: 0 0 1rem; }
.gbtn { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; }
button.gbtn { cursor: zoom-in; }
.gtile img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; transition: filter 0.3s; }
button.gbtn:hover img { filter: brightness(0.92); }
.gph { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; font-size: 3rem; }
.gtile figcaption { margin-top: 0.5rem; color: var(--muted); font-size: 0.98rem; line-height: 1.35; }

.lightbox { width: min(100% - 1rem, 60rem); max-height: 96dvh; padding: 1rem; border: 0; border-radius: 16px; background: #0c1033; color: #fff; }
.lightbox::backdrop { background: rgba(5, 8, 25, 0.86); }
.lightbox figure { display: grid; justify-items: center; gap: 0.75rem; margin: 0; }
.lightbox img { max-width: 100%; max-height: 78dvh; border-radius: 8px; object-fit: contain; }
.lightbox img { transition: filter 0.3s; }
.lightbox img.is-thumb { filter: blur(3px); }
.lightbox figcaption { color: #c7cce8; font: 500 1rem / 1.4 var(--display); text-align: center; }
.lb-close, .lb-nav { position: absolute; z-index: 2; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lb-close { top: 0.75rem; right: 0.75rem; }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { left: 0.75rem; }
.lb-next { right: 0.75rem; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.3); }

.verses-band { padding: clamp(3rem, 7vw, 5.5rem) var(--pad); background: var(--bg-2); }
.verses { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.verses blockquote { margin: 0; padding-left: 1.25rem; border-left: 4px solid var(--blue); }
.verses blockquote p { font: italic 500 clamp(1.3rem, 2.4vw, 1.7rem) / 1.35 var(--body); }
.verses cite { display: block; margin-top: 0.6rem; color: var(--muted); font: 700 0.95rem / 1.2 var(--display); font-style: normal; }
