/* Zack Blakeney - one-page positioning site
   Palette + type per the Zack Brand Board (2026-07-27) */

:root {
  --midnight: #061B3D;
  --deep: #0E376D;
  --gold: #C79A3B;
  --gold-lift: #E0B75A;
  --ivory: #F3E9DB;
  --stone: #C5BFB4;
  --sage: #6E7668;
  --ink: #030F24;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Pinyon Script', 'Cormorant Garamond', cursive;

  --gutter: clamp(22px, 5vw, 88px);
  --rule: rgba(199, 154, 59, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--midnight);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 12px 20px; z-index: 99; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared type ---------- */

h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 400; margin: 0; }

h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 26px;
}
h2 em { font-style: italic; color: var(--gold-lift); }

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.lead { font-size: 20px; color: #ffffff; }

p { margin: 0 0 20px; color: var(--ivory); }

section > * { position: relative; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  border-radius: 2px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: background 220ms ease, color 220ms ease, gap 220ms ease;
}
.btn b { font-weight: 400; transition: transform 220ms ease; }
.btn:hover { background: var(--gold-lift); border-color: var(--gold-lift); }
.btn:hover b { transform: translateX(4px); }

.btn.ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(243, 233, 219, 0.38);
}
.btn.ghost:hover { background: rgba(243, 233, 219, 0.08); color: #ffffff; border-color: var(--ivory); }

.btn.light { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.btn.light:hover { background: #ffffff; border-color: #ffffff; }

/* ---------- top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  background: rgba(6, 27, 61, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(199, 154, 59, 0.16);
}
.mark { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.mark img { width: auto; height: 42px; flex: none; }
.mark span {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #ffffff;
  white-space: nowrap;
}
.topbar nav { display: flex; gap: 26px; margin-left: auto; }
.topbar nav a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; color: var(--stone);
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.topbar nav a:hover { color: #ffffff; border-bottom-color: var(--gold); }
.topbar-cta {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: var(--gold);
  padding: 10px 18px; border-radius: 2px;
  transition: background 200ms ease;
}
.topbar-cta:hover { background: var(--gold-lift); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 90vh, 840px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(100px, 13vw, 160px) 0 clamp(56px, 7vw, 90px);
}

.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 76% 22%;
}

.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(3, 15, 36, 0.95) 0%, rgba(6, 27, 61, 0.90) 32%, rgba(6, 27, 61, 0.46) 58%, rgba(6, 27, 61, 0.08) 80%),
    linear-gradient(180deg, rgba(3, 15, 36, 0.30) 0%, rgba(3, 15, 36, 0) 26%, rgba(3, 15, 36, 0) 72%, rgba(3, 15, 36, 0.50) 100%);
}

.hero-inner {
  position: relative;
  width: 100%;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin: 0 0 26px;
}
.eyebrow i { font-style: normal; color: rgba(199, 154, 59, 0.5); padding: 0 4px; }

.wordmark {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 22px;
}

.deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.9vw, 38px);
  line-height: 1.24;
  color: var(--gold-lift);
  margin: 0 0 26px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.hero-copy { max-width: 640px; }

.hero-sub { font-size: 18px; max-width: 46ch; color: var(--ivory); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- credibility ---------- */

.credibility {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 40px);
  padding: 24px 0 24px var(--gutter);
  border-top: 1px solid rgba(199, 154, 59, 0.18);
  border-bottom: 1px solid rgba(199, 154, 59, 0.18);
  background: rgba(14, 55, 109, 0.22);
  overflow: hidden;
}
.cred-label {
  flex: none; margin: 0;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
}

.marquee {
  flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 88%, transparent 100%);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee-slide 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex; align-items: center; flex: none;
  list-style: none; margin: 0; padding: 0;
}
.marquee-group li {
  display: flex; align-items: center;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 22px);
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--stone);
}
.marquee-group li::after {
  content: '\2726';
  font-family: var(--sans);
  font-size: 10px;
  color: rgba(199, 154, 59, 0.75);
  padding: 0 clamp(18px, 2.4vw, 38px);
}

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- quote band ---------- */

.quote-band {
  position: relative;
  padding: clamp(72px, 10vw, 132px) var(--gutter);
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(199, 154, 59, 0.10) 0%, rgba(6, 27, 61, 0) 60%),
    var(--deep);
  text-align: left;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 96px; line-height: 0.5; color: var(--gold);
  margin-bottom: 26px;
}
.quote-band blockquote {
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.22;
  color: #ffffff;
  margin: 0;
  max-width: 26ch;
}
.quote-band blockquote em { font-style: italic; color: var(--gold-lift); }
.attrib {
  margin: 34px 0 0;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--stone);
}

/* ---------- road in ---------- */

.road-in { position: relative; isolation: isolate; }
.road-in-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 38%;
}
.road-in-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(165deg, rgba(3, 15, 36, 0.92) 0%, rgba(6, 27, 61, 0.85) 50%, rgba(3, 15, 36, 0.93) 100%);
}
.road-in-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(100px, 14vw, 180px) var(--gutter);
  text-align: center;
}
.road-in-inner p:last-child { margin-bottom: 0; }

.band figcaption {
  margin-top: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone);
}

/* ---------- codex ---------- */

.codex {
  padding: clamp(72px, 9vw, 130px) var(--gutter);
  background:
    radial-gradient(90% 70% at 82% 12%, rgba(199, 154, 59, 0.12) 0%, rgba(6, 27, 61, 0) 62%),
    var(--ink);
  border-top: 1px solid rgba(199, 154, 59, 0.16);
  border-bottom: 1px solid rgba(199, 154, 59, 0.16);
}
.codex-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.codex-book { margin: 0; position: sticky; top: 96px; }
.codex-book img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 46%; }

.pillars { list-style: none; margin: 34px 0 40px; padding: 0; }
.pillars li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 10px;
  padding: 20px 0;
  border-top: 1px solid rgba(199, 154, 59, 0.22);
}
.pillars li:last-child { border-bottom: 1px solid rgba(199, 154, 59, 0.22); }
.num {
  grid-row: span 2;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.08em;
  padding-top: 2px;
}
.pillar-name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  color: #ffffff;
}
.pillar-note { font-size: 16px; color: var(--stone); line-height: 1.6; }

/* ---------- full-bleed band ---------- */

.band { margin: 0; position: relative; }
.band img {
  width: 100%;
  aspect-ratio: 1800 / 835;
  max-height: 680px;
  object-fit: cover;
  object-position: 50% 46%;
}
.band::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(180deg, rgba(3, 15, 36, 0) 0%, rgba(3, 15, 36, 0.82) 100%);
  pointer-events: none;
}
.band figcaption {
  position: absolute; left: var(--gutter); bottom: 26px; z-index: 2;
  display: flex; flex-direction: column; gap: 4px; margin: 0;
}
.band figcaption span:first-child { color: var(--gold-lift); }
.band figcaption span:last-child { color: #ffffff; letter-spacing: 0.1em; }

/* ---------- podcast ---------- */

.podcast {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(72px, 9vw, 130px) var(--gutter);
}
.podcast-photo { margin: 0; }
.podcast-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.platforms a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border: 1px solid rgba(243, 233, 219, 0.28);
  border-radius: 2px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; color: var(--ivory);
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}
.platforms a b { color: var(--gold); font-weight: 400; }
.platforms a:hover { border-color: var(--gold); color: #ffffff; background: rgba(199, 154, 59, 0.10); }

/* ---------- teaching ---------- */

.teaching {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(72px, 9vw, 130px) var(--gutter);
  background:
    radial-gradient(80% 90% at 10% 50%, rgba(110, 118, 104, 0.20) 0%, rgba(6, 27, 61, 0) 60%),
    rgba(14, 55, 109, 0.30);
  border-top: 1px solid rgba(199, 154, 59, 0.16);
}
.teaching-photo { margin: 0; }
.teaching-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 34%; }

.offerings { list-style: none; margin: 30px 0 26px; padding: 0; }
.offerings li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(199, 154, 59, 0.22);
  font-family: var(--serif);
  font-size: 24px;
  color: #ffffff;
}
.offerings li::before { content: '\2726'; font-size: 13px; color: var(--gold); font-family: var(--sans); }
.note { font-size: 16px; color: var(--stone); margin: 0; }

/* ---------- closing ---------- */

.closing { position: relative; isolation: isolate; }
.closing-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%; z-index: -2;
}
.closing-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 27, 61, 0.48) 0%, rgba(3, 15, 36, 0.84) 58%, rgba(3, 15, 36, 0.96) 100%);
}
.closing-inner {
  padding: clamp(96px, 14vw, 190px) var(--gutter);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.seal { display: block; margin-bottom: 30px; }
.seal svg { width: 34px; height: 46px; fill: var(--gold); }
.script {
  font-family: var(--script);
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.42;
  color: var(--gold-lift);
  margin: 0 0 44px;
}

/* ---------- footer ---------- */

footer { padding: clamp(46px, 6vw, 74px) var(--gutter) 40px; background: var(--ink); }
.foot-top {
  display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-end;
  padding-bottom: 26px; border-bottom: 1px solid rgba(199, 154, 59, 0.2);
}
.foot-name { font-family: var(--serif); font-size: 30px; color: #ffffff; margin: 0 0 6px; letter-spacing: 0.03em; }
.foot-roles {
  margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--stone);
}
.foot-roles i { font-style: normal; color: rgba(199, 154, 59, 0.6); padding: 0 3px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.foot-social a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-decoration: none; color: var(--stone);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.foot-social a:hover { color: #ffffff; border-bottom-color: var(--gold); }
.copyright {
  margin: 24px 0 0; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(197, 191, 180, 0.75);
}

/* ---------- motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.r1, .r2, .r3, .r4, .r5 { opacity: 0; animation: rise 900ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }
.r1 { animation-delay: 120ms; }
.r2 { animation-delay: 280ms; }
.r3 { animation-delay: 440ms; }
.r4 { animation-delay: 600ms; }
.r5 { animation-delay: 760ms; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 900ms ease, transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .r1, .r2, .r3, .r4, .r5 { opacity: 1; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .topbar nav { display: flex; order:3; width:100%; justify-content:space-between; gap:12px; flex-wrap:wrap; }
  .topbar nav a { display:inline-flex; align-items:center; min-height:44px; }
  .topbar { gap: 8px 16px; justify-content: space-between; flex-wrap:wrap; }
  .topbar-cta,.mark { min-height:44px; display:inline-flex; align-items:center; }
  html { scroll-padding-top:150px; }
  .hero-bg { object-position: 68% 18%; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(3, 15, 36, 0.58) 0%, rgba(6, 27, 61, 0.74) 48%, rgba(3, 15, 36, 0.92) 100%);
  }
  .hero-copy { max-width: 560px; }
  .deck { max-width: none; }
  .road-in-bg { object-position: 50% 32%; }
  .codex-inner, .podcast, .teaching { grid-template-columns: minmax(0, 1fr); }
  .codex-book { position: static; max-width: 520px; }
  .codex-book img { aspect-ratio: 3 / 2; }
  .podcast-photo, .teaching-photo { order: -1; }
  .quote-band blockquote { max-width: none; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .topbar-cta { padding: 9px 14px; font-size: 11px; }
  .mark img { height: 28px; }
  .mark span { font-size: 17px; }
  .mark { gap: 9px; }
  .hero { min-height: 82svh; padding-top: 56px; }
  .hero-bg { object-position: 64% 14%; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(3, 15, 36, 0.66) 0%, rgba(3, 15, 36, 0.58) 38%, rgba(3, 15, 36, 0.90) 100%);
  }
  .hero-copy { max-width: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .credibility { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pillars li { grid-template-columns: 34px minmax(0, 1fr); }
  .foot-top { align-items: flex-start; }
  .foot-social a { display:inline-flex; align-items:center; min-height:44px; }
  .band img { aspect-ratio: 3 / 2; object-position: 50% 34%; }
  .band figcaption { bottom: 20px; }
  .road-in-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
}
