/* Red World Toys – static landing page */
:root {
  --red: #c20707;
  --red-dark: #a90000;
  --gold: #f6a043;
  --ink: #2b2b2b;
  --muted: #555;
  --paper: #fbf8f4;
  --card: #fff;
  --line: #e6dfd6;
  --night: #050507;
  --radius: 10px;
  --wrap: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

a { color: var(--red-dark); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.site-header :focus-visible { outline-color: var(--gold); }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  padding: .6rem 1rem; background: #fff; color: var(--ink); border-radius: 4px;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Header: starfield and red bar from the original site */
.site-header { background: var(--night) url("/images/stars.png") repeat; }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem; padding-block: 1rem;
}
.logo-link { display: block; flex: 0 1 300px; }
.header-nav { display: flex; gap: 1.25rem; }
.header-nav a {
  color: var(--gold); font-weight: 600; text-decoration: none;
  padding: .25rem 0; border-bottom: 2px solid transparent;
}
.header-nav a:hover { color: #fff; border-color: var(--gold); }
.header-bar { height: .5rem; background: var(--red); }

/* Buttons */
.button {
  display: inline-block; padding: .75rem 1.4rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; text-align: center;
}
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-dark); color: #fff; }

/* Hero */
.hero { background: #fff; padding-block: clamp(2rem, 6vw, 4rem); }
.hero-inner { display: grid; gap: 2rem; align-items: center; }
.hero h1 { text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.lead { font-size: 1.15rem; }
.hero-note { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; }
.hero-images { max-width: 34rem; display: grid; grid-template-columns: 1fr 1.15fr; gap: 1rem; align-items: end; }
.hero-images img { width: 100%; }
@media (min-width: 52rem) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; }
}

/* Shops: each whole card is one link (via the heading link's ::after) */
.shops { background: var(--red); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.shops h2 { color: #fff; text-transform: uppercase; letter-spacing: .03em; }
.section-intro { font-size: 1.15rem; margin-bottom: 1.75rem; }
.shop-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem;
}
.shop-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 1rem;
  background: var(--card); color: var(--ink); border-radius: var(--radius);
  padding: 1.5rem 1.25rem; border-top: 6px solid var(--gold); text-align: center;
  box-shadow: 0 6px 18px rgb(0 0 0 / .2);
}
.shop-card h3 { margin: 0; font-size: 1.3rem; }
.shop-card h3 a { color: var(--ink); text-decoration: none; }
.shop-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.shop-card h3 a:focus-visible { outline: none; }
.shop-card:focus-within { outline: 4px solid #fff; outline-offset: 4px; }
.shop-card:hover { border-top-color: var(--red-dark); }
.shop-card:hover h3 a { text-decoration: underline; }
.shop-card:hover .button-primary { background: var(--red-dark); }
.shop-logo { height: 4rem; width: auto; margin-block: auto; }
.shop-card .button { min-width: 11rem; }

/* What you will find */
.ranges { padding-block: clamp(2.5rem, 6vw, 4rem); }
.ranges h2 { text-align: center; margin-bottom: 1.5rem; }
.range-grid {
  display: grid; gap: 2rem 1.5rem;
}
@media (min-width: 46rem) {
  .shop-list, .range-grid { grid-template-columns: repeat(3, 1fr); }
}
.range { margin: 0; text-align: center; }
.range img { width: min(100%, 18rem); aspect-ratio: 1; margin: 0 auto 1rem; border-radius: 50%; }
.range h3 { font-size: 1.3rem; }
.range p { color: var(--muted); max-width: 22rem; margin-inline: auto; }

/* Contact & footer */
.contact { padding-block: 0 clamp(2.5rem, 6vw, 4rem); text-align: center; }
.contact-email { font-size: 1.3rem; font-weight: 700; }
.small { font-size: .95rem; color: var(--muted); }
.site-footer {
  background: var(--night) url("/images/stars.png") repeat; color: #ddd;
  border-top: .5rem solid var(--red); padding-block: 1.25rem; text-align: center; font-size: .95rem;
}
.site-footer p { margin: 0; }
