/*
Theme Name: Eversa Theme
Theme URI: https://eversa.nl
Author: Eversa / Marcel Beelen
Author URI: https://eversa.nl
Description: Cinematic portfolio theme for Eversa, IT copywriting, books, documentation, and editorial work.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: eversa
*/

/* ── CSS Variables ─────────────────────────────────────────── */

:root {
  --bg: #08111f;
  --bg-soft: #0e1830;
  --bg-card: rgba(10, 21, 41, 0.78);
  --bg-card-strong: rgba(9, 16, 32, 0.94);
  --text: #f4f7fb;
  --text-soft: #9fb0ca;
  --text-muted: #73839f;
  --line: rgba(160, 188, 255, 0.12);
  --line-strong: rgba(160, 188, 255, 0.24);
  --accent: #66d9ff;
  --accent-2: #9c7cff;
  --accent-3: #40f7c0;
  --glow: 0 0 120px rgba(102, 217, 255, 0.24);
  --radius-sm: 16px;
  --radius: 28px;
  --radius-lg: 40px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --container: 1280px;
  --gutter: 28px;
  --font-heading: 'Manrope', Inter, Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────────── */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 0% 0%, rgba(102, 217, 255, 0.16), transparent 32%),
    radial-gradient(circle at 100% 20%, rgba(156, 124, 255, 0.15), transparent 34%),
    linear-gradient(180deg, #07101e 0%, #091425 38%, #070d18 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: auto;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: -6rem;
  right: -6rem;
  background: rgba(102, 217, 255, 0.1);
  animation: drift 18s ease-in-out infinite;
}

body::after {
  bottom: -10rem;
  left: -8rem;
  background: rgba(156, 124, 255, 0.14);
  animation: drift 22s ease-in-out infinite reverse;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button,
input,
textarea,
select {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  line-height: 1.03;
  margin: 0;
}

p {
  margin: 0;
  color: var(--text-soft);
}

/* ── Container & Layout ────────────────────────────────────── */

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

main {
  position: relative;
  padding-bottom: 1.5rem;
}

.section {
  margin: 0 0 2rem;
}

/* ── Glass Card Surfaces ───────────────────────────────────── */

.surface,
.book-entry,
.magazine-card,
.casestudy-entry,
.about-panel,
.archive-card,
.single-book__panel,
.content-panel,
.loop-card,
.feature-card,
.metric-card,
.service-card,
.hero-visual,
.statement-band,
.contact-panel,
.page-hero__panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.surface::before,
.book-entry::before,
.magazine-card::before,
.casestudy-entry::before,
.about-panel::before,
.archive-card::before,
.single-book__panel::before,
.content-panel::before,
.loop-card::before,
.feature-card::before,
.metric-card::before,
.service-card::before,
.hero-visual::before,
.statement-band::before,
.contact-panel::before,
.page-hero__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 68%, rgba(102, 217, 255, 0.08));
  pointer-events: none;
}

/* ── Labels ────────────────────────────────────────────────── */

.small-label,
.section-label,
.hero-eyebrow,
.page-hero__eyebrow,
.card-label,
.metric-label,
.site-footer__meta,
.book-meta,
.magazine-card__label,
.casestudy-entry__badge,
.archive-card__meta,
.single-book__meta,
.content-meta {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ── Header & Nav ──────────────────────────────────────────── */

.site-header {
  position: relative;
  z-index: 90;
  padding-top: 1rem;
}

.site-header__shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 24px;
  background: rgba(6, 12, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled .site-header__shell {
  background: rgba(6, 12, 24, 0.92);
  border-color: rgba(102, 217, 255, 0.16);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.site-brandmark {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: grid;
  place-items: center;
}

.site-brandmark span {
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.site-brandmark__img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.site-branding__text {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  min-width: 0;
}

.site-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.site-tagline-header {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul,
.menu-fallback {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.85rem 1.08rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ───────────────────────────────────────────────── */

.button,
.button-secondary,
.book-entry__link,
.pdf-btn,
.hero-cta,
.filter-chip,
.single-book__back,
.archive-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button,
.hero-cta--primary,
.pdf-btn {
  color: #05111f;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  border-color: transparent;
}

.button-secondary,
.hero-cta--secondary,
.book-entry__link,
.filter-chip,
.single-book__back,
.archive-more {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button:hover,
.button-secondary:hover,
.book-entry__link:hover,
.pdf-btn:hover,
.hero-cta:hover,
.filter-chip:hover,
.single-book__back:hover,
.archive-more:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 217, 255, 0.36);
  color: var(--text);
}

.filter-chip.is-active {
  background: rgba(102, 217, 255, 0.16);
  border-color: rgba(102, 217, 255, 0.32);
}

.home-hero .hero-cta {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.home-hero .hero-cta:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #05111f;
  border-color: transparent;
}

/* ── Home Hero ─────────────────────────────────────────────── */

.home-hero {
  position: relative;
  padding: 4.5rem 0 2.5rem;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.84fr);
  gap: 1.25rem;
  align-items: stretch;
}

.hero-copy {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-flex;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  max-width: 12ch;
}

.hero-title em {
  color: var(--accent);
  font-style: normal;
  text-shadow: 0 0 40px rgba(102, 217, 255, 0.25);
}

.hero-copy .hero-title {
  margin-bottom: 0;
}

.hero-sub {
  max-width: 58ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin-top: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-actions--tight {
  margin-top: 0.5rem;
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
  min-height: 100%;
}

.hero-metrics {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.metric-card {
  padding: 1.15rem 1rem;
  border-radius: 24px;
}

.metric-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text);
  margin-bottom: 0.4rem;
}

/* ── Home Hero Orbs ────────────────────────────────────────── */

.orb {
  position: absolute;
  width: 12rem;
  height: 12rem;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 0 40px rgba(102, 217, 255, 0.2));
  left: 50%;
  animation: orb-drift-a 20s ease-in-out infinite;
}

.orb--a {
  top: -2rem;
  margin-left: 18rem;
  animation-delay: -4s;
}

.orb--b {
  bottom: -3rem;
  margin-left: -28rem;
  animation: orb-drift-b 24s ease-in-out infinite;
}

/* ── Quote Cloud (hero right panel) ────────────────────────── */

.hero-visual--quotes {
  position: relative;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
}

.hero-visual--editorial {
  position: relative;
  min-height: 100%;
  padding: 1rem;
  overflow: visible;
}

.hero-visual--editorial::after {
  content: '';
  position: absolute;
  inset: 8% 10% auto auto;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(102, 217, 255, 0.28), rgba(102, 217, 255, 0));
  filter: blur(10px);
  pointer-events: none;
}

.hero-quote-cloud {
  position: relative;
  min-height: 540px;
  height: 100%;
  border-radius: 34px;
  border: 1px solid rgba(160, 188, 255, 0.12);
  background:
    radial-gradient(circle at 18% 18%, rgba(102, 217, 255, 0.12), transparent 28%),
    radial-gradient(circle at 82% 26%, rgba(156, 124, 255, 0.10), transparent 24%),
    linear-gradient(160deg, rgba(10, 21, 41, 0.76), rgba(7, 17, 31, 0.56));
  overflow: hidden;
}

.hero-quote-cloud--editorial {
  min-height: 540px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 24%, rgba(118, 206, 255, 0.15), transparent 18%),
    radial-gradient(circle at 76% 76%, rgba(124, 108, 255, 0.14), transparent 18%),
    radial-gradient(circle at 58% 18%, rgba(90, 132, 255, 0.09), transparent 22%),
    linear-gradient(155deg, rgba(9, 21, 43, 0.92), rgba(7, 16, 30, 0.86));
}

.hero-quote-cloud--minimal {
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 24%, rgba(118, 206, 255, 0.15), transparent 18%),
    radial-gradient(circle at 76% 76%, rgba(124, 108, 255, 0.14), transparent 18%),
    radial-gradient(circle at 58% 18%, rgba(90, 132, 255, 0.09), transparent 22%),
    linear-gradient(155deg, rgba(9, 21, 43, 0.92), rgba(7, 16, 30, 0.86));
}

.hero-quote-cloud::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 36%, transparent 68%, rgba(102, 217, 255, 0.05));
  pointer-events: none;
}

.hero-quote-cloud--editorial::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 30%, transparent 70%, rgba(124, 215, 255, 0.05)),
    linear-gradient(0deg, transparent 0 68%, rgba(255, 255, 255, 0.02) 68% 69%, transparent 69% 100%);
}

.hero-quote-cloud--editorial::after {
  content: '';
  position: absolute;
  right: 10%;
  bottom: 18%;
  width: min(42%, 270px);
  aspect-ratio: 1.18;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 14%, transparent 14% 100%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  opacity: 0.42;
  transform: rotate(-6deg);
}

.hero-quote-cloud--minimal::before {
  content: '';
  position: absolute;
  left: 14%;
  bottom: 18%;
  width: min(18%, 120px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(124, 215, 255, 0.10), rgba(124, 215, 255, 0.02) 68%, transparent 72%);
  pointer-events: none;
}

.hero-quote-cloud--minimal::after {
  content: '';
  position: absolute;
  right: 16%;
  bottom: 12%;
  width: min(30%, 190px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(124, 108, 255, 0.16), rgba(124, 108, 255, 0.03) 70%, transparent 74%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-quote-cloud__item {
  position: absolute;
  display: block;
  max-width: 18ch;
  padding: 0.95rem 1.15rem;
  border-radius: 18px;
  background: rgba(10, 21, 41, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--text);
  line-height: 1.45;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  will-change: transform;
}

.hero-quote-cloud--minimal .hero-quote-cloud__item {
  max-width: none;
}

.hero-quote-cloud__item--main {
  width: min(100%, 25ch);
  max-width: 25ch;
  line-height: 1.34;
  text-wrap: balance;
  text-align: center;
}

/* ── Stats Band ────────────────────────────────────────────── */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stats-card {
  position: relative;
  padding: 1.35rem 1.2rem;
  border-radius: 26px;
  background: rgba(24, 40, 74, 0.88);
  border: 1px solid rgba(180, 204, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  overflow: hidden;
  min-height: 148px;
}

.stats-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 32%, transparent 72%, rgba(120, 232, 255, 0.14));
  pointer-events: none;
}

.stats-card strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  line-height: 1.05;
  color: var(--text);
}

.stats-card span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.45rem;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.45;
}

.stats-card--since strong {
  font-size: clamp(1.3rem, 2vw, 1.95rem);
  letter-spacing: -0.02em;
}

.stats-card--since span {
  max-width: 15ch;
}

/* ── Spotlight Section ─────────────────────────────────────── */

.ev-spotlight {
  position: relative;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.00) 22%),
    radial-gradient(circle at 12% 14%, rgba(102, 217, 255, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(10, 21, 41, 0.90), rgba(5, 13, 28, 0.96));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
  padding: clamp(2rem, 3.6vw, 3rem);
}

.ev-spotlight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 3.8vw, 3.25rem);
}

.ev-spotlight__covers {
  position: relative;
  justify-self: end;
  width: min(100%, 360px);
  min-height: 390px;
}

.ev-spotlight__img {
  position: absolute;
  display: block;
  width: clamp(160px, 17vw, 210px);
  max-width: none;
  height: auto;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center center;
}

.ev-spotlight__img--back {
  left: 34px;
  bottom: 18px;
  transform: rotate(-10deg);
  z-index: 1;
}

.ev-spotlight__img--front {
  left: 148px;
  top: 10px;
  transform: rotate(6deg);
  z-index: 2;
}

.ev-spotlight__img:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.44);
}

.ev-spotlight__img--back:hover {
  transform: rotate(-7deg) translateY(-6px) scale(1.03);
}

.ev-spotlight__img--front:hover {
  transform: rotate(3deg) translateY(-6px) scale(1.03);
}

.ev-spotlight__content {
  max-width: 470px;
}

.ev-spotlight__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3.7vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  color: var(--text);
}

.ev-spotlight__content h2 span {
  display: block;
}

.ev-spotlight__content p {
  max-width: 26ch;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 0 1.2rem;
}

.ev-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.ev-spotlight__actions .button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.ev-spotlight__actions .button-secondary:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #05111f;
  border-color: transparent;
}

/* ── Section Layouts ───────────────────────────────────────── */

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-heading--compact {
  align-items: center;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.section-heading p {
  max-width: 54ch;
}

.section-anchor {
  scroll-margin-top: 7rem;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.bio-grid,
.about-grid,
.single-book__layout,
.page-hero,
.content-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-hero--single {
  grid-template-columns: 1fr;
}

.page-hero--publications {
  grid-template-columns: 1fr;
}

.page-hero--publications .page-hero__panel {
  min-height: 0;
}

.page-hero--publications .page-hero__intro {
  max-width: 48ch;
}

.bio-grid--clean {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
}

.bio-grid--clean .about-panel__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-grid--profile {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

/* ── Panel Shared Styles ───────────────────────────────────── */

.about-panel,
.page-hero__panel,
.content-panel,
.single-book__panel,
.contact-panel {
  border-radius: 34px;
  overflow: hidden;
}

.about-panel__content,
.page-hero__panel,
.content-panel,
.single-book__panel,
.contact-panel {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.about-panel__content {
  padding: clamp(1.6rem, 3vw, 2.8rem);
}

.about-panel__content h2 {
  max-width: 15ch;
}

.about-panel__media,
.page-hero__visual {
  position: relative;
  min-height: 100%;
}

.about-panel__media img,
.page-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.about-panel--portrait {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.about-panel--portrait::before {
  display: none;
}

.about-panel__media--portrait {
  min-height: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 320px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.about-panel__media--portrait img {
  min-height: 0;
}

.about-panel__cta {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.about-panel__cta:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  border-color: transparent;
  color: #05111f;
}

.page-hero__eyebrow {
  margin-bottom: 0.9rem;
  display: inline-flex;
}

.page-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  margin-bottom: 1rem;
}

.page-hero__intro {
  font-size: 1.03rem;
  max-width: 60ch;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header__eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.7rem);
}

/* ── Statement Band ────────────────────────────────────────── */

.statement-band {
  margin: 4rem 0;
  padding: 1.4rem 1.6rem;
  border-radius: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.statement-band__text {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  max-width: 20ch;
}

/* ── Services & Features ───────────────────────────────────── */

.services-grid,
.features-grid,
.magazine-grid {
  display: grid;
  gap: 1rem;
}

.archive-grid,
.loop-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 4rem;
}

.service-card {
  min-height: 190px;
  padding: 1.15rem;
  border-radius: 28px;
  overflow: hidden;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(102, 217, 255, 0.18), rgba(156, 124, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 1.4rem;
  border-radius: 30px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin: 0.8rem 0 0.7rem;
}

/* ── Expertise Cards ───────────────────────────────────────── */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.expertise-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 24%, transparent 68%, rgba(102, 217, 255, 0.06));
  pointer-events: none;
}

.expertise-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38);
}

.expertise-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.expertise-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.expertise-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-soft);
}

/* ── Book Entries & Publication Cards ──────────────────────── */

.books-grid {
  display: grid;
  gap: 1rem;
}

.books-grid--focused {
  gap: 1.15rem;
}

.book-entry {
  border-radius: 34px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
}

.book-entry__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.book-entry__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-entry__media-link {
  display: block;
  height: 100%;
}

.book-entry__meta {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.book-entry__index {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.book-entry__title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  max-width: 20ch;
}

.book-entry__title a,
.magazine-card__title a,
.casestudy-entry__title a {
  color: inherit;
}

.book-entry__title a:hover,
.magazine-card__title a:hover,
.casestudy-entry__title a:hover {
  color: var(--text);
}

.book-entry__pub-info,
.single-book__meta,
.archive-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.book-entry__description,
.magazine-card__excerpt,
.casestudy-entry__description,
.archive-card__excerpt,
.loop-card__excerpt,
.single-book__content,
.content-panel__body,
.about-panel p {
  color: var(--text-soft);
  max-width: 64ch;
}

.book-entry__media img,
.magazine-card__cover img,
.archive-card__media img,
.loop-card__media img {
  transition: transform 0.45s ease;
}

.book-entry:hover .book-entry__media img,
.magazine-card:hover .magazine-card__cover img,
.archive-card:hover .archive-card__media img,
.loop-card:hover .loop-card__media img {
  transform: scale(1.035);
}

.book-entry--visual .book-entry__meta {
  justify-content: center;
  gap: 0.7rem;
}

.book-entry--visual .book-entry__media {
  min-height: 460px;
}

.book-entry--cover {
  display: block;
}

.book-entry--cover .book-entry__media {
  min-height: 500px;
  border-radius: 34px;
  overflow: hidden;
}

.book-entry--cover .book-entry__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 10, 22, 0.14) 0%, rgba(4, 10, 22, 0.25) 34%, rgba(4, 10, 22, 0.82) 100%),
    linear-gradient(120deg, rgba(4, 10, 22, 0.24) 0%, rgba(4, 10, 22, 0) 45%);
  pointer-events: none;
}

.book-entry__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}

.book-entry__meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.book-entry__meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(5, 17, 31, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.book-entry__overlay-bottom {
  max-width: min(460px, 92%);
  margin-top: auto;
}

.book-entry__title--overlay {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  color: #fff;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

.book-entry__title--overlay span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(102, 217, 255, 0.9);
}

.book-entry__download {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  min-height: 2.9rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.book-entry__media-link:hover .book-entry__download {
  transform: translateY(-2px);
  background: rgba(102, 217, 255, 0.16);
  border-color: rgba(102, 217, 255, 0.32);
}

.book-entry__media-link:hover .publication-card__icon {
  transform: translateY(-2px) scale(1.04);
  background: rgba(102, 217, 255, 0.18);
  border-color: rgba(102, 217, 255, 0.34);
}

/* ── Publication Grid ──────────────────────────────────────── */

.publication-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.publication-card {
  display: block;
}

.publication-card .book-entry__media {
  min-height: 420px;
}

.publication-card .book-entry__title--overlay {
  font-size: clamp(1.45rem, 1.9vw, 2.2rem);
}

.publication-card .book-entry__title--overlay span {
  text-decoration-thickness: 1.5px;
}

.publication-card .book-entry__download {
  margin-top: 1.15rem;
}

.publication-card__sub {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.publication-card__link {
  position: relative;
}

.publication-card__link--disabled {
  cursor: default;
}

.publication-card__icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  background: rgba(11, 22, 41, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.publications-heading p {
  max-width: 56ch;
  color: var(--text-soft);
}

/* ── Publications Static Cards ─────────────────────────────── */

.publications-static-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 32px;
  background: rgba(7, 18, 35, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.publications-static-card--cases,
.publications-static-card--docs {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  color: #f5f8ff;
}

.publications-static-card--cases::before,
.publications-static-card--docs::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 68%, rgba(102, 217, 255, 0.08));
  pointer-events: none;
}

.publications-static-card--cases h2,
.publications-static-card--cases p,
.publications-static-card--cases a,
.publications-static-card--docs h2,
.publications-static-card--docs p,
.publications-static-card--docs a {
  color: inherit;
}

.case-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.case-link-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(160, 188, 255, 0.16);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.case-link-card:hover {
  transform: translateY(-2px);
  background: rgba(102, 217, 255, 0.14);
  border-color: rgba(102, 217, 255, 0.28);
}

.case-link-card--disabled {
  cursor: default;
  opacity: 0.55;
}

.case-link-card--disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(160, 188, 255, 0.16);
}

.publications-docs-text {
  position: relative;
  z-index: 1;
  max-width: 72ch;
}

.publications-docs-text p + p {
  margin-top: 0.95rem;
}

.publications-docs-text strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text);
  font-weight: 700;
}

/* ── Magazine Cards ────────────────────────────────────────── */

.magazine-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.magazine-card {
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.magazine-card__cover {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.magazine-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.magazine-card__body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.magazine-card__title {
  font-size: 1.45rem;
}

/* ── Case Study Entries ────────────────────────────────────── */

.casestudy-grid {
  display: grid;
  gap: 1rem;
}

.casestudy-entry {
  border-radius: 30px;
  padding: 1.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.casestudy-entry__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.casestudy-entry__badge {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.casestudy-entry__title,
.archive-card__title,
.loop-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.casestudy-entry__right {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 0.8rem;
}

/* ── Archive & Loop Cards ──────────────────────────────────── */

.archive-card,
.loop-card {
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.archive-card__media,
.loop-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.archive-card__media img,
.loop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-card__body,
.loop-card__body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.loop-card__link,
.archive-card__link {
  margin-top: auto;
}

/* ── Single Book / Publication Viewer ──────────────────────── */

.single-book {
  padding: 2.2rem 0 1.5rem;
}

.single-book__layout {
  align-items: stretch;
}

.single-book__cover {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  min-height: 640px;
}

.single-book__cover img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.single-book__panel {
  border-radius: 38px;
}

.single-book__title {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  margin: 1rem 0 1.15rem;
}

.single-book__content p + p,
.content-panel__body p + p,
.about-panel p + p {
  margin-top: 1rem;
}

.single-publication__backbar {
  position: sticky;
  top: 0.9rem;
  z-index: 20;
  margin-bottom: 1rem;
}

.single-publication .single-book__back {
  backdrop-filter: blur(16px);
  background: rgba(7, 18, 35, 0.76);
}

.single-publication__viewer {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 38px;
  overflow: hidden;
}

.single-publication__viewer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.single-publication__viewer-top h2 {
  font-size: 1.2rem;
  margin: 0;
}

.single-publication__viewer iframe {
  display: block;
  width: 100%;
  min-height: 78vh;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.single-publication__viewer-note {
  margin-top: 0.85rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* ── About Feature (homepage) ──────────────────────────────── */

.about-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 34px;
  border: 1px solid rgba(160, 188, 255, 0.12);
  background:
    radial-gradient(circle at 10% 15%, rgba(102, 217, 255, 0.12), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(156, 124, 255, 0.08), transparent 24%),
    linear-gradient(160deg, rgba(10, 21, 41, 0.92), rgba(7, 17, 31, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.about-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 36%, transparent 68%, rgba(102, 217, 255, 0.05));
  pointer-events: none;
}

.about-feature .hero-actions {
  justify-content: flex-start;
}

.about-feature--spotlight {
  padding: clamp(2rem, 4vw, 3.1rem);
}

.about-feature--spotlight .hero-actions {
  justify-content: flex-start;
}

.about-feature__content {
  position: relative;
  z-index: 2;
  padding-right: clamp(0rem, 1.5vw, 1rem);
}

.about-feature__content h2 {
  max-width: 13ch;
  margin-bottom: 0.9rem;
}

.about-feature__content p {
  max-width: 32ch;
}

.about-feature__content--feature {
  max-width: 700px;
  margin: 0;
  text-align: left;
}

.about-feature__content--feature h2 {
  margin: 0 0 1rem;
  max-width: 20ch;
  font-size: clamp(2.15rem, 3.6vw, 3.75rem);
  line-height: 1.02;
  text-wrap: pretty;
}

.about-feature__content--feature p {
  max-width: 31rem;
  margin: 0;
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.68;
}

/* ── Contact Panel ─────────────────────────────────────────── */

.contact-panel--prominent {
  padding: clamp(2rem, 3vw, 2.8rem);
  background:
    radial-gradient(circle at 20% 30%, rgba(102, 217, 255, 0.08), transparent 40%),
    var(--bg-card);
}

.contact-panel__intro {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-soft);
}

.contact-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.95rem;
  margin-top: 1.15rem;
}

.contact-panel__actions .button-secondary {
  min-width: 18rem;
  text-align: center;
}

.contact-panel__actions--stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.contact-link:hover {
  background: rgba(102, 217, 255, 0.06);
  border-color: rgba(102, 217, 255, 0.22);
  transform: translateX(4px);
  color: var(--text);
}

.contact-link__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0;
  background: rgba(102, 217, 255, 0.10);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-link__label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

/* ── Footer ────────────────────────────────────────────────── */

.site-footer {
  padding: 1rem 0 2.35rem;
}

.site-footer__shell {
  display: grid;
  gap: 0.9rem;
  border-radius: 30px;
  padding: 1rem 1.5rem 1.2rem;
  background: rgba(4, 10, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.site-footer__top {
  display: block;
  margin-top: 0;
}

.site-footer__intro {
  min-width: 0;
}

.site-footer__meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  margin-top: 0;
}

.site-footer__brand {
  display: none;
}

.site-footer__meta {
  margin-top: 0;
  line-height: 1.4;
}

.site-footer__legal {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  letter-spacing: 0.06em;
}

.site-footer__legal-text {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 1.1rem;
  text-align: right;
  color: var(--text-soft);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  line-height: 1.4;
  white-space: nowrap;
}

.site-footer__legal-text span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-right: 0.45rem;
}

.site-footer__legal-text strong {
  color: var(--text-soft);
  font-weight: 600;
}

.site-footer__bottom {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.site-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.site-footer__links a {
  min-height: 2.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
}

.site-footer__links a:hover {
  color: var(--text);
  border-color: rgba(102, 217, 255, 0.32);
}

.site-footer__nav {
  margin-top: 0.7rem;
}

.site-footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: end;
}

.site-footer__menu a {
  min-height: 2.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
}

.site-footer__menu a:hover {
  color: var(--text);
  border-color: rgba(102, 217, 255, 0.32);
}

/* ── Misc Utilities ────────────────────────────────────────── */

.glass-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
}

.works-minimal-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eversa-placeholder-img {
  background: linear-gradient(135deg, rgba(102, 217, 255, 0.12), rgba(156, 124, 255, 0.12));
}

/* ── Page-level SVG orbs (publicaties + over mij) ─────────── */

.orb--pub-a {
  top: 5%;
  margin-left: 22rem;
  animation-delay: -3s;
}

.orb--pub-b {
  top: 42%;
  margin-left: -26rem;
  animation: orb-drift-b 26s ease-in-out infinite;
  animation-delay: -10s;
}

.orb--pub-c {
  top: 75%;
  margin-left: 16rem;
  animation: orb-drift-c 22s ease-in-out infinite;
  animation-delay: -7s;
}

.orb--about-a {
  top: 18%;
  margin-left: -22rem;
  animation: orb-drift-b 24s ease-in-out infinite;
  animation-delay: -5s;
}

/* ── Reveal Animation ──────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  animation: reveal-fallback 0s 1.5s forwards;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

/* ── Keyframes ─────────────────────────────────────────────── */

@keyframes reveal-fallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, 28px, 0) scale(1.08);
  }
}

@keyframes orb-drift-a {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(-60px, 40px); }
  50%      { transform: translate(40px, 80px); }
  75%      { transform: translate(-30px, -30px); }
}

@keyframes orb-drift-b {
  0%, 100% { transform: translate(0, 0); }
  20%      { transform: translate(50px, 60px); }
  45%      { transform: translate(-40px, -50px); }
  70%      { transform: translate(60px, -20px); }
}

@keyframes orb-drift-c {
  0%, 100% { transform: translate(0, 0); }
  30%      { transform: translate(-50px, 50px); }
  60%      { transform: translate(30px, -40px); }
}

/* ── Accessibility ─────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive: 1180px ────────────────────────────────────── */

@media (max-width: 1180px) {
  .publication-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── Responsive: 1120px ────────────────────────────────────── */

@media (max-width: 1120px) {
  .home-hero__grid,
  .bio-grid,
  .about-grid,
  .single-book__layout,
  .page-hero,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .about-grid--profile {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .about-panel--portrait {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .about-panel__media--portrait {
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid,
  .archive-grid,
  .loop-grid,
  .magazine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Responsive: 1100px ────────────────────────────────────── */

@media (max-width: 1100px) {
  .publication-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bio-grid--clean {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

/* ── Responsive: 980px ─────────────────────────────────────── */

@media (max-width: 980px) {
  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-brandmark__img {
    width: 24px;
    height: 24px;
  }

  .hero-quote-cloud--editorial {
    min-height: 430px;
  }

  .hero-quote-cloud--editorial::after {
    right: 8%;
    bottom: 18%;
    width: min(44%, 220px);
  }

  .hero-quote-cloud--minimal {
    min-height: 580px;
  }

  .ev-spotlight__grid {
    grid-template-columns: 1fr;
    width: min(100%, 620px);
    max-width: 620px;
    gap: 1.65rem;
  }

  .ev-spotlight__covers {
    justify-self: center;
    width: min(100%, 320px);
    min-height: 340px;
  }

  .ev-spotlight__img {
    width: clamp(145px, 28vw, 182px);
  }

  .ev-spotlight__img--back {
    left: 34px;
    bottom: 14px;
  }

  .ev-spotlight__img--front {
    left: 132px;
    top: 4px;
  }

  .ev-spotlight__content {
    text-align: center;
    margin: 0 auto;
  }

  .ev-spotlight__content h2,
  .ev-spotlight__content p {
    max-width: none;
  }

  .ev-spotlight__actions {
    justify-content: center;
  }

  .about-feature {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .about-feature .hero-actions {
    justify-content: center;
  }

  .about-feature__content--feature {
    max-width: 100%;
    text-align: center;
  }

  .about-feature__content--feature p {
    max-width: none;
  }

  .about-feature--spotlight .hero-actions {
    justify-content: center;
  }
}

/* ── Responsive: 860px ─────────────────────────────────────── */

@media (max-width: 860px) {
  .orb {
    width: 9rem;
    height: 9rem;
    margin-left: 0 !important;
    left: 10%;
  }

  .orb--a { left: auto; right: 5%; }
  .orb--b { left: 5%; }
  .orb--pub-a { left: auto; right: 8%; }
  .orb--pub-b { left: 8%; }
  .orb--pub-c { left: auto; right: 12%; }
  .orb--about-a { left: 10%; }

  .site-header__shell {
    padding: 0.8rem 0.9rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    right: 0;
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul,
  .menu-fallback {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.8rem;
    border-radius: 24px;
    background: rgba(6, 12, 24, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }

  .primary-nav a {
    justify-content: flex-start;
    padding-inline: 1rem;
  }

  .book-entry {
    grid-template-columns: 1fr;
  }

  .book-entry__media {
    max-height: 360px;
  }

  .book-entry--visual .book-entry__media {
    min-height: 360px;
  }

  .book-entry--cover .book-entry__media {
    min-height: 420px;
  }

  .book-entry__overlay {
    padding: 0.7rem;
  }

  .book-entry__overlay-bottom {
    max-width: 100%;
  }

  .hero-metrics,
  .services-grid,
  .features-grid,
  .archive-grid,
  .loop-grid,
  .magazine-grid {
    grid-template-columns: 1fr;
  }

  .casestudy-entry {
    grid-template-columns: 1fr;
  }

  .casestudy-entry__right {
    align-items: flex-start;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .works-minimal-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__shell {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .site-footer__menu {
    justify-content: flex-start;
  }

  .bio-grid--clean {
    grid-template-columns: 1fr;
  }

  .about-feature {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .about-feature__content {
    padding-right: 0;
  }

  .hero-visual--editorial {
    padding: 0.85rem;
  }
}

/* ── Responsive: 780px ─────────────────────────────────────── */

@media (max-width: 780px) {
  .case-links-grid {
    grid-template-columns: 1fr;
  }

  .publication-card .book-entry__media {
    min-height: 380px;
  }

  .single-publication__viewer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .single-publication__viewer iframe {
    min-height: 62vh;
  }
}

/* ── Responsive: 760px ─────────────────────────────────────── */

@media (max-width: 760px) {
  .hero-quote-cloud {
    min-height: 360px;
  }

  .hero-quote-cloud--editorial {
    min-height: 360px;
  }

  .hero-quote-cloud__item {
    padding: 0.72rem 0.9rem;
    font-size: 0.84rem;
  }

  .publication-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Responsive: 720px ─────────────────────────────────────── */

@media (max-width: 720px) {
  .publication-grid {
    grid-template-columns: 1fr;
  }

  .publication-card__icon {
    width: 2.55rem;
    height: 2.55rem;
    top: 0.85rem;
    right: 0.85rem;
  }
}

/* ── Responsive: 640px ─────────────────────────────────────── */

@media (max-width: 640px) {
  .home-hero {
    padding-top: 3rem;
  }

  .hero-copy,
  .hero-visual,
  .about-panel__content,
  .page-hero__panel,
  .content-panel,
  .single-book__panel,
  .contact-panel {
    padding: 1.2rem;
  }

  .hero-title,
  .page-hero__title,
  .single-book__title {
    letter-spacing: -0.05em;
  }

  .hero-actions,
  .section-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-panel__actions .button-secondary {
    width: 100%;
    min-width: 0;
  }

  .button,
  .button-secondary,
  .book-entry__link,
  .pdf-btn,
  .hero-cta,
  .filter-chip,
  .single-book__back,
  .archive-more {
    width: 100%;
  }

  .statement-band {
    padding: 1.1rem;
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stats-card {
    min-height: 0;
  }

  .hero-quote-cloud {
    min-height: 360px;
  }

  .hero-quote-cloud__item {
    max-width: 17ch;
    padding: 0.8rem 0.95rem;
    border-radius: 18px;
    font-size: 0.9rem;
  }

  .hero-quote-cloud--minimal {
    min-height: 540px;
  }

  .hero-quote-cloud__item--main {
    width: min(100%, 21ch);
    max-width: 21ch;
  }

  .book-entry--cover .book-entry__media {
    min-height: 360px;
  }

  .book-entry__title--overlay {
    font-size: clamp(1.65rem, 7vw, 2.35rem);
  }

  .ev-spotlight {
    border-radius: 28px;
    padding: 1.25rem;
  }

  .ev-spotlight__covers {
    width: min(100%, 250px);
    min-height: 265px;
  }

  .ev-spotlight__img {
    width: 124px;
    border-radius: 0;
  }

  .ev-spotlight__img--back {
    left: 12px;
    bottom: 8px;
  }

  .ev-spotlight__img--front {
    left: 86px;
    top: 0;
  }

  .ev-spotlight__content h2 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .ev-spotlight__content p {
    font-size: 0.94rem;
  }

  .about-feature {
    padding: 1.35rem;
  }

  .about-feature--spotlight {
    padding: 1.5rem;
  }

  .about-feature__content--feature h2 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .about-feature__content--feature p {
    font-size: 1rem;
  }

  .home-hero .hero-visual--editorial {
    padding: 0;
    min-height: 0;
  }

  .home-hero .hero-visual--editorial::after {
    display: none;
  }

  .site-footer {
    padding: 0.55rem 0 1.1rem;
  }

  .site-footer__shell {
    padding: 0.95rem 0.9rem 0.95rem;
    gap: 0.75rem;
  }

  .site-footer__meta-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    justify-items: center;
    gap: 0.45rem;
  }

  .site-footer__meta {
    text-align: center;
    line-height: 1.45;
  }

  .site-footer__legal-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 0.95rem;
    text-align: center;
    white-space: normal;
  }

  .site-footer__bottom {
    display: grid;
    gap: 0.65rem;
    justify-items: center;
  }

  .site-footer__links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .site-footer__links a {
    width: 100%;
    min-height: 2.8rem;
    justify-content: center;
  }

  .site-footer__menu {
    justify-content: center;
  }
}

/* ── Nieuws Slider ────────────────────────────────────────── */

.nieuws-section__subtitle {
  max-width: 56ch;
  color: var(--text-soft);
}

.nieuws-slider {
  position: relative;
}

.nieuws-slider__track {
  position: relative;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.nieuws-slide {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.nieuws-slide--active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.nieuws-slide--text-only {
  grid-template-columns: 1fr;
}

.nieuws-slide__media {
  width: clamp(240px, 28vw, 360px);
  border-radius: 18px;
  overflow: hidden;
}

.nieuws-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.nieuws-slide__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
}

.nieuws-slide__date {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.nieuws-slide__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.nieuws-slide__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.nieuws-slide__text p {
  margin: 0;
}

.nieuws-slide__text p + p {
  margin-top: 0.75rem;
}

/* Slider navigation */
.nieuws-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.nieuws-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nieuws-slider__btn:hover {
  background: rgba(102, 217, 255, 0.12);
  border-color: rgba(102, 217, 255, 0.3);
  transform: scale(1.08);
}

.nieuws-slider__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nieuws-slider__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nieuws-slider__dot--active {
  background: var(--accent);
  transform: scale(1.4);
}

.nieuws-slider__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.nieuws-slider__dot--active:hover {
  background: var(--accent);
}

@media (max-width: 860px) {
  .nieuws-slide {
    grid-template-columns: 1fr;
  }

  .nieuws-slide__media {
    width: 100%;
  }

  .nieuws-slide__img {
    aspect-ratio: 16 / 9;
  }
}

/* ── Responsive: 520px ─────────────────────────────────────── */

@media (max-width: 520px) {
  .publication-grid {
    grid-template-columns: 1fr;
  }
}
