/* Wonderbasketpicksledg — Dark glassmorphism theme, Data grid cards */
:root {
  --bg: #070a17;
  --panel: rgba(14, 19, 40, 0.82);
  --panel-solid: #0b1024;
  --text: #eef1ff;
  --muted: #b8c1e3;
  --cyan: #00e5ff;
  --cyan-soft: #8ff3ff;
  --magenta: #ff4fd1;
  --violet: #8b7bff;
  --focus: #ffd84d;
  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
  --s6: 64px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(0, 229, 255, 0.16), transparent 40%),
    radial-gradient(circle at 88% 18%, rgba(255, 79, 209, 0.14), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(139, 123, 255, 0.14), transparent 50%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--cyan-soft); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 var(--s3); overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 var(--s3); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--s4); }

.skip-link {
  position: absolute;
  left: var(--s3);
  top: -80px;
  z-index: 200;
  padding: var(--s2) var(--s3);
  background: var(--focus);
  color: #070a17;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: var(--s2); color: #070a17; }

/* Glass panel with neon gradient edge */
.glass {
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(0, 229, 255, 0.75), rgba(139, 123, 255, 0.35), rgba(255, 79, 209, 0.75)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 12px var(--s4);
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #00e5ff, #7cf5ff 45%, #ff8fdf);
  color: #070a17;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(135deg, #66f0ff, #b6faff 45%, #ffb0e9);
  color: #070a17;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.45);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(0, 229, 255, 0.14);
  color: #ffffff;
  border-color: var(--cyan);
}
.btn-small { padding: var(--s2) var(--s3); font-size: 14px; }

/* Header */
.site-header {
  position: relative;
  z-index: 40;
  height: 60px;
  background: rgba(7, 10, 23, 0.9);
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--s4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
.header-inner > * { min-width: 0; }
.brand {
  display: flex;
  align-items: center;
  gap: var(--s2);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  min-width: 0;
  overflow-wrap: anywhere;
}
.brand:hover { color: #ffffff; }
.brand-mark { flex: 0 0 auto; }
.brand-name { min-width: 0; overflow-wrap: anywhere; line-height: 1.15; }

.primary-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; overflow-wrap: anywhere; }
.nav-list { display: flex; align-items: center; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.nav-list li { min-width: 0; }
.nav-list a:not(.btn) {
  display: inline-block;
  padding: var(--s2) 10px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-list a:not(.btn):hover, .nav-list a:not(.btn):focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.nav-list a[aria-current="page"] { background: rgba(0, 229, 255, 0.14); color: #ffffff; }
.nav-cta-item { display: none; }

.header-actions { display: flex; align-items: center; gap: var(--s2); flex: 0 0 auto; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sections */
.section { padding: var(--s6) 0; }
.section-head { max-width: 720px; margin-bottom: var(--s5); }
.section-lead { color: var(--muted); font-size: 1.05rem; }
.section-title-small { font-size: 1.5rem; margin-bottom: var(--s4); }
.eyebrow {
  display: inline-block;
  margin-bottom: var(--s3);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }

/* Hero */
.hero { padding: var(--s6) 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s5); align-items: center; }
.hero-grid > * { min-width: 0; }
.gradient-text {
  background: linear-gradient(90deg, #00e5ff, #ff8fdf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.hero-facts {
  list-style: none;
  margin: var(--s5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
}
.hero-fact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: var(--s3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-visual { padding: var(--s4); }
.hero-bracket-illustration { width: 100%; height: auto; display: block; }
.hero-visual-caption { margin: var(--s3) 0 0; color: var(--muted); font-size: 14px; }

/* Stats (shared) */
.stat-value { font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--cyan); overflow-wrap: anywhere; }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1.3; overflow-wrap: anywhere; }

/* Data grid cards */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--s4);
}
.guide-grid > * { min-width: 0; }
.guide-grid-two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.guide-card {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s4);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(0, 229, 255, 0.75), rgba(139, 123, 255, 0.35), rgba(255, 79, 209, 0.75)) border-box;
  color: var(--text);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 229, 255, 0.18); }
.card-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: var(--s2);
}
.card-stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: var(--s3);
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(0, 229, 255, 0.25);
}
.card-media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.card-body { min-width: 0; }
.card-title { font-size: 1.25rem; margin-bottom: var(--s2); }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover, .card-title a:focus-visible { color: var(--cyan-soft); }
.card-text { color: var(--muted); margin: 0; }
.card-tags { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.card-tags li {
  padding: var(--s1) 12px;
  border-radius: 999px;
  background: rgba(255, 79, 209, 0.12);
  color: #ffd3f3;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 79, 209, 0.35);
}
.card-cta { align-self: flex-start; margin-top: auto; }

/* Principles */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--s4);
}
.principle-grid > * { min-width: 0; }
.principle { padding: var(--s4); }
.principle p { color: var(--muted); margin: 0; }

/* Page hero */
.page-hero { padding: var(--s6) 0 var(--s5); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--s5); align-items: center; }
.page-hero-grid > * { min-width: 0; }
.page-hero-media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid rgba(0, 229, 255, 0.35); }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: var(--s3); overflow-wrap: anywhere; }

/* Article */
.article-wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s5); align-items: start; }
.article-wrap > * { min-width: 0; }
.toc { padding: var(--s4); }
.toc-title { font-weight: 700; margin-bottom: var(--s2); color: var(--text); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: var(--s2); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a:focus-visible { color: var(--cyan-soft); text-decoration: underline; }
.prose { max-width: 820px; }
.prose h2 { margin-top: var(--s5); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s4); }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 var(--s3); }
.prose li { margin-bottom: var(--s2); }
.prose p, .prose li { color: #dfe4fb; }

.table-wrap {
  overflow-x: auto;
  margin: var(--s4) 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 14, 32, 0.7);
  color: var(--text);
}
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: var(--s3); color: var(--muted); font-size: 14px; }
th, td { padding: var(--s3); text-align: left; vertical-align: top; border-top: 1px solid rgba(255, 255, 255, 0.1); overflow-wrap: anywhere; }
th { background: rgba(0, 229, 255, 0.1); color: #e3fdff; font-weight: 700; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin: var(--s4) 0; }
.pros-cons > * { min-width: 0; }
.pc-box { padding: var(--s4); }
.pc-box h3 { margin-top: 0; }
.pc-box ul { margin-bottom: 0; }
.callout { padding: var(--s4); margin: var(--s4) 0; }
.callout h3 { margin-top: 0; }
.callout ul { margin-bottom: 0; }
.legal-content { margin: 0 auto; }
.page-hero-legal { padding-bottom: var(--s4); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--s5); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-form-panel { padding: var(--s5); }
.form-field { margin-bottom: var(--s4); }
.form-field label { display: block; margin-bottom: var(--s2); font-weight: 600; color: var(--text); }
.form-field input[type="text"], .form-field input[type="email"], .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px var(--s3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 10, 23, 0.75);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease;
}
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: rgba(0, 229, 255, 0.6); }
.form-field select option { background: var(--panel-solid); color: var(--text); }
.form-field textarea { resize: vertical; }
.form-field-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.form-field-check input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--cyan); }
.form-field-check label { font-weight: 400; color: var(--muted); margin: 0; }
.form-field-check .field-error { grid-column: 1 / -1; }
.is-invalid, .form-field .is-invalid {
  border-color: #ff6b8b;
  background: rgba(255, 107, 139, 0.08);
  color: var(--text);
}
.form-field-check input.is-invalid { outline: 2px solid #ff6b8b; outline-offset: 2px; }
.field-error { margin: var(--s2) 0 0; color: #ffb8c8; font-size: 14px; }
.form-success {
  margin: var(--s4) 0 0;
  padding: var(--s3) var(--s4);
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 160, 0.5);
  background: rgba(0, 229, 160, 0.12);
  color: #c8ffec;
}
.contact-details { display: flex; flex-direction: column; gap: var(--s4); }
.contact-card { padding: var(--s4); }
.contact-address { font-style: normal; margin-bottom: var(--s3); color: var(--text); }
.map-figure { margin: 0; }
.map-block {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--text);
}
.map-leeds-office {
  background-color: #0c1330;
  background-image:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.14) 47%, rgba(255, 255, 255, 0.14) 53%, transparent 53%),
    linear-gradient(0deg, transparent 58%, rgba(255, 255, 255, 0.12) 58%, rgba(255, 255, 255, 0.12) 63%, transparent 63%),
    repeating-linear-gradient(0deg, rgba(0, 229, 255, 0.08) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(0, 229, 255, 0.08) 0 1px, transparent 1px 28px);
}
.map-river {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  height: 14px;
  background: linear-gradient(90deg, rgba(139, 123, 255, 0.5), rgba(0, 229, 255, 0.45));
  transform: rotate(-6deg);
}
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -90%); filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.6)); }
.map-caption { margin-top: var(--s3); color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer {
  margin-top: var(--s6);
  padding: var(--s6) 0 var(--s4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 16, 0.92);
  color: var(--text);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s5); }
.footer-grid > * { min-width: 0; }
.footer-brand { margin-bottom: var(--s3); }
.footer-about p { color: var(--muted); }
.footer-heading { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: var(--s3); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: var(--s2); }
.footer-links a, .footer-email { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover, .footer-email:hover, .footer-links a:focus-visible, .footer-email:focus-visible { color: var(--cyan-soft); text-decoration: underline; }
.footer-address { font-style: normal; color: var(--muted); margin-bottom: var(--s3); overflow-wrap: anywhere; }
.footer-bottom { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom p { margin: 0; color: var(--muted); font-size: 14px; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: var(--s3);
  right: var(--s3);
  bottom: var(--s3);
  z-index: 100;
  max-width: 980px;
  margin: 0 auto;
  padding: var(--s4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.cookie-banner {
  background:
    linear-gradient(rgba(11, 16, 36, 0.96), rgba(11, 16, 36, 0.96)) padding-box,
    linear-gradient(135deg, rgba(0, 229, 255, 0.8), rgba(255, 79, 209, 0.8)) border-box;
  color: var(--text);
}
.cookie-content { flex: 1 1 320px; min-width: 0; }
.cookie-title { font-weight: 700; margin-bottom: var(--s1); }
.cookie-text { margin: 0; color: var(--muted); font-size: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.cookie-panel {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cookie-option { display: inline-flex; align-items: center; gap: var(--s2); color: var(--text); font-size: 14px; }
.cookie-option input { width: 18px; height: 18px; accent-color: var(--cyan); }

/* Responsive */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: var(--s3) var(--s4) var(--s4);
    background: var(--panel-solid);
    color: var(--text);
    border-bottom: 1px solid rgba(0, 229, 255, 0.35);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: var(--s1); }
  .nav-list a:not(.btn) { display: block; padding: 12px var(--s3); font-size: 16px; }
}

@media (max-width: 900px) {
  .hero-grid, .page-hero-grid, .article-wrap, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-panel { padding: var(--s4); }
}

@media (max-width: 768px) {
  .site-header { height: 50px; }
  .header-inner { padding: 0 var(--s3); }
  .brand { font-size: 15px; }
  .brand-mark { width: 26px; height: 26px; }
  .header-cta { display: none; }
  .nav-cta-item { display: block; margin-top: var(--s2); }
  .nav-cta-item .btn { display: flex; width: 100%; }
  .nav-toggle { width: 38px; height: 38px; }
  .pros-cons { grid-template-columns: 1fr; }
  .hero, .section { padding: var(--s5) 0; }
  .section + .section { padding-top: var(--s6); }
  .page-hero { padding: var(--s5) 0 var(--s4); }
  .cookie-banner { left: var(--s2); right: var(--s2); bottom: var(--s2); }
}

@media (max-width: 400px) {
  .container { padding: 0 var(--s3); }
  .header-inner { padding: 0 12px; gap: var(--s2); }
  .brand { font-size: 13px; }
  .primary-nav { padding: var(--s3); }
  h1 { font-size: 1.75rem; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .guide-card, .principle, .pc-box, .callout, .toc, .contact-card, .contact-form-panel, .hero-visual { padding: var(--s3); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .cookie-banner { padding: var(--s3); }
  .cookie-actions { flex-direction: column; width: 100%; }
  .cookie-actions .btn { width: 100%; }
  th, td { font-size: 14px; }
}

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