:root {
  --bg-dark: #13080d;
  --bg-mid: #231019;
  --paper: #fffdf9;
  --ink: #1f1416;
  --ink-soft: #4d373a;
  --wine: #8e1830;
  --wine-dark: #5c1020;
  --gold: #c9994a;
  --gold-bright: #edc57a;
  --line: #d9bf93;
  --max: 1140px;
  --radius: 14px;
  --shadow: 0 12px 26px rgba(16, 5, 9, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 50% -20%, rgba(237, 197, 122, 0.2), transparent 36%),
    linear-gradient(180deg, #2a1019 0%, #1a0b12 32%, #14090f 100%);
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: clamp(54px, 9vw, 150px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.46;
  background-size: cover;
  background-repeat: repeat-y;
}

body::before {
  left: 0;
  background-image: url("assets/curtain-left.svg");
}

body::after {
  right: 0;
  background-image: url("assets/curtain-right.svg");
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

main {
  padding-bottom: 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.55rem;
  line-height: 1.1;
  color: #f8ead0;
  font-family: "Avenir Next Condensed", "American Typewriter", "Trebuchet MS", sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.9rem, 5.8vw, 3.7rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.4rem, 3.6vw, 2.15rem);
}

h3 {
  font-size: clamp(1.15rem, 2.9vw, 1.45rem);
}

p {
  margin: 0 0 0.8rem;
  color: #f5e8d5;
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
}

.section .container {
  background: linear-gradient(180deg, rgba(48, 20, 30, 0.83), rgba(28, 12, 19, 0.8));
  border: 1px solid rgba(206, 163, 97, 0.34);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.5vw, 1.6rem);
  box-shadow: var(--shadow);
}

.section-accent .container {
  background: linear-gradient(180deg, rgba(126, 24, 44, 0.36), rgba(53, 20, 28, 0.85));
}

.section-frame .container {
  background: linear-gradient(180deg, rgba(65, 25, 36, 0.8), rgba(37, 16, 24, 0.85));
}

.eyebrow {
  font-family: "American Typewriter", "Avenir Next", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  font-size: 0.84rem;
  font-weight: 700;
}

.headline-accent {
  color: #ffd58f;
  text-shadow: 0 1px 0 rgba(79, 25, 10, 0.45);
}

.lead {
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  max-width: 58ch;
}

.lead.compact {
  max-width: 50ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background:
    radial-gradient(circle at 50% -60%, rgba(202, 83, 110, 0.14), transparent 60%),
    linear-gradient(
      180deg,
      rgba(58, 14, 23, 0.95) 0%,
      rgba(48, 12, 20, 0.95) 42%,
      rgba(35, 9, 15, 0.95) 100%
    );
  background-size: auto, auto;
  background-position: center top, center top;
  box-shadow: inset 0 -10px 16px rgba(19, 5, 9, 0.3);
  border-bottom: 1px solid rgba(220, 176, 106, 0.65);
  backdrop-filter: blur(5px);
}

.nav-wrap {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: clamp(106px, 15vw, 144px);
  filter: drop-shadow(0 4px 10px rgba(10, 3, 5, 0.4));
}

.site-nav {
  display: none;
  position: absolute;
  top: 130px;
  left: 0;
  right: 0;
  background: rgba(29, 9, 14, 0.98);
  border-bottom: 1px solid rgba(207, 164, 98, 0.48);
  padding: 0.7rem 1rem 0.9rem;
}

.site-nav.open {
  display: grid;
  gap: 0.8rem;
}

.site-nav a {
  color: #f7e6ca;
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-bright);
}

.nav-toggle {
  border: 2px solid rgba(212, 171, 106, 0.9);
  background: transparent;
  color: #f7e6ca;
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  font-weight: 700;
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
}

.hero {
  padding-top: clamp(1.4rem, 2.4vw, 2.2rem);
}

.hero-grid {
  display: grid;
  gap: 0.9rem;
}

.hero-note {
  background: linear-gradient(180deg, rgba(98, 24, 38, 0.58), rgba(56, 15, 24, 0.78));
  border: 1px solid rgba(215, 173, 104, 0.52);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 1.04rem;
  text-align: center;
}

.hero-note h2 {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: clamp(1.21rem, 2.65vw, 1.38rem);
  color: #ffd58f;
}

.hero-note p {
  margin: 0.24rem 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.68rem 1.05rem;
  font-weight: 800;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  font-family: "American Typewriter", "Avenir Next", sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #a02039, var(--wine-dark));
  color: #fff7ea;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 4, 8, 0.52);
}

.btn-outline {
  border-color: var(--gold);
  color: #f6ddb4;
  background: rgba(201, 153, 74, 0.12);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(201, 153, 74, 0.26);
}

.steps {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.46rem;
}

.steps li {
  color: #f5e8d5;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
}

.steps li::marker {
  color: var(--gold-bright);
}

.revenue-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.card {
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.98), rgba(251, 238, 215, 0.98));
  border: 1px solid #d1a763;
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(8, 3, 5, 0.25);
  padding: 0.9rem;
  font-size: 1.15rem;
}

.card h3 {
  font-size: clamp(1.32rem, 3.35vw, 1.67rem);
}

.card h3,
.card p,
.card strong {
  color: #3e2320;
}

.example {
  margin-top: 0.55rem;
  font-weight: 800;
  color: var(--wine-dark);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-list span {
  border: 1px solid rgba(214, 171, 101, 0.65);
  background: rgba(104, 31, 46, 0.4);
  color: #f9e4bf;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-weight: 700;
}

.about-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.95rem;
  align-items: start;
  margin-left: calc(-1 * clamp(1rem, 2.5vw, 1.6rem));
}

.about-layout img {
  width: 150px;
  height: 170px;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 0 12px 12px 0;
  border: 1px solid rgba(212, 169, 100, 0.55);
  box-shadow: 0 8px 18px rgba(6, 2, 4, 0.35);
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

details {
  background: rgba(95, 32, 47, 0.45);
  border: 1px solid rgba(216, 174, 104, 0.45);
  border-radius: 9px;
  padding: 0.66rem 0.8rem;
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: #ffe8c0;
  font-family: "American Typewriter", "Avenir Next", sans-serif;
}

form {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
}

label {
  display: grid;
  gap: 0.25rem;
  font-weight: 700;
  color: #f8e5c4;
}

input,
textarea {
  border: 1px solid #cca264;
  border-radius: 8px;
  padding: 0.65rem;
  font: inherit;
  color: #2a1918;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(237, 197, 122, 0.45);
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  min-height: 1.2rem;
  color: #f6d7a6;
  font-size: 0.93rem;
}

.site-footer {
  padding: 0.95rem 0;
  background: linear-gradient(180deg, #34101b, #200910);
  color: #f5dfba;
  border-top: 1px solid rgba(210, 167, 94, 0.5);
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
}

.site-footer a {
  color: var(--gold-bright);
}

.site-nav a.active {
  color: var(--gold-bright);
  position: relative;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(237, 197, 122, 0.15), var(--gold-bright), rgba(237, 197, 122, 0.15));
  border-radius: 999px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.steps li {
  padding-left: 0.2rem;
  line-height: 1.55;
}

.card p {
  line-height: 1.55;
}

details p {
  margin-top: 0.75rem;
}

details {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

details[open] {
  transform: translateY(-1px);
  border-color: rgba(255, 226, 178, 0.82);
}

#contact-form {
  isolation: isolate;
}

#contact-form label {
  gap: 0.35rem;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    gap: 1.5rem;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .hero-grid {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: start;
    gap: 1.2rem;
  }

  .revenue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout {
    grid-template-columns: 175px 1fr;
    gap: 1.15rem;
  }

  .about-layout img {
    width: 175px;
    height: 195px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
