:root {
  --bg: #0a0a0b;
  --bg-soft: #131418;
  --panel: rgba(20, 22, 28, 0.82);
  --panel-strong: #17191f;
  --line: rgba(212, 176, 92, 0.22);
  --text: #f5f1e8;
  --muted: #b7ae9a;
  --accent: #d4b05c;
  --accent-deep: #8e6a2d;
  --accent-soft: #f1dfb0;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --radius-sm: 16px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(212, 176, 92, 0.16), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(241, 223, 176, 0.1), transparent 24%),
    linear-gradient(180deg, #060607 0%, #0c0d10 52%, #111317 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #15120d;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  box-shadow: 0 10px 30px rgba(212, 176, 92, 0.22);
}

button:hover,
.button:hover {
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7, 8, 10, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-wrap,
.page-section,
.footer-wrap,
.h5-wrap {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

main {
  padding-bottom: 70px;
}

.page-section {
  padding: 34px 0;
}

.hero {
  padding-top: 42px;
}

.hero-grid,
.split-grid,
.download-grid,
.contact-grid,
.story-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.split-grid,
.story-grid,
.download-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kicker {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(212, 176, 92, 0.08);
  color: var(--accent-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", Georgia, serif;
  line-height: 1.06;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  margin: 18px 0 0;
  max-width: 700px;
  font-size: 1.08rem;
  color: #ddd4c4;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.stats-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.stat-chip,
.pill {
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.hero-card,
.panel,
.quote-panel {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
}

.hero-card img,
.media-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.media-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.panel {
  padding: 26px;
}

.section-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

.section-top p,
.panel p,
.list p,
.footer-note,
.contact-list li,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card .eyebrow,
.step-number {
  display: inline-block;
  color: var(--accent-soft);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.list-item {
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.03);
}

.quote-panel {
  padding: 30px;
}

.quote-panel strong {
  display: block;
  margin-top: 14px;
  color: var(--accent-soft);
}

.page-hero {
  padding-top: 36px;
}

.page-hero .panel {
  padding: 34px;
}

.legal-content {
  display: grid;
  gap: 22px;
}

.legal-content ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.contact-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.contact-list li,
.plain-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--accent-soft);
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(7, 8, 10, 0.7);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  min-height: 22px;
  color: var(--accent-soft);
  margin: 0;
}

.footer {
  padding: 18px 0 40px;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.mini {
  font-size: 0.92rem;
}

.h5-body {
  min-height: 100vh;
  padding: 24px 0 60px;
}

.h5-wrap {
  display: grid;
  gap: 22px;
}

.h5-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.h5-header img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.h5-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.h5-card img {
  width: 100%;
  border-radius: 18px;
  margin-top: 16px;
}

.h5-card h2 {
  font-size: 1.75rem;
}

.muted {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .story-grid,
  .download-grid,
  .contact-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .section-top,
  .footer-wrap,
  .nav-wrap {
    align-items: start;
  }

  .nav-wrap {
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .page-section,
  .footer-wrap,
  .h5-wrap {
    width: min(calc(100% - 20px), var(--content));
  }

  .panel,
  .page-hero .panel,
  .card,
  .quote-panel,
  .h5-card {
    padding: 20px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-card img,
  .media-card img {
    min-height: 280px;
  }
}
