:root {
  --gold: #d8a543;
  --gold-light: #f3d394;
  --gold-pale: #f7e8c2;
  --gold-deep: #8d5f1f;
  --ink: #050403;
  --ink-soft: #0c0a07;
  --cream: #efe2c5;
  --muted: #b9aa8f;
  --line: rgba(221, 179, 97, .2);
  --panel: rgba(15, 12, 8, .78);
  --pulse: 0;
  --nav-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -10%, rgba(112,69,14,.13), transparent 30%),
    linear-gradient(180deg, #050403 0%, #080704 55%, #030302 100%);
  color: var(--cream);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  line-height: 1.65;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(230,190,105,.13);
  background: linear-gradient(180deg, rgba(3,3,2,.92), rgba(4,4,3,.70));
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  transition: background 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled {
  background: rgba(4,4,3,.94);
  box-shadow: 0 12px 34px rgba(0,0,0,.34);
}
.nav-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-brand img { width: 46px; height: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.55)); }
.nav-brand span {
  color: var(--gold-pale);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .025em;
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.nav-links a {
  position: relative;
  color: rgba(239,226,197,.78);
  text-decoration: none;
  font: 600 .72rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  padding: 31px 0 30px;
  transition: color 180ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-light); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 1px;
  background: var(--gold);
  transition: right 180ms ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(229,184,93,.3);
  border-radius: 2px;
  background: rgba(8,6,4,.45);
  color: var(--gold-light);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #020201;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.012);
  filter: saturate(.94) contrast(1.04);
  transition: opacity 1500ms ease, transform 7000ms cubic-bezier(.22,.61,.36,1);
}
body.is-ready .hero-video { opacity: 1; transform: scale(1); }
.cinema-grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(1,2,4,.54) 0%, rgba(2,2,2,.14) 38%, rgba(2,2,2,.22) 64%, rgba(0,0,0,.58) 100%),
    radial-gradient(ellipse at 50% 43%, rgba(107,65,12,.02) 0%, rgba(0,0,0,.11) 53%, rgba(0,0,0,.44) 100%);
}
.edge-vignette {
  position: absolute;
  inset: -2px;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 16vw 4vw rgba(0,0,0,.70);
}
.hero-content {
  position: relative;
  z-index: 4;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 28px) 24px 72px;
}
.logo-stage {
  position: relative;
  width: min(35vw, 430px);
  min-width: 250px;
  max-width: 74vw;
  opacity: 0;
  transform: translateY(18px) scale(.74);
  filter: brightness(.42) blur(9px);
  will-change: transform, opacity, filter;
}
.logo-stage picture, .hero-logo { position: relative; z-index: 2; display: block; width: 100%; height: auto; }
.hero-logo {
  filter:
    drop-shadow(0 8px 18px rgba(0,0,0,.76))
    drop-shadow(0 0 calc(8px + (var(--pulse) * 12px)) rgba(211,143,35,calc(.14 + (var(--pulse) * .22))));
}
.logo-aura {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 52%;
  width: 118%;
  aspect-ratio: 1.25 / 1;
  border-radius: 50%;
  transform: translate(-50%,-50%) scale(calc(.88 + (var(--pulse) * .09)));
  opacity: calc(.055 + (var(--pulse) * .43));
  background: radial-gradient(ellipse, rgba(255,188,69,.48) 0%, rgba(209,132,25,.17) 35%, rgba(113,66,10,.05) 55%, transparent 72%);
  filter: blur(30px);
  pointer-events: none;
}
body.is-ready .logo-stage { animation: logoReveal 3.15s cubic-bezier(.16,.76,.18,1) .55s forwards; }
@keyframes logoReveal {
  0% { opacity: 0; transform: translateY(18px) scale(.74); filter: brightness(.42) blur(9px); }
  24% { opacity: .08; transform: translateY(15px) scale(.78); filter: brightness(.48) blur(7px); }
  48% { opacity: .25; transform: translateY(9px) scale(.87); filter: brightness(.58) blur(4px); }
  68% { opacity: .58; transform: translateY(4px) scale(.95); filter: brightness(.76) blur(1.8px); }
  86% { opacity: .94; transform: translateY(0) scale(1.012); filter: brightness(.96) blur(.25px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: brightness(1) blur(0); }
}
.copy-stage { width: min(900px, 94vw); margin-top: clamp(-6px, .3vh, 5px); }
.eyebrow, .hero h1, .brand, .tagline, .verse, .pillars, .hero .actions {
  opacity: 0;
  transform: translateY(10px);
}
body.is-ready .eyebrow     { animation: copyIn 1000ms ease 2.25s forwards; }
body.is-ready .hero h1     { animation: copyIn 1100ms ease 2.45s forwards; }
body.is-ready .brand       { animation: copyIn 1100ms ease 2.70s forwards; }
body.is-ready .tagline     { animation: copyIn 1100ms ease 2.95s forwards; }
body.is-ready .verse       { animation: copyIn 1050ms ease 3.20s forwards; }
body.is-ready .pillars     { animation: copyIn 1050ms ease 3.42s forwards; }
body.is-ready .hero .actions { animation: copyIn 1050ms ease 3.68s forwards; }
@keyframes copyIn { to { opacity: 1; transform: translateY(0); } }
.eyebrow {
  margin: .4rem 0 .18rem;
  color: rgba(242,221,177,.86);
  font: 500 clamp(.66rem,.8vw,.88rem)/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .36em;
}
.hero h1 {
  margin: 0;
  color: #f4e5bf;
  font-size: clamp(2.8rem, 6.1vw, 6.1rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .015em;
  text-shadow: 0 3px 22px rgba(0,0,0,.72), 0 0 32px rgba(180,111,18,.12);
}
.brand {
  margin: .48rem 0 0;
  color: var(--gold-light);
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: .045em;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}
.tagline { margin: .42rem 0 0; color: rgba(239,226,197,.88); font-size: clamp(1rem,1.55vw,1.35rem); font-style: italic; }
.verse { margin: .52rem 0 0; color: rgba(235,219,184,.70); font-size: clamp(.78rem,1.05vw,.96rem); }
.verse em { color: rgba(218,169,77,.84); margin-left: .25rem; }
.pillars {
  margin: .68rem 0 0;
  color: rgba(232,203,145,.88);
  font: 600 clamp(.63rem,.78vw,.78rem)/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 1rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .76rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  font: 600 .72rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #110c05; background: linear-gradient(#e2b866,#b67b28); box-shadow: 0 8px 26px rgba(0,0,0,.30), 0 0 22px rgba(194,126,26,.12); }
.button-secondary { color: #e9d7b0; border-color: rgba(222,178,91,.46); background: rgba(7,6,4,.35); backdrop-filter: blur(5px); }
.button-secondary:hover { border-color: rgba(235,194,111,.76); background: rgba(15,11,6,.46); }
.start-control {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 8vh;
  transform: translateX(-50%);
  padding: .85rem 1.3rem;
  color: #f3dfb5;
  background: rgba(5,4,3,.72);
  border: 1px solid rgba(214,162,68,.52);
  font: 600 .75rem/1 Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}
.hero-scroll {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  color: rgba(237,219,180,.6);
  text-decoration: none;
  font: 600 .58rem/1 Arial, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero-scroll::after { content: ""; display: block; width: 1px; height: 28px; margin: 9px auto 0; background: linear-gradient(var(--gold), transparent); }

.section { position: relative; padding: clamp(76px, 9vw, 132px) 24px; border-top: 1px solid rgba(220,178,94,.09); }
.section-dark { background: linear-gradient(180deg, rgba(9,8,6,.96), rgba(5,4,3,.98)); }
.section-warm { background: radial-gradient(circle at 50% 10%, rgba(125,76,15,.10), transparent 38%), #080603; }
.shell { width: min(1120px, 100%); margin: 0 auto; }
.narrow { width: min(840px, 100%); margin: 0 auto; }
.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font: 700 .68rem/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.section-title, .page-title {
  margin: 0;
  color: var(--gold-pale);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.015em;
}
.section-title { font-size: clamp(2.35rem, 4.8vw, 4.8rem); }
.page-title { font-size: clamp(3rem, 6.6vw, 6.4rem); }
.lead { margin: 22px 0 0; color: rgba(239,226,197,.84); font-size: clamp(1.12rem,1.7vw,1.35rem); line-height: 1.72; }
.prose { color: rgba(234,222,196,.78); font-size: 1.06rem; }
.prose p { margin: 0 0 1.35em; }
.prose strong { color: var(--gold-pale); }
.gold-rule { width: 74px; height: 1px; margin: 28px 0; background: linear-gradient(90deg, var(--gold), transparent); }
.center { text-align: center; }
.center .gold-rule { margin-inline: auto; }

.story-copy { margin-top: 38px; }
.story-copy p { font-size: clamp(1.04rem,1.25vw,1.18rem); line-height: 1.85; color: rgba(239,226,197,.82); }
.return-link { display: inline-flex; margin-top: 24px; color: var(--gold-light); text-decoration: none; font: 700 .72rem/1 Arial,sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.return-link::before { content: "↑"; margin-right: 9px; }

.grid-4, .grid-3, .grid-2 { display: grid; gap: 18px; margin-top: 38px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(221,178,92,.14);
  background: linear-gradient(145deg, rgba(24,19,12,.72), rgba(8,7,5,.76));
  min-height: 220px;
}
.card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 62px; height: 1px; background: var(--gold); opacity: .75; }
.card-num { color: rgba(216,165,67,.5); font: 700 .7rem/1 Arial,sans-serif; letter-spacing: .12em; }
.card h3 { margin: 22px 0 10px; color: var(--gold-pale); font-size: 1.45rem; font-weight: 500; line-height: 1.16; }
.card p { margin: 0; color: rgba(229,216,188,.7); font-size: .96rem; line-height: 1.65; }
.card-link { display: inline-block; margin-top: 22px; color: var(--gold-light); font: 700 .68rem/1 Arial,sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }

.page-hero {
  position: relative;
  min-height: 55svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--nav-h) + 90px) 24px 74px;
  background: #030302;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.72)),
    url('../img/firstlight365-poster.jpg') center/cover no-repeat;
  filter: saturate(.78) brightness(.55);
  transform: scale(1.02);
}
.page-hero .shell { position: relative; z-index: 2; }
.page-hero .lead { max-width: 760px; }

.partner-card, .product-card { min-height: 280px; }
.partner-type, .product-type { color: var(--gold); font: 700 .64rem/1 Arial,sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.link-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.mini-link {
  padding: 8px 10px;
  border: 1px solid rgba(219,175,89,.22);
  color: rgba(239,222,187,.68);
  text-decoration: none;
  font: 600 .62rem/1 Arial,sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mini-link.is-placeholder { opacity: .42; cursor: default; }
.note {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 2px solid rgba(216,165,67,.6);
  color: rgba(231,216,185,.62);
  background: rgba(13,10,6,.5);
  font-size: .9rem;
}

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; margin-top: 42px; }
.contact-panel { padding: 28px; border: 1px solid rgba(221,178,92,.14); background: rgba(12,9,6,.66); }
.contact-panel h3 { margin-top: 0; color: var(--gold-pale); font-size: 1.55rem; font-weight: 500; }
.contact-list { display: grid; gap: 12px; margin-top: 22px; }
.contact-choice { display: block; padding: 14px 16px; border: 1px solid rgba(222,178,91,.16); text-decoration: none; color: rgba(239,226,197,.82); background: rgba(7,6,4,.42); }
.contact-choice strong { display: block; color: var(--gold-light); margin-bottom: 3px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; color: rgba(233,216,181,.74); font: 600 .67rem/1.2 Arial,sans-serif; letter-spacing: .1em; text-transform: uppercase; }
input, textarea, select {
  width: 100%;
  color: var(--cream);
  border: 1px solid rgba(219,176,89,.22);
  background: rgba(4,4,3,.68);
  padding: 12px 13px;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: rgba(226,183,95,.62); box-shadow: 0 0 0 2px rgba(216,165,67,.08); }
textarea { min-height: 150px; resize: vertical; }

.cta-band { padding: 64px 24px; border-top: 1px solid rgba(220,178,94,.10); border-bottom: 1px solid rgba(220,178,94,.10); background: radial-gradient(circle at 50% 50%, rgba(137,82,16,.16), transparent 48%), #060503; }
.cta-band .shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { margin: 0; color: var(--gold-pale); font-size: clamp(2rem,4vw,3.7rem); font-weight: 400; line-height: 1.1; }
.cta-band p { margin: 8px 0 0; color: rgba(235,220,189,.72); }

.site-footer { padding: 44px 24px 34px; background: #030302; }
.footer-grid { width: min(1120px,100%); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 34px; }
.footer-brand { color: var(--gold-light); font-size: 1.15rem; font-weight: 600; }
.footer-copy { margin-top: 10px; max-width: 440px; color: rgba(226,211,181,.55); font-size: .9rem; }
.footer-title { color: rgba(242,225,188,.84); font: 700 .67rem/1 Arial,sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 7px; margin-top: 12px; }
.footer-links a { color: rgba(226,211,181,.58); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { width: min(1120px,100%); margin: 30px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); color: rgba(231,218,189,.4); font: .75rem/1.5 Arial,sans-serif; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  :root { --nav-h: 66px; }
  .nav-brand img { width: 40px; }
  .nav-brand span { font-size: .93rem; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 28px 40px;
    background: rgba(4,4,3,.98);
    transform: translateX(100%);
    transition: transform 220ms ease;
    overflow-y: auto;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links a { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .78rem; }
  .nav-links a::after { display: none; }
  body.nav-open .nav-toggle span { opacity: 0; }
  body.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cta-band .shell { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .nav-shell { width: min(100% - 28px, 1240px); }
  .hero-content { padding-inline: 18px; }
  .logo-stage { width: min(68vw, 320px); min-width: 205px; }
  .hero h1 { font-size: clamp(3.05rem,15vw,5.3rem); }
  .eyebrow { letter-spacing: .28em; }
  .pillars { letter-spacing: .13em; font-size: .61rem; }
  .hero .actions { width: 100%; max-width: 330px; }
  .hero .button { width: 100%; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 70px 18px; }
  .page-hero { padding-inline: 18px; min-height: 50svh; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
