/* DatingBurgh. Colours from the logo and Jenny's Canva media kit. */
:root {
  --lime: #dafb92;
  --lime-deep: #c6ec6e;
  --ink: #290202;
  --ink-soft: #5b3a3a;
  --paper: #fffdf8;
  --cream: #f4f1ea;
  --line: rgba(41, 2, 2, 0.14);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0 0 0.4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 8vw, 104px); }
h2 { font-size: clamp(36px, 5vw, 60px); }
h3 { font-size: clamp(26px, 3vw, 34px); }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.kicker, .hero-top, .tag, .nav a, .btn, .link-arrow, .contact-grid span {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.kicker { color: var(--ink-soft); margin-bottom: 10px; }
.kicker a { text-decoration: none; }
.lede { font-size: clamp(19px, 2.2vw, 23px); max-width: 40em; }
.sub { color: var(--ink-soft); margin: 0; }
.note { font-size: 14px; color: var(--ink-soft); }
.center { text-align: center; margin-top: 32px; }

/* header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 5;
}
.brand { display: block; width: 168px; color: var(--ink); }
.brand svg { width: 100%; height: auto; }
.nav { display: flex; gap: clamp(14px, 3vw, 30px); flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  text-decoration: none; border: 2px solid var(--ink); cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--lime); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--lime); }
.link-arrow { text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; }

/* hero */
.hero, .mk-hero {
  background: var(--lime);
  padding: 28px var(--gutter) 48px;
}
.hero-top { display: flex; justify-content: space-between; gap: 12px; max-width: var(--max); margin: 0 auto 24px; }
.hero-photos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2.5vw, 32px);
  max-width: var(--max); margin: 0 auto;
}
.hero-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.hero-logo { max-width: var(--max); margin: clamp(20px, 4vw, 40px) auto 0; color: var(--ink); }
.hero-logo svg { width: 100%; height: auto; }
.hero-line { max-width: var(--max); margin: 24px auto 0; font-size: clamp(19px, 2.4vw, 26px); }
.hero-line em { font-family: var(--serif); font-size: 1.25em; }
.hero-ctas { max-width: var(--max); margin: 24px auto 0; display: flex; gap: 12px; flex-wrap: wrap; }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 0; }
.page-head-lime { max-width: none; background: var(--lime); padding-bottom: clamp(40px, 6vw, 64px); }
.page-head-lime > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.meta { font-weight: 500; }
.prose { max-width: 760px; font-size: 19px; }

/* stats band */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  max-width: var(--max); margin: clamp(48px, 7vw, 88px) auto 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.stats > div { padding: 28px var(--gutter); }
.stats strong, .mk-stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7vw, 88px); line-height: 1; }
.stats span, .mk-stats span { display: block; margin-top: 6px; color: var(--ink-soft); }

/* events */
.event-list { display: grid; gap: 24px; }
.event-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper);
}
.event-cover { position: relative; background: var(--lime); min-height: 260px; }
.event-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-cover-type { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: var(--ink); color: var(--lime); text-align: center; }
.event-cover-type span { font-family: var(--serif); font-size: clamp(44px, 6vw, 72px); line-height: 0.95; }
.tag { position: absolute; left: 14px; top: 14px; background: var(--lime); color: var(--ink); padding: 6px 12px; border-radius: 999px; }
.event-body { padding: clamp(20px, 3vw, 36px); }
.event-body h3 { font-size: clamp(34px, 4vw, 48px); }
.where { font-weight: 700; }
.ticks { padding: 0; margin: 0 0 24px; list-style: none; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; background: var(--lime-deep); border: 2px solid var(--ink); }
.coming-soon { border: 2px dashed var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); background: var(--cream); }
.after-list { margin-top: 24px; }

.past-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.past-card { display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--cream); transition: transform 0.15s ease; }
a.past-card:hover { transform: translateY(-4px); }
.past-cover { aspect-ratio: 4 / 5; background: var(--ink); }
.past-cover img { width: 100%; height: 100%; object-fit: cover; }
.past-body { padding: 18px 20px 22px; }
.past-body h3 { margin-bottom: 4px; }
.past-body p { margin-bottom: 8px; }

/* album */
.album { columns: 3 240px; column-gap: 12px; }
.album a { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: 6px; overflow: hidden; }
.album img { width: 100%; height: auto; transition: transform 0.3s ease; }
.album a:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 0, 0, 0.92); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; padding: 56px 12px; }
.lightbox button { position: absolute; background: var(--lime); color: var(--ink); border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* reels */
/* reels scroll sideways, like Instagram */
.reel-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 14px; scroll-padding: 0 var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
}
.reel { margin: 0; scroll-snap-align: start; }
.reel-ig { display: block; text-decoration: none; }
.reel-ig-box {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; text-align: center;
  aspect-ratio: 9 / 16; border-radius: var(--radius); background: var(--ink); color: var(--lime); padding: 20px;
  font-weight: 700; transition: transform 0.15s ease;
}
.reel-ig:hover .reel-ig-box { transform: translateY(-3px); }
.reel-ig-box { position: relative; overflow: hidden; }
.reel-ig-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-ig-box img ~ .play { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; font-size: 16px; }
.reel-ig-box .ig-label { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--lime); color: var(--ink); border-radius: 999px; padding: 8px 12px; font-size: 13px; }
.reel-ig-box .play { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 22px; padding-left: 4px; }
.reel-ig-box strong { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; }
.reel-title { display: block; margin-top: 10px; font-weight: 700; }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: var(--ink); }
.reel figcaption { margin-top: 10px; font-weight: 700; }
/* most watched as lime cards */
.top-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: top; }
.top-cards li { counter-increment: top; }
.top-cards a { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 200px; padding: 22px; border-radius: var(--radius); background: var(--lime); text-decoration: none; transition: transform 0.15s ease; }
.top-cards a:hover { transform: translateY(-4px); }
.top-cards a::before { content: "#" counter(top); position: absolute; top: 18px; right: 20px; font-weight: 800; font-size: 13px; letter-spacing: 0.06em; }
.top-cards strong { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; }
.top-cards .plays { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.top-cards .t { margin-top: auto; padding-top: 18px; font-family: var(--serif); font-size: 26px; line-height: 1.1; }

/* about */
.about-hero { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 0; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 70% 30%; border-radius: var(--radius); }
.about-photo figcaption { margin-top: 10px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.about-story h2 { font-size: clamp(32px, 4vw, 46px); }
.about-story p { font-size: 18px; }

/* event posters show in full */
.event-cover.is-poster { background: var(--ink); min-height: 0; }
.event-cover.is-poster img { position: static; width: 100%; height: auto; }

.top-list { list-style: none; padding: 0; margin: 0; counter-reset: top; border-top: 1px solid var(--ink); }
.top-list li { counter-increment: top; border-bottom: 1px solid var(--ink); }
.top-list a { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; padding: 18px 0; text-decoration: none; flex-wrap: wrap; }
.top-list a span { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); }
.top-list a span::before { content: counter(top) ". "; }
.top-list a:hover span { text-decoration: underline; }

/* panels and cards */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border: 1px solid var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.panel-lime { background: var(--lime); border-color: var(--lime); }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 20px; }
.card { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.card p { margin: 0; }
.partners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.partners li { border: 1px solid var(--ink); border-radius: 12px; padding: 16px 18px; }
.partners strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.partners span { color: var(--ink-soft); font-size: 15px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.contact-grid a { display: block; padding: 22px; border-radius: var(--radius); background: var(--cream); text-decoration: none; font-family: var(--serif); font-size: 26px; line-height: 1.15; word-break: break-word; }
.contact-grid a:hover { background: var(--lime); }
.contact-grid span { display: block; margin-bottom: 6px; font-size: 12px; }

/* brand form */
.form-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; }
.brand-form { display: grid; gap: 14px; background: var(--cream); padding: clamp(20px, 4vw, 36px); border-radius: var(--radius); }
.brand-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.brand-form input, .brand-form select, .brand-form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%;
}
.brand-form .btn { justify-self: start; margin-top: 8px; }
.hp { position: absolute; left: -9999px; }

/* media kit */
.thanks { max-width: var(--max); margin: 24px auto 0; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 19px; }
.mk-intro p { font-size: 20px; max-width: 46em; }
.mk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 16px; }
.mk-stats > div { border-top: 2px solid var(--ink); padding-top: 14px; }
.mk-contact { border-radius: var(--radius); margin-top: clamp(48px, 7vw, 88px); padding-bottom: 40px; }
.gate { position: fixed; inset: 0; z-index: 20; background: rgba(41, 2, 2, 0.6); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 16px; }
.gate[hidden] { display: none; }
.gate-box { background: var(--lime); border-radius: var(--radius); padding: 32px; max-width: 420px; text-align: center; }

/* footer */
.site-footer { margin-top: clamp(64px, 9vw, 120px); background: var(--ink); color: var(--paper); padding: 48px var(--gutter) 28px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-logo { width: 220px; color: var(--lime); }
.footer-logo svg { width: 100%; height: auto; }
.footer-links { display: grid; gap: 10px; justify-items: start; }
.footer-links a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.footer-links a:hover { color: var(--lime); border-color: var(--lime); }
.footer-small { max-width: var(--max); margin: 32px auto 0; font-size: 14px; opacity: 0.75; }

@media (max-width: 1000px) and (min-width: 761px) {
  .top-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { padding-top: 12px; padding-bottom: 10px; }
  .brand { width: 140px; }
  .nav { width: 100%; justify-content: space-between; gap: 8px; }
  .nav a { font-size: 12px; }
  .hero-top { font-size: 11px; }
  .event-card { grid-template-columns: 1fr; }
  .event-cover { min-height: 220px; }
  .stats { grid-template-columns: 1fr; margin-left: var(--gutter); margin-right: var(--gutter); }
  .album { columns: 2; column-gap: 8px; }
  .album a { margin-bottom: 8px; }
  .stats > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .stats > div:last-child { border-bottom: 0; }
  .split, .form-wrap, .footer-inner { grid-template-columns: 1fr; }
  .reel-row { grid-auto-columns: 62%; gap: 12px; }
  .reel figcaption, .reel-title { font-size: 14px; }
  .about-hero, .about-story { grid-template-columns: 1fr; }
  .top-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 14px; }
  .top-cards li { scroll-snap-align: start; }
  .top-cards a { min-height: 170px; padding: 16px; }
  .top-cards strong { font-size: 44px; }
  .top-cards .t { font-size: 20px; }
  .section-head { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff; font-size: 12pt; }
  .site-header, .site-footer, .no-print, .gate, .skip { display: none !important; }
  .mk-hero, .panel-lime { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .section { padding-top: 28px; break-inside: avoid; }
  .card, .mk-stats > div, .top-list li, .partners li { break-inside: avoid; }
  .mk-contact { margin-top: 28px; }
  a { text-decoration: none; }
}
