﻿/* Lantern and Lace UK — shared tokens & resets */
:root {
  --lavender: #ebe6ef;
  --lavender-deep: #d9d0e0;
  --plum: #6b4c7a;
  --plum-deep: #4f3560;
  --brass: #c4a35a;
  --brass-soft: #d4bc7a;
  --ink: #2a2430;
  --ink-muted: #5c5366;
  --surface: #f7f5f9;
  --white: #ffffff;
  --tint-band: #e8e0ef;
  --match: #6b4c7a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(79, 53, 96, 0.08);
  --space-xs: 0.4rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --max: 1120px;
  --font-display: "Zilla Slab", "Rockwell", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  padding-top: 2.4rem;
  padding-bottom: 4.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--plum);
  text-decoration: none;
  font-weight: 600;
}

a::before {
  content: "· ";
  color: var(--brass);
  font-weight: 700;
}

a.no-prefix::before,
.site-logo a::before,
.cta-link::before,
.nav a::before,
.age-bar a::before,
.cookie-banner a::before,
.safety-card a::before,
.footer-mark a::before {
  content: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--plum-deep);
  margin: 0 0 var(--space-sm);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 var(--space-md);
}

.mark {
  background: linear-gradient(transparent 62%, rgba(196, 163, 90, 0.45) 62%);
  padding: 0 0.1em;
}

.accent-rule {
  display: inline-block;
  border-bottom: 3px solid var(--brass);
  padding-bottom: 0.1em;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: var(--space-xl) 0;
}

.section--tint {
  background: var(--tint-band);
}

.section-break {
  text-align: center;
  color: var(--brass);
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  margin: 0;
  padding: var(--space-md) 0;
}

.section-break::before {
  content: "◆";
}

.pill {
  display: inline-block;
  padding: 0.28em 0.75em;
  border-radius: 999px;
  background: var(--plum);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.pill--brass {
  background: var(--brass);
  color: var(--ink);
}

.pill--soft {
  background: var(--lavender-deep);
  color: var(--plum-deep);
}

.cta-link {
  display: inline;
  font-weight: 700;
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.cta-link:hover {
  color: var(--plum-deep);
}

.cta-link--secondary {
  font-weight: 600;
  text-decoration-thickness: 1px;
  color: var(--ink-muted);
}

.age-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--plum-deep);
  color: var(--lavender);
  font-size: 0.82rem;
  line-height: 1.4;
  padding: 0.45rem 1rem;
  text-align: center;
}

.age-bar a {
  color: var(--brass-soft);
  font-weight: 600;
}

.masthead {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  margin: 0.75rem auto var(--space-lg);
  width: min(100% - 1.25rem, var(--max));
  padding: var(--space-md) var(--space-lg);
}

.masthead-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--plum-deep);
}

.site-logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.site-logo span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
}

.site-logo em {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  align-items: center;
}

.nav a {
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--plum);
}

.independence {
  font-size: 0.92rem;
  color: var(--ink-muted);
  background: var(--lavender);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.rg-notice {
  font-size: 0.9rem;
  color: var(--plum-deep);
  margin-bottom: var(--space-lg);
}

.footer {
  background: var(--white);
  margin-top: var(--space-xl);
  padding: var(--space-xl) 0 var(--space-lg);
  box-shadow: none;
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1.4fr 1fr 1fr;
}

.footer h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 0.4rem;
}

.footer p,
.footer small {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.footer-mark {
  position: relative;
}

.footer-mark::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1rem;
  width: 64px;
  height: 64px;
  background: url("/images/brand-mark.svg") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 -8px 28px rgba(79, 53, 96, 0.12);
  padding: var(--space-md) var(--space-lg);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--ink-muted);
  padding: var(--space-lg) 0;
}

.updated {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.logo-fallback {
  width: 88px;
  height: 48px;
  border-radius: 8px;
  background: var(--lavender-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--plum);
  text-align: center;
  padding: 0.25rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .masthead {
    padding: var(--space-md);
  }

  body {
    padding-top: 3.2rem;
  }
}
