/* Jambo Events: styles built from the Jambo Events design system */
:root {
  --cream-50: #FBF6F0;
  --white: #FFFFFF;
  --mist-100: #E3E9EB;
  --slate-500: #758A93;
  --slate-600: #4E636C;
  --slate-700: #3F525A;
  --footer: #3F525A;
  --terracotta-500: #C66E52;
  --terracotta-600: #A9553B;
  --terracotta-700: #8A4430;
  --gold-400: #E9B63B;
  --on-dark: #FFFFFF;
  --on-dark-muted: #F3E8DC;
  --display: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 28px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream-50);
  color: var(--slate-700);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta-600); }
a:hover { color: var(--terracotta-700); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--slate-600); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.narrow { max-width: 900px; }
@media (max-width: 600px) { .wrap { padding-left: 18px; padding-right: 18px; } }

h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--slate-600); margin: 0; }
h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.05; letter-spacing: -0.015em; }
h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.15; }
h3 { font-size: 26px; line-height: 1.25; }
p { margin: 0 0 18px; }
.lead { font-size: 20px; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta-600); margin: 0 0 16px; }
.quote { font-family: var(--display); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--terracotta-700); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 30px; border-radius: 999px; border: 0; background: var(--terracotta-500); color: #fff; font: 600 19px/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--terracotta-600); color: #fff; }
.btn-sm { min-height: 44px; padding: 11px 22px; font-size: 17px; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " \2192"; }

/* Header */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand svg { width: 52px; height: 52px; flex: none; }
.brand-name { display: block; font-size: 28px; font-weight: 600; color: var(--slate-600); letter-spacing: -0.02em; line-height: 1.1; }
.brand-slogan { display: block; font-size: 13px; color: var(--slate-700); letter-spacing: 0.04em; margin-top: 3px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; font-size: 16px; }
.nav a { color: var(--slate-700); text-decoration: none; }
.nav a:hover { color: var(--terracotta-600); }
.nav a[aria-current="page"] { color: var(--slate-600); font-weight: 600; border-bottom: 2px solid var(--terracotta-500); padding-bottom: 2px; }
.nav a.btn, .nav a.btn:hover { color: #fff; border: 0; padding-bottom: 11px; }
.menu-toggle { display: none; background: var(--white); border: 0; border-radius: 999px; min-height: 44px; padding: 0 18px; font: 600 16px var(--sans); color: var(--slate-600); cursor: pointer; }
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-radius: var(--radius-md); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--mist-100); }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--mist-100); }
  .nav a.btn { margin-top: 14px; border-bottom: 0; }
}
@media (max-width: 480px) { .brand { gap: 10px; } .brand-name { font-size: 22px; } .brand-slogan { font-size: 12px; letter-spacing: 0.02em; } .brand svg { width: 40px; height: 40px; } .menu-toggle { padding: 0 14px; } }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.band-mist { background: var(--mist-100); }
.band-white { background: var(--white); }
.band-dark { background: var(--slate-600); color: var(--on-dark-muted); }
.band-dark h2, .band-dark h3 { color: var(--on-dark); }
.wave { display: block; width: 100%; height: 80px; }
.center { text-align: center; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px; }
.decor { position: absolute; border-radius: 50%; pointer-events: none; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Cards */
.card { background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; }
.card .grow { flex-grow: 1; }
.disc { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.disc svg { width: 30px; height: 30px; }
.disc-slate { background: var(--slate-500); }
.disc-gold { background: var(--gold-400); }
.disc-terra { background: var(--terracotta-500); }
.num { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 28px; color: #fff; }
.callout { background: var(--mist-100); border-radius: 16px; padding: 14px 18px; font-size: 16px; margin: 0; }

/* Photos */
.photo { border-radius: 32px; overflow: hidden; background: var(--mist-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; color: var(--slate-600); font-size: 16px; }
.photo-circle { border-radius: 50%; overflow: hidden; border: 10px solid var(--cream-50); background: var(--mist-100); aspect-ratio: 1; }
.photo-circle img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* Hero */
.hero { position: relative; padding-top: 40px; padding-bottom: 96px; overflow: hidden; }
.hero-media { position: relative; min-height: 460px; }
.hero-media .photo { position: absolute; inset: 24px 12px 12px 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 10px; }
@media (max-width: 600px) { .hero-media { min-height: 340px; } }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 44px; }
.fact { border-top: 2px solid var(--mist-100); padding-top: 18px; }
.fact b { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.1; color: #fff; }

/* Domino animation */
.domino-stage { position: relative; height: 420px; border-radius: 32px; background: var(--mist-100); }
.dominoes { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: flex-end; gap: 46px; height: 150px; padding-right: 60px; }
.dominoes span { display: block; width: 24px; height: 140px; border-radius: 6px; transform-origin: 100% 100%; animation: topple 7s ease-in infinite; }
.dominoes span:nth-child(1) { background: var(--slate-600); animation-delay: 0s; }
.dominoes span:nth-child(2) { background: var(--slate-500); animation-delay: .22s; }
.dominoes span:nth-child(3) { background: var(--terracotta-500); animation-delay: .44s; }
.dominoes span:nth-child(4) { background: var(--gold-400); animation-delay: .66s; }
.dominoes span:nth-child(5) { background: var(--slate-500); animation-delay: .88s; }
.dominoes span:nth-child(6) { background: var(--terracotta-500); animation-delay: 1.1s; }
.dominoes span:nth-child(7) { background: var(--slate-600); animation-delay: 1.32s; }
.domino-floor { position: absolute; left: 12%; right: 12%; top: calc(50% + 75px); height: 3px; border-radius: 2px; background: var(--cream-50); }
@keyframes topple { 0%, 4% { transform: rotate(0deg); } 12% { transform: rotate(58deg); } 78% { transform: rotate(58deg); } 90%, 100% { transform: rotate(0deg); } }
@media (max-width: 600px) { .dominoes { gap: 26px; transform: translate(-50%, -50%) scale(.8); } .domino-stage { height: 320px; } }
@media (prefers-reduced-motion: reduce) { .dominoes span { animation: none; } }

/* Forms */
.form-panel { background: var(--white); border-radius: var(--radius-lg); padding: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-panel .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: var(--slate-700); }
.field .opt { font-weight: 400; color: var(--slate-600); }
.field input, .field select, .field textarea { font: 400 17px/1.4 var(--sans); color: var(--slate-700); padding: 12px 14px; border: 1px solid #A99B8D; border-radius: var(--radius-sm); background: #fff; min-height: 48px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.phone-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot p { margin: 0; font-size: 15px; }
.hidden-field { display: none; }
@media (max-width: 600px) { .form-panel { grid-template-columns: minmax(0, 1fr); padding: 24px; } .phone-row { grid-template-columns: 110px minmax(0, 1fr); } }

/* FAQ */
.faq { background: var(--white); border-radius: var(--radius-md); padding: 22px 28px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--display); font-size: 23px; color: var(--slate-600); }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--mist-100); color: var(--terracotta-700); display: flex; align-items: center; justify-content: center; font: 400 22px var(--sans); transition: transform .2s; }
.faq[open] .plus { transform: rotate(45deg); }
.faq .answer { margin-top: 14px; }
.faq .answer p:last-child { margin-bottom: 0; }
.vmp { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.vmp div { background: var(--cream-50); border-radius: 16px; padding: 14px 18px; }
.vmp dt { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta-600); }
.vmp dd { margin: 4px 0 0; }

/* Blog */
.post-card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; color: var(--slate-700); }
.post-card:hover { color: var(--slate-700); }
.post-card:hover h3 { color: var(--terracotta-700); }
.post-art { height: 180px; position: relative; overflow: hidden; }
.post-art span { position: absolute; border-radius: 50%; }
.post-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.post-body p { margin: 0; }
.meta { font-size: 14px; color: var(--slate-600); }
.pinned { display: flex; flex-wrap: wrap; text-decoration: none; background: var(--slate-600); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; }
.pinned-art { flex: 1 1 300px; min-height: 220px; position: relative; background: var(--terracotta-500); }
.pinned-art svg { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; transform: translate(-50%, -50%); }
.pinned-body { flex: 2 1 420px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 10px; justify-content: center; color: var(--on-dark-muted); }
.pinned-body h3 { color: #fff; font-size: 36px; }
.pinned-body p { margin: 0; }

/* Article */
.article-head { max-width: 760px; margin: 0 auto; padding: 36px 32px 0; }
.article-head h1 { font-size: clamp(38px, 4.8vw, 56px); margin: 6px 0 22px; }
.author { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; font-size: 16px; line-height: 1.3; }
.author .av { width: 44px; height: 44px; border-radius: 50%; background: var(--mist-100); display: flex; align-items: center; justify-content: center; }
.banner { max-width: 1040px; margin: 0 auto 56px; padding: 0 32px; }
.banner > div { position: relative; height: 300px; border-radius: 32px; overflow: hidden; }
.banner span { position: absolute; border-radius: 50%; }
.article { max-width: 680px; margin: 0 auto; padding: 0 32px 80px; font-size: 18px; line-height: 1.75; }
.article h2 { font-size: 30px; margin: 40px 0 12px; }
.article h3 { font-size: 22px; margin: 28px 0 8px; }
.article ul { padding-left: 22px; margin: 0 0 20px; }
.article li { margin-bottom: 8px; }
.article blockquote { margin: 0 0 26px; padding: 24px 28px; background: var(--white); border-radius: var(--radius-md); }
.article blockquote p { margin: 0 0 10px; }
.article blockquote cite { font-style: normal; font-weight: 600; color: var(--slate-600); }
.standfirst { font-size: 21px; line-height: 1.6; color: var(--slate-600); }
@media (max-width: 600px) { .article-head, .banner, .article { padding-left: 18px; padding-right: 18px; } .banner > div { height: 200px; } }

/* Legal */
.legal { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.toc { flex: 1 1 240px; min-width: 0; background: var(--white); border-radius: var(--radius-md); padding: 24px 28px; font-size: 16px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { color: var(--slate-700); text-decoration: none; display: block; padding: 5px 0; }
.legal-body { flex: 999 1 560px; min-width: 0; max-width: 700px; }
.legal-body h2 { font-size: 28px; margin: 36px 0 10px; scroll-margin-top: 20px; }
.legal-body h3 { font-size: 21px; margin: 22px 0 8px; }
.legal-body ul { padding-left: 22px; margin: 0 0 18px; }
.legal-body li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--footer); color: var(--on-dark-muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; padding-top: 48px; padding-bottom: 48px; }
.site-footer .brand-name { color: #fff; font-size: 24px; }
.site-footer .brand-slogan { color: var(--on-dark-muted); }
.site-footer .brand svg { width: 48px; height: 48px; }
.site-footer p { margin: 0; max-width: 520px; line-height: 1.6; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #fff; }
.copyright { width: 100%; font-size: 14px; color: var(--on-dark-muted); }
