:root {
  --bg: #090706;
  --panel: #130f0d;
  --ink: #f5eee6;
  --muted: #c7b9a7;
  --red: #9d161e;
  --red2: #d1222c;
  --silver: #bfc1c5;
  --gold: #f2c230;
  --blue: #1456b8;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 10%, rgba(157, 22, 30, 0.18), transparent 30%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.045), transparent 24%),
    var(--bg);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

p {
  font-size: 1.08rem;
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: auto;
}

.kicker {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.05;
  margin: 0 0 0.7rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid rgba(245, 238, 230, 0.6);
  padding: 0.85rem 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.btn:hover {
  background: rgba(157, 22, 30, 0.35);
  border-color: rgba(245, 238, 230, 0.82);
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--red);
  border-color: var(--red);
}

.btn.primary:hover {
  background: var(--red2);
  border-color: var(--red2);
  box-shadow: 0 0 28px rgba(157, 22, 30, 0.28);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 7, 6, 0.84);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 238, 230, 0.12);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.92rem;
  white-space: nowrap;
}

.navlinks {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.navlinks a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.navlinks a:hover {
  color: var(--ink);
}

.navlinks .booklink {
  color: var(--ink);
  border: 1px solid rgba(245, 238, 230, 0.35);
  padding: 0.35rem 0.65rem;
}

.navlinks .booklink:hover {
  background: rgba(157, 22, 30, 0.26);
}

.section {
  padding: 5.5rem 0;
  border-top: 1px solid rgba(245, 238, 230, 0.1);
}

.form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid rgba(245, 238, 230, 0.22);
  background: #120f0d;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid rgba(245, 238, 230, 0.55);
  border-color: rgba(245, 238, 230, 0.55);
}

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

button {
  cursor: pointer;
  color: var(--ink);
  background: var(--red);
  border: 0;
  padding: 0.95rem 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: inherit;
}

button:hover {
  background: var(--red2);
}

.footer {
  padding: 2.5rem 0;
  color: var(--muted);
  border-top: 1px solid rgba(245, 238, 230, 0.1);
}

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

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

@media (max-width: 850px) {
  .nav {
    align-items: flex-start;
    padding: 1rem 0;
    flex-direction: column;
  }

  .navlinks {
    gap: 0.85rem;
  }

  .section {
    padding: 4rem 0;
  }

  .btns {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .navlinks {
    font-size: 0.9rem;
  }

  .navlinks a {
    font-size: 0.88rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}