:root {
  --ink: #241813;
  --muted: #7a6257;
  --cream: #fff7ea;
  --paper: #f7ead8;
  --panel: #fffaf2;
  --cocoa: #55301f;
  --berry: #a9334c;
  --pistachio: #6f8d4e;
  --gold: #c38a39;
  --line: rgba(85, 48, 31, 0.18);
  --shadow: 0 24px 70px rgba(52, 30, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

button {
  cursor: pointer;
}

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

.hero {
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 18%, rgba(195, 138, 57, 0.16), transparent 28%),
    linear-gradient(135deg, #fff6e7 0%, #f2dfc7 100%);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

.brand {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-actions a {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 10px;
}

.hero-grid {
  width: min(1180px, calc(100% - 32px));
  flex: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  margin: 0 auto;
  padding: 34px 0 68px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--berry);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1 {
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 7.6rem);
  line-height: 0.9;
  font-weight: 900;
}

.hero-text {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.26rem);
  line-height: 1.55;
}

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

.primary-link,
.secondary-link,
.primary-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.primary-link,
.primary-button {
  border: 1px solid var(--cocoa);
  color: #fffaf2;
  background: var(--cocoa);
  padding: 0 18px;
}

.secondary-link,
.secondary-button {
  border: 1px solid var(--line);
  color: var(--cocoa);
  background: rgba(255, 250, 242, 0.74);
  padding: 0 16px;
}

.primary-link:hover,
.primary-button:hover,
.secondary-link:hover,
.secondary-button:hover,
.text-button:hover {
  transform: translateY(-1px);
}

.hero-media {
  align-self: stretch;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

main {
  background: var(--cream);
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: #fff7ea;
}

.metric-band div {
  min-width: 0;
  padding: clamp(18px, 3vw, 30px);
  border-right: 1px solid rgba(255, 247, 234, 0.16);
}

.metric-band span,
.metric-band small {
  display: block;
  color: rgba(255, 247, 234, 0.72);
  font-weight: 800;
}

.metric-band strong {
  display: block;
  margin: 8px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.95;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: start;
}

h2 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.section-heading {
  margin-bottom: 24px;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pack-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
}

.pack-card span,
.pack-card small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.pack-card h3 {
  margin-top: 12px;
  font-size: 1.14rem;
}

.pack-card strong {
  display: block;
  margin-top: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.flavor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flavor-grid span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  color: var(--cocoa);
  background: #fffaf2;
  font-weight: 850;
}

.order-zone {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(300px, 0.96fr) minmax(300px, 0.74fr);
  gap: 16px;
  margin: 0 auto;
  padding: clamp(34px, 7vw, 72px) 0;
}

.order-form,
.summary-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(52, 30, 20, 0.08);
}

.order-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 30px);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fffdfa;
  outline: none;
}

select[multiple] {
  min-height: 142px;
  padding: 9px 12px;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(195, 138, 57, 0.35);
  outline-offset: 2px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.primary-button {
  width: 100%;
}

.fine-print {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.summary-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(18px, 4vw, 28px);
}

.ticket-card,
.signal-card {
  border-radius: 8px;
  padding: 18px;
  background: var(--ink);
  color: #fff7ea;
}

.signal-card.light {
  color: var(--ink);
  background: #fffdfa;
  border: 1px solid var(--line);
}

.signal-card.light span,
.signal-card.light small {
  color: var(--muted);
}

.ticket-card span,
.signal-card span,
.ticket-card small,
.signal-card small {
  display: block;
  color: rgba(255, 247, 234, 0.72);
  font-weight: 850;
}

.ticket-card strong,
.signal-card strong {
  display: block;
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.progress-list {
  display: grid;
  gap: 12px;
}

.progress-list div {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fffdfa;
}

.progress-list span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.progress-list strong {
  font-size: 1.12rem;
}

meter {
  width: 100%;
  height: 12px;
}

.panel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.text-button {
  min-height: 44px;
  grid-column: 1 / -1;
  border: 0;
  color: var(--berry);
  background: transparent;
  font-weight: 900;
}

.orders-section {
  padding-top: 36px;
}

.orders-list {
  display: grid;
  gap: 10px;
}

.order-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel);
}

.order-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.order-card strong,
.order-card span,
.order-card small {
  display: block;
}

.order-card span,
.order-card p,
.order-card small,
.empty-state p {
  color: var(--muted);
  line-height: 1.45;
}

.order-card p,
.order-card small {
  grid-column: 1 / -1;
}

.empty-state {
  min-height: 180px;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 32px));
  border-radius: 8px;
  padding: 13px 15px;
  color: #fff7ea;
  background: var(--berry);
  box-shadow: var(--shadow);
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .intro,
  .order-zone {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
  }

  h1 {
    max-width: 10ch;
  }

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

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

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-grid {
    padding-top: 22px;
  }

  .hero-actions,
  .field-row,
  .panel-actions,
  .order-card {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

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

  .hero-media {
    min-height: 300px;
  }

  .section {
    padding-block: 48px;
  }
}

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