/* ==========================================================================
   Craig Glendenning — Luminous Aqua · Japanese Minimalism (Ma & Kanso)
   Deep Obsidian · Serene Aqua Glow · Ultra-Readable Open Sans · Less Is More
   ========================================================================== */

:root {
  /* Core Obsidian Surfaces */
  --bg: #040810;
  --bg-surface: rgba(7, 17, 30, 0.62);
  --bg-elevated: rgba(9, 22, 38, 0.72);
  --bg-subtle: rgba(0, 229, 255, 0.045);
  --bg-glass: rgba(4, 8, 16, 0.82);

  /* Quiet, Crisp Inks */
  --ink: #eef9fc;
  --ink-secondary: #b5ceda;
  --ink-muted: #66889a;

  /* Luminous Aqua Glow */
  --accent: #00e5ff;
  --accent-bright: #78f3ff;
  --accent-soft: rgba(0, 229, 255, 0.1);
  --accent-glow: rgba(0, 229, 255, 0.2);
  --border: rgba(0, 229, 255, 0.14);
  --border-strong: rgba(0, 229, 255, 0.42);

  /* Typography — Open Sans for calm, effortless reading */
  --font-display: "Space Grotesk", "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Serene Geometry & Elevation */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card:
    0 12px 34px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(0, 229, 255, 0.055);
  --shadow-hover:
    0 18px 44px rgba(0, 0, 0, 0.52),
    0 0 36px rgba(0, 229, 255, 0.15);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --max-width: 1000px;
}

/* Subtle Pillar-Adaptive Aqua Spectrum */
html[data-pillar="mind"] {
  --accent: #1ce0ff;
  --accent-bright: #85f2ff;
  --accent-soft: rgba(28, 224, 255, 0.1);
  --accent-glow: rgba(28, 224, 255, 0.21);
  --border: rgba(28, 224, 255, 0.15);
  --border-strong: rgba(28, 224, 255, 0.45);
}

html[data-pillar="body"] {
  --accent: #00eab3;
  --accent-bright: #7cffdc;
  --accent-soft: rgba(0, 234, 179, 0.1);
  --accent-glow: rgba(0, 234, 179, 0.19);
  --border: rgba(0, 234, 179, 0.15);
  --border-strong: rgba(0, 234, 179, 0.44);
}

html[data-pillar="spirit"] {
  --accent: #52d8ff;
  --accent-bright: #a6eeff;
  --accent-soft: rgba(82, 216, 255, 0.11);
  --accent-glow: rgba(96, 165, 250, 0.21);
  --border: rgba(82, 216, 255, 0.16);
  --border-strong: rgba(125, 211, 252, 0.46);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.78;
  position: relative;
  overflow-x: hidden;
}

/* Whisper-Thin Shoji Lattice Grid */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 15%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 15%, #000 30%, transparent 100%);
}

/* Serene Luminous Aqua Ambient Glow */
.site-ambient {
  position: fixed;
  inset: 0 0 auto 0;
  height: 620px;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 62% 48% at 50% -10%, var(--accent-glow), transparent 70%),
    radial-gradient(circle 360px at 18% 22%, rgba(0, 229, 255, 0.055), transparent 72%);
  transition: background 0.6s var(--ease-out);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   Header & Minimalist Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 24px rgba(0, 229, 255, 0.05);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* Hanko-Inspired Luminous Square Seal */
.brand-monogram {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--border-strong);
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  display: grid;
  place-items: center;
  letter-spacing: 0.06em;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.16);
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.brand:hover .brand-monogram {
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.34);
  border-color: var(--accent);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.primary-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-tab {
  position: relative;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease-out);
}

.nav-tab:hover {
  color: var(--ink);
}

.nav-tab.is-active {
  color: var(--accent-bright);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.45);
}

.nav-tab.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ==========================================================================
   Main Container — Generous Negative Space (Ma)
   ========================================================================== */

.main-container {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 68px 28px 112px;
}

.view-enter {
  animation: fadeSlideIn 0.42s var(--ease-out) both;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Home Hero — Quiet, Balanced Asymmetry
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 350px) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  padding: 44px;
  background: var(--bg-surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
}

.portrait-column {
  display: flex;
  flex-direction: column;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(0, 229, 255, 0.12), rgba(4, 10, 20, 0.94) 74%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portrait-placeholder {
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.portrait-initials {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.24);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
  text-shadow: 0 0 26px rgba(0, 229, 255, 0.14);
}

.hero-lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 58ch;
}

.hero-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-paragraphs p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin: 0;
  max-width: 60ch;
}

.hero-paragraphs strong {
  color: var(--accent-bright);
  font-weight: 600;
}

/* ==========================================================================
   Pillar Pages (Mind / Body / Spirit) — Calm Shoji Restraint
   ========================================================================== */

.pillar-header {
  padding: 36px 40px 30px;
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.4vw, 3.15rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.16);
}

.pillar-intro {
  font-size: 16.5px;
  color: var(--ink-secondary);
  max-width: 60ch;
  margin: 0 0 28px;
  line-height: 1.75;
}

/* Minimal Hairline Sub-Navigation */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.subnav-pill {
  position: relative;
  padding: 6px 2px 10px;
  color: var(--ink-muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease-out);
}

.subnav-pill:hover {
  color: var(--ink);
}

.subnav-pill.is-active {
  color: var(--accent-bright);
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
}

.subnav-pill.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* Pillar Sections — Generous Ma Spacing */
.pillar-sections {
  display: flex;
  flex-direction: column;
  gap: 84px;
}

.topic-section {
  scroll-margin-top: 96px;
}

.topic-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.topic-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.05rem);
  font-weight: 500;
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.topic-desc {
  font-size: 14.5px;
  color: var(--ink-muted);
  max-width: 50ch;
  margin: 0;
  line-height: 1.65;
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.65rem);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

.topic-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}

/* Quiet Authorship Provenance Line */
.provenance-row {
  margin: -6px 0 22px;
}

.provenance-note {
  margin: 0;
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Cards, Essays & Feature Splits
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.entry-card {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}

.entry-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.entry-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.entry-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.entry-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

.entry-subtitle {
  font-size: 13px;
  color: var(--ink-muted);
  margin: -6px 0 0;
}

.entry-body {
  font-size: 15px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.75;
}

/* Essay Panel */
.essay-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}

.essay-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 500;
  line-height: 1.26;
  color: var(--ink);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.essay-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 68ch;
}

.essay-body p {
  font-size: 16px;
  line-height: 1.82;
  color: var(--ink-secondary);
  margin: 0;
}

.essay-body p:first-child {
  color: var(--ink);
  font-size: 17px;
}

.essay-callout {
  margin-top: 26px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--accent-bright);
  line-height: 1.55;
  text-align: center;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.1);
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  transition: box-shadow 0.25s var(--ease-out), background-color 0.25s, transform 0.2s;
}

.resource-link:hover {
  background: rgba(0, 229, 255, 0.18);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.28);
  transform: translateY(-1px);
}

.resource-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.resource-links-row .resource-link {
  margin-top: 0;
}

/* Collapsible Mental Model Accordion Rows */
.model-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.model-row {
  background: var(--bg-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.model-row:hover,
.model-row[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.model-row-summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  user-select: none;
}

.model-row-summary::-webkit-details-marker {
  display: none;
}

.model-row-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.model-row-title {
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2.2vw, 1.48rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}

.model-row-teaser {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}

.model-row-chevron {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 229, 255, 0.05);
  color: var(--accent-bright);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.28s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}

.model-row-summary:hover .model-row-chevron {
  border-color: var(--border-strong);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.2);
}

.model-row[open] .model-row-chevron {
  transform: rotate(180deg);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.28);
}

.model-row-body {
  padding: 0 28px 28px;
  border-top: 1px solid var(--border);
  padding-top: 26px;
  animation: fadeSlideIn 0.28s var(--ease-out);
}

.model-row-body .essay-panel {
  background: rgba(4, 10, 20, 0.42);
  padding: 28px 30px;
  margin-bottom: 0;
}

.model-row-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 24px;
  align-items: start;
}

@media (max-width: 860px) {
  .model-row-split {
    grid-template-columns: 1fr;
  }

  .model-row-summary {
    padding: 20px;
  }

  .model-row-body {
    padding: 20px;
  }
}

/* Feature Photo + Story Split */
.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.feature-photo-card {
  background: var(--bg-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-card);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-photo-frame {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(0, 229, 255, 0.12), rgba(4, 10, 20, 0.94) 74%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-photo-img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-gallery-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 780px) {
  .photo-gallery-two {
    grid-template-columns: 1fr;
  }
}

.feature-photo-caption {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink-muted);
  margin: 0;
  padding: 0 4px 4px;
}

.rig-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.rig-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rig-spec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.rig-spec-value {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}

.rig-spec-detail {
  font-size: 13px;
  color: var(--ink-muted);
}

/* Quote & Synonym Cards */
.quote-card,
.synonym-card {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.quote-card {
  border-left: 2px solid var(--accent);
}

.synonym-card:hover,
.quote-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.quote-text {
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.68;
  color: var(--ink);
  margin: 0;
}

.quote-author {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent-bright);
  letter-spacing: 0.06em;
}

.quote-note {
  font-size: 14.5px;
  color: var(--ink-secondary);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.synonym-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.synonym-word {
  font-family: var(--font-display);
  font-size: 1.26rem;
  font-weight: 500;
  color: var(--ink);
}

.synonym-sep {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* Mentor & Artist Portrait Cards */
.mentors-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mentor-card {
  background: var(--bg-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}

.mentor-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.mentor-photo-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mentor-photo-wrap {
  position: relative;
  width: 112px;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, rgba(0, 229, 255, 0.14), rgba(4, 10, 20, 0.96) 76%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mentor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.mentor-initials {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--accent-bright);
  letter-spacing: 0.05em;
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
  user-select: none;
}

.mentor-credit {
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.35;
  color: var(--ink-muted);
  text-align: center;
  margin: 0;
}

.mentor-credit a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mentor-credit a:hover {
  color: var(--accent-bright);
}

.mentor-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.mentor-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.22;
  margin: 0;
  color: var(--ink);
}

.mentor-role {
  font-size: 13px;
  color: var(--ink-muted);
  margin: -3px 0 3px;
}

.mentor-bio {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-secondary);
  margin: 0;
}

/* Minimal Hardcover Book Graphic (Covey 7 Habits) */
.book-cover-card {
  background: var(--bg-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.book-cover {
  width: 204px;
  aspect-ratio: 2 / 3;
  border-radius: 5px 12px 12px 5px;
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.18) 0%, rgba(0, 229, 255, 0.03) 7%, transparent 11%),
    linear-gradient(155deg, #09182b 0%, #040b16 60%, #071726 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    inset 10px 0 18px rgba(0, 0, 0, 0.55),
    0 16px 36px rgba(0, 0, 0, 0.55),
    0 0 26px rgba(0, 229, 255, 0.15);
  padding: 22px 18px 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-cover-kicker {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.book-cover-rule {
  width: 34px;
  height: 1.5px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  margin: 12px 0;
}

.book-cover-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.24;
  color: var(--ink);
  margin: 0;
}

.book-cover-principle {
  font-size: 12px;
  font-style: italic;
  color: var(--accent-bright);
  margin: 0 0 10px;
  line-height: 1.45;
}

.book-cover-author {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* Click-to-Enlarge Photo Lightbox */
.portrait-img,
.feature-photo-img,
.mentor-photo {
  cursor: zoom-in;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.portrait-img:hover,
.feature-photo-img:hover,
.mentor-photo:hover {
  transform: scale(1.02);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 7, 14, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  animation: lightboxFade 0.22s var(--ease-out);
}

.lightbox[hidden] {
  display: none;
}

@keyframes lightboxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(7, 17, 30, 0.85);
  color: var(--accent-bright);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.lightbox-close:hover {
  background: var(--accent-soft);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.4);
  transform: scale(1.05);
}

.lightbox-figure {
  margin: 0;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 229, 255, 0.16);
}

.lightbox-caption {
  font-size: 14.5px;
  color: var(--ink-secondary);
  text-align: center;
  max-width: 66ch;
  line-height: 1.55;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(4, 8, 16, 0.72);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}

.footer-copy {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--accent-bright);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .hero,
  .feature-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .portrait-column {
    max-width: 260px;
  }

  .cards-grid,
  .mentors-list {
    grid-template-columns: 1fr;
  }

  .rig-specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: auto;
    padding: 14px 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .primary-nav {
    width: 100%;
    justify-content: space-around;
  }

  .nav-tab {
    padding: 6px 10px;
    font-size: 13.5px;
  }

  .main-container {
    padding: 36px 18px 80px;
  }

  .hero,
  .pillar-header,
  .essay-panel {
    padding: 24px 20px;
  }

  .cards-grid--two {
    grid-template-columns: 1fr;
  }

  .mentor-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .mentor-photo-wrap {
    width: 88px;
  }
}
