/* MLPR Insider Event brand system.
   Style guide rules: Fellix only, weights 500 (body) / 700 (headlines) / 900
   (callouts & names); sentence case; navy/white with yellow accents at 36°;
   copy never crosses color blocks. Hex pulled from the brand SVGs. */

@font-face {
  font-family: 'Fellix';
  src: url('/assets/fonts/Fellix-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fellix';
  src: url('/assets/fonts/Fellix-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fellix';
  src: url('/assets/fonts/Fellix-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #012169;        /* PMS 280 C — primary */
  --navy-dark: #0f1a3c;   /* PMS 2768 C */
  --blue: #004990;        /* PMS 285 C */
  --light-blue: #9bcbeb;  /* PMS 291 C */
  --yellow: #f6cf3f;      /* PMS 129 C — accent */
  --gold: #f0b323;        /* PMS 7409 C */
  --ink: #12233f;
  --muted: #5a6a80;
  --paper: #f4f5f7;
  --error: #b3261e;
  --angle: 36deg;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Fellix', 'Avenir Next', 'Segoe UI', sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; }
.callout { font-weight: 900; }

/* Site-wide header band: white, event lockup at content-container width
   (not edge-to-edge), centered, comfortable vertical padding. Shared by
   every page — no accents here; the accent lives on the hero below. */
.site-header {
  background: #fff;
  padding: 36px 20px;
  text-align: center;
}
.site-header img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 860px;
  height: auto;
}

.wrap { max-width: 640px; margin: 0 auto; padding: 32px 16px 64px; }

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(1, 33, 105, 0.12);
  padding: 28px 24px;
  margin-bottom: 20px;
}

label { display: block; font-weight: 700; color: var(--navy); margin: 14px 0 4px; font-size: 15px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="password"], select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #c3ccda;
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
/* Selects ignore vertical padding in some engines and render shorter than
   text fields — pin them to the same height everywhere. */
select { height: 47px; box-sizing: border-box; }
input:focus, select:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 6px;
  padding: 12px 26px;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
}
.btn:hover { background: var(--blue); }
.btn:disabled { background: #9aa7ba; cursor: default; }
.btn-secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-secondary:hover { background: var(--paper); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--gold); }

.muted { color: var(--muted); font-size: 14px; }
.error-box { background: #fbeceb; border: 1.5px solid var(--error); color: var(--error); border-radius: 6px; padding: 10px 14px; margin: 14px 0; }
.hidden { display: none !important; }

.guest-row { border: 1.5px solid #dde3ec; border-radius: 8px; padding: 4px 16px 16px; margin-top: 12px; position: relative; }
.guest-row .remove {
  position: absolute; top: 10px; right: 12px;
  background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline;
}

.checkrow { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; }
.checkrow input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.checkrow span { font-size: 14px; }

/* Clean solid navy — no accent shapes. */
.confirm-hero {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 34px 28px;
  text-align: center;
}
.confirm-hero h1 { color: #fff; font-weight: 900; }

footer { text-align: center; padding: 24px; }
footer a { color: var(--navy); }

/* ---- Landing page ---- */

/* Hero: solid PMS 280 navy with ONE yellow 36° corner accent (per the style
   guide's "Creating the Background"). No photography. Copy stays clear of the
   accent — it never crosses a color boundary. */
.hero {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 64px 20px 68px;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: var(--yellow); font-weight: 900; font-size: clamp(34px, 6vw, 54px); letter-spacing: 0.02em; margin: 0 0 14px; }
.hero p { max-width: 640px; margin: 0 auto 22px; font-size: 17px; position: relative; }
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: clamp(110px, 20vw, 230px);
  aspect-ratio: 1 / 0.7265;   /* hypotenuse at 36° */
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.section { padding: 48px 16px; }
.section-inner { max-width: 880px; margin: 0 auto; }
.section h2 { font-weight: 900; font-size: clamp(24px, 4vw, 32px); }
.section.navy { background: var(--navy); color: #fff; }
.section.navy h2 { color: var(--yellow); }

.expect-list { list-style: none; padding: 0; margin: 18px 0 0; }
.expect-list li { padding: 8px 0 8px 28px; position: relative; font-size: 17px; color: var(--navy); }
/* Simple thin yellow dash — nothing iconographic. */
.expect-list li::before {
  content: '';
  position: absolute; left: 2px; top: 20px;
  width: 16px; height: 3px;
  background: var(--yellow);
}

/* DEWALT first-150 giveaway callout: logo + copy left, product photo right;
   stacks on mobile. No external links in this block. */
.dewalt-callout {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fff;
  border: 1.5px solid #dde3ec;
  border-radius: 10px;
  padding: 28px;
  margin: 26px 0;
}
.dewalt-copy { flex: 1 1 320px; }
.dewalt-copy img { width: 190px; max-width: 60%; height: auto; display: block; margin-bottom: 18px; }
.dewalt-copy p { margin: 0; font-weight: 700; color: var(--navy); font-size: 18px; line-height: 1.45; }
.dewalt-callout .dewalt-fan { flex: 0 1 280px; max-width: 280px; width: 100%; height: auto; }
@media (max-width: 640px) {
  .dewalt-callout { flex-direction: column; }
  .dewalt-callout .dewalt-fan { max-width: 240px; }
}

.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 26px; }
.photo-row img { width: 100%; height: 240px; object-fit: cover; border-radius: 10px; display: block; }
.photo-row figure { margin: 0; }
.photo-row figcaption { font-size: 14px; margin-top: 6px; font-weight: 700; }

.datebox { text-align: center; }
.datebox h2 { margin: 0 0 2px; color: #fff; }
.datebox p { margin: 2px 0; font-size: 17px; }
/* 18+ notice: noticeable, not shouting. */
.notice-18 {
  color: var(--yellow);
  font-size: 15px;
  font-weight: 700;
  max-width: 560px;
  margin: 18px auto 0 !important;
}

.video-wrap { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; margin-top: 22px; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Testimonials: tight spacing, wide cards, equal heights per row. */
.section-tight { padding: 24px 16px; }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 10px;
  margin-top: 12px;
  align-items: stretch;
}
.quote {
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0;
  box-shadow: 0 1px 4px rgba(1, 33, 105, 0.12);
  border-top: 4px solid var(--yellow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote p { margin: 0 0 8px; font-size: 15px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--navy); font-size: 14px; }
/* No half-width orphan: an odd final card stretches across the row. */
.quote:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Photo gallery: strict 2x2, uniform aspect, no orphans. */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.legal { background: var(--navy-dark); color: #b8c4d6; font-size: 13px; text-align: center; padding: 26px 16px 34px; }
.legal a { color: var(--light-blue); }
.legal p { max-width: 720px; margin: 6px auto; }

.prose { max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; }
.prose h1 { font-weight: 900; }
.prose p { margin: 0 0 18px; text-align: justify; }
