/* ==========================================================================
   FABIAN AJOGWU, OFR — site styles
   Look and feel modelled on the "Elyte" consulting template:
   Geist at regular weight with tight tracking, ink #081014 on a #F2F3F5 page,
   white 12px-radius cards, pill buttons with ↗ arrows, small uppercase labels,
   circled numerals, a transparent header over a full-height dark hero,
   a blur-in entrance, scroll-in reveals and a light footer with a big CTA.
   Structure and content follow the Claude Design file and fabianajogwu.com.
   ========================================================================== */

:root {
  --ink: #081014;
  --ink-2: #1C2429;
  --grey: #707070;
  --grey-2: #C8C8C8;
  --bg: #F2F3F5;
  --white: #FFFFFF;
  --line: rgba(8, 16, 20, 0.12);
  --line-soft: rgba(8, 16, 20, 0.07);
  --line-light: rgba(255, 255, 255, 0.14);
  --font: "Geist", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --gx: clamp(20px, 4vw, 48px);        /* horizontal gutter, every section */
  --gy: clamp(64px, 8vw, 110px);       /* vertical space, every section */
  --gy-row: clamp(32px, 4vw, 48px);    /* vertical space inside repeated rows */
}

body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: var(--ink); text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
::selection { background: var(--ink); color: #FFFFFF; }

@keyframes fa-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fa-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes loader-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.page { min-height: 100vh; background: var(--bg); }

/* ---------- icon system: masked SVGs from the ICONS set, coloured by the text colour ---------- */
.ic { display: inline-block; width: 1em; height: 1em; flex: none; background-color: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; vertical-align: -0.15em; }
.ic-chevron { --ic: url(assets/icons/chevron-down.svg); }
.ic-menu { --ic: url(assets/icons/menu-01.svg); }
.ic-close { --ic: url(assets/icons/x-close.svg); }
.ic-arrow { --ic: url(assets/icons/arrow-up-right.svg); }
.ic-arrow-right { --ic: url(assets/icons/arrow-right.svg); }
.ic-arrow-left { --ic: url(assets/icons/arrow-left.svg); }
.ic-play { --ic: url(assets/icons/play.svg); }
.ic-plus { --ic: url(assets/icons/plus.svg); }
.ic-minus { --ic: url(assets/icons/minus.svg); }
.ic-download { --ic: url(assets/icons/download-01.svg); }
.ic-youtube { --ic: url(assets/icons/youtube.svg); }
.ic-external { --ic: url(assets/icons/link-external-01.svg); }
.ic-mail { --ic: url(assets/icons/mail-01.svg); }
.ic-phone { --ic: url(assets/icons/phone.svg); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: opacity 0.6s ease, visibility 0s linear 0.6s; }
.loader img { height: 22px; width: auto; filter: invert(1); opacity: 0; animation: fa-rise 0.7s var(--ease) 0.1s both; }
.loader__bar { width: 160px; height: 1px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: #FFFFFF; transform-origin: left; animation: loader-bar 1.1s var(--ease) 0.2s both; }
.loader.is-done { opacity: 0; visibility: hidden; }

/* ---------- black-and-white photography, colour on hover ---------- */
main img:not(.hero-img) { filter: grayscale(1); transition: filter 0.4s ease, transform 0.6s var(--ease); }
.photo-tile:hover img, .message-portrait:hover img, .about-portrait:hover img,
.book-card:hover img, .book-row-grid:hover img, .article-card:hover img,
.media-row-grid:hover img, .media-card:hover img, .video-card:hover img,
.detail-page .figure:hover img { filter: grayscale(0); }


/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(4px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; filter: none; transition: none; } }

/* ---------- shared ---------- */
.container { max-width: 1240px; margin: 0 auto; }
.section { padding: var(--gy) var(--gx); }
.section--dark { background: var(--ink); color: #FFFFFF; }
.section--sand { background: var(--white); }

.eyebrow { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 22px; font-weight: 500; }
.eyebrow--gold { color: rgba(255, 255, 255, 0.6); }
.eyebrow--small { font-size: 11px; }
.mb-18 { margin-bottom: 18px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }

.h2 { margin: 0; font-family: var(--font); font-weight: 400; line-height: 1.1; color: var(--ink); letter-spacing: -0.05em; text-wrap: pretty; }
.h2--52 { font-size: clamp(34px, 3.8vw, 52px); }
.h2--48 { font-size: clamp(32px, 3.4vw, 46px); }
.h2--44 { font-size: clamp(28px, 3vw, 40px); }
.h2--light { color: #FFFFFF; }

.fill { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.fill-box { overflow: hidden; }

/* arrow badge on image tiles, like the template's case cards */
.photo-tile, .article-card .thumb, .media-card .thumb, .lecture-thumb, .video-thumb, .book-cover { position: relative; }
.photo-tile::after, .article-card .thumb::after, .media-card .thumb::after, .lecture-thumb::after { content: ""; position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border-radius: 8px; background: #FFFFFF url(assets/icons/arrow-up-right.svg) center / 16px no-repeat; box-shadow: 0 6px 18px rgba(8, 16, 20, 0.12); pointer-events: none; }

.link-btn { cursor: pointer; border: 0; background: none; padding: 0; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); font-family: inherit; display: inline-flex; align-items: center; gap: 6px; }
.link-btn::after { content: ""; width: 14px; height: 14px; background-color: currentColor; -webkit-mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; transition: transform 0.25s var(--ease); }
.link-btn:hover::after { transform: translate(2px, -2px); }
.link-btn--ls { letter-spacing: -0.01em; }
.link-btn--sm { font-size: 14px; align-self: flex-start; }

.btn-outline { cursor: pointer; padding: 13px 20px; border-radius: 100px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); background: transparent; font-family: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.btn-outline--lg { padding: 14px 22px; }
.btn-outline--ghost { background: transparent; }
.btn-outline .ic { width: 15px; height: 15px; }
.btn-dark { cursor: pointer; padding: 14px 22px; border-radius: 100px; border: 1px solid var(--ink); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: #FFFFFF; background: var(--ink); font-family: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background 0.25s, color 0.25s; }
.btn-dark::after { content: ""; width: 14px; height: 14px; background-color: currentColor; -webkit-mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; }
.btn-dark:hover { background: #FFFFFF; color: var(--ink); }
.btn-dark--lg { padding: 14px 22px; }

/* ---------- header (transparent over the dark hero, solid once scrolled) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: transparent; border-bottom: 1px solid transparent; transition: background 0.35s ease, border-color 0.35s ease; }
.site-header.is-solid { background: rgba(8, 16, 20, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line-light); }
.header-inner { max-width: 1326px; margin: 0 auto; height: var(--header-h); padding: 0 var(--gx); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-btn { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.logo-btn img { height: 20px; width: auto; display: block; filter: invert(1); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-btn { background: none; border: 0; cursor: pointer; padding: 8px 14px; font-size: 15px; font-weight: 500; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.92); display: flex; align-items: center; gap: 6px; font-family: inherit; transition: color 0.2s; }
.nav-btn:hover { color: #FFFFFF; }
.nav-btn--about { letter-spacing: -0.02em; }
.nav-btn .chev { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.7); transition: transform 0.2s; }
.nav-dd.is-open .chev { transform: rotate(180deg); }
.nav-dd { position: relative; }
.nav-menu { display: none; position: absolute; top: 100%; margin-top: 10px; left: 6px; min-width: 220px; background: rgba(8, 16, 20, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-light); border-radius: 12px; padding: 10px 0; flex-direction: column; animation: fa-rise .22s var(--ease) both; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-menu--media { min-width: 200px; }
.nav-dd.is-open .nav-menu { display: flex; }
.nav-menu-item { background: none; border: 0; cursor: pointer; text-align: left; padding: 10px 18px; font-size: 15px; font-weight: 500; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.75); font-family: inherit; transition: color 0.2s, padding-left 0.2s; }
.nav-menu-item:hover { color: #FFFFFF; padding-left: 22px; }
.btn-cta { cursor: pointer; margin-left: 14px; padding: 12px 20px; border-radius: 100px; background: transparent; color: #FFFFFF; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; border: 1px solid rgba(255, 255, 255, 0.28); font-family: inherit; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.btn-cta:hover { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }

/* light theme: pages that open on the light background (articles, detail, policies) */
.site-header.is-light { background: rgba(242, 243, 245, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line-soft); }
.site-header.is-light.is-solid { background: rgba(255, 255, 255, 0.9); border-bottom-color: var(--line-soft); }
.site-header.is-light .logo-btn img { filter: none; }
.site-header.is-light .nav-btn { color: var(--ink-2); }
.site-header.is-light .nav-btn:hover { color: var(--ink); }
.site-header.is-light .nav-btn .chev { color: var(--grey); }
.site-header.is-light .btn-cta { color: var(--ink); border-color: var(--line); }
.site-header.is-light .btn-cta:hover { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.site-header.is-light .nav-menu { background: rgba(255, 255, 255, 0.96); border-color: var(--line-soft); box-shadow: 0 16px 40px rgba(8, 16, 20, 0.1); }
.site-header.is-light .nav-menu-item { color: var(--ink-2); }
.site-header.is-light .nav-menu-item:hover { color: var(--ink); }
.site-header.is-light .menu-btn { color: var(--ink); }

/* ---------- MENU button + full-screen panel (phones) ---------- */
.menu-btn { display: none; align-items: center; gap: 10px; padding: 8px 0 8px 10px; background: none; border: 0; cursor: pointer; color: #FFFFFF; font-family: inherit; }
.menu-btn__label { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; }
.menu-btn__icon { width: 24px; height: 24px; }
.menu-backdrop { display: none; }
.site-menu { position: fixed; inset: 0; z-index: 90; width: 100%; background: var(--ink); color: #FFFFFF; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s; display: flex; flex-direction: column; overflow-y: auto; }
.site-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s; }
.site-menu__head { display: flex; align-items: center; justify-content: space-between; max-width: 1326px; width: 100%; margin: 0 auto; height: var(--header-h); padding: 0 clamp(20px, 4vw, 48px); border-bottom: 1px solid var(--line-light); }
.site-menu__logo { height: 20px; width: auto; filter: invert(1); }
.menu-close { background: none; border: 0; color: #FFFFFF; line-height: 1; cursor: pointer; padding: 4px; font-family: inherit; display: inline-flex; }
.menu-close .ic { width: 26px; height: 26px; }
.menu-close:hover { color: var(--grey-2); }
.site-menu__nav { max-width: 1240px; width: 100%; margin: 0 auto; padding: clamp(40px, 7vh, 96px) clamp(20px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(32px, 5vw, 72px); flex: 1; align-content: center; }
.site-menu__title { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); font-weight: 500; margin-bottom: 12px; }
.site-menu__group { display: flex; flex-direction: column; align-items: flex-start; }
.site-menu__group button { background: none; border: 0; padding: 8px 0; cursor: pointer; color: #FFFFFF; font-family: inherit; font-size: clamp(26px, 3.2vw, 40px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.2; text-align: left; transition: color 0.2s; }
.site-menu__group button:hover { color: var(--grey-2); }
.site-menu__foot { display: flex; gap: 22px; max-width: 1326px; width: 100%; margin: 0 auto; padding: 22px clamp(20px, 4vw, 48px) 30px; border-top: 1px solid var(--line-light); }
.site-menu__foot a { color: rgba(255, 255, 255, 0.7); font-size: 13px; font-weight: 500; }
.site-menu__foot a:hover { color: #FFFFFF; }
body.menu-open { overflow: hidden; }
@media (max-width: 960px) {
  .nav > .nav-btn, .nav > .nav-dd, .nav > .btn-cta { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- home: hero (kept in colour) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; display: block; max-width: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 16, 20, 0.55) 0%, rgba(8, 16, 20, 0.1) 35%, rgba(8, 16, 20, 0.25) 65%, rgba(8, 16, 20, 0.85) 100%), linear-gradient(90deg, rgba(8, 16, 20, 0.55) 0%, rgba(8, 16, 20, 0) 60%); }
.hero-inner { position: relative; width: 100%; max-width: 1326px; margin: 0 auto; padding: calc(var(--header-h) + 40px) var(--gx) var(--gy); pointer-events: none; }
.hero-copy { max-width: 760px; width: 100%; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.hero-eyebrow .line { width: 22px; height: 1px; background: rgba(255, 255, 255, 0.6); }
.hero-eyebrow .text { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.hero h1 { margin: 0; font-family: var(--font); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1.1; letter-spacing: -0.06em; color: #FFFFFF; max-width: none; text-wrap: balance; }
.hero h1 .accent { color: #FFFFFF; }
.hero p { margin: 24px 0 0; max-width: 58ch; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.8); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; pointer-events: auto; }
.btn-light { cursor: pointer; border: 1px solid #FFFFFF; padding: 14px 20px; border-radius: 100px; background: #FFFFFF; color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; font-family: inherit; display: inline-flex; align-items: center; gap: 8px; transition: background 0.25s, color 0.25s; }
.btn-light::after { content: ""; width: 14px; height: 14px; background-color: currentColor; -webkit-mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; }
.btn-light:hover { background: transparent; color: #FFFFFF; }
.btn-ghost { cursor: pointer; padding: 14px 20px; border-radius: 100px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.28); color: #FFFFFF; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; font-family: inherit; transition: background 0.25s, color 0.25s; }
.btn-ghost:hover { background: #FFFFFF; color: var(--ink); }
.hero-notes { position: absolute; left: 0; right: 0; bottom: 0; max-width: 1326px; margin: 0 auto; padding: 0 var(--gx) 26px; display: flex; justify-content: space-between; font-size: 11px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.02em; pointer-events: none; }
/* entrance: blur-in, staggered, once the loader is gone */
.hero-anim { opacity: 0; transform: translateY(18px); filter: blur(12px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
body.is-ready .hero-anim { opacity: 1; transform: none; filter: blur(0); }

/* ---------- home: marquee ---------- */
.marquee { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 22px 0; overflow: hidden; background: var(--white); }
.marquee-track { display: flex; width: max-content; animation: fa-marquee 46s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 36px; padding: 0 18px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.marquee-item .dia { width: 4px; height: 4px; border-radius: 50%; background: var(--grey-2); display: inline-block; }

/* ---------- home: purpose ---------- */
.purpose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 6vw, 88px); }
.h2--purpose { letter-spacing: -0.05em; }
.purpose-copy { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.purpose-copy p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }

/* ---------- home: areas of impact (feature grid) ---------- */
.section--dark.areas { background: var(--white); color: var(--ink); }
.areas-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; background: transparent; border: 0; }
.pillar { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px; min-height: 230px; transition: background 0.3s, transform 0.4s var(--ease); }
.pillar:hover { background: #FFFFFF; transform: translateY(-3px); }
.pillar .num { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink); letter-spacing: 0.02em; font-weight: 500; margin-bottom: 18px; }
.pillar h3 { margin: 0; font-family: var(--font); font-weight: 400; font-size: 20px; letter-spacing: -0.03em; line-height: 1.25; color: var(--ink); }
.pillar p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--grey); text-wrap: pretty; }

/* ---------- home: impact ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: start; }
.impact-grid .h2 { margin: 0 0 20px; }
.highlight { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.highlight .num { font-size: 11px; color: var(--grey); letter-spacing: 0.06em; min-width: 26px; font-weight: 500; }
.highlight .text { font-size: 15px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.photo-tile { aspect-ratio: 4 / 3; background: #E6E8EB; border-radius: var(--radius); overflow: hidden; }

/* ---------- home: message ---------- */
.message-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.message-portrait { aspect-ratio: 1 / 1; background: #E6E8EB; border-radius: var(--radius); overflow: hidden; }
.message-grid .h2 { margin: 0 0 24px; }
.message-lead { margin: 0 0 16px; font-family: var(--font); font-weight: 400; font-size: 22px; letter-spacing: -0.03em; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.message-grid .body { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }
.message-grid .body:last-child { margin-bottom: 0; }

/* ---------- home: library ---------- */
.library-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.library-head p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.book-card { display: flex; flex-direction: column; gap: 0; color: var(--ink); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.book-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8, 16, 20, 0.08); }
.book-cover { aspect-ratio: 2 / 3; background: #E6E8EB; overflow: hidden; }
.book-card > div:last-child { padding: 16px 18px 18px; }
.book-card .title { font-family: var(--font); font-weight: 400; font-size: 15px; letter-spacing: -0.02em; line-height: 1.35; color: var(--ink); }
.book-card .year { font-size: 11px; color: var(--grey); margin-top: 8px; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- home: framework accordion ---------- */
.section--dark.framework { background: var(--ink); }
.framework .h2 { margin: 0 0 clamp(36px, 4vw, 56px); max-width: 18ch; }
.acc-list { border-top: 1px solid var(--line-light); }
.acc-row { border-bottom: 1px solid var(--line-light); }
.acc-btn { width: 100%; background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding: clamp(20px, 2.4vw, 28px) 0; text-align: left; color: #FFFFFF; font-family: inherit; }
.acc-btn .num { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-light); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: rgba(255, 255, 255, 0.8); flex: none; }
.acc-btn .title { flex: 1; font-family: var(--font); font-weight: 400; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.03em; line-height: 1.25; }
.acc-btn .sign { width: 18px; height: 18px; color: rgba(255, 255, 255, 0.7); --ic: url(assets/icons/plus.svg); }
.acc-row.is-open .sign { --ic: url(assets/icons/minus.svg); }
.acc-body { overflow: hidden; height: 0; }
.acc-row.is-open .acc-body { height: auto; }
.acc-body > div { min-height: 0; }
.acc-body p { margin: 0; padding: 0 0 clamp(24px, 2.6vw, 34px) clamp(46px, 6vw, 70px); max-width: 76ch; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); text-wrap: pretty; }

/* ---------- home: testimonials ---------- */
.testimonials .h2 { margin: 0 0 clamp(36px, 4vw, 56px); max-width: 20ch; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.testi { margin: 0; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 300px; }
.testi blockquote { margin: 0; font-family: var(--font); font-weight: 400; font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -0.03em; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.testi figcaption { font-size: 13px; line-height: 1.5; color: var(--grey); border-top: 1px solid var(--line-soft); padding-top: 18px; }
.testi .name { color: var(--ink); font-weight: 500; font-size: 14px; }
.testi .role { margin-top: 4px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.testi .source { margin-top: 8px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-2); }

/* ---------- home: stories ---------- */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 6vw, 80px); }
.stories-grid .h2 { margin: 0 0 20px; }
.stories-grid p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }
.stories-grid p.last { margin-bottom: 26px; }
.stories-quote { display: flex; align-items: center; }
.stories-quote blockquote { margin: 0; border-left: 1px solid var(--line); padding-left: clamp(22px, 3vw, 38px); font-family: var(--font); font-weight: 400; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.04em; line-height: 1.3; color: var(--ink); text-wrap: pretty; }

/* ---------- home: FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .h2 { margin: 0 0 18px; }
.faq-grid .note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--grey); max-width: 38ch; }
.faq-grid .note a { color: var(--ink); border-bottom: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line-soft); }
.faq-row { border-bottom: 1px solid var(--line-soft); }
.faq-btn { width: 100%; background: none; border: 0; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px 0; text-align: left; font-family: inherit; }
.faq-btn .q { font-size: 16px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.faq-btn .sign { width: 18px; height: 18px; margin-top: 3px; color: var(--grey); --ic: url(assets/icons/plus.svg); }
.faq-row.is-open .sign { --ic: url(assets/icons/minus.svg); }
.faq-body { overflow: hidden; height: 0; }
.faq-row.is-open .faq-body { height: auto; }
.faq-body > div { min-height: 0; }
.faq-body p { margin: 0; padding: 0 0 24px; max-width: 66ch; font-size: 14px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }

/* ---------- inner page hero (dark band under the transparent header) ---------- */
.page-hero { background: var(--ink); color: #FFFFFF; padding: calc(var(--header-h) + var(--gy)) var(--gx) var(--gy); }
.page-hero .eyebrow { color: rgba(255, 255, 255, 0.6); }
.page-hero h1 { margin: 0; font-family: var(--font); font-weight: 400; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -0.05em; color: #FFFFFF; text-wrap: balance; }
.page-hero .intro { margin: 22px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); text-wrap: pretty; }

/* ---------- about ---------- */
.about-body { padding: var(--gy) var(--gx) 0; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.65; color: var(--grey); text-wrap: pretty; }
.about-grid p:last-child { margin-bottom: 0; }
.about-portrait { aspect-ratio: 3 / 4; background: #E6E8EB; border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.section--cred { padding: var(--gy) var(--gx); }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.cred-grid > div { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); }
.cred-grid ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cred-grid li { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); padding-left: 14px; border-left: 1px solid var(--line-light); text-wrap: pretty; }
.authored-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: start; }
.title-list { border-top: 1px solid var(--line-soft); }
.title-list button { display: block; width: 100%; text-align: left; cursor: pointer; background: none; border: 0; border-bottom: 1px solid var(--line-soft); padding: 15px 0; font-size: 15.5px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.45; color: var(--ink); text-wrap: pretty; font-family: inherit; transition: color 0.2s, padding-left 0.2s; }
.title-list button:hover { color: var(--grey); padding-left: 6px; }

/* ---------- books ---------- */
.book-row { padding: var(--gy-row) var(--gx); border-top: 1px solid var(--line-soft); }
.book-row-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: start; }
.book-row .cover-col { max-width: 380px; }
.book-row .book-cover { border-radius: var(--radius); border: 1px solid var(--line-soft); }
.book-row .text-col { grid-column: span 2; min-width: 0; }
.book-row h2 { margin: 0; font-family: var(--font); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.04em; line-height: 1.2; color: var(--ink); text-wrap: pretty; }
.book-row .isbn { margin-top: 12px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.book-row .ebook { margin-top: 8px; font-size: 13px; color: var(--grey); }
.book-row .ebook a { color: var(--grey); border-bottom: 1px solid var(--line); }
.book-row p { margin: 20px 0 0; max-width: 70ch; font-size: 15px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }
.book-row .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- articles ---------- */
.list-section { padding: var(--gy) var(--gx); }
.list-section:has(.load-more-wrap) { padding-top: var(--gy-row); }
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.article-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8, 16, 20, 0.08); }
.article-card .thumb { aspect-ratio: 16 / 9; background: #E6E8EB; overflow: hidden; }
.article-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.article-card h2 { margin: 0; font-family: var(--font); font-weight: 400; font-size: 20px; letter-spacing: -0.03em; line-height: 1.25; color: var(--ink); text-wrap: pretty; }
.article-card p { margin: 0; flex: 1; font-size: 14px; line-height: 1.55; color: var(--grey); text-wrap: pretty; }

/* ---------- lectures / monographs ---------- */
.media-row { padding: var(--gy-row) var(--gx); border-top: 1px solid var(--line-soft); }
.media-row-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.lecture-thumb { aspect-ratio: 4 / 3; background: #E6E8EB; border-radius: var(--radius); overflow: hidden; }
.mono-thumb { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; padding: 18px; display: flex; align-items: center; justify-content: center; }
.mono-thumb img { width: 100%; height: auto; max-height: 420px; object-fit: contain; display: block; border-radius: 6px; }
.media-row .text-col { min-width: 0; }
.media-row h2 { margin: 0; font-family: var(--font); font-weight: 400; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.04em; line-height: 1.2; color: var(--ink); text-wrap: pretty; }
.media-row p { margin: 18px 0 0; max-width: 70ch; font-size: 15px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }
.media-row .btn-outline { margin-top: 24px; }

/* ---------- thought-lines ---------- */
.thought-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.thought-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 250px; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.thought-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8, 16, 20, 0.08); }
.thought-card h2 { margin: 0; font-family: var(--font); font-weight: 400; font-size: 20px; letter-spacing: -0.03em; line-height: 1.25; color: var(--ink); text-wrap: pretty; }

.article-page { padding: calc(var(--header-h) + var(--gy)) var(--gx) var(--gy); }
.article-page .inner { max-width: 760px; margin: 0 auto; }
.back-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--grey); margin-bottom: 34px; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; }
.back-btn::before { content: ""; width: 14px; height: 14px; background-color: currentColor; -webkit-mask: url(assets/icons/arrow-left.svg) center / contain no-repeat; mask: url(assets/icons/arrow-left.svg) center / contain no-repeat; }
.back-btn:hover { color: var(--ink); }
.article-page h1 { margin: 0; font-family: var(--font); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.05em; line-height: 1.12; color: var(--ink); text-wrap: pretty; }
.article-page .rule { height: 1px; background: var(--line-soft); margin: clamp(32px, 4vw, 44px) 0; }
.article-page .lead { margin: 0 0 20px; font-size: 18px; letter-spacing: -0.02em; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.article-page h2 { margin: 36px 0 14px; font-family: var(--font); font-weight: 400; font-size: 22px; letter-spacing: -0.03em; line-height: 1.3; color: var(--ink); }
.article-page p.body { margin: 0 0 20px; font-size: 16px; line-height: 1.7; color: var(--grey); text-wrap: pretty; }
.article-page .foot { margin-top: clamp(36px, 4vw, 52px); padding-top: 26px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section--more { padding: var(--gy) var(--gx); }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.more-card { text-align: left; cursor: pointer; background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 18px; min-height: 170px; justify-content: space-between; font-family: inherit; transition: transform 0.4s var(--ease), background 0.3s; }
.more-card:hover { transform: translateY(-4px); background: #FFFFFF; }
.more-card .title { font-family: var(--font); font-weight: 400; font-size: 18px; letter-spacing: -0.03em; line-height: 1.3; color: var(--ink); text-wrap: pretty; }
.more-card .cta { font-size: 13px; font-weight: 500; color: var(--grey); }
.more-card .cta { display: inline-flex; align-items: center; gap: 6px; }
.more-card .cta::after { content: ""; width: 13px; height: 13px; background-color: currentColor; -webkit-mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; }

/* ---------- podcasts / news cards ---------- */
.card-grid { display: grid; gap: 16px; }
.card-grid--pod { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid--news { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card-grid--video { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.media-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.media-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8, 16, 20, 0.08); }
.media-card .thumb { background: #E6E8EB; overflow: hidden; }
.media-card .thumb--square { aspect-ratio: 1 / 1; }
.media-card .thumb--news { aspect-ratio: 3 / 2; }
.media-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; justify-content: space-between; }
.media-card h2 { margin: 0; font-family: var(--font); font-weight: 400; font-size: 17px; letter-spacing: -0.025em; line-height: 1.3; color: var(--ink); text-wrap: pretty; }
.media-card h2.news { font-size: 19px; line-height: 1.25; }
.list-section--news { padding: var(--gy) var(--gx) 0; }
.load-more-wrap { display: flex; justify-content: center; }
.btn-load { cursor: pointer; padding: 14px 24px; border-radius: 100px; border: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 500; color: var(--ink); font-family: inherit; transition: background 0.25s, color 0.25s; }
.btn-load:hover { background: var(--ink); color: #FFFFFF; }

/* ---------- videos ---------- */
.video-card { display: flex; flex-direction: column; gap: 16px; }
.video-thumb { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; text-align: left; font: inherit; position: relative; aspect-ratio: 16 / 9; background: #E6E8EB; border-radius: var(--radius); overflow: hidden; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: flex; align-items: center; justify-content: center; color: var(--ink); padding-left: 3px; pointer-events: none; box-shadow: 0 8px 24px rgba(8, 16, 20, 0.2); }
.video-play .ic { width: 22px; height: 22px; }
.video-card h2 { margin: 0; font-family: var(--font); font-weight: 400; font-size: 19px; letter-spacing: -0.03em; line-height: 1.25; color: var(--ink); text-wrap: pretty; }
.video-embed { margin-top: clamp(28px, 3.4vw, 40px); position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-card .date, .thought-card .date, .media-row .date { margin-top: 10px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }

/* ---------- contact ---------- */
.contact-hero { background: var(--ink); color: #FFFFFF; padding: calc(var(--header-h) + var(--gy)) var(--gx) var(--gy); }
.contact-hero > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.contact-hero .eyebrow { margin-bottom: 0; color: rgba(255, 255, 255, 0.6); display: block; }
.contact-hero h1 { margin: 14px auto 0; font-family: var(--font); font-weight: 400; font-size: clamp(38px, 4.6vw, 64px); letter-spacing: -0.05em; line-height: 1.1; color: #FFFFFF; }
.contact-hero p { margin: 18px auto 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); text-wrap: pretty; }
.contact-hero p { max-width: 1240px; }
.contact-grid { padding: var(--gy) var(--gx); max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.contact-card { padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--white); }
.contact-card .label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.contact-card .addr { margin: 16px 0 0; font-size: 15px; line-height: 1.65; color: var(--grey); }
.contact-card .phones { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink); }
.contact-card .mail, .contact-card .tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-card .ic { width: 16px; height: 16px; color: var(--grey); }
.contact-card .mail:hover, .contact-card .tel:hover { color: var(--grey); }
.contact-form { grid-column: 1 / -1; padding: clamp(26px, 3.4vw, 40px); border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--white); display: grid; gap: 14px; }
.contact-form h2 { margin: 0 0 6px; font-family: var(--font); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.04em; color: var(--ink); }
.contact-form .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.contact-form input, .contact-form textarea { padding: 14px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 14px; font-family: inherit; width: 100%; outline: none; transition: border-color 0.2s, background 0.2s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--grey); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); background: #FFFFFF; }
.contact-form textarea { resize: vertical; }
.contact-form .row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn-send { cursor: pointer; padding: 14px 22px; border-radius: 100px; border: 1px solid var(--ink); background: var(--ink); color: #FFFFFF; font-size: 14px; font-weight: 500; font-family: inherit; transition: background 0.25s, color 0.25s; }
.btn-send:hover { background: transparent; color: var(--ink); }
.sent-note { font-size: 13px; color: var(--grey); }

/* ---------- detail ---------- */
.detail-page { padding: calc(var(--header-h) + var(--gy)) var(--gx) var(--gy); }
.detail-page .inner { max-width: 820px; margin: 0 auto; }
.detail-page .back-btn { margin-bottom: 30px; }
.detail-page h1 { margin: 0; font-family: var(--font); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.05em; line-height: 1.12; color: var(--ink); text-wrap: pretty; }
.detail-page .meta { margin-top: 14px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.detail-page .isbn { margin-top: 8px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.detail-page .figure { margin-top: clamp(28px, 3.4vw, 40px); overflow: hidden; background: #E6E8EB; border-radius: var(--radius); }
.detail-page .figure img { width: 100%; display: block; }
.detail-page .rule { height: 1px; background: var(--line-soft); margin: clamp(30px, 3.6vw, 44px) 0; }
.detail-page .body { margin: 0; font-size: 16px; line-height: 1.7; color: var(--grey); text-wrap: pretty; }
.detail-page .para { margin: 22px 0 0; font-size: 16px; line-height: 1.7; color: var(--grey); text-wrap: pretty; }
.detail-page .embed { margin-top: clamp(30px, 3.6vw, 44px); overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius); background: #FFFFFF; }
.detail-page .embed iframe { display: block; border: 0; width: 100%; height: 180px; }
.btn-pdf { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 14px 22px; border-radius: 100px; background: var(--ink); color: #FFFFFF; font-size: 14px; font-weight: 500; text-decoration: none; border: 1px solid var(--ink); transition: background 0.25s, color 0.25s; }
.btn-pdf .ic { width: 15px; height: 15px; }
.btn-pdf:hover { background: transparent; color: var(--ink); }
.detail-page .nopdf { margin: 26px 0 0; font-size: 14px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }
.detail-page .links { margin-top: clamp(28px, 3.4vw, 40px); display: flex; flex-wrap: wrap; gap: 10px; }
.detail-page .foot { margin-top: clamp(32px, 4vw, 48px); padding-top: 26px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 10px; }
.order-card { margin-top: clamp(28px, 3.4vw, 40px); padding: clamp(22px, 2.6vw, 30px); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.order-card .kicker { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); font-weight: 500; margin-bottom: 12px; }
.order-card .name { font-weight: 500; font-size: 16px; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px; }
.order-card .line { font-size: 14px; line-height: 1.7; color: var(--grey); }
.order-card a { color: var(--ink); border-bottom: 1px solid var(--line); }
.policy-list { margin: 0 0 20px; padding-left: 22px; font-size: 16px; line-height: 1.7; color: var(--grey); }
.section--related { padding: var(--gy) var(--gx); background: var(--white); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.related-card { cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 14px; background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); font-family: inherit; transition: transform 0.4s var(--ease), background 0.3s; }
.related-card:hover { transform: translateY(-4px); background: #FFFFFF; }
.related-card .kicker { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.related-card .title { font-family: var(--font); font-weight: 400; font-size: 18px; letter-spacing: -0.03em; line-height: 1.3; color: var(--ink); text-wrap: pretty; }
.related-card .cta { font-size: 13px; font-weight: 500; color: var(--grey); }
.related-card .cta { display: inline-flex; align-items: center; gap: 6px; }
.related-card .cta::after { content: ""; width: 13px; height: 13px; background-color: currentColor; -webkit-mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; }

/* ---------- footer (light, with a big get-started block) ---------- */
.site-footer { background: var(--white); color: var(--ink); padding: var(--gy) var(--gx) 36px; border-top: 1px solid var(--line-soft); }
.footer-social { display: flex; gap: 22px; align-items: center; margin-bottom: 40px; }
.footer-social a { color: var(--grey); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.footer-social a:hover { color: var(--ink); }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-soft); }
.footer-top h2 { margin: 0 0 18px; font-family: var(--font); font-weight: 400; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.05em; line-height: 1.1; color: var(--ink); max-width: 20ch; text-wrap: balance; }
.footer-top .tagline { margin: 0; font-size: 15px; line-height: 1.6; color: var(--grey); max-width: 46ch; text-wrap: pretty; }
.footer-top .eyebrow { margin-bottom: 18px; color: var(--grey); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.subscribe { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; border: 0; }
.subscribe input { flex: 1; min-width: 140px; background: var(--bg); border: 1px solid var(--line); border-radius: 100px; padding: 14px 18px; color: var(--ink); font-size: 14px; outline: none; font-family: inherit; transition: border-color 0.2s, background 0.2s; }
.subscribe input::placeholder { color: var(--grey); }
.subscribe input:focus { border-color: var(--ink); background: #FFFFFF; }
.subscribe button { cursor: pointer; border: 1px solid var(--ink); border-radius: 100px; padding: 0 20px; background: var(--ink); color: #FFFFFF; font-family: inherit; display: inline-flex; align-items: center; transition: background 0.25s, color 0.25s; }
.subscribe button .ic { width: 18px; height: 18px; }
.subscribe button:hover { background: transparent; color: var(--ink); }
.subscribed-note { margin: 14px 0 0; font-size: 13px; color: var(--grey); }
.footer-top .consent { margin: 16px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--grey); max-width: 46ch; }
.footer-top .consent a { color: var(--ink); border-bottom: 1px solid var(--line); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 36px; padding: clamp(40px, 4vw, 56px) 0; }
.footer-cols .col-title { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; font-weight: 500; }
.footer-cols .links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-cols .links button, .footer-cols .links a { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 400; letter-spacing: -0.01em; font-family: inherit; transition: color 0.2s; }
.footer-cols .links button:hover, .footer-cols .links a:hover { color: var(--grey); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--grey); }
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom a { color: var(--grey); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  .hero { min-height: 92svh; }
  .hero-inner { padding-bottom: 72px; }
  .hero h1 { font-size: clamp(36px, 10vw, 54px); }
  .hero-img { object-position: 74% center; }
  .hero-notes { display: none; }
  .book-row .text-col { grid-column: auto; }
  .about-portrait { position: static; }
}

/* Touch screens have no hover: show photos in colour there rather than locking them to black and white. */
@media (hover: none) {
  main img:not(.hero-img) { filter: none; }
}

/* ---------- modal (Preface / Foreword / Order Book) ---------- */
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(8, 16, 20, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity 0.25s ease; }
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal__panel { position: relative; width: min(760px, 100%); max-height: min(86vh, 900px); overflow-y: auto; background: #FFFFFF; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); transform: translateY(14px); transition: transform 0.3s var(--ease); }
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; background: var(--bg); border: 0; border-radius: 50%; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.modal__close .ic { width: 20px; height: 20px; }
.modal__kicker { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); font-weight: 500; margin-bottom: 12px; }
.modal__title { margin: 0 0 6px; font-family: var(--font); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.04em; line-height: 1.15; color: var(--ink); padding-right: 40px; }
.modal__meta { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.modal__p { margin: 18px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--grey); text-wrap: pretty; }
.modal__p:first-of-type { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.book-row .actions .link-btn { margin-left: 6px; }
.order-card__logo { display: block; height: 42px; width: auto; max-width: 100%; margin-bottom: 18px; filter: none !important; }

/* ---------- book page ---------- */
.book-row .title-link { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; letter-spacing: inherit; }
.book-row .title-link:hover { color: var(--grey); }
.book-row--page { border-top: 0; padding-top: var(--gy); }
.book-text { padding: var(--gy-row) var(--gx) var(--gy); background: var(--white); }
.book-text__inner { max-width: 820px; }
.book-text p { margin: 0 0 18px; font-size: 16px; line-height: 1.75; color: var(--grey); text-wrap: pretty; }
.book-more { padding-bottom: 0; }
.book-more .container > .eyebrow { margin-bottom: 8px; }
.book-foot { padding: var(--gy-row) var(--gx) var(--gy); }
.book-foot .container { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; border-top: 1px solid var(--line-soft); }

/* ---------- book page tabs (Preface | Foreword) ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line-soft); margin-bottom: 28px; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 18px; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--grey); transition: color 0.2s, border-color 0.2s; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.tab-pane { display: none; }
.tab-pane.is-active { display: block; }
.media-row .title-link { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; letter-spacing: inherit; }
.media-row .title-link:hover { color: var(--grey); }
.media-row .lecture-dl { display: inline-flex; margin: 18px 24px 0 0; }
.media-row .lecture-dl + .btn-outline { margin-top: 18px; }
.media-row .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.media-row .actions .btn-dark::after { content: none; }
.media-row--page { border-top: 0; padding-top: var(--gy); }
.btn-pdf[href^="#"]::after { content: ""; -webkit-mask-image: url(assets/icons/arrow-up-right.svg); mask-image: url(assets/icons/arrow-up-right.svg); background-color: currentColor; width: 14px; height: 14px; }

/* portraits take their own proportions, so no gaps above or below */
.about-portrait, .message-portrait { aspect-ratio: auto; }
.about-portrait img, .message-portrait img { height: auto; }

/* home Library covers: the box takes the picture's own height */
.book-grid .book-cover { aspect-ratio: auto; }
.book-grid .book-cover img { height: auto; }

/* whole cards are clickable */
.card-link { cursor: pointer; }
.card-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* Thought-Lines cards turn black on hover */
.thought-card:hover { background: var(--ink); border-color: var(--ink); box-shadow: 0 18px 40px rgba(8, 16, 20, 0.18); }
.thought-card:hover h2, .thought-card:hover .link-btn { color: #FFFFFF; }
.thought-card:hover .eyebrow, .thought-card:hover .date { color: rgba(255, 255, 255, 0.6); }

/* Books and Lectures/Monographs rows: image boxes take the picture's own proportions */
.book-row .book-cover { aspect-ratio: auto; }
.book-row .book-cover img { height: auto; }
.lecture-thumb { aspect-ratio: auto; }
.lecture-thumb img { height: auto; }
.mono-thumb { padding: 0; }
.mono-thumb img { max-height: none; border-radius: 0; }

/* video thumbnails fill the 16:9 player box (YouTube stills carry their own letterbox bars, which this trims) */
.video-thumb img { object-fit: cover; }

/* news photos fill their box edge to edge */
.media-card .thumb--news img { object-fit: cover; }

/* lecture pictures at half the column width */
.lecture-thumb { width: 50%; }
@media (max-width: 720px) { .lecture-thumb { width: 70%; } }

/* monograph pictures at half the column width */
.mono-thumb { width: 50%; }
@media (max-width: 720px) { .mono-thumb { width: 70%; } }

/* image + text rows: the image column is exactly the picture's width, with a tight gap */
.media-row-grid { grid-template-columns: max-content minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.lecture-thumb, .mono-thumb { width: clamp(200px, 20vw, 294px); }
.book-row-grid { grid-template-columns: max-content minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.book-row .cover-col { width: clamp(200px, 20vw, 294px); max-width: none; }
.book-row .text-col { grid-column: auto; }
@media (max-width: 720px) {
  .media-row-grid, .book-row-grid { grid-template-columns: 1fr; }
  .lecture-thumb, .mono-thumb, .book-row .cover-col { width: 70%; }
}

/* ---------- home: closing word ---------- */
.closing .container { max-width: 900px; text-align: center; }
.closing__quote { margin: 0; font-family: var(--font); font-weight: 400; font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -0.05em; line-height: 1.2; color: var(--ink); text-wrap: balance; }
.closing__by { margin-top: 22px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.closing__actions { justify-content: center; margin-top: 32px; }
.closing .btn-dark::after { content: none; }

/* ---------- home v2: name-only hero, carousels, publications, endorsements ---------- */
.hero--name .hero-copy { max-width: 900px; }
.hero--name h1 { font-size: clamp(38px, 5.2vw, 76px); letter-spacing: -0.05em; line-height: 1.05; }
.hero--name h1 .hero-post { color: rgba(255, 255, 255, 0.78); white-space: nowrap; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 40px); }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head .h2 { margin: 0; }
.sec-head__tools { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.car-nav { display: flex; gap: 8px; }
.car-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.car-btn:hover { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-continuous { scroll-snap-type: none; }
.car-item { flex: 0 0 auto; scroll-snap-align: start; }
.car-track--news .car-item { width: clamp(260px, 30vw, 380px); }
.car-track--news .media-card .body { justify-content: flex-start; }
.car-track--news .date--top { margin: 0 0 10px; }
.car-track--books .car-item { width: clamp(170px, 17vw, 220px); }
.pub-card { color: var(--ink); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; padding: 0 0 16px; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.pub-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8, 16, 20, 0.08); }
.pub-card:hover img { filter: none; }
.pub-cover { height: 240px; background: #E6E8EB; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pub-cover img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pub-title { padding: 14px 16px 0; font-size: 14px; letter-spacing: -0.02em; line-height: 1.35; }
.pub-isbn { padding: 8px 16px 0; font-size: 11px; color: var(--grey); letter-spacing: 0.04em; text-transform: uppercase; }
.car-track--quotes .car-item { width: 100%; }
.endorse { margin: 0; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 280px; }
.endorse blockquote { margin: 0; font-family: var(--font); font-weight: 400; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.04em; line-height: 1.25; color: var(--ink); text-wrap: pretty; max-width: 30ch; }
.endorse figcaption { font-size: 13px; line-height: 1.5; color: var(--grey); border-top: 1px solid var(--line-soft); padding-top: 18px; }
.endorse .name { color: var(--ink); font-weight: 500; font-size: 14px; }
.endorse .role { margin-top: 4px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.endorse .source { margin-top: 8px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-2); }
.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.car-dots:empty { display: none; }
.car-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background 0.25s, transform 0.25s; }
.car-dot.is-on { background: var(--ink); transform: scale(1.25); }
.closing .eyebrow { margin-bottom: 26px; }
.about-grid p { text-align: justify; hyphens: auto; }
@media (max-width: 720px) {
  .sec-head__tools { width: 100%; justify-content: space-between; }
  .car-track--news .car-item { width: 82vw; }
  .car-track--books .car-item { width: 160px; }
  .pub-cover { height: 200px; }
  .endorse { min-height: 0; }
}
@media (max-width: 420px) {
  .logo-btn img, .site-menu__logo { height: 17px; }
}

/* ---------- home v2.1: wider publication cards, news-sized titles ---------- */
.car-track--books .car-item { width: clamp(240px, 24vw, 300px); }
.pub-cover { height: 300px; padding: 20px; }
.pub-title { padding: 18px 20px 0; font-size: 19px; letter-spacing: -0.025em; line-height: 1.25; }
.pub-isbn { padding: 10px 20px 0; }
.pub-card { padding-bottom: 20px; }
@media (max-width: 720px) {
  .car-track--books .car-item { width: 82vw; }
  .pub-cover { height: 260px; }
}

/* ---------- carousels: horizontal only ---------- */
.carousel__track { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; padding: 8px 4px 24px; margin: -8px -4px -24px; align-items: stretch; }
.carousel__track .car-item { height: auto; }
.carousel__track .media-card, .carousel__track .pub-card, .carousel__track .endorse { height: 100%; box-sizing: border-box; }

/* ---------- publications carousel: uniform card height ---------- */
.pub-card { display: flex; flex-direction: column; }
.pub-title { min-height: calc(1.25em * 3 + 18px); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pub-isbn { margin-top: auto; }

/* ---------- about: breathing room before the dark credentials band ---------- */
.about-body { padding-bottom: var(--gy); }

/* ---------- full-width text: every text block spans the site container ---------- */
.page-hero .intro, .contact-hero .intro { max-width: none; }
.book-row p, .media-row p, .book-text p, .detail-page p, .article-page p { max-width: none; }
.book-text__inner { max-width: none; }
.article-page .inner, .detail-page .inner { max-width: 1240px; margin: 0 auto; }
.book-row .cover-col { max-width: none; }
.acc-body p, .faq-body p, .faq-grid .note { max-width: none; }
.footer-top .tagline, .footer-top .consent { max-width: none; }
.endorse blockquote { max-width: none; }

/* ---------- books: collapse long descriptions behind "View more" ---------- */
.more-wrap .more-rest[hidden] { display: none; }
.more-btn { margin-top: 14px; }
.more-btn::after { content: ""; width: 12px; height: 12px; background-color: currentColor; -webkit-mask: url(assets/icons/chevron-down.svg) center / contain no-repeat; mask: url(assets/icons/chevron-down.svg) center / contain no-repeat; transition: transform 0.25s; }
.more-wrap.is-open .more-btn::after { transform: rotate(180deg); }

/* ---------- about: bold lead sentence ---------- */
.about-grid p.about-lead { font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); text-align: left; hyphens: none; margin-bottom: 22px; }

/* ---------- article page: small cover on the left, title and text on the right ---------- */
.detail--cover .inner { display: grid; grid-template-columns: clamp(180px, 18vw, 240px) minmax(0, 1fr); column-gap: clamp(24px, 3vw, 40px); align-items: start; }
.detail--cover .inner > * { grid-column: 2; }
.detail--cover .inner > .figure { grid-column: 1; grid-row: 1 / span 20; margin: 0; width: 100%; aspect-ratio: auto; }
.detail--cover .inner > .figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line-soft); }
.detail--cover .inner > .rule { margin-top: 20px; }
@media (max-width: 720px) {
  .detail--cover .inner { grid-template-columns: 1fr; }
  .detail--cover .inner > * { grid-column: 1; }
  .detail--cover .inner > .figure { grid-row: auto; width: 60%; margin: 0 0 20px; }
}
@media (max-width: 720px) { .detail--cover .inner > .figure { margin: 20px 0 20px; } }

/* Subheadings inside news stories (paragraphs marked with ## in the dashboard) */
.detail-page .para--head { margin-top: 32px; font-weight: 500; color: var(--ink); font-size: 18px; letter-spacing: -0.01em; }
