:root {
  --bg: #f3efe7;
  --ink: #171512;
  --accent: #d0a24a;
  --muted-dark: #a39b8b;   /* muted text on dark */
  --muted-light: #6b6357;  /* muted text on cream */
  --cream-alt: #eae4d6;
  --dark-panel: #221f18;
  --dark-border: #4a4437;
  --hairline-dark: rgba(243, 239, 231, 0.16);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: 'Instrument Sans', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
input:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input::placeholder, textarea::placeholder { color: #8c8574; }
img { max-width: 100%; }

summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes lineUp { from { transform: translateY(115%); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes pulse {
  0%   { box-shadow: 0 12px 32px rgba(0,0,0,.35), 0 0 0 0 rgba(243,239,231,.4); }
  100% { box-shadow: 0 12px 32px rgba(0,0,0,.35), 0 0 0 22px rgba(243,239,231,0); }
}

/* Scroll reveals (IntersectionObserver adds .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
/* Before JS runs (or if it fails), nothing stays hidden */
html:not(.js) .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Shared type + buttons */
.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.serif-h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 40px;
  margin: 0 0 18px;
}
.serif-h2 em { font-style: italic; }
.accent { color: var(--accent); }

.btn {
  display: inline-block;
  border-radius: 999px;
  font-size: 15px;
}
.btn-accent {
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  padding: 15px 30px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .3s, box-shadow .3s;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.btn-ghost {
  border: 1px solid var(--dark-border);
  color: var(--bg);
  font-weight: 500;
  padding: 14px 30px;
  transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: var(--bg); background: rgba(243,239,231,.07); }

.arrow-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: gap .3s;
}
.arrow-link:hover { gap: 16px; }

.inline-link { font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  animation: fadeIn 1.6s ease both, kenburns 38s ease-in-out infinite alternate;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(23,21,18,.85) 0%, rgba(23,21,18,.55) 55%, rgba(23,21,18,.2) 100%);
}

.nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 22px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--hairline-dark);
  animation: fadeIn .9s ease both;
}
.nav-logo { height: 48px; width: auto; display: block; }
.nav-call { padding: 12px 24px; font-size: 14px; }
.nav-call:hover { box-shadow: 0 12px 26px rgba(0,0,0,.35); }

.hero-body {
  position: relative;
  padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 56px) clamp(44px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 48px);
  align-items: flex-end;
  justify-content: space-between;
}
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero-eyebrow {
  color: var(--muted-dark);
  margin-bottom: 24px;
  animation: rise .9s var(--ease-out) .05s both;
}
.hero-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(52px, 8vw, 92px);
  line-height: .98;
  letter-spacing: -.01em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.line { display: block; }
.line-1 { animation: lineUp 1s var(--ease-out) .15s both; }
.line-2 { animation: lineUp 1s var(--ease-out) .3s both; }
.accent-italic { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted-dark);
  max-width: 46ch;
  margin: 0 0 34px;
  animation: rise .9s var(--ease-out) .45s both;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: rise .9s var(--ease-out) .58s both;
}

.hero-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding-bottom: 6px;
  flex: 0 1 auto;
  margin: 0 auto;
  animation: rise 1s var(--ease-out) .3s both;
}
.headshot-ring {
  width: clamp(230px, 22vw, 340px);
  max-width: 88vw;
  aspect-ratio: 1;
}
.headshot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.hero-card-caption { text-align: center; }
.hero-card-name { font-family: 'Instrument Serif', Georgia, serif; font-size: 19px; }
.hero-card-role { font-size: 12px; color: var(--muted-dark); margin-top: 2px; }

.marquee-band {
  position: relative;
  border-top: 1px solid var(--hairline-dark);
  padding: 16px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  animation: fadeIn 1.2s ease .5s both;
}
.marquee {
  display: flex;
  width: max-content;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dark);
  animation: marquee 42s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  white-space: nowrap;
}
.marquee-item { display: flex; align-items: center; gap: 30px; }
.star { color: var(--accent); display: inline-flex; animation: spin 16s linear infinite; }

/* ---------- Pathways ---------- */
.pathways {
  padding: clamp(48px, 6vw, 76px) clamp(20px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.pathway-media {
  height: clamp(170px, 22vw, 240px);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 26px;
}
.pathway-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(.98);
  mix-blend-mode: multiply;
  transition: filter .8s ease;
}
.pathway:hover .pathway-media img { filter: grayscale(0) contrast(1); }
.pathway h2 { font-size: 44px; margin-bottom: 14px; }
.pathway p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted-light);
  margin: 0 0 18px;
}
.pathway p:last-of-type { margin-bottom: 24px; }

/* ---------- Process ---------- */
.process {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
}
.process-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  filter: grayscale(1);
  animation: kenburns 45s ease-in-out infinite alternate;
}
.process-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,21,18,.72), rgba(23,21,18,.55) 45%, rgba(23,21,18,.72));
}
.process-inner {
  position: relative;
  min-height: min(88vh, 740px);
  display: grid;
  align-content: center;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 56px);
}
.process-content { display: grid; gap: clamp(28px, 4vw, 40px); max-width: 760px; }
.process-title { margin: 0; }

.step {
  display: grid;
  grid-template-columns: clamp(40px, 6vw, 60px) clamp(64px, 12vw, 110px) 1fr;
  gap: clamp(10px, 2vw, 18px);
  align-items: baseline;
  border-bottom: 1px solid rgba(243,239,231,.25);
  padding: 18px 0;
  transition: background .35s, padding-left .35s, opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.step-last { border-bottom: none; }
.step:hover { background: rgba(243,239,231,.07); padding-left: 12px; }
.step-num { font-family: 'Instrument Serif', Georgia, serif; font-size: 30px; color: var(--accent); }
.step-name { font-weight: 600; font-size: 16px; }
.step-desc { font-size: 14.5px; color: #d6cfbf; line-height: 1.6; }

/* ---------- About ---------- */
.about {
  background: var(--cream-alt);
  padding: clamp(48px, 6vw, 68px) clamp(20px, 5vw, 56px);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted-light);
  margin: 0 0 14px;
}
.about .about-tagline { margin-bottom: 30px; }
.about-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.logo-lfg { height: 54px; width: auto; display: block; }
.logo-exp { height: 44px; width: auto; display: block; }

.faq-stack { display: grid; gap: 14px; align-content: center; }
.faq {
  background: var(--bg);
  border-radius: 12px;
  padding: 16px 20px;
  transition: box-shadow .3s, opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.faq:hover { box-shadow: 0 10px 26px rgba(23,21,18,.07); }
.faq summary {
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-icon {
  color: var(--accent);
  display: inline-block;
  transition: transform .35s var(--ease-out);
}
.faq[open] .faq-icon { transform: rotate(45deg); }
.faq > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-light);
  margin: 10px 0 0;
}
.faq[open] > p { animation: fadeIn .5s ease both; }

/* ---------- Meet Nathan ---------- */
.meet { padding: clamp(48px, 6vw, 76px) clamp(20px, 5vw, 56px); }
.meet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.meet-grid h2 { margin-bottom: 16px; }
.meet-grid p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted-light);
  margin: 0 0 14px;
}
.meet-grid p:last-child { margin-bottom: 0; }
.meet-video { aspect-ratio: 16/9; position: relative; }
.meet-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.play-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  animation: pulse 2.6s ease-out infinite;
}
.play-btn span { color: var(--ink); font-size: 26px; margin-left: 4px; }

/* ---------- Contact + Verse ---------- */
.contact-wrap {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
}
.contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 45%;
  filter: grayscale(1);
  opacity: .13;
  mask-image: linear-gradient(90deg, transparent 5%, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 60%);
}
.contact {
  position: relative;
  padding: clamp(52px, 7vw, 76px) clamp(20px, 5vw, 56px);
}
.contact-inner { max-width: 900px; position: relative; }
.contact-eyebrow { color: var(--muted-dark); margin-bottom: 26px; }

.madlib {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.45;
  margin: 0 0 40px;
}
.madlib-slot { position: relative; display: inline-block; }
.madlib-btn {
  font: inherit;
  background: none;
  border: none;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  cursor: pointer;
  padding: 0 2px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.caret {
  font-family: 'Instrument Sans', sans-serif;
  font-size: .45em;
  transform: translateY(-.35em);
}
.madlib-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  background: var(--dark-panel);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 6px;
  min-width: 220px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  display: grid;
  animation: menuIn .2s var(--ease-out);
}
.madlib-menu-wide { min-width: 240px; }
.madlib-menu-narrow { min-width: 200px; }
.madlib-menu[hidden] { display: none; }
.madlib-option {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  text-align: left;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 11px 14px;
  cursor: pointer;
  transition: background .2s, color .2s;
  color: var(--bg);
  font-weight: 400;
}
.madlib-option:hover { background: #2e2a22; color: var(--accent); }
.madlib-option[aria-selected="true"] { color: var(--accent); font-weight: 600; }

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  align-items: stretch;
}
.contact-form input {
  background: var(--dark-panel);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--bg);
  transition: border-color .25s;
}
.contact-form input:hover { border-color: var(--muted-light); }
.btn-send {
  background: var(--accent);
  color: var(--ink);
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.btn-send:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.4); }
.btn-send:disabled { cursor: default; transform: none; box-shadow: none; opacity: .8; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status {
  font-size: 14px;
  color: var(--muted-dark);
  margin: 14px 0 0;
  animation: fadeIn .4s ease both;
}
.form-status-ok { color: var(--accent); }
.contact-alt { font-size: 13px; color: var(--muted-dark); margin: 18px 0 0; }
.contact-alt a { color: var(--bg); font-weight: 600; transition: opacity .25s; }
.contact-alt a:hover { opacity: .75; }

.verse {
  position: relative;
  padding: 0 clamp(20px, 5vw, 56px) 58px;
  text-align: center;
}
.verse-inner { display: grid; justify-items: center; gap: 18px; }
.verse-mark { height: 64px; width: auto; display: block; }
.verse-ref {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 21px;
  color: var(--accent);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--muted-dark);
  border-top: 1px solid #2e2a22;
  padding: 28px clamp(20px, 5vw, 56px);
  display: grid;
  gap: 10px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 13px;
  gap: 10px 24px;
}
.footer-brand { color: var(--bg); }
.footer-wordmark { font-family: 'Instrument Serif', Georgia, serif; }
.footer-legal {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  max-width: 92ch;
}
