/* Pain Killer — Four Winns Vista landing page
   Mobile-first, white / navy, self-contained */

:root {
  --navy: #0b1f3a;
  --navy-mid: #143258;
  --navy-soft: #1e4a7a;
  --accent: #c9a227;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --muted: #5a6a7e;
  --border: #d8e0ea;
  --shadow: 0 12px 40px rgba(11, 31, 58, 0.18);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
}

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

a { color: var(--navy-soft); }
a:hover { color: var(--accent); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy);
  font-size: 1.05rem;
}

.brand span {
  color: var(--navy-soft);
  font-weight: 500;
  font-size: 0.8rem;
  display: block;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--navy-mid); color: var(--white) !important; }

.menu-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: transparent;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.35) 0%, rgba(11, 31, 58, 0.55) 45%, rgba(11, 31, 58, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2.75rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d6e4f7;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-sub {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  color: #dce7f5;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--navy);
}

.btn-primary:hover { background: #eef3f9; color: var(--navy); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Sections */
section {
  padding: 3.25rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 4vw, 2rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.band {
  background: var(--off-white);
}

/* Highlights */
.story-prose {
  max-width: 42rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}
.story-prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.story-prose p:last-child { margin-bottom: 0; }
.story-prose strong { color: var(--navy); }

.highlights {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .story-prose {
  max-width: 42rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}
.story-prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.story-prose p:last-child { margin-bottom: 0; }
.story-prose strong { color: var(--navy); }

.highlights { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .story-prose {
  max-width: 42rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}
.story-prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.story-prose p:last-child { margin-bottom: 0; }
.story-prose strong { color: var(--navy); }

.highlights { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  box-shadow: 0 4px 18px rgba(11, 31, 58, 0.04);
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card .icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: #e8eef7;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
}

.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--navy);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.gallery-item.wide {
  grid-column: span 2;
}

@media (max-width: 767px) {
  .gallery-item.wide { grid-column: span 2; }
}

/* Specs */
.specs-wrap {
  display: grid;
  gap: 1.5rem;
}

/* single listing card — no side research panel */
.specs-wrap { max-width: 720px; }

.specs-cite {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: #8a97a8;
  line-height: 1.4;
}
.specs-cite a { color: #6b7c90; text-decoration: underline; }


.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  vertical-align: top;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: 0; }

.specs-table th {
  width: 42%;
  background: #eef3f9;
  color: var(--navy);
  font-weight: 600;
}

.specs-table td { color: var(--muted); }

.badge-unknown {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #eef1f5;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.note-box {
  background: var(--navy);
  color: #e6eef8;
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
}

.note-box h3 {
  margin: 0 0 0.6rem;
  color: var(--white);
  font-size: 1.05rem;
}

.note-box p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: #c9d7ea;
}

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

.note-box a { color: #f0d78a; }

/* Contact */
.contact-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.field .value {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--off-white);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-copy {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.soft-cta {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  pointer-events: none;
  opacity: 0.85;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c5d3e6;
  padding: 2.5rem 0 2rem;
  font-size: 0.88rem;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 1rem;
}

.site-footer ul {
  margin: 0;
  padding-left: 1.1rem;
}

.site-footer li { margin-bottom: 0.35rem; }

.site-footer a { color: #f0d78a; }

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
}

.footer-meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #91a4bd;
  font-size: 0.8rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 14, 28, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 999px;
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
}

.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 0.75rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.75rem; }

.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #dce6f3;
  font-size: 0.88rem;
  text-align: center;
  max-width: 90vw;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* uniform type weight — no bold */
body, h1, h2, h3, h4, .brand, .nav a, .nav-cta, .btn, .card h3, .section-head h2,
.specs-table th, .specs-table td, .story-prose, .story-prose p, .hero h1, .hero-sub,
.note-box h3, strong, b {
  font-weight: 400 !important;
}
.story-prose strong, .specs-table strong { font-weight: 400 !important; }


/* Factory brochure catalog spreads */
.brochure-cover {
  margin: 0 0 2rem;
  text-align: center;
}
.brochure-cover .gallery-item {
  display: block;
  max-width: 520px;
  margin: 0 auto 0.5rem;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.brochure-cover img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.brochure-spread {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
@media (min-width: 800px) {
  .brochure-spread {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .brochure-spread-rev .brochure-photo { order: 2; }
  .brochure-spread-rev .brochure-text { order: 1; }
}
.brochure-photo {
  margin: 0;
}
.brochure-photo .gallery-item {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.brochure-photo img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.brochure-photo figcaption {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #8a97a8;
}
.brochure-text h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.brochure-text p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
}
.brochure-text p:last-child { margin-bottom: 0; }
