@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --red: #DC1623;
  --red-dark: #B01018;
  --crimson: #8C0F15;
  --maroon: #4E1410;
  --gold: #F4B310;
  --gold-dark: #D99A08;
  --black: #171717;
  --charcoal: #1F1F1F;
  --cream: #F7F3EA;
  --sand: #FAF6EE;
  --muted: #6B6560;
  --white: #fff;
  --shadow: 0 12px 40px -18px rgba(80, 21, 18, .18);
  --radius: 1.75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--black);
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--gold); color: var(--black); }

.skip-link {
  position: absolute; left: 1rem; top: -40px; z-index: 100;
  border-radius: 999px; background: #171717; color: #fff; padding: .5rem 1rem;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.wrap-wide { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }

.icon { display: inline-flex; width: 1.25rem; height: 1.25rem; }
.icon svg { width: 100%; height: 100%; }
.icon-lg { width: 2rem; height: 2rem; }
.icon-xl { width: 2.5rem; height: 2.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border-radius: 999px; padding: .7rem 1.3rem; font-size: .9rem; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; transition: .15s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-dark { background: var(--black); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light { background: #fff; color: var(--black); border-color: #e5e5e5; }
.btn-outline-red { background: #fff; color: var(--red); border-color: var(--red); }
.btn-full { width: 100%; }

.topbar {
  background: var(--red); color: #fff; font-size: .75rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: .75rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; min-width: 0; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; }
.brand-name { font-size: 1.1rem; font-weight: 800; color: var(--red); line-height: 1.1; }
.brand-tag { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #737373; }
.nav { display: none; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .4rem 1rem; width: 100%; }
.nav a { font-size: .87rem; font-weight: 600; color: #404040; white-space: nowrap; }
.nav a.active, .nav a:hover { color: var(--red); }
.nav a.active { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.nav .btn { padding: .55rem 1.1rem; font-size: .85rem; white-space: nowrap; }
.menu-toggle { background: none; border: 0; color: var(--red); font-size: 1.6rem; cursor: pointer; }
.socials { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.socials a { width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; }
.socials.dark a { background: none; color: rgba(255,255,255,.8); }

.mobile-nav { display: none; position: fixed; inset: 0; z-index: 50; }
.mobile-nav.open { display: block; }
.mobile-nav .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); border: 0; }
.mobile-panel { position: absolute; inset: 0 0 0 auto; width: min(86%, 24rem); background: var(--red); color: #fff; display: flex; flex-direction: column; }
.mobile-panel header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.2); font-weight: 800; }
.mobile-panel nav a { display: flex; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.15); font-weight: 700; font-size: 1.1rem; }
.mobile-panel nav a.active { color: var(--gold); }
.mobile-panel .close { background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }

.hero {
  background: linear-gradient(105deg, #3A120F 0%, #8C1A14 38%, #C43A12 68%, #E07A18 100%);
  color: #fff; position: relative; overflow: hidden; min-height: 34rem;
}
[data-hero-slide] {
  position: relative; min-height: 34rem; display: flex; align-items: center;
  background-size: cover; background-position: center;
}
[data-hero-slide][hidden] { display: none; }
[data-hero-slide]:before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(40,12,10,.44) 0%, rgba(80,18,14,.36) 38%, rgba(110,42,12,.24) 68%, rgba(120,64,12,.14) 100%);
}
[data-hero-slide] .hero-inner { position: relative; z-index: 1; }
.hero-inner { width: min(72rem, calc(100% - 2rem)); margin: 0 auto; padding: 4.5rem 0 2rem; }
.eyebrow-pill {
  display: inline-flex; background: var(--gold); color: var(--black);
  border-radius: 999px; padding: .3rem .8rem; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); line-height: 1.05; font-weight: 800; max-width: 16ch; margin: 1rem 0; white-space: pre-line; text-shadow: 0 2px 14px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.5); }
.hero p { max-width: 34rem; color: rgba(255,255,255,.95); font-size: 1.05rem; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.hero .eyebrow-pill { text-shadow: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero-nav { display: flex; justify-content: space-between; align-items: center; width: min(72rem, calc(100% - 2rem)); margin: 0 auto; padding-bottom: 1.5rem; }
.dots { display: flex; gap: .4rem; }
.dots button { height: 6px; border: 0; border-radius: 999px; background: rgba(255,255,255,.4); width: 1.4rem; cursor: pointer; }
.dots button.on { width: 2.4rem; background: var(--gold); }
.round { width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; }
.round.gold { background: var(--gold); color: var(--black); border: 0; }

.page-hero {
  background: linear-gradient(100deg, #8C0F15 0%, #C4281C 42%, #D97812 78%, #E8A31A 100%);
  color: #fff; padding: 3rem 0 0; position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.page-hero.has-image { padding: 3.5rem 0 2.75rem; }
.page-hero.has-image:before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(60,10,10,.42) 0%, rgba(90,20,15,.34) 42%, rgba(110,50,10,.24) 78%, rgba(120,70,10,.16) 100%);
}
.page-hero .wrap, .page-hero .hero-bar { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; margin: .3rem 0; }
.page-hero .crumbs { opacity: .9; font-size: .9rem; }
.page-hero.has-image h1, .page-hero.has-image .crumbs, .page-hero.has-image .richtext {
  text-shadow: 0 2px 14px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.5);
}
.hero-bar { height: 8px; margin-top: 2.5rem; background: linear-gradient(90deg, var(--red), var(--gold), var(--black)); }

.eyebrow { display: flex; align-items: center; gap: .75rem; font-size: .75rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: .7rem; }
.eyebrow:before { content: ""; width: 2rem; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.eyebrow.light { color: var(--gold); }
.eyebrow.light:before { background: var(--gold); }

.media-frame {
  position: relative; overflow: hidden; border-radius: 28px; min-height: 10rem;
  background-image: radial-gradient(circle at 18% 20%, rgba(255,255,255,.28), transparent 28%),
    linear-gradient(145deg, #e24a2a 0%, #f07a22 48%, #f4b310 100%);
}
.media-frame:after { content: ""; position: absolute; right: -2.5rem; top: -2.5rem; width: 10rem; height: 10rem; border-radius: 999px; background: rgba(255,255,255,.18); }
.media-label { position: absolute; left: 1.1rem; top: 1.1rem; z-index: 1; background: var(--gold); color: var(--black); border-radius: 999px; padding: .25rem .7rem; font-size: .75rem; font-weight: 800; }

.card { background: #fff; border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.tone-red { background: var(--red); color: #fff; }
.tone-gold { background: var(--gold); color: var(--black); }
.tone-black { background: var(--black); color: #fff; }
.tone-crimson { background: var(--crimson); color: #fff; }
.tone-pink { background: #f8d5d2; color: var(--black); }
.tone-cream { background: #f4e6c1; color: var(--black); }

.bridge-card { position: relative; overflow: hidden; background-size: cover; background-position: center; color: #fff; }
.bridge-card:before { content: ""; position: absolute; inset: 0; }
.bridge-card.gold:before { background: linear-gradient(135deg, rgba(150,100,10,.78), rgba(70,45,5,.62)); }
.bridge-card.red:before { background: linear-gradient(135deg, rgba(150,20,25,.78), rgba(70,10,10,.62)); }
.bridge-card > * { position: relative; z-index: 1; }

.section { padding: 4rem 0; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
.center { text-align: center; }
.muted { color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: .45rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; padding: .35rem .85rem; font-size: .85rem; font-weight: 600; border: 1px solid rgba(0,0,0,.1); background: #fff; cursor: pointer; }
.chip.on, .chip:has(input:checked) { background: var(--red); color: #fff; border-color: var(--red); }
.notice { background: #fff8e8; color: #7a4b00; border-radius: 1rem; padding: .8rem 1rem; font-size: .9rem; }

.stats { background: linear-gradient(90deg, var(--red), #c4281c, #e07a18); color: #fff; padding: 3rem 0; text-align: center; }
.stats .num { font-size: 3rem; font-weight: 900; margin: .3rem 0 0; }
.cta-gold { background: var(--gold); color: var(--black); padding: 2.4rem 0; }
.cta-dark { background: linear-gradient(120deg, #3A1610 0%, #6B1A12 55%, #8C3A10 100%); color: #fff; padding: 2.4rem 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.newsletter { background: var(--gold); }
.newsletter-inner { display: flex; flex-direction: column; gap: 1rem; padding: 1.1rem 0; }
.newsletter form { display: flex; overflow: hidden; border-radius: 999px; background: #fff; max-width: 36rem; width: 100%; }
.newsletter input { flex: 1; border: 0; padding: .85rem 1.2rem; min-width: 0; }
.newsletter button { background: var(--black); color: #fff; border: 0; padding: .85rem 1.2rem; font-weight: 800; cursor: pointer; }

.footer { background: var(--charcoal); color: #fff; }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0; }
.gold-label { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.footer ul { list-style: none; margin: .7rem 0 0; padding: 0; }
.footer li { margin: .35rem 0; color: rgba(255,255,255,.8); font-size: .9rem; }
.footer-bottom { border-top: 1px solid var(--red); display: flex; flex-direction: column; gap: .7rem; padding: 1rem 0; font-size: .75rem; color: rgba(255,255,255,.6); }

.story-media { height: 11rem; position: relative; }
.badge { position: absolute; left: 1rem; top: 1rem; display: flex; gap: .4rem; z-index: 1; }
.badge span { border-radius: 999px; padding: .2rem .6rem; font-size: 11px; font-weight: 800; }
.badge .cat { background: var(--red); color: #fff; }
.badge .sample { background: rgba(255,255,255,.92); color: var(--black); }
.event { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: 1.6rem; padding: 1rem; box-shadow: var(--shadow); }
.tba { width: 5rem; height: 5rem; border-radius: 1.1rem; background: var(--gold); display: grid; place-items: center; text-align: center; font-weight: 900; flex-shrink: 0; font-size: .7rem; }
.tba b { display: block; font-size: 1.15rem; }

.form-card { background: #fff; color: var(--black); border-radius: 28px; padding: 1.5rem; box-shadow: var(--shadow); }
label.field { display: block; font-size: .9rem; font-weight: 700; margin-top: .9rem; }
.field input, .field textarea, .field select, .admin-input {
  width: 100%; margin-top: .3rem; border: 1px solid #e5e5e5; border-radius: .8rem; padding: .7rem .85rem;
  font-weight: 400; font-size: 1rem;
}
.field.error input, .field.error textarea, .field.error select { border-color: var(--red); }
.err { color: var(--red); font-size: .78rem; font-weight: 600; }
.ok { color: #157347; }

.image-field { margin-top: .3rem; }
.image-field-preview { display: block; max-width: 10rem; max-height: 7rem; border-radius: .6rem; margin-bottom: .5rem; border: 1px solid #e5e5e5; object-fit: cover; }
.image-field-row { display: flex; gap: .5rem; align-items: stretch; }
.image-field-row input[type="text"] { flex: 1; margin-top: 0; border: 1px solid #e5e5e5; border-radius: .8rem; padding: .7rem .85rem; font-weight: 400; font-size: 1rem; }
.image-field-row .btn-small { flex-shrink: 0; white-space: nowrap; }
.image-field-status { margin: .35rem 0 0; font-size: .8rem; color: var(--red); font-weight: 600; }
.image-field-status:empty { display: none; }

.richtext-editor { margin-top: .3rem; border: 1px solid #e5e5e5; border-radius: .8rem; overflow: hidden; }
.richtext-toolbar { display: flex; flex-wrap: wrap; gap: .3rem; padding: .5rem; background: #f7f5f0; border-bottom: 1px solid #e5e5e5; }
.richtext-toolbar button { border: 1px solid #e0ddd4; background: #fff; border-radius: .5rem; padding: .3rem .65rem; font-size: .8rem; line-height: 1.3; cursor: pointer; }
.richtext-toolbar button:hover { background: var(--gold); border-color: var(--gold); }
.richtext-surface { min-height: 8rem; padding: .7rem .85rem; font-weight: 400; font-size: 1rem; }
.richtext-surface:focus { outline: 2px solid var(--red); outline-offset: -2px; }
.richtext-surface p { margin: 0 0 .6rem; }
.richtext-surface ul, .richtext-surface ol { margin: 0 0 .6rem 1.2rem; }
.richtext-surface blockquote { border-left: 3px solid var(--gold); padding-left: .8rem; margin: 0 0 .6rem; color: #666; }

.richtext p { margin: 0 0 .8rem; }
.richtext p:last-child { margin-bottom: 0; }
.richtext ul, .richtext ol { margin: 0 0 .8rem 1.2rem; }
.richtext a { color: var(--red); font-weight: 700; }
.richtext blockquote { border-left: 3px solid var(--gold); padding-left: 1rem; margin: 0 0 .8rem; }

.calendar { background: #fff; border-radius: 28px; padding: 1.2rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: #eee; }
.cal-head { background: var(--red); color: #fff; text-align: center; padding: .5rem 0; font-size: .75rem; font-weight: 800; }
.cal-cell { min-height: 3.6rem; background: #fff; padding: .4rem; font-size: .85rem; }
.today { display: inline-flex; width: 1.7rem; height: 1.7rem; border-radius: 999px; background: var(--gold); align-items: center; justify-content: center; font-weight: 800; }

.admin { display: grid; min-height: 100vh; }
.admin-side { background: var(--charcoal); color: #fff; padding: 0 0 2rem; }
.admin-brand { border-bottom: 1px solid rgba(255,255,255,.1); padding: 1.2rem 1.4rem; }
.admin-brand small { display: block; color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
.admin-side a { display: block; margin: .15rem .75rem; padding: .55rem .8rem; border-radius: .8rem; color: rgba(255,255,255,.75); font-size: .9rem; }
.admin-side a.on, .admin-side a:hover { background: var(--red); color: #fff; }
.admin-main { background: #f3eee4; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 1rem 1.4rem; border-bottom: 1px solid rgba(0,0,0,.06); }
.admin-pad { padding: 1.4rem; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 1.4rem; overflow: hidden; }
.table th, .table td { text-align: left; padding: .85rem 1rem; border-top: 1px solid #f0f0f0; font-size: .9rem; }
.admin-card { background: #fff; border-radius: 1.4rem; padding: 1.2rem; box-shadow: var(--shadow); }
.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.flash { border-radius: 1rem; padding: .8rem 1rem; margin-bottom: 1rem; }
.flash-ok { background: #e8f6ee; color: #157347; }
.flash-error { background: #fde8ea; color: var(--red); }
.btn-small { padding: .4rem .8rem; font-size: .8rem; }
.danger { color: var(--red); background: none; border: 0; cursor: pointer; font-weight: 700; }
.login-grid { display: grid; min-height: 100vh; }
.login-art { display: none; background: linear-gradient(105deg, #3A120F, #C43A12); color: #fff; padding: 2.5rem; }

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .newsletter-inner, .cta-row, .footer-bottom, .header-inner { flex-direction: row; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .admin { grid-template-columns: 16rem 1fr; }
  .login-grid { grid-template-columns: 1fr 1fr; }
  .login-art { display: flex; flex-direction: column; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .header-inner { flex-direction: column; align-items: stretch; }
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .topbar .hide-sm { display: flex; }
}
@media (max-width: 1023px) {
  .topbar .hide-sm { display: none; }
}
@media (max-width: 640px) {
  /* On narrow screens, cover-cropping a wide split-composite banner centers on the
     divider seam between its two photos. Biasing left keeps one side legible. */
  [data-hero-slide], .page-hero.has-image { background-position: 32% center; }
}
