/* ─────────────────────────────────────────────────────────────
   The Grace Man — styles
   Palette: coral #e19c8e · periwinkle #9599be · slate #878f9e
            grays #c1c1c1 / #dddddd · accent red #c0392b
   ───────────────────────────────────────────────────────────── */

:root {
  --coral: #e19c8e;
  --coral-deep: #d07d6c;
  --peri: #9599be;
  --slate: #878f9e;
  --gray: #c1c1c1;
  --gray-lt: #dddddd;
  --red: #c0392b;
  --red-deep: #8e2a20;
  --ink: #20232b;
  --ink-soft: #5a5f6b;
  --paper: #fbf8f7;
  --white: #ffffff;

  --shadow-sm: 0 2px 10px rgba(32, 35, 43, 0.06);
  --shadow-md: 0 10px 30px rgba(32, 35, 43, 0.12);
  --shadow-lg: 0 24px 60px rgba(142, 42, 32, 0.18);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --display: 'Anton', 'Archivo', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--coral-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(32, 35, 43, 0.18);
  color: var(--ink);
}
.btn--ghost:hover { background: #fff; border-color: var(--ink); }

.btn--block { width: 100%; padding: 1.1rem; font-size: 1.1rem; }

/* ───────── Nav ───────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(251, 248, 247, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(32, 35, 43, 0.06);
}
.nav__brand {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { font-weight: 600; color: var(--ink-soft); transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--ink);
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--red); }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 7vw, 6rem);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 95% at 82% 6%, rgba(255, 255, 255, 0.34) 0%, transparent 52%),
    radial-gradient(80% 70% at 10% 112%, rgba(192, 57, 43, 0.55) 0%, transparent 60%),
    linear-gradient(135deg, #e8a99b 0%, var(--coral) 46%, var(--coral-deep) 100%);
}
.hero__bg::after {
  /* subtle architectural line motif, echoing the flyer corners */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 75%);
  opacity: 0.5;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--red-deep);
}
.hero__title { margin: 0 0 1.4rem; line-height: 0; }
.hero__title img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
}
.hero__sub {
  margin: 1rem 0 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  color: var(--red-deep);
}
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; }
.chip {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.chip strong { color: var(--red); font-weight: 800; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.4rem; }
.hero__host { margin: 0; color: var(--ink); font-size: 0.95rem; }
.hero__host strong { color: var(--red-deep); }

/* CTAs tuned for the coral hero: dark primary pops, ghost gets an ink edge */
.hero .btn--primary { background: var(--ink); box-shadow: var(--shadow-md); }
.hero .btn--primary:hover { background: #000; }
.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(32, 35, 43, 0.4);
  color: var(--ink);
}
.hero .btn--ghost:hover { background: rgba(255, 255, 255, 0.65); border-color: var(--ink); }

.hero__art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
/* The men are a transparent cutout that "stands" on the coral and dissolves
   at the bottom — no card, border, or shadow. */
.hero__art img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
}
.hero__art-fallback {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1.5rem;
  color: #fff;
}
.hero__art-fallback span { font-family: var(--display); font-size: 2rem; letter-spacing: 0.04em; }
.hero__art-fallback small { opacity: 0.85; }
.hero__art--empty img { display: none; }
.hero__art--empty .hero__art-fallback { display: flex; }

/* ───────── Sections ───────── */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
}
.section--tint {
  max-width: none;
  background: linear-gradient(180deg, #fff 0%, #f4eeec 100%);
  border-top: 1px solid rgba(32, 35, 43, 0.05);
  border-bottom: 1px solid rgba(32, 35, 43, 0.05);
}
.section--tint > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.kicker {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--coral-deep);
}
.section__head h2 {
  font-family: var(--display);
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* About */
.about { max-width: 760px; margin: 0 auto; text-align: center; }
.lead { font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: var(--ink); }
.about__stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 4rem);
  margin-top: 2.5rem;
}
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--display); font-size: 3rem; color: var(--red); line-height: 1; }
.stat__label { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--slate); font-weight: 600; }

/* Speakers */
.speakers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.speaker {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(32, 35, 43, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.speaker:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.speaker__photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--coral), var(--coral-deep));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.6), var(--shadow-sm);
}
.speaker__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.speaker--host .speaker__photo {
  width: 120px;
  height: 120px;
  background: linear-gradient(150deg, var(--coral), var(--red));
}
.speaker__tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--coral-deep);
  margin-bottom: 0.35rem;
}
.speaker h3 { font-family: var(--display); margin: 0 0 0.2rem; font-size: 1.25rem; letter-spacing: 0.02em; color: var(--ink); }
.speaker p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* Schedule */
.sched { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.sched__row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.6rem 1.6rem 0.6rem 0.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(192, 57, 43, 0.14);
}
.sched__pics { flex: 0 0 auto; display: flex; }
.sched__pics img {
  width: 66px; height: 66px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  background: linear-gradient(150deg, var(--coral), var(--coral-deep));
  border: 2px solid #fff;
}
.sched__pics--two img:nth-child(2) { margin-left: -24px; }
.sched__pics--icon {
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.8rem;
  background: linear-gradient(150deg, var(--coral), var(--red));
  border: 2px solid #fff;
}
.sched__info { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.sched__day { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--red); }
.sched__name { font-weight: 700; color: var(--ink); font-size: 1.02rem; line-height: 1.25; }
.sched__time {
  flex: 0 0 auto;
  font-family: var(--display); font-size: 1.5rem; color: var(--red); line-height: 1;
  background: #fbf1ef; border: 2px solid var(--red); border-radius: 999px;
  padding: 0.45rem 1.3rem; white-space: nowrap;
}

/* Venue */
.venue { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; align-items: stretch; }
.venue__info { display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; }
.venue__info h3 { font-family: var(--display); font-size: 2rem; margin: 0; letter-spacing: 0.02em; }
.venue__addr { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 1rem; }
.venue__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 300px; }
.venue__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }

/* Tickets */
.section--tickets {
  background:
    radial-gradient(100% 100% at 50% 0%, rgba(225, 156, 142, 0.18), transparent 60%);
}
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.ticket-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(192, 57, 43, 0.12);
}
.ticket-card--featured {
  border: 2px solid var(--red);
  box-shadow: var(--shadow-lg);
}
.ticket-card__badge {
  position: absolute;
  top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.ticket-card__door { margin: -0.6rem 0 1.2rem; color: var(--slate); font-size: 0.9rem; }
.ticket-card__door span { font-weight: 700; color: var(--ink-soft); }
.ticket-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 2px dashed var(--gray-lt);
  margin-bottom: 1.2rem;
}
.ticket-card__type { font-weight: 700; font-size: 1.15rem; }
.ticket-card__price { font-family: var(--display); font-size: 2.6rem; color: var(--red); line-height: 1; }
.ticket-card__perks { list-style: none; margin: 0 0 1.5rem; padding: 0; flex: 1 1 auto; }
.ticket-card__perks li { padding: 0.4rem 0 0.4rem 1.7rem; position: relative; color: var(--ink-soft); }
.ticket-card__perks li::before {
  content: '✓';
  position: absolute; left: 0; top: 0.4rem;
  color: #fff; background: var(--coral-deep);
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 700;
}
.qty { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.qty__label { font-weight: 600; }
.qty__control { display: flex; align-items: center; border: 1px solid var(--gray); border-radius: 999px; overflow: hidden; }
.qty__control button {
  width: 42px; height: 42px; border: none; background: #f6f1ef;
  font-size: 1.3rem; font-weight: 700; cursor: pointer; color: var(--ink);
  transition: background 0.15s;
}
.qty__control button:hover { background: var(--coral); color: #fff; }
.qty__control input {
  width: 50px; height: 42px; border: none; text-align: center;
  font-size: 1.05rem; font-weight: 700; font-family: var(--body);
  -moz-appearance: textfield;
}
.qty__control input::-webkit-outer-spin-button,
.qty__control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ticket-card__secure { text-align: center; color: var(--slate); font-size: 0.85rem; margin: 0.9rem 0 0; }
.ticket-card__error {
  margin: 0.8rem 0 0; text-align: center; color: var(--red-deep);
  background: #fdecea; border-radius: var(--radius-sm); padding: 0.6rem 0.8rem; font-size: 0.9rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 1.5rem 6rem;
  background: var(--ink);
  color: #cfd2da;
}
.footer__brand { font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.05em; color: #fff; margin-bottom: 0.5rem; }
.footer p { margin: 0.3rem 0; font-size: 0.92rem; }
.footer a { color: var(--coral); }
.footer__contact { display: flex; gap: 0.5rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.footer__social { display: flex; gap: 1.6rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 0.8rem; }
.footer__social a { color: #fff; font-weight: 700; text-decoration: none; }
.footer__social a:hover { color: var(--coral); }
.footer__fine { color: #7e828d; font-size: 0.8rem; margin-top: 1rem; }

/* Placeholder notes */
.placeholder-note { color: var(--slate); font-size: 0.85rem; }
.placeholder-note.center { text-align: center; margin-top: 1.5rem; }

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 60;
  text-align: center;
  padding: 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, var(--coral-deep) 100%);
  box-shadow: var(--shadow-lg);
}

/* ───────── Responsive ───────── */
@media (max-width: 860px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; margin: 0 auto; }
  .speakers { grid-template-columns: repeat(2, 1fr); }
  .schedule { grid-template-columns: 1fr; }
  .venue { grid-template-columns: 1fr; }
  .tickets-grid { grid-template-columns: 1fr; max-width: 460px; }
}

@media (max-width: 560px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 4.5rem; }
  .hero { text-align: left; }
  .hero__title { font-size: clamp(3.2rem, 18vw, 5rem); }
  .nav__cta { display: none; }
  .sched__row { padding: 0.5rem 1rem 0.5rem 0.5rem; gap: 0.75rem; }
  .sched__pics img, .sched__pics--icon { width: 52px; height: 52px; }
  .sched__pics--two img:nth-child(2) { margin-left: -18px; }
  .sched__name { font-size: 0.9rem; }
  .sched__time { font-size: 1.15rem; padding: 0.35rem 0.95rem; }
}
