:root {
  --bg: #f5efe6;
  --surface: #fbf7f0;
  --ink: #1f1c19;
  --muted: #5b5550;
  --rule: #d8cfc4;
  --accent: #7a1f1f;
  --accent-hover: #5c1515;
  --shadow: 0 1px 2px rgba(31, 28, 25, 0.06), 0 4px 12px rgba(31, 28, 25, 0.06);
  --max: 72rem;
  --read: 44rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Raleway", "Source Sans Pro", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent-hover); }

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

ul { padding-left: 1.25em; }
li { margin-bottom: 0.3em; }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

/* ── Header / Nav ───────────────────────────────────────────── */

.site-header {
  background: #1a1715;
  border-bottom: 3px solid var(--accent);
  position: relative;
  z-index: 10;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__logo img {
  height: 52px;
  width: auto;
}

.site-nav__toggle {
  background: transparent;
  border: 1px solid #4a423d;
  color: #f5efe6;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav__list a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: #f5efe6;
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 3px;
  transition: background 0.15s ease;
}

.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.site-nav__list a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

@media (max-width: 760px) {
  .site-nav__toggle { display: inline-block; }

  .site-nav__list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #1a1715;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid #2a2522;
    display: none;
  }

  .site-nav[data-open="true"] .site-nav__list { display: flex; }

  .site-nav__list a {
    padding: 0.9rem 1.5rem;
    border-radius: 0;
  }
}

/* ── Hero (home) ────────────────────────────────────────────── */

.hero {
  position: relative;
  background-image:
    linear-gradient(rgba(20, 17, 14, 0.2), rgba(20, 17, 14, 0.45)),
    url("/assets/img/hero-sunbeam.jpg");
  background-size: cover;
  background-position: center;
  color: #f5efe6;
  text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 1.25rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 6vw, 4rem);
  margin: 0 0 0.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero p {
  color: #f1e7d7;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 36rem;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* ── Page banner (inner pages) ──────────────────────────────── */

.page-banner {
  background: #1a1715;
  color: #f5efe6;
  border-bottom: 3px solid var(--accent);
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
}

.page-banner h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.page-banner p {
  color: #c7bdac;
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

/* ── Main layout ────────────────────────────────────────────── */

main {
  max-width: var(--read);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

main.wide {
  max-width: var(--max);
}

.section {
  margin-bottom: 3rem;
}

.intro {
  font-size: 1.15rem;
  color: var(--muted);
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ── Cards and figures ──────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.figure-right {
  float: right;
  max-width: 220px;
  margin: 0 0 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 0.5rem;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .figure-right {
    float: none;
    margin: 0 auto 1.5rem;
  }
}

.callout {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

.callout p:last-child { margin-bottom: 0; }

.download-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.download-list li {
  margin-bottom: 0.5rem;
}

.download-list a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
}

.download-list a::before {
  content: "↓ ";
  color: var(--accent);
  font-weight: 600;
}

.download-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
  margin: 1.5rem 0;
}

.product-list li {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
}

.product-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Raleway", system-ui, sans-serif;
  font-size: 1.1rem;
}

.product-list .price {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── Contact form ───────────────────────────────────────────── */

.contact {
  margin-top: 3rem;
}

.contact h2 {
  margin-bottom: 0.25rem;
}

.contact__hint {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.contact__hint a { color: var(--muted); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.contact-form button:hover { background: var(--accent-hover); }

/* ── Footer ─────────────────────────────────────────────────── */

.site-footer {
  background: #1a1715;
  color: #c7bdac;
  margin-top: 4rem;
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a { color: #e8dfd1; }
.site-footer p { margin: 0.3rem 0; }
