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

:root {
  --dark: #1A1A1A;
  --dark2: #2b2620;
  --accent: #C89B3C;
  --accent-soft: #E7CE8F;
  --light: #F5EFE0;
  --line2: #6B1F2A;
  --muted: #B7A98D;
  --font-head: 'Playfair Display', serif;
  --tab-case: none;
  --tab-tracking: 0.3px;
  --photo-filter: sepia(0.4) saturate(1.25) contrast(1.06) brightness(0.92);
  --photo-tint: linear-gradient(160deg, rgba(200,155,60,0.30), rgba(26,26,26,0.42));
  --hero-scrim: linear-gradient(180deg, rgba(20,15,5,0.15) 0%, rgba(20,15,5,0.55) 65%, #1A1A1A 100%);
}
body[data-theme="motion"] {
  --dark: #0B1220;
  --dark2: #16213a;
  --accent: #F2A900;
  --accent-soft: #FFCF63;
  --light: #F4F6F8;
  --line2: #00B3A6;
  --muted: #4A5568;
  --font-head: 'Sora', sans-serif;
  --tab-case: uppercase;
  --tab-tracking: 0.8px;
  --photo-filter: saturate(1.1) contrast(1.1) brightness(0.96);
  --photo-tint: linear-gradient(160deg, rgba(0,179,166,0.22), rgba(11,18,32,0.5));
  --hero-scrim: linear-gradient(180deg, rgba(6,10,20,0.15) 0%, rgba(6,10,20,0.55) 65%, #0B1220 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Inter', -apple-system, Arial, sans-serif; background: #eceae4; color: #1a1a1a; padding: 40px 20px 80px; }
.page-wrap { max-width: 1180px; margin: 0 auto; }
.back { display: inline-block; margin-bottom: 18px; color: #7a7568; text-decoration: none; font-size: 13px; font-weight: 600; }

.photo-frame { position: relative; overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: var(--photo-filter); transition: filter .25s; }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: var(--photo-tint); mix-blend-mode: multiply; pointer-events: none; transition: background .25s; }

.tag-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.preview-tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #a9835f; background: #fff3dd; border: 1px solid #e9d3a8; padding: 6px 12px; border-radius: 100px; }
.theme-switch { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 100px; padding: 5px; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.theme-switch button { border: none; background: transparent; padding: 8px 16px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: 0.4px; cursor: pointer; color: #888; transition: all .2s; }
.theme-switch button.active { background: #1A1A1A; color: #fff; }

.site { overflow: hidden; }

/* ---- SITE HEADER ---- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--dark); color: var(--light); padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 24px; filter: brightness(0) invert(1); }
.brand .div { width: 1px; height: 20px; background: rgba(255,255,255,0.25); }
.brand .word { font-family: var(--font-head); font-size: 14px; letter-spacing: 0.5px; color: var(--light); }
.brand .word span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.site-nav a { color: var(--muted); text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover { color: var(--light); }
.site-nav a.current { color: var(--light); border-bottom-color: var(--accent); }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-theme button { border: none; background: rgba(255,255,255,0.08); color: var(--muted); padding: 6px 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; cursor: pointer; }
.header-theme button:first-child { border-radius: 4px 0 0 4px; }
.header-theme button:last-child { border-radius: 0 4px 4px 0; }
.header-theme button.active { background: var(--accent); color: var(--dark); }

/* ---- BREADCRUMB ---- */
.breadcrumb { background: var(--light); padding: 14px 40px; font-size: 12px; color: #7a7568; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: #7a7568; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .cur { color: #1a1a1a; font-weight: 700; }

/* ---- HOME HERO ---- */
.hero { position: relative; color: var(--light); padding: 130px 40px 90px; overflow: hidden; text-align: center; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: var(--hero-scrim); }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 90px);
  pointer-events: none;
}
.hero-crest { position: relative; z-index: 2; width: 120px; height: 120px; margin: 0 auto 24px; border-radius: 50%; border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; flex-direction: column; background: radial-gradient(circle at 35% 30%, rgba(200,155,60,0.25), transparent 65%); backdrop-filter: blur(2px); }
.hero-crest .num { font-family: var(--font-head); font-size: 38px; font-weight: 800; color: var(--accent-soft); line-height: 1; }
.hero-crest .yrs { font-size: 10px; letter-spacing: 2px; color: var(--muted); margin-top: 3px; text-transform: uppercase; }
.hero-kicker { position: relative; z-index: 2; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-soft); font-weight: 700; margin-bottom: 14px; }
.hero h1 { position: relative; z-index: 2; font-family: var(--font-head); font-size: 46px; margin: 0 0 14px; text-transform: var(--tab-case); letter-spacing: var(--tab-tracking); }
.hero p.lede { position: relative; z-index: 2; max-width: 560px; margin: 0 auto 28px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hero .scroll-cta { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; color: var(--accent-soft); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

/* ---- EVENT PAGE HERO (banner style) ---- */
.event-hero { position: relative; height: 380px; color: var(--light); display: flex; align-items: flex-end; overflow: hidden; }
.event-hero .hero-photo { position: absolute; inset: 0; }
.event-hero-content { position: relative; z-index: 2; padding: 40px; width: 100%; }
.event-hero .ev-num { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--accent-soft); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
.event-hero h1 { font-family: var(--font-head); font-size: 42px; margin: 0 0 8px; text-transform: var(--tab-case); letter-spacing: var(--tab-tracking); }
.event-hero .ev-tagline { font-size: 15px; color: var(--muted); font-style: italic; margin: 0; }

/* ---- SECTION / CONTENT ---- */
.section { background: #fff; padding: 50px 40px; }
.section.alt { background: var(--light); }
.section-head { margin-bottom: 30px; }
.section-head .kicker { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--line2); margin-bottom: 8px; }
.section-head h2 { font-family: var(--font-head); font-size: 28px; margin: 0; text-transform: var(--tab-case); letter-spacing: var(--tab-tracking); }
.section-head p { color: #666; font-size: 14px; max-width: 600px; margin: 10px 0 0; line-height: 1.6; }

.panel-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; }

.meta-row { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 26px; padding: 16px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.meta-item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #444; }
.meta-item svg { width: 17px; height: 17px; stroke: var(--accent); flex-shrink: 0; }
.meta-item b { color: #1a1a1a; }

.p-block { margin-bottom: 28px; }
.p-block h3 { font-family: var(--font-head); font-size: 15px; margin: 0 0 10px; color: #1a1a1a; text-transform: var(--tab-case); letter-spacing: var(--tab-tracking); }
.p-block p { font-size: 13.5px; line-height: 1.75; color: #4a4a4a; margin: 0; }

.prog-list { list-style: none; margin: 0; padding: 0; }
.prog-list li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px dashed #e5e5e5; font-size: 13px; align-items: flex-start; }
.prog-list li:last-child { border-bottom: none; }
.prog-list svg { width: 15px; height: 15px; stroke: var(--accent); margin-top: 2px; flex-shrink: 0; }
.prog-list .p-time { font-weight: 700; width: 92px; flex-shrink: 0; color: #1a1a1a; }
.prog-list .p-label { color: #555; }

/* gallery */
.gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 6px; }
.g-thumb { position: relative; aspect-ratio: 4/3; border-radius: 8px; }
.g-thumb .cap { position: absolute; z-index: 2; left: 10px; bottom: 9px; right: 10px; color: #fff; font-size: 10.5px; font-weight: 600; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }

/* sidebar registration card */
.reg-card { background: var(--light); border-radius: 10px; padding: 26px; position: sticky; top: 90px; }
.reg-card .rc-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--line2); margin-bottom: 14px; }
.price-row { display: flex; justify-content: space-between; font-size: 13px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.price-row:last-of-type { border-bottom: none; }
.price-row .amt { font-weight: 700; }
.reg-cta { display: block; width: 100%; text-align: center; background: var(--dark); color: var(--light); padding: 14px; border-radius: 6px; font-weight: 700; font-size: 13px; text-decoration: none; margin-top: 18px; }
.reg-note { font-size: 11px; color: #8a8474; text-align: center; margin-top: 10px; }
.reg-cal { display: block; text-align: center; font-size: 11.5px; color: var(--line2); margin-top: 14px; text-decoration: none; font-weight: 600; }

/* ---- HOME: EVENT GRID ---- */
.event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.event-card { background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 8px 24px rgba(0,0,0,0.08); display: flex; flex-direction: column; transition: transform .15s; }
.event-card:hover { transform: translateY(-3px); }
.event-card .ec-photo { height: 170px; }
.event-card .ec-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 50%); pointer-events: none; }
.event-card .ec-photo .ec-num { position: absolute; z-index: 2; left: 16px; top: 14px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #fff; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.event-card .ec-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.event-card h3 { font-family: var(--font-head); font-size: 18px; margin: 0 0 4px; }
.event-card .ec-tag { font-size: 12px; color: #888; font-style: italic; margin: 0 0 12px; }
.event-card .ec-date { font-size: 11.5px; color: var(--line2); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.event-card .ec-link { margin-top: auto; font-size: 12px; font-weight: 700; color: #1a1a1a; text-decoration: none; }

/* ---- STAT STRIP ---- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--dark); color: var(--light); }
.stat-strip .stat { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-strip .stat:last-child { border-right: none; }
.stat-strip .stat .sv { font-family: var(--font-head); font-size: 32px; color: var(--accent-soft); }
.stat-strip .stat .sl { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---- CTA BANNER ---- */
.cta-banner { background: linear-gradient(120deg, var(--dark), var(--dark2)); color: var(--light); padding: 50px 40px; text-align: center; }
.cta-banner h2 { font-family: var(--font-head); font-size: 26px; margin: 0 0 10px; }
.cta-banner p { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.cta-banner a { display: inline-block; background: var(--accent); color: var(--dark); padding: 13px 28px; border-radius: 6px; font-weight: 700; font-size: 13px; text-decoration: none; }

/* ---- RELATED EVENTS ---- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* footer */
.site-footer { background: var(--dark); color: var(--muted); padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.site-footer .fl { display: flex; align-items: center; gap: 14px; }
.site-footer img { height: 20px; filter: brightness(0) invert(1); opacity: 0.8; }
.site-footer .fnote { font-size: 11px; }
.site-footer .flinks { display: flex; gap: 22px; font-size: 12px; }
.site-footer .flinks a { color: var(--muted); text-decoration: none; }

.disclaimer { max-width: 1180px; margin: 20px auto 0; font-size: 12px; color: #a09a89; text-align: center; }
.nav-row { max-width: 1180px; margin: 20px auto 0; display: flex; gap: 16px; flex-wrap: wrap; }
.nav-row a { background: #1A1A1A; color: #F5EFE0; padding: 12px 20px; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 700; }

@media (max-width: 900px) {
  .panel-grid { grid-template-columns: 1fr; }
  .event-grid, .related-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat:nth-child(2) { border-right: none; }
  .site-nav { display: none; }
  .hero h1 { font-size: 32px; }
  .event-hero h1 { font-size: 28px; }
  .event-hero { height: 300px; }
}
