/* RodillaViva — quiet athletic outfitter catalog
   THESIS: Legitimate CO retail catalog for knee supports — not health advertorial.
   OWN-WORLD: Chalk daylight, petrol teal straps, Epilogue + Karla, open textile rows.
   STORY: See product, specs, shipping, contact — no cure promises.
   FIRST VIEWPORT: Logo in header, headline + CTA, dominant product photo.
   FORM: Compliance-pinned brand catalog, restrained color.
   MOTION: Focal = sleeve unroll (clip-path) on hero product; quiet elsewhere. */

:root {
  --bg: #F3F1EC;
  --bg-deep: #E4E0D8;
  --ink: #1C2421;
  --ink-soft: #3D4A45;
  --line: #C9C3B8;
  --accent: #0F5C5C;
  --accent-hover: #0A4545;
  --surface: #FFFEFB;
  --disclaimer: #EDE8DF;
  --footer-muted: #A8B0AB;
  --radius: 2px;
  --font-display: "Epilogue", system-ui, sans-serif;
  --font-body: "Karla", system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-offset: 7.5rem;
  --touch: 2.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--surface);
  padding: 0.5rem 1rem;
  color: var(--ink);
}

.health-strip {
  background: #E8DFD0;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  padding: 0.95rem 1.25rem;
  text-align: left;
}

.health-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.45rem;
}

.health-strip-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.health-strip-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.health-strip-list {
  margin: 0.15rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
}

.health-strip-list li {
  margin-bottom: 0.2rem;
}

.health-strip-list li:last-child {
  margin-bottom: 0;
}

.health-strip a {
  color: var(--accent);
  font-weight: 700;
}

.health-strip-compact {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.health-strip-compact strong {
  font-weight: 700;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(243, 241, 236, 0.94);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
}

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

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  align-items: center;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  min-height: var(--touch);
  padding: 0.55rem 0.65rem;
  display: inline-flex;
  align-items: center;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: var(--touch);
  min-width: var(--touch);
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.5rem;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  min-height: var(--touch);
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #F7F5F0;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #F7F5F0;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 3.75rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: end;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.75rem;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.9rem;
  max-width: 15ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  max-width: 38ch;
}

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

.hero-visual {
  position: relative;
  min-height: 360px;
  background: #f0efeb;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  clip-path: inset(0 0 100% 0);
  animation: sleeve-unroll 1.1s var(--ease) 0.12s forwards;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  object-position: center;
  background: #f0efeb;
  transform: translateY(12px);
  animation: sleeve-settle 1.1s var(--ease) 0.12s forwards;
  will-change: transform;
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  background: rgba(255, 254, 251, 0.92);
  padding: 0.55rem 0.7rem;
}

@keyframes sleeve-unroll {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes sleeve-settle {
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual,
  .hero-visual img {
    animation: none;
    clip-path: none;
    transform: none;
  }
}

.section {
  padding: 3.75rem 1.25rem;
}

.section-alt {
  background: var(--bg-deep);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin: 0 0 2.25rem;
  max-width: 40rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.55rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.product-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.85rem 0;
  border-top: 1px solid var(--line);
}

.product-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

@media (max-width: 800px) {
  .product-row {
    grid-template-columns: 1fr;
  }
}

.product-thumb {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f0efeb;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.product-body p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

.specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.specs li {
  padding-left: 0.85rem;
  position: relative;
}

.specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.price-block {
  text-align: right;
  min-width: 9rem;
}

@media (max-width: 800px) {
  .price-block {
    text-align: left;
  }
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.15rem;
}

.price-note {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
}

.catalog-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

@media (max-width: 800px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

.feature-list h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  letter-spacing: -0.015em;
}

.feature-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.975rem;
  max-width: 36ch;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.35rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  min-height: var(--touch);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.reviews {
  display: grid;
  gap: 0;
}

.review {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.review:last-child {
  border-bottom: 1px solid var(--line);
}

.review p {
  margin: 0 0 0.5rem;
  max-width: 60ch;
}

.review cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.disclaimer-block {
  background: #E8DFD0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 2.75rem 1.25rem;
}

.disclaimer-block .section-inner {
  border: 2px solid var(--ink);
  background: var(--surface);
  padding: 1.75rem 1.5rem;
}

.disclaimer-block .section-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.disclaimer-kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.disclaimer-block ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ink);
  max-width: 70ch;
  font-size: 1.02rem;
  line-height: 1.55;
}

.disclaimer-block li {
  margin-bottom: 0.85rem;
}

.disclaimer-block li:last-child {
  margin-bottom: 0;
}

.disclaimer-block .type-note {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--disclaimer);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  max-width: 70ch;
}

.disclaimer-more {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.site-footer {
  background: var(--ink);
  color: #D5D2CB;
  padding: 3rem 1.25rem 2rem;
}

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

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #FFFEFB;
  margin: 0 0 0.65rem;
}

.footer-contact {
  margin-top: 0.85rem;
}

.footer-grid h3 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--footer-muted);
  margin: 0 0 0.85rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.4rem;
}

.footer-meta {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: #9AA39E;
}

.todo-flag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #5C3A0F;
  color: #F5E6D0;
  padding: 0.15rem 0.4rem;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 60ch;
}

.prose {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.65rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.contact-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

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

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.contact-card p {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.req {
  color: var(--accent);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  border-radius: 0;
  min-height: var(--touch);
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.form-field.is-invalid input,
.form-field.is-invalid textarea,
.form-field.is-invalid select {
  border-bottom-color: #8B2E2E;
}

.field-error {
  display: none;
  font-size: 0.8125rem;
  color: #8B2E2E;
  margin-top: 0.35rem;
}

.form-field.is-invalid .field-error {
  display: block;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--disclaimer);
  font-size: 0.9375rem;
}

.form-status.is-visible {
  display: block;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin: 0.75rem 0 0;
}

.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: 420px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 28px rgba(28, 36, 33, 0.14);
  display: none;
}

.cookie-bar.is-visible {
  display: block;
}

.cookie-bar p {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.muted {
  color: var(--ink-soft);
}

.cta-band {
  padding: 3.25rem 1.25rem;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.025em;
}

.thanks-hero {
  text-align: center;
  padding-bottom: 1rem;
}

.thanks-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.thanks-hero #thanks-lead,
.thanks-hero p {
  margin-left: auto;
  margin-right: auto;
}

.thanks-panel {
  max-width: 36rem;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

.thanks-actions {
  margin-top: 1.25rem;
}

.legal-footer {
  background: var(--ink);
  color: #9AA39E;
  padding: 1.5rem 1.25rem;
  font-size: 0.8125rem;
}

.legal-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
}

.legal-footer a {
  color: #E8E4DC;
}
