/* ─── Reset & base ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Modak only ships weight 400 — block synthetic bold that closes the
   letter counters. Headings (h1/h2/h3) otherwise inherit user-agent bold. */
.hero-title,
.section-title,
.section-lead,
.cta-band h2,
.sponsors h2,
.attr-num,
.event-price .pval,
.drawer nav a,
.faq summary::after {
  font-weight: 400;
  font-synthesis: none;
}

html, body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--rust);
}

body {
  overflow-x: hidden;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ─── Shared layout surfaces ─────────────────────────── */
.shell {
  background: var(--kraft-light);
  background-image:
    radial-gradient(140% 60% at 50% 0%, rgba(255,255,255,.55), transparent 70%),
    var(--paper-url);
  background-size: auto, cover;
  background-blend-mode: soft-light;
  min-height: 100dvh;
  position: relative;
}

.shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper-url) center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: .18;
  pointer-events: none;
  z-index: 0;
}

.shell > * {
  position: relative;
  z-index: 1;
}

/* Paper card surface */
.paper {
  position: relative;
  background: var(--cream);
  margin: 18px;
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.4) inset,
    0 0 0 1px rgba(0,0,0,.08),
    0 18px 40px -20px rgba(0,0,0,.55);
  overflow: hidden;
}

.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper-url) center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: .22;
  pointer-events: none;
}

.paper::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255,255,255,.25), transparent 60%),
    radial-gradient(80% 70% at 50% 110%, rgba(122,58,20,.18), transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

.paper > * {
  position: relative;
  z-index: 1;
}

/* ─── Section base ───────────────────────────────────── */
.section {
  padding: 28px var(--pad) 36px;
  position: relative;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--f-stamp);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--coffee);
  border: 1.5px solid var(--coffee);
  padding: 5px 10px;
  border-radius: 2px;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(40px, 9.5vw, 64px);
  line-height: .95;
  letter-spacing: .005em;
  margin-top: 12px;
  color: var(--ink);
  text-wrap: balance;
}

.section-title em {
  font-style: normal;
  color: var(--coffee);
}

.section-lead {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.1;
  color: var(--coffee);
  margin-top: 8px;
  letter-spacing: .01em;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  font-family: var(--f-stamp);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  box-shadow: 3px 3px 0 var(--coffee);
  transition: transform .15s ease, box-shadow .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--coffee);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--accent {
  background: var(--coffee);
  border-color: var(--coffee);
  color: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
}

/* ─── Divider ────────────────────────────────────────── */
.divider {
  display: block;
  width: 100%;
  height: 22px;
  margin: 0 auto;
  background: url("/assets/trazo-1.png") center / contain no-repeat;
  opacity: .85;
}

/* ─── Floating CTA ───────────────────────────────────── */
.float-cta {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  font-family: var(--f-stamp);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid var(--cream);
  background: var(--coffee);
  color: var(--cream);
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.6), inset 0 0 0 1px rgba(0,0,0,.1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: pop .9s ease both;
  transition: opacity .3s ease;
}

.float-cta::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kraft);
}

@keyframes pop {
  from { opacity: 0; transform: translate(-50%, 30px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ─── Mobile drawer ──────────────────────────────────── */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--rust);
  display: flex;
  flex-direction: column;
  padding: 28px var(--pad);
  transform: translateX(100%);
  transition: transform .3s ease;
  color: var(--cream);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-close {
  font-size: 30px;
  line-height: 1;
}

.drawer nav {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.drawer nav a {
  font-family: var(--f-display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--cream);
}

.drawer nav a:nth-child(2n) {
  color: var(--kraft);
}

.drawer-foot {
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--f-hand);
  font-size: 18px;
  opacity: .7;
}

/* ─── Utility ────────────────────────────────────────── */
.row-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}
