:root {
  --paper: #efe6d6;
  --paper-2: #e7dcc6;
  --ink: #1a1410;
  --ink-soft: #3a3129;
  --chili: #c23c22;
  --chili-dark: #8e2a16;
  --moss: #2c4638;
  --stamp: #b43a24;
  --line: rgba(26, 20, 16, 0.16);
  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

:focus-visible {
  outline: 2px solid var(--chili);
  outline-offset: 3px;
}

section[id], main[id] { scroll-margin-top: 80px; }

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(22px, calc((100% - 1180px) / 2)) 12px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(239, 230, 214, 0.94);
  backdrop-filter: blur(8px);
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover { border-bottom-color: var(--ink); }

.nav-cta {
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  padding: 9px 14px;
  font-size: 13px;
  transform: rotate(-1.5deg);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  padding: 6px 10px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: end;
  padding: 42px 0 28px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--chili);
}

.hero-copy {
  max-width: 38ch;
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
}

.hero-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  flex-wrap: wrap;
}

.stamp {
  width: 92px;
  height: 92px;
  border: 3px solid var(--stamp);
  color: var(--stamp);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(-12deg);
  font-family: var(--display);
  line-height: 1.05;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stamp b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 16px;
  background: var(--chili);
  color: #fff8f2;
  border: 0;
  cursor: pointer;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.phone {
  justify-self: end;
  width: min(280px, 100%);
  background: #111;
  border-radius: 28px;
  padding: 10px;
  transform: rotate(4.5deg);
  box-shadow: 12px 18px 0 rgba(26, 20, 16, 0.12);
  margin-bottom: 12px;
}

.phone-screen {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 520px;
  background: #111;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: brightness(0.72) saturate(0.95);
}

.phone-ui {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 22px;
  color: #f4e4b0;
  text-align: center;
}

.phone-ui small {
  display: block;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 9px;
}

.phone-ui strong {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  line-height: 0.95;
  margin: 6px 0 4px;
}

.phone-ui span { font-size: 12px; color: #e8d9b4; }

.phone iframe {
  width: 100%;
  height: 520px;
  border: 0;
  border-radius: 20px;
  background: #000;
  pointer-events: none;
}

.phone figcaption {
  color: #cbbba0;
  font-size: 11px;
  text-align: center;
  padding: 8px 4px 2px;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 0;
}

.ticker-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  animation: slide 28s linear infinite;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
}

@keyframes slide {
  to { transform: translateX(-50%); }
}

.section {
  padding: 72px 0;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.spread {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.events {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.event {
  background: var(--paper-2);
  padding: 22px;
  min-height: 170px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
}

.event:hover { border-color: var(--ink); }

.event:nth-child(1) {
  background: var(--ink);
  color: var(--paper);
  min-height: 230px;
}

.event:nth-child(2) {
  background: var(--moss);
  color: #e8f0ea;
  margin-top: 28px;
}

.event:nth-child(3) {
  transform: rotate(-1deg);
}

.event:nth-child(4) {
  background: #f2d7c4;
}

.event h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
}

.event p { font-size: 14px; opacity: 0.85; }

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
  margin-top: 28px;
}

.spec {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
}

.spec b {
  font-family: var(--display);
  font-size: 22px;
  color: var(--chili);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.card {
  background: #fffdf8;
  border: 1px solid var(--line);
  min-height: 280px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.card.live {
  grid-column: span 3;
  flex-direction: row;
  gap: 24px;
  min-height: 290px;
  align-items: center;
}

.card.live img {
  width: 38%;
  max-width: 280px;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.95) contrast(1.02);
}

.mini {
  flex: 1;
  border: 1px dashed rgba(26,20,16,.25);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.mini.gold { background: #111; color: #f4e4b0; }
.mini.sage { background: #dfe8d8; }
.mini.chili { background: #c23c22; color: #fff5ee; }
.mini.navy { background: #1c2740; color: #e7ebf4; }
.mini.cream { background: #f7efe2; }

.mini small { letter-spacing: 0.14em; text-transform: uppercase; font-size: 10px; }
.mini strong { font-family: var(--display); font-size: 28px; display: block; margin: 8px 0; }

.price-block {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.price-block h2 { color: #fff; }

.price-num {
  font-family: var(--display);
  font-size: 84px;
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.price-num span {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
  font-style: italic;
  margin-top: 10px;
  color: #cbbba0;
}

.price-block ul {
  list-style: none;
  margin-top: 12px;
}

.price-block li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(239,230,214,0.15);
}

.order {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}

form {
  display: grid;
  gap: 10px;
}

label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 11px 12px;
  color: var(--ink);
}

textarea { min-height: 90px; resize: vertical; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  list-style: none;
  font-family: var(--display);
}

.faq details p {
  margin-top: 8px;
  color: var(--ink-soft);
  max-width: 62ch;
}

.support-line {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}

.support-line a { text-decoration: underline; }

.pay-card {
  max-width: 420px;
  border: 1px solid var(--ink);
  padding: 22px 20px;
  background: #fffdf8;
}

.pay-name {
  font-family: var(--display);
  font-size: 22px;
  margin: 6px 0 4px;
}

.pay-no {
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.pay-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-copy a { text-decoration: underline; }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.site-foot a { text-decoration: underline; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-lead {
  margin-top: 16px;
  max-width: 36ch;
  color: var(--ink-soft);
}

.section-lead.wide { max-width: 46ch; margin-bottom: 20px; }

.card-title {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.card-desc { margin: 10px 0 16px; color: var(--ink-soft); }

.kicker-light { color: #cbbba0; }

.price-note { margin-top: 18px; color: #cbbba0; }
.price-cta { margin-top: 18px; }

.faq-list { margin-top: 20px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding-right: 8px; }

.card:hover { border-color: var(--ink); }
.btn { transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { background: var(--chili-dark); transform: translateY(-1px); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

.catalog .card:not(.live) { min-height: 180px; }
.catalog .card:not(.live) .mini { min-height: 150px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .btn { transition: none; }
}

/* Pricing plans */
.plans-head { max-width: 640px; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(26, 20, 16, 0.1); }

.plan.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 18px 36px rgba(26, 20, 16, 0.18);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--chili);
  color: #fff8f2;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.plan h3 { font-family: var(--display); font-size: 28px; font-weight: 500; }
.plan-desc { font-size: 14px; opacity: 0.8; margin-top: 4px; }

.plan-price {
  font-family: var(--display);
  font-size: 56px;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 22px 0;
}

.plan-price small { font-size: 20px; letter-spacing: 0; margin-right: 4px; vertical-align: top; position: relative; top: 8px; }
.plan-price span { font-family: var(--sans); font-size: 14px; letter-spacing: 0; margin-left: 6px; opacity: 0.7; }

.plan .btn { justify-content: center; border-radius: 8px; padding: 14px 16px; }
.plan.featured .btn.ghost { color: var(--paper); border-color: var(--paper); }

.plan ul { list-style: none; margin-top: 24px; flex: 1; }
.plan li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 15px;
  border-top: 1px solid var(--line);
}
.plan.featured li { border-top-color: rgba(239, 230, 214, 0.18); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--chili); font-weight: 700; }
.plan.featured li::before { color: #f4b79f; }

@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; gap: 26px; }
  .plan.featured { order: -1; }
  .plan-price { font-size: 48px; }
}

/* Boxed desktop layout (not full width) */
@media (min-width: 1200px) {
  html { background: #d9ccb3; }
  body {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--paper);
    box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(26, 20, 16, 0.18);
  }
  .site-nav { padding-left: 40px; padding-right: 40px; }
  .wrap { width: calc(100% - 80px); max-width: 1120px; }
  .section { padding: 88px 0; }
  .hero { padding-top: 64px; padding-bottom: 48px; }
  .phone { margin-right: 24px; }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero { gap: 16px; }
  .spread { gap: 28px; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .card.live { grid-column: span 2; }
  .price-block { padding: 40px 28px; }
  .nav-links { gap: 16px; }
}

/* Mobile / small tablet */
@media (max-width: 860px) {
  .site-nav { padding: 12px 18px; }
  .nav-cta { margin-left: auto; padding: 8px 12px; font-size: 12px; transform: none; }
  .menu-btn { display: block; order: 3; cursor: pointer; color: var(--ink); }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 6px 18px 14px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px rgba(26, 20, 16, 0.08);
    font-size: 16px;
  }
  .nav-links.open a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open li:last-child a { border-bottom: 0; }

  .hero, .spread, .price-block, .order, .events {
    grid-template-columns: 1fr;
  }
  .hero { padding: 30px 0 24px; gap: 32px; }
  .hero h1 { font-size: clamp(42px, 12vw, 64px); }
  .hero-copy { max-width: 100%; font-size: 17px; }
  .phone { justify-self: center; transform: rotate(2deg); width: min(260px, 80%); box-shadow: 8px 12px 0 rgba(26, 20, 16, 0.12); }
  .phone-screen { height: auto; aspect-ratio: 9 / 16; max-height: 460px; }

  .section { padding: 52px 0; }
  .section-lead { max-width: 100%; }
  .event:nth-child(2) { margin-top: 0; }
  .event, .event:nth-child(1) { min-height: 140px; }
  .event:nth-child(3) { transform: none; }
  .events { gap: 10px; }

  .card.live { flex-direction: column; align-items: stretch; }
  .card.live img { width: 100%; max-width: none; height: 240px; max-height: none; }

  .price-block { padding: 36px 22px; gap: 24px; }
  .price-num { font-size: clamp(60px, 18vw, 84px); }
  .order { gap: 24px; }
  .pay-card { max-width: 100%; }
  .site-foot { flex-direction: column; padding-bottom: 32px; }
}

/* Phones */
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .brand strong { font-size: 24px; }
  .brand span { font-size: 10px; letter-spacing: 0.12em; }
  .nav-cta { font-size: 0; padding: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
  .nav-cta::before { content: "WA"; font-size: 13px; font-weight: 700; }

  .hero-meta { gap: 14px; }
  .stamp { width: 80px; height: 80px; font-size: 11px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-meta { flex-direction: row; align-items: flex-start; }
  .hero-meta .hero-actions { flex: 1 1 200px; }

  .ticker-track { font-size: 16px; gap: 20px; }
  .section { padding: 44px 0; }
  h2 { font-size: clamp(30px, 9vw, 40px); }

  .events { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .spec { padding-right: 0; }
  .catalog { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 12px; }
  .card.live { grid-column: span 2; }
  .card.live img { height: 200px; }
  .mini strong { font-size: 22px; }

  .price-block { padding: 32px 18px; }
  .price-cta, .pay-card .btn, form .btn { width: 100%; justify-content: center; }
  .pay-no { font-size: clamp(24px, 8vw, 32px); letter-spacing: 0.05em; }

  input, select, textarea { font-size: 16px; }
  .faq summary { font-size: 17px; }
}
