/* Restaurant Accountant - site design (white + burgundy, PT Sans).
   Loaded after content.css, so these rules set the look of every page. */
:root {
  --brand: #7a1f3d;
  --brand-light: #e9a8b8;
  --brand-dark: #5a1229;
  --ink: #2a2326;
  --ink-2: #434549;
  --text: #5c5f66;
  --muted: #7d8087;
  --line: #e6e8eb;
  --bg: #ffffff;
  --bg-soft: #faf6f7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 24, 30, .08);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: "PT Sans", Arial, Helvetica, sans-serif; color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; background: var(--bg); }
section.alt { background: var(--bg-soft); }
.label { display: inline-block; color: var(--brand-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .6rem; line-height: 1.3; }
.lede { font-size: 1.15rem; max-width: 720px; color: var(--text); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.note { font-size: .88rem; color: var(--muted); }
.sr, .skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.sr:focus, .skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font: 700 .95rem/1.2 "PT Sans", Arial, sans-serif;
  text-transform: uppercase; letter-spacing: .04em; border: 2px solid var(--brand);
  background: var(--brand); color: #fff; cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand); color: #fff; }
.btn.small { padding: 9px 18px; font-size: .82rem; margin-top: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #c9ccd1; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 42px; flex-wrap: wrap; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 22px; }
.topbar .tb-left a { display: inline-flex; align-items: center; gap: 8px; color: #e4e6ea; }
.topbar .tb-left a:hover { color: #fff; }
.topbar .tb-left svg { width: 14px; height: 14px; fill: var(--brand-light); }
.topbar .tb-social { display: flex; gap: 6px; }
.topbar .tb-social a { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); }
.topbar .tb-social a:hover { background: var(--brand); }
.topbar .tb-social svg { width: 13px; height: 13px; fill: #fff; }
.topbar a { color: #fff; }
.topbar .btn { padding: 5px 14px; font-size: .75rem; border-color: var(--brand-light); background: transparent; color: #fff; }
.topbar .btn:hover { background: var(--brand); border-color: var(--brand); }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo:hover { text-decoration: none; }
.logo img { width: 46px; height: 46px; object-fit: contain; }
.logo span { font-weight: 700; line-height: 1.05; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; }
.logo small { display: block; font-weight: 400; font-size: .68rem; color: var(--muted); letter-spacing: .08em; margin-top: 3px; }
.nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a, .nav > ul > li > button {
  display: flex; align-items: center; gap: 6px; padding: 10px 11px; color: var(--ink-2); font: 700 .95rem/1 "PT Sans", Arial, sans-serif;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav > ul > li > button::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav > ul > li > a:hover, .nav > ul > li > button:hover, .nav > ul > li.on > a, .nav > ul > li.on > button { color: var(--brand-dark); text-decoration: none; }
.nav .dd {
  position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 6px 0 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.nav li:hover > .dd, .nav li:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
.nav .dd a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); font-size: .95rem; }
.nav .dd a:hover { background: var(--bg-soft); color: var(--brand-dark); text-decoration: none; }
.nav .dd-rich { min-width: 330px; }
.nav .dd-rich strong { display: block; color: var(--ink); }
.nav .dd-rich small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.nav > ul > li.nav-cta > .btn { padding: 11px 20px; font-size: .85rem; margin-left: 8px; background: var(--brand); color: #fff; border-color: var(--brand); }
.nav > ul > li.nav-cta > .btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Heroes (photo with dark overlay, white text) ---------- */
.bgimg { position: absolute; inset: 0; background: #1c1e21 center/cover no-repeat; }
.lg-hero, .page-hero { position: relative; color: #fff; overflow: hidden; background: #1c1e21; }
.lg-hero .lg-shade, .page-hero .lg-shade { display: none; }
.lg-hero .bgimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,17,20,.88) 0%, rgba(15,17,20,.6) 55%, rgba(15,17,20,.25) 100%); }
.page-hero .bgimg::after { content: ""; position: absolute; inset: 0; background: rgba(15,17,20,.72); }
.lg-hero > .wrap, .page-hero > .wrap { position: relative; z-index: 2; }
.lg-hero { min-height: 600px; display: flex; align-items: center; padding: 0; }
.lg-hero .hero-inner { padding-top: 80px; padding-bottom: 150px; }
.lg-hero h1, .page-hero h1 { color: #fff; max-width: 760px; }
.lg-hero p { max-width: 580px; font-size: 1.15rem; color: #e3e5e8; }
.lg-hero .label, .page-hero .label { color: var(--brand-light); }
.page-hero { padding: 90px 0 70px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.page-hero .lede { color: #e3e5e8; max-width: 680px; font-size: 1.1rem; margin: 0; }
.hero-glass { background: none; border: 0; padding: 0; box-shadow: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 14px; color: #c9ccd1; }
.crumbs a { color: var(--brand-light); }
.lg-hero .btn.ghost, .page-hero .btn.ghost { background: #fff; border-color: #fff; color: var(--ink); }
.lg-hero .btn.ghost:hover, .page-hero .btn.ghost:hover { background: #f6e9ed; border-color: #f6e9ed; color: var(--ink); }

/* Venue pages: text + docket rail side by side in the hero */
.venue-hero { padding: 70px 0 80px; }
.venue-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.venue-grid > * { min-width: 0; }
.venue-hero .rail-wrap { padding-top: 18px; }

/* ---------- Home: dashboard as the white card over the hero ---------- */
.dash-sec { padding: 0 0 20px; position: relative; z-index: 3; margin-top: -100px; background: transparent; }
.dash { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; max-width: 1080px; margin: 0 auto; border: 1px solid var(--line); }
.dash-top { display: flex; align-items: center; gap: 14px; padding: 0 4px 16px; border-bottom: 1px solid var(--line); }
.dash-top .dots3 { display: flex; gap: 6px; }
.dash-top .dots3 i { width: 10px; height: 10px; border-radius: 50%; background: #dfe1e4; }
.dash-top .ttl { font-weight: 700; color: var(--ink); }
.dash-tabs { margin-left: auto; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-soft); }
.dash-tabs span { padding: 6px 12px; border-radius: 999px; font-size: .8rem; color: var(--muted); }
.dash-tabs span.on { background: var(--brand); color: #fff; }
.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; padding-top: 16px; }
.dash-card { border-radius: 12px; padding: 18px; background: var(--bg-soft); }
.dash-card small { color: var(--muted); font-size: .82rem; display: block; }
.dash-card .big { font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--ink); margin-top: 4px; }
.dash-card .chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(122,31,61,.1); color: var(--brand); margin-left: 8px; vertical-align: middle; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 18px; padding: 0 4px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars i { display: block; width: 100%; border-radius: 8px 8px 4px 4px; background: rgba(122,31,61,.2); }
.bars div.hi i { background: var(--brand); }
.bars span { font-size: .72rem; color: var(--muted); }
.kpis { display: grid; gap: 12px; }
.kpi { display: flex; justify-content: space-between; align-items: center; }
.kpi span { color: var(--muted); font-size: .88rem; }
.kpi b { color: var(--ink); font-size: 1.15rem; }
.meter { height: 6px; border-radius: 6px; background: #e8e2e4; margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 6px; background: var(--brand); }
.dash-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .9rem; }
.dash-table th { text-align: left; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.dash-table td { padding: 10px; border-bottom: 1px solid var(--line); color: var(--text); }
.st { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.st.ok { background: #e7f4ec; color: #1e6b3a; }
.st.watch { background: #f6e9ed; color: var(--brand); }
.dash-note { text-align: center; color: var(--muted); font-size: .82rem; margin: 14px 0 0; }

/* ---------- Docket rail ---------- */
.rail-sec { padding-top: 70px; }
.rail-sec .rail-wrap { max-width: 1000px; margin: 0 auto; }
.rail-sec .dockets { justify-content: center; }
.docket { box-shadow: 0 14px 26px rgba(20,24,30,.18); }
.venue-rail .dockets { justify-content: flex-start; }
.venue-rail .docket { max-width: 150px; }

/* ---------- Cards: white, soft shadow ---------- */
.svc, .sib, .stat, .forcard, .step, .chg, .row, .help-card, .pain, .aside-card, .pp, .calc-inputs,
.breakdown, .line, .enq form, .calc form, .award {
  background: #fff; border: 1px solid #eef0f2; border-radius: var(--radius); box-shadow: var(--shadow);
}
.svc, .sib, .forcard, .help-card { transition: transform .2s, box-shadow .2s; }
.svc:hover, .sib:hover, .forcard:hover, .help-card:hover, .linkcard:hover { transform: translateY(-4px); border-color: #eef0f2; box-shadow: 0 16px 36px rgba(20,24,30,.12); text-decoration: none; }
.sib:hover h3, .svc:hover h3 { color: var(--brand-dark); }
.sib span, .svc .more, .forcard .more, .help-card .more { color: var(--brand); font-weight: 700; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; }
.svc .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--brand); }
.svc .ic svg { width: 28px; height: 28px; stroke: #fff; }
.stat b { color: var(--brand-dark); font-weight: 700; }
.reasons .stat b { font-size: 1.35rem; }
.chg { border-top: 4px solid var(--brand); }
.chg .when { color: var(--brand); font-weight: 700; }
.row .arrow { background: var(--brand); color: #fff; }
.row .q::before, .row .q::after { color: var(--brand); }

/* Steps: numbered circles */
.steps { counter-reset: s; }
.step::before {
  counter-increment: s; content: "0" counter(s); width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

/* Ticks */
.checklist li::before {
  left: 0; top: 5px; width: 20px; height: 20px; border: 0; border-radius: 50%; transform: none;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checklist li { padding-left: 32px; }

/* Photos */
.svc-photo { margin: 0 0 30px; }
.svc-photo img, .strip img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.svc-photo figcaption, .strip figcaption { font-size: .82rem; color: var(--muted); padding-top: 8px; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 40px; }
.strip figure { margin: 0; }
.img-pair .ph { border: 0; box-shadow: var(--shadow); border-radius: var(--radius); }
.photo { border: 0; box-shadow: var(--shadow); border-radius: var(--radius); }
.forcard { overflow: hidden; }

/* At-a-glance band on venue pages */
.glance-band { background: transparent; padding: 0; position: relative; z-index: 3; margin-top: -50px; border: 0; }
.glance { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.glance-item { padding: 28px 30px; border-left: 1px solid var(--line); }
.glance-item:first-child { padding-left: 30px; }
.glance-item b { color: var(--brand); font-weight: 700; font-size: 2.2rem; }
.src-line a, .src, .src a { color: var(--brand-dark); }

/* Tables */
.tablewrap { background: #fff; }
.tablewrap th { color: var(--brand-dark); font-family: inherit; font-weight: 700; }
.big-quote { font-weight: 700; color: var(--ink); }
.tag-in, .tag { background: var(--brand); color: #fff; }

/* ---------- FAQs ---------- */
.faq-list { max-width: 880px; margin-top: 26px; border: 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.08rem; line-height: 1.35; }
.faq summary::after { content: "+"; flex: none; color: var(--brand); font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 0 16px; max-width: 780px; }
.faq-a p { margin: 0 0 .6em; }
.faq-a .src { font-size: .86rem; color: var(--muted); }
.faq-a .src a { color: var(--brand-dark); }
.faq-note { margin-top: 18px; }

/* ---------- Reviews ---------- */
.reviews-sec { background: var(--bg-soft); }
.rv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.rv-head .note { margin: 0; }
.rv-nav { display: flex; gap: 10px; }
.rv-nav button { width: 46px; height: 46px; border-radius: 50%; cursor: pointer; color: var(--brand); font-size: 1.6rem; line-height: 1; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rv-nav button:hover { background: var(--brand); color: #fff; }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 4px 24px; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; scroll-snap-align: start; min-height: 260px; }
.rv .stars { color: #e0a526; letter-spacing: 3px; }
.rv blockquote { margin: 14px 0 22px; color: var(--ink); font-size: 1.02rem; line-height: 1.6; flex: 1; }
.rv figcaption { display: flex; align-items: center; gap: 12px; }
.rv .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--brand); flex: none; }
.rv b { display: block; color: var(--ink); font-size: .95rem; }
.rv small { color: var(--muted); font-size: .82rem; }

/* ---------- Technology partners ---------- */
.partners-sec { padding: 50px 0; }
.tp-label { display: block; text-align: center; margin: 0 0 22px; font-size: .8rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; align-items: center; gap: 64px; list-style: none; margin: 0; padding: 0; width: max-content; animation: marq 32s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee img { height: 40px; width: auto; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Call-to-action bands ---------- */
.cta-inline-sec { padding: 30px 0; }
.cta-inline { background: var(--bg-soft); border-radius: var(--radius); padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; border: 1px solid #f0e4e8; }
.cta-inline h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0 0 6px; }
.cta-inline p { margin: 0; max-width: 620px; }
.cta-inline .btn-row { margin-top: 0; }
.cta { background: var(--brand); color: #fff; padding: 64px 0; position: relative; }
.cta .bgimg { display: none; }
.cta .wrap { position: relative; }
.cta h2 { color: #fff; }
.cta .label { color: var(--brand-light); }
.cta .lede { color: #f3e3e8; }
.cta .btn { background: #fff; border-color: #fff; color: var(--ink); }
.cta .btn:hover { background: #f6e9ed; border-color: #f6e9ed; color: var(--ink); }
.cta .btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.cta .btn.ghost:hover { background: #fff; color: var(--ink); }

/* ---------- Forms (contact + calculators) ---------- */
.field label { color: var(--ink); font-weight: 700; font-size: .92rem; }
.field .in { background: #fff; border: 1px solid #d5d8dc; border-radius: 8px; }
.field .in span { color: var(--brand); }
.field .in:focus-within { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(122,31,61,.15); }
.field input, .field select, .field textarea { color: var(--ink); font-family: inherit; }
.checks label { background: #fff; border-color: #d5d8dc; color: var(--ink-2); }
.checks label:has(input:checked) { border-color: var(--brand); background: #f6e9ed; }
.checks input, .field.toggle input, .chk input { accent-color: var(--brand); }
.contact-list svg { stroke: var(--brand); }
.contact-list b { color: var(--ink); }
.form-msg { color: var(--brand-dark); font-weight: 700; }
.form-msg.err { color: #8a2a2a; }
.home-enquiry .enq { margin-top: 30px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.calc-menu { background: #fff; top: 76px; }
.calc-menu a { color: var(--ink-2); font-weight: 700; }
.calc-menu a:hover, .calc-menu a.on { background: var(--brand); border-color: var(--brand); color: #fff; text-decoration: none; }
.callout { background: #f6e9ed; border-color: #ead0d8; }
.line input, .line select, .line .in { background: #fff; border-color: #d5d8dc; }
.result .big { color: var(--brand); }

/* ---------- Photos from the original site ---------- */
.svc.linkcard { overflow: hidden; }
.svc-img { margin: -28px -28px 20px; width: calc(100% + 56px); max-width: none; aspect-ratio: 16/10; object-fit: cover; }
.photo-strip { padding: 40px 0 0; }
.photo-strip .strip { margin: 0; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.post-card:hover { transform: translateY(-4px); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--brand-dark); text-decoration: none; }
.post-body p { flex: 1; }
.post-body .more { font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; color: var(--brand); }

/* ---------- Articles + legal pages ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.article { font-size: 1.08rem; }
.article li { margin-bottom: 6px; }
.article-note { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.post-date { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }

/* ---------- Footer ---------- */
.footer { background: #1f2125; color: #a9adb3; padding: 70px 0 0; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer a { color: #d6d9dd; }
.footer a:hover { color: var(--brand-light); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1fr 1fr 1.3fr; gap: 30px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo small { color: #a9adb3; }
.footer .regs { font-size: .88rem; line-height: 1.7; margin-top: 12px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--brand); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0 26px; font-size: .82rem; }
.footer-bottom .wrap { display: grid; gap: 6px; }
.footer-bottom .disclaimer-line { color: #c9ccd1; }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { text-decoration: none; background: var(--brand-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1160px) {
  .nav > ul > li > a, .nav > ul > li > button { padding: 10px 8px; font-size: .9rem; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 76px); overflow: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; }
  .nav > ul > li > a, .nav > ul > li > button { padding: 13px 0; border-bottom: 1px solid var(--line); width: 100%; font-size: 1rem; }
  .nav > ul > li > button::after { display: none; }
  .nav .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; margin: 0; min-width: 0; }
  .nav .dd-rich small { display: none; }
  .nav .nav-cta .btn { margin: 14px 0 0; width: 100%; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .venue-grid, .dash-grid { grid-template-columns: 1fr; }
  .rv-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .strip { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .topbar .wrap { justify-content: space-between; gap: 10px; flex-wrap: nowrap; }
  .topbar .tb-left .tb-email, .topbar .tb-social { display: none; }
  .lg-hero { min-height: 520px; }
  .lg-hero .hero-inner { padding-top: 56px; padding-bottom: 120px; }
  .page-hero { padding: 64px 0 52px; }
  .dash { padding: 14px; }
  .dash-tabs { display: none; }
  .dash-table th:nth-child(4), .dash-table td:nth-child(4) { display: none; }
  .glance-band { margin-top: -30px; }
  .glance-item, .glance-item:first-child { padding: 22px; border-left: 0; border-top: 1px solid var(--line); }
  .glance-item:first-child { border-top: 0; }
  .rv-track { grid-auto-columns: 86%; }
  .marquee img { height: 32px; }
  .marquee ul { gap: 44px; }
  .strip, .post-grid { grid-template-columns: 1fr; }
  .cta-inline { padding: 24px 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee ul { flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee li[aria-hidden] { display: none; }
}
