/* Resounding Faith — site styles */

:root {
  --navy-950: #060b1c;
  --navy-900: #0a1330;
  --navy-800: #111d45;
  --navy-700: #1a2a5e;
  --blue-500: #2f6bd6;
  --gold-300: #f7d98a;
  --gold-400: #f0c35a;
  --gold-500: #e2a93a;
  --gold-600: #b9831f;
  --cream-50: #fbf7ee;
  --cream-100: #f3ead6;
  --text: #f3ead6;
  --text-muted: rgba(243, 234, 214, 0.74);
  --text-faint: rgba(243, 234, 214, 0.55);
  --line: rgba(240, 195, 90, 0.22);
  --card: rgba(17, 29, 69, 0.55);

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--gold-400); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-300); }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold-400);
  color: var(--navy-950);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--cream-50);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--text-muted);
  max-width: 40em;
}

.gold { color: var(--gold-400); }
em.gold { font-style: italic; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }

.btn-gold {
  color: var(--navy-950);
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 8px 24px -8px rgba(240, 195, 90, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover {
  color: var(--navy-950);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(240, 195, 90, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  color: var(--cream-50);
  border: 1px solid rgba(243, 234, 214, 0.45);
  background: rgba(6, 11, 28, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  color: var(--navy-950);
  background: var(--cream-50);
  border-color: var(--cream-50);
}

.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.92rem; }
.btn-sm svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; }

.site-header .brand {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-header.is-solid,
.site-header.always-solid {
  background: rgba(6, 11, 28, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid .brand,
.site-header.always-solid .brand {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  margin-left: auto;
}
.site-nav a:not(.btn) {
  color: var(--cream-100);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.9;
}
.site-nav a:not(.btn):hover { color: var(--gold-300); opacity: 1; }

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .site-nav .nav-link { display: none; }
  .brand img { height: 32px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 32px) 0 96px;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg,
.band-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img,
.band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(6, 11, 28, 0.62), rgba(6, 11, 28, 0) 70%),
    linear-gradient(180deg, rgba(6, 11, 28, 0.55) 0%, rgba(6, 11, 28, 0.2) 30%, rgba(6, 11, 28, 0.35) 65%, var(--navy-950) 100%);
}

.hero-inner { max-width: 880px; }

.hero-emblem {
  width: min(520px, 82vw);
  margin: 0 auto 28px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero .lead {
  margin: 0 auto 36px;
  color: var(--cream-100);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.6);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(243, 234, 214, 0.5);
  border-radius: 14px;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold-400);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt {
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(47, 107, 214, 0.14), transparent 70%),
    var(--navy-900);
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.about-copy p { color: var(--text-muted); }
.about-copy p.lead { color: var(--cream-100); }

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.pillar {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.pillar-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(240, 195, 90, 0.22), rgba(240, 195, 90, 0.04));
  color: var(--gold-400);
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.5rem; margin-bottom: 4px; }
.pillar p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

/* What we make */
.formats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.format {
  position: relative;
  padding: 32px 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(240, 195, 90, 0.07), rgba(240, 195, 90, 0) 45%),
    var(--card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.format:hover { transform: translateY(-4px); border-color: rgba(240, 195, 90, 0.45); }
.format-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--gold-400);
}
.format-icon svg { width: 100%; height: 100%; }
.format h3 { margin-bottom: 10px; }
.format p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

.original-mark {
  margin: clamp(48px, 6vw, 72px) auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  text-align: center;
}
.original-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 195, 90, 0.5);
  background: rgba(6, 11, 28, 0.55);
}
.original-badge img { width: 40px; height: 40px; }
.original-badge span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 600;
  color: var(--cream-50);
  white-space: nowrap;
}
.original-mark p { margin: 0; color: var(--text-muted); max-width: 30em; text-align: left; }

/* Watch band */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 14vw, 170px) 0;
  text-align: center;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--navy-950) 0%, rgba(6, 11, 28, 0.55) 22%, rgba(6, 11, 28, 0.55) 78%, var(--navy-950) 100%),
    radial-gradient(ellipse 55% 60% at 50% 50%, rgba(6, 11, 28, 0.55), transparent 75%);
}
.band-bg img { object-position: 85% 60%; }
.band h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }
.band .lead {
  margin: 0 auto 36px;
  color: var(--cream-100);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7);
}
.band .handle {
  display: block;
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--cream-100);
  opacity: 0.85;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 72px 0 40px;
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--text-muted); max-width: 26em; margin: 0; }
.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--cream-100); text-decoration: none; }
.footer-col a:hover { color: var(--gold-300); text-decoration: underline; }

.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.social svg { width: 20px; height: 20px; color: var(--gold-400); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 0.85rem;
  display: grid;
  gap: 10px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-muted); }

/* ---------- Legal / simple pages ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 64px;
  text-align: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 11, 28, 0.7) 0%, rgba(6, 11, 28, 0.78) 60%, var(--navy-950) 100%);
}
.page-hero .band-bg img { object-position: 80% 45%; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero p { color: var(--cream-100); margin: 0; }

.legal {
  padding: 24px 0 112px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.92rem;
}
.legal-toc h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.legal-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal-toc a { color: var(--cream-100); text-decoration: none; }
.legal-toc a:hover { color: var(--gold-300); text-decoration: underline; }

.legal-body { max-width: 760px; }
.legal-body h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-top: 2.2em;
  padding-top: 0.2em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.6em 0 0.5em;
}
.legal-body p,
.legal-body li { color: var(--text-muted); }
.legal-body ul { padding-left: 1.3em; }
.legal-body li { margin-bottom: 0.4em; }
.legal-body strong { color: var(--cream-100); }
.legal-body .caps { text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.01em; }

.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.notfound .lead { margin: 0 auto 32px; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .formats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .original-mark p { text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .formats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 44px 1fr; padding: 20px; gap: 16px; }
  .pillar-icon { width: 44px; height: 44px; }
  .actions .btn { width: 100%; }
  .original-badge span { font-size: 1.15rem; }
  .hero { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
