﻿@font-face {
  font-family: "FreckleFace";
  src: url("fonts/FreckleFace-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg: #100d0a;
  --bg-soft: #1b1510;
  --panel: rgba(38, 28, 20, 0.78);
  --sand: #f2d6a2;
  --sand-muted: #c49b63;
  --ember: #d56924;
  --ember-dark: #8f3519;
  --text: #fff8ec;
  --muted: #d7c1a2;
  --line: rgba(242, 214, 162, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 28% 18%, rgba(213, 105, 36, 0.2), transparent 28rem),
    linear-gradient(135deg, rgba(16, 13, 10, 0.86), rgba(16, 13, 10, 0.97)),
    url("img/file_00000000bc2871f79a345570cd1c5da8.png") center top / cover fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: soft-light;
  opacity: 0.34;
  z-index: -1;
}

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

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

.hero {
  min-height: 92vh;
  padding: 104px clamp(18px, 5vw, 72px) 72px;
  display: grid;
  grid-template-rows: auto 1fr;
}

.site-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  width: min(1120px, calc(100% - 36px));
  margin: 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid transparent;
  background: rgba(16, 13, 10, 0.16);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  transition: padding 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-nav.is-scrolled {
  padding: 8px 14px;
  border-color: var(--line);
  background: rgba(16, 13, 10, 0.82);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}

.brand,
.hero h1 {
  font-family: "FreckleFace", Georgia, serif;
}

.brand {
  font-size: clamp(1.8rem, 5vw, 3.1rem);
  color: var(--sand);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.65);
  transition: color 180ms ease, font-size 220ms ease, text-shadow 220ms ease;
}

.site-nav.is-scrolled .brand {
  font-size: clamp(1.35rem, 3vw, 2rem);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.brand:hover,
.brand:focus-visible,
.brand:active,
.brand.is-active {
  color: #fff8ec;
  text-shadow:
    0 0 12px rgba(242, 214, 162, 0.78),
    0 0 28px rgba(213, 105, 36, 0.68),
    0 8px 28px rgba(0, 0, 0, 0.65);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  font-size: 0.95rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: rgba(16, 13, 10, 0.34);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease, padding 220ms ease;
}

.nav-icon {
  display: none;
}

.site-nav.is-scrolled .nav-links a {
  padding: 7px 11px;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a:active,
.nav-links a.is-active {
  color: var(--sand);
  border-color: var(--sand-muted);
  background: rgba(242, 214, 162, 0.08);
  box-shadow:
    0 0 14px rgba(242, 214, 162, 0.2),
    0 0 28px rgba(213, 105, 36, 0.22);
  transform: translateY(-2px);
}

.hero-content {
  width: min(1120px, 100%);
  align-self: center;
  margin: 0 auto;
  padding-top: 9vh;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--sand-muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--sand);
  font-size: clamp(4rem, 16vw, 11rem);
  line-height: 0.9;
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.78);
}

.hero-text {
  max-width: 650px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-link,
.secondary-link,
.newsletter-form button,
.order-form button,
.contact-form button,
.band-order-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  color: #1b1008;
  background: linear-gradient(135deg, var(--sand), var(--ember));
  font: 700 1rem/1.2 Georgia, "Times New Roman", serif;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(213, 105, 36, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary-link:hover,
.secondary-link:hover,
.newsletter-form button:hover,
.order-form button:hover,
.contact-form button:hover,
.band-order-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(213, 105, 36, 0.34);
  filter: brightness(1.06);
}

.secondary-link {
  border: 1px solid var(--line);
  color: var(--sand);
  background: rgba(16, 13, 10, 0.42);
  box-shadow: none;
}

main {
  background: linear-gradient(180deg, rgba(16, 13, 10, 0.7), var(--bg) 12%);
}

.book-section,
.author-section,
.order-section,
.newsletter-section,
.contact-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
  align-items: center;
  gap: clamp(32px, 7vw, 86px);
}

.book-cover img {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.book-cover img:hover {
  transform: rotate(0deg) scale(1.025);
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.55);
}

.book-info,
.author-copy,
.order-form,
.newsletter-form,
.contact-copy,
.contact-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.book-info h2,
.author-copy h2,
.section-heading h2,
.order-copy h2,
.newsletter-copy h2,
.contact-copy h2 {
  margin: 0 0 18px;
  color: var(--sand);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.book-info p,
.author-copy p,
.section-heading p,
.order-copy p,
.newsletter-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.author-copy p + p {
  margin-top: 14px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.feature-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: var(--sand);
  background: rgba(242, 214, 162, 0.06);
  font-size: 0.92rem;
}

.excerpt-section {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 72px 18px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(143, 53, 25, 0.42), rgba(16, 13, 10, 0.94));
}

.excerpt-section img {
  width: min(920px, 100%);
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.42));
}

.excerpt-section blockquote {
  position: absolute;
  width: min(440px, calc(100% - 44px));
  right: max(22px, calc((100vw - 1120px) / 2));
  bottom: 54px;
  margin: 0;
  padding: 22px 26px;
  border-left: 3px solid var(--ember);
  color: var(--text);
  background: rgba(16, 13, 10, 0.72);
  box-shadow: var(--shadow);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.2;
}

.excerpt-section blockquote span {
  display: block;
  margin-bottom: 8px;
  color: var(--sand-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-section {
  grid-template-columns: minmax(220px, 0.75fr) minmax(280px, 1.25fr);
}

.author-placeholder {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(242, 214, 162, 0.12), rgba(213, 105, 36, 0.16)),
    rgba(16, 13, 10, 0.7);
  box-shadow: var(--shadow);
}

.author-placeholder span {
  font-family: "FreckleFace", Georgia, serif;
  color: var(--sand);
  font-size: clamp(2.4rem, 8vw, 5.6rem);
}

.bands-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.band-card {
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(38, 28, 20, 0.76);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.band-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 214, 162, 0.36);
  background: rgba(52, 37, 25, 0.82);
}

.band-card.is-muted {
  opacity: 0.68;
}

.band-status {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--sand);
  background: rgba(242, 214, 162, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.band-card h3 {
  margin: 26px 0 8px;
  color: var(--sand);
  font-size: 2rem;
  line-height: 1;
}

.band-title {
  margin: 0 0 14px;
  color: var(--text);
  font-weight: 700;
}

.band-card p:not(.band-title) {
  margin: 0;
  color: var(--muted);
}

.band-order-link {
  width: fit-content;
  margin-top: auto;
}

.order-section {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.field-group.full {
  grid-column: 1 / -1;
}

.band-preview {
  min-height: 24px;
  margin: 0;
  color: var(--sand-muted);
  font-size: 0.95rem;
}

.newsletter-section {
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-section {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.newsletter-form label,
.order-form label,
.contact-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--sand);
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter-form input,
.order-form input,
.order-form select,
.order-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--text);
  background: rgba(16, 13, 10, 0.76);
  font: inherit;
  outline: none;
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.newsletter-form input:focus,
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sand-muted);
  box-shadow: 0 0 0 4px rgba(196, 155, 99, 0.16);
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--sand-muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(16, 13, 10, 0.92);
}

.footer-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
}

.footer-brand {
  font-family: "FreckleFace", Georgia, serif;
  color: var(--sand);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  font-size: 0.92rem;
}

.footer-links a,
.site-footer p a {
  color: var(--sand);
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 780px) {
  [id] {
    scroll-margin-top: 82px;
  }

  .hero {
    min-height: 88vh;
    padding: 84px 18px 52px;
  }

  .site-nav,
  .nav-links,
  .form-row {
    align-items: stretch;
  }

  .site-nav {
    flex-direction: row;
    align-items: center;
    top: 8px;
    width: calc(100% - 20px);
    gap: 8px;
    padding: 6px 9px;
  }

  .site-nav.is-scrolled {
    padding: 5px 8px;
  }

  .brand {
    font-size: clamp(1.35rem, 7vw, 2rem);
    line-height: 1;
  }

  .site-nav.is-scrolled .brand {
    font-size: clamp(1.2rem, 5.5vw, 1.65rem);
  }

  .nav-links {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    width: auto;
    gap: 4px;
    justify-content: flex-end;
    line-height: 1.1;
  }

  .nav-links a {
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    color: var(--sand);
  }

  .site-nav.is-scrolled .nav-links a {
    padding: 0;
  }

  .nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav-icon {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a:active,
  .nav-links a.is-active {
    color: #1b1008;
    border-color: var(--sand);
    background: linear-gradient(135deg, var(--sand), var(--ember));
    box-shadow:
      0 0 14px rgba(242, 214, 162, 0.42),
      0 0 26px rgba(213, 105, 36, 0.34);
  }

  .book-section,
  .author-section,
  .order-section,
  .newsletter-section,
  .contact-section {
    grid-template-columns: 1fr;
    padding: 64px 0;
  }

  .book-cover {
    order: 2;
  }

  .book-info {
    order: 1;
  }

  .excerpt-section {
    min-height: 430px;
    align-items: start;
  }

  .excerpt-section blockquote {
    right: 18px;
    bottom: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .band-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .band-card {
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .site-nav {
    gap: 6px;
    padding-inline: 7px;
  }

  .brand {
    font-size: clamp(1.18rem, 6.2vw, 1.55rem);
  }

  .nav-links {
    gap: 3px;
  }

  .nav-links a {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

  .nav-icon {
    width: 16px;
    height: 16px;
  }

  .hero-actions,
  .primary-link,
  .secondary-link,
  .order-form button,
  .newsletter-form button,
  .contact-form button,
  .band-order-link {
    width: 100%;
  }
}

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