/* =========================================================================
   MICHAEL EINWECHTER — ROOTS · REALITY · REDEMPTION
   Master stylesheet · used across every page
   Aesthetic: cinematic cyberpunk-industrial, locked to v2 style frame
   ========================================================================= */

:root {
  /* Palette — from the locked style frame */
  --void:           #000000;
  --void-soft:      #050608;
  --asphalt:        #1a1b21;
  --asphalt-edge:   #2a2c34;
  --steel:          #3a3d47;
  --bone:           #c8ccd4;
  --pristine:       #ffffff;

  --cyan:           #00f0ff;
  --cyan-glow:      rgba(0, 240, 255, 0.55);
  --cyan-soft:      rgba(0, 240, 255, 0.12);
  --cyan-deep:      #007a85;

  --ember:          #ff5722;
  --ember-glow:     rgba(255, 87, 34, 0.55);
  --ember-soft:     rgba(255, 87, 34, 0.12);
  --ember-deep:     #a8350f;

  /* Typography */
  --font-display:   "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body:      "JetBrains Mono", "Courier New", monospace;
  --font-prose:     "Source Sans 3", "Helvetica Neue", system-ui, sans-serif;

  /* Layout */
  --max:            1320px;
  --gutter:         clamp(20px, 4vw, 64px);
  --topbar-h:       72px;

  /* Motion */
  --ease:           cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-snap:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   Reset
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-prose);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(0, 240, 255, 0.05), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 87, 34, 0.04), transparent 60%);
}

img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 200ms var(--ease); }

::selection { background: var(--cyan); color: var(--void); }

/* Grain overlay — applied to body for atmospheric texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================================
   Typography utilities
   ========================================================================= */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--pristine);
}

.terminal {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
}

.terminal--ember { color: var(--ember); }
.terminal--bone { color: var(--bone); }

/* =========================================================================
   Top bar — persistent across all pages
   ========================================================================= */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  z-index: 100;
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.brand {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}
.brand__primary {
  font-size: 22px;
  color: var(--pristine);
  letter-spacing: 0.04em;
}
.brand__sub {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-transform: uppercase;
}

.topbar__nav {
  display: flex; gap: 28px;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.topbar__nav a {
  color: var(--bone);
  position: relative;
  padding: 6px 0;
  opacity: 0.8;
  transition: all 200ms var(--ease);
  text-decoration: none;
}
.topbar__nav a:hover,
.topbar__nav a.is-active {
  color: var(--cyan);
  opacity: 1;
}
.topbar__nav a.is-active::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--cyan);
}

/* Mobile menu button — hidden on desktop */
.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  position: relative;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
}
.menu-btn span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--pristine);
  transition: all 250ms var(--ease);
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile breakpoint */
@media (max-width: 900px) {
  .topbar__nav {
    display: none;
    position: fixed;
    top: var(--topbar-h); left: 0; right: 0;
    background: var(--void-soft);
    flex-direction: column;
    padding: 32px var(--gutter);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    gap: 20px;
    font-size: 14px;
    letter-spacing: 0.18em;
  }
  .topbar__nav.is-open {
    display: flex;
  }
  .topbar__nav a {
    padding: 8px 0;
    opacity: 0.95;
  }
  .menu-btn {
    display: block;
  }
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
  transition: all 250ms var(--ease);
  cursor: pointer;
}
.btn::after {
  content: "→";
  transition: transform 250ms var(--ease);
}
.btn:hover::after { transform: translateX(4px); }

.btn--cyan {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.04);
}
.btn--cyan:hover {
  background: var(--cyan);
  color: var(--void);
  box-shadow: 0 0 40px var(--cyan-glow);
}

.btn--ember {
  color: var(--ember);
  background: rgba(255, 87, 34, 0.04);
}
.btn--ember:hover {
  background: var(--ember);
  color: var(--void);
  box-shadow: 0 0 40px var(--ember-glow);
}

.btn--ghost {
  color: var(--bone);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn--ghost:hover {
  color: var(--pristine);
  border-color: var(--pristine);
}

/* =========================================================================
   Hero — homepage (image-as-hero, responsive desktop/mobile crops)
   ========================================================================= */
.hero {
  position: relative;
  padding: var(--topbar-h) 0 0;
  background: var(--void);
}

.hero__poster {
  display: block;
  width: 100%;
  position: relative;
}
.hero__poster img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: cover;
  object-position: center;
}

/* On phones, let the tall mobile image breathe — don't crop it */
@media (max-width: 760px) {
  .hero__poster img {
    max-height: none;
  }
}

/* The content block below the hero image */
.hero__below {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--gutter) 64px;
  text-align: center;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 0 auto;
  max-width: 720px;
  line-height: 1.7;
}
.hero__tagline strong {
  color: var(--ember);
  font-weight: 700;
}

.hero__roles {
  font-family: var(--font-body);
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.7;
  margin: 20px auto 0;
  max-width: 820px;
  line-height: 1.8;
}
.hero__roles strong {
  color: var(--cyan);
  font-weight: 500;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 720px) {
  .hero__below { padding: 32px var(--gutter) 48px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
}

/* =========================================================================
   Section frame — universal page section container
   ========================================================================= */
.section {
  padding: 96px var(--gutter);
  position: relative;
  isolation: isolate;
}
.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 16px;
  display: flex; align-items: center; gap: 14px;
}
.section__label::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--cyan);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1;
  margin: 0 0 32px;
  color: var(--pristine);
  letter-spacing: 0.01em;
}
.section__title em {
  color: var(--ember);
  font-style: normal;
}

.section__lede {
  font-family: var(--font-prose);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--bone);
  max-width: 720px;
  margin: 0 0 48px;
}

/* Section variants */
.section--bordered {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================================================================
   Three-card preview grid (homepage Roots/Reality/Redemption teasers)
   ========================================================================= */
.triad {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.triad__card {
  position: relative;
  display: block;
  background: var(--asphalt);
  border: 1px solid var(--asphalt-edge);
  overflow: hidden;
  transition: all 350ms var(--ease);
  text-decoration: none;
  isolation: isolate;
}
.triad__card::before,
.triad__card::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  z-index: 2;
  transition: all 300ms var(--ease);
}
.triad__card::before {
  top: 0; left: 0;
  border-top: 1.5px solid var(--cyan);
  border-left: 1.5px solid var(--cyan);
}
.triad__card::after {
  bottom: 0; right: 0;
  border-bottom: 1.5px solid var(--cyan);
  border-right: 1.5px solid var(--cyan);
}
.triad__card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 240, 255, 0.15);
}
.triad__card:hover::before,
.triad__card:hover::after {
  width: 32px; height: 32px;
}

.triad__card--ember::before,
.triad__card--ember::after {
  border-color: var(--ember);
}
.triad__card--ember:hover {
  border-color: var(--ember);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 87, 34, 0.18);
}

.triad__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
  transition: filter 400ms var(--ease);
}
.triad__card:hover .triad__img {
  filter: brightness(0.85) contrast(1.15);
}

.triad__body {
  padding: 24px 24px 28px;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent, var(--asphalt) 30%);
  margin-top: -60px;
}
.triad__label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--cyan);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.triad__card--ember .triad__label {
  color: var(--ember);
}
.triad__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--pristine);
  margin: 0 0 12px;
  line-height: 1.1;
}
.triad__desc {
  font-family: var(--font-prose);
  font-size: 15px;
  line-height: 1.55;
  color: var(--bone);
  margin: 0;
}

/* =========================================================================
   Prose block — for longer narrative content (Roots, Reality, Redemption)
   ========================================================================= */
.prose {
  max-width: 760px;
  font-family: var(--font-prose);
  font-size: 18px;
  line-height: 1.75;
  color: var(--bone);
}
.prose p { margin: 0 0 24px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong {
  color: var(--pristine);
  font-weight: 600;
}
.prose em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 500;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--pristine);
  margin: 56px 0 20px;
  letter-spacing: 0.01em;
}
.prose h3::before {
  content: "/ ";
  color: var(--cyan);
}
.prose blockquote {
  border-left: 2px solid var(--ember);
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.5;
  color: var(--pristine);
  font-style: italic;
}

/* =========================================================================
   Role / experience block
   ========================================================================= */
.role {
  border-top: 1px solid var(--asphalt-edge);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}
.role:last-child { border-bottom: 1px solid var(--asphalt-edge); }

@media (max-width: 760px) {
  .role { grid-template-columns: 1fr; gap: 12px; }
}

.role__meta {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  line-height: 1.6;
}
.role__meta-years {
  color: var(--pristine);
  font-size: 14px;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 8px;
}
.role__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--pristine);
  margin: 0 0 16px;
  line-height: 1.15;
}
.role__name span {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--bone);
  text-transform: uppercase;
  margin-top: 6px;
}
.role__copy {
  font-family: var(--font-prose);
  font-size: 16px;
  line-height: 1.7;
  color: var(--bone);
  margin: 0;
}
.role__copy strong {
  color: var(--pristine);
  font-weight: 600;
}

/* Stat strip inside roles */
.role__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding: 20px;
  background: var(--void-soft);
  border-left: 2px solid var(--cyan);
}
.role__stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  line-height: 1;
}
.role__stat-lbl {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  display: block;
  margin-top: 6px;
  opacity: 0.8;
}

/* =========================================================================
   Product cards (Limitless portfolio: Immortal/Forge/Vizionary/Syndicate/Axiom)
   ========================================================================= */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.product {
  background: var(--asphalt);
  border: 1px solid var(--asphalt-edge);
  padding: 32px 28px 28px;
  position: relative;
  transition: all 300ms var(--ease);
  display: flex; flex-direction: column;
}
.product:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.product__tier {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 12px;
}
.product__tier--ember { color: var(--ember); }

.product__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--pristine);
  margin: 0 0 8px;
  line-height: 1.1;
}
.product__sub {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.7;
  margin: 0 0 20px;
}
.product__copy {
  font-family: var(--font-prose);
  font-size: 15px;
  line-height: 1.65;
  color: var(--bone);
  margin: 0 0 24px;
  flex-grow: 1;
}
.product__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-top: 16px;
  border-top: 1px solid var(--asphalt-edge);
  transition: all 200ms var(--ease);
}
.product__link::after { content: "→"; transition: transform 200ms var(--ease); }
.product__link:hover { color: var(--pristine); }
.product__link:hover::after { transform: translateX(4px); }
.product__link--dev {
  color: var(--bone);
  opacity: 0.6;
}

/* =========================================================================
   Executive profile table
   ========================================================================= */
.exec {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--asphalt-edge);
}
.exec__row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--asphalt-edge);
}
@media (max-width: 720px) {
  .exec__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
}
.exec__key {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-top: 4px;
}
.exec__val {
  font-family: var(--font-prose);
  font-size: 16px;
  color: var(--bone);
  line-height: 1.55;
}
.exec__val strong {
  color: var(--pristine);
  font-weight: 600;
}
.exec__val-big {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--pristine);
}

/* Credentials list */
.creds {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.creds li {
  background: var(--void-soft);
  border-left: 2px solid var(--ember);
  padding: 18px 20px;
  font-family: var(--font-prose);
  font-size: 15px;
  line-height: 1.5;
  color: var(--bone);
}
.creds li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--pristine);
  margin-bottom: 4px;
  font-weight: 700;
}

/* Comma-separated competencies block */
.skills {
  font-family: var(--font-prose);
  font-size: 15px;
  line-height: 1.85;
  color: var(--bone);
  max-width: 820px;
}
.skills span {
  white-space: nowrap;
}
.skills span:not(:last-child)::after {
  content: " · ";
  color: var(--cyan);
  margin: 0 4px;
}

/* =========================================================================
   Music — discography table & player
   ========================================================================= */
.discog-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
}
.discog-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 14px 16px;
  border-bottom: 1px solid var(--asphalt-edge);
  font-weight: 500;
}
.discog-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--asphalt-edge);
  font-size: 14px;
  color: var(--bone);
}
.discog-table tr:hover td { background: rgba(0, 240, 255, 0.03); }
.discog-table td:first-child {
  color: var(--cyan);
  letter-spacing: 0.1em;
  width: 120px;
}
.discog-table td:nth-child(2) {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--pristine);
  font-weight: 700;
}

/* Sticky audio player */
.player {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 340px;
  background: var(--asphalt);
  border: 1px solid var(--asphalt-edge);
  border-top: 2px solid var(--cyan);
  padding: 16px 18px 14px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  grid-template-rows: auto auto;
  gap: 10px 14px;
  z-index: 95;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 600ms var(--ease), opacity 400ms var(--ease);
}
.player[data-active="true"] {
  transform: translateY(0); opacity: 1;
}
.player__art {
  grid-row: 1 / 3;
  background: var(--void);
  display: grid; place-items: center;
  border: 1px solid var(--asphalt-edge);
}
.player__art-emblem {
  width: 70%; height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--cyan-glow));
}
.player__meta { min-width: 0; }
.player__track {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  margin: 0; color: var(--pristine);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__artist {
  font-family: var(--font-body);
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--cyan);
  margin: 2px 0 0;
  text-transform: uppercase;
}
.player__controls {
  display: flex; gap: 4px; align-items: center;
}
.player__btn {
  background: transparent;
  color: var(--bone);
  border: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  transition: color 200ms var(--ease), background 200ms var(--ease);
}
.player__btn:hover { color: var(--cyan); background: rgba(255, 255, 255, 0.04); }
.player__btn--main {
  background: var(--cyan);
  color: var(--void);
  width: 36px; height: 36px;
}
.player__btn--main:hover { background: var(--pristine); }
.player__progress {
  grid-column: 1 / -1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  cursor: pointer;
}
.player__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
  transition: width 200ms linear;
}
@media (max-width: 720px) {
  .player { right: 12px; left: 12px; width: auto; }
}

/* =========================================================================
   Solitude Shore — special section emphasis
   ========================================================================= */
.solitude {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 87, 34, 0.08), transparent 70%),
    var(--void);
  border-top: 1px solid rgba(255, 87, 34, 0.2);
  border-bottom: 1px solid rgba(255, 87, 34, 0.2);
}
.solitude .section__label { color: var(--ember); }
.solitude .section__label::before { background: var(--ember); }

.solitude__commitment {
  margin-top: 48px;
  padding: 32px;
  background: rgba(255, 87, 34, 0.05);
  border-left: 3px solid var(--ember);
}
.solitude__commitment-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ember);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.solitude__commitment-body {
  font-family: var(--font-prose);
  font-size: 18px;
  line-height: 1.65;
  color: var(--pristine);
  margin: 0;
}

.solitude__personal {
  margin-top: 56px;
  padding: 40px;
  border: 1px solid rgba(255, 87, 34, 0.3);
  background: linear-gradient(180deg, rgba(255, 87, 34, 0.05), transparent);
}
.solitude__personal-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ember);
  text-transform: uppercase;
  margin: 0 0 20px;
}
.solitude__personal-body {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--pristine);
  margin: 0;
  font-weight: 400;
}
.solitude__personal-body em {
  font-style: italic;
  color: var(--ember);
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
  border-top: 1px solid var(--asphalt-edge);
  padding: 64px var(--gutter) 40px;
  background: var(--void);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer__motto {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--pristine);
  letter-spacing: 0.04em;
  margin: 0 0 32px;
  text-transform: uppercase;
}
.footer__motto span { color: var(--ember); }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--asphalt-edge);
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; font-size: 14px; }
.footer__col a {
  color: var(--bone);
  transition: color 200ms var(--ease);
}
.footer__col a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--bone);
  opacity: 0.6;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__signature {
  font-family: "Brush Script MT", "Pacifico", cursive;
  font-size: 28px;
  color: var(--pristine);
  letter-spacing: 0.02em;
  opacity: 1;
  text-transform: none;
}

/* =========================================================================
   Contact page utilities
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--asphalt);
  border: 1px solid var(--asphalt-edge);
  padding: 28px 26px;
  transition: border-color 250ms var(--ease);
}
.contact-card:hover { border-color: var(--cyan); }
.contact-card__label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.contact-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--pristine);
  margin: 0 0 12px;
}
.contact-card__line {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--bone);
  margin: 0 0 6px;
  word-break: break-word;
}
.contact-card__line a:hover { color: var(--cyan); }

/* =========================================================================
   Page load reveal animations
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-up 800ms var(--ease-snap) forwards;
}
.reveal--d1 { animation-delay: 100ms; }
.reveal--d2 { animation-delay: 200ms; }
.reveal--d3 { animation-delay: 300ms; }
.reveal--d4 { animation-delay: 400ms; }
.reveal--d5 { animation-delay: 500ms; }
.reveal--d6 { animation-delay: 600ms; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================================
   Utility — Spacers, dividers, terminal lines
   ========================================================================= */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 64px 0;
  opacity: 0.3;
}

.terminal-line {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin: 4px 0;
}
.terminal-line::before { content: "> "; color: var(--bone); opacity: 0.5; }

/* =========================================================================
   Gallery (used on Reality page for marine work)
   ========================================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.gallery figure {
  margin: 0;
  background: var(--asphalt);
  border: 1px solid var(--asphalt-edge);
  overflow: hidden;
  transition: border-color 250ms var(--ease);
}
.gallery figure:hover { border-color: var(--cyan); }
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.95);
  transition: transform 500ms var(--ease);
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.85;
}
