/* BYFIT PILATES — site stylesheet */
:root {
  --ink: #161410;
  --ink-soft: #3A342C;
  --muted: #4E473E;
  --ivory: #F3EEE4;
  --ivory-deep: #E6DFD2;
  --paper: #FAF7F0;
  --white: #FFFCF7;
  --oak: #6B4A30;
  --oak-deep: #543820;
  --metal: #8A7B66;
  --line: rgba(22, 20, 16, 0.12);
  --line-strong: rgba(22, 20, 16, 0.28);
  --line-field: #6F6254;
  --wa: #25D366;
  --shadow: 0 18px 50px rgba(22, 20, 16, 0.12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1180px;
  --wide: 1360px;
  --header-h: 4.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.1rem);
}
html, body { margin: 0; padding: 0; }
section[id], [id].section, h1[id], h2[id], h3[id] {
  scroll-margin-top: calc(var(--header-h) + 1.1rem);
}
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; }
a { color: var(--oak); }
a:hover { color: var(--oak-deep); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 600; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.wrap-wide { width: min(var(--wide), calc(100% - 3rem)); margin-inline: auto; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oak);
  margin: 0 0 1rem;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 40rem; }
.muted { color: var(--muted); }
.note { font-size: 0.95rem; color: var(--muted); max-width: 46rem; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--ivory); padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.35rem;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--oak);
  border-color: var(--oak);
  color: var(--ivory);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--ink);
  background: var(--white);
  color: var(--ink);
}
.btn-light {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}
.btn-light:hover, .btn-light:focus-visible {
  background: #C4A882;
  border-color: #C4A882;
  color: var(--ink);
}
.btn-outline-light {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(243,238,228,0.4);
}
.btn-outline-light:hover, .btn-outline-light:focus-visible {
  border-color: var(--ivory);
  color: var(--ivory);
  background: transparent;
}
.btn:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex; align-items: center;
}
.site-header .bar {
  width: min(var(--wide), calc(100% - 3rem));
  margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.wordmark:hover { color: var(--oak); }
.wordmark span { font-weight: 500; letter-spacing: 0.16em; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wordmark-logo {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.wordmark-logo:hover,
.wordmark-logo:focus-visible {
  color: inherit;
  opacity: 0.88;
}
.wordmark-logo .wordmark-img {
  height: 3.15rem;
  width: auto;
  display: block;
}
.wordmark-logo .wordmark-mark {
  display: none;
  height: 2.35rem;
  width: auto;
}
@media (max-width: 379px) {
  .site-header .wordmark-logo:has(.wordmark-mark) .wordmark-img { display: none; }
  .site-header .wordmark-logo .wordmark-mark { display: block; }
}
.site-nav {
  display: flex; align-items: center; gap: 0.15rem 1.35rem;
  margin-left: auto;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.nav-item { position: relative; }
.nav-item > a { color: var(--ink-soft); text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.nav-item > a:hover, .nav-item > a.is-active { color: var(--ink); }
.subnav {
  display: none;
  position: absolute; top: calc(100% + 0.7rem); left: -0.8rem;
  min-width: 13rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.6rem 0;
  list-style: none; margin: 0;
}
.nav-item:hover .subnav, .nav-item:focus-within .subnav { display: block; }
.subnav a {
  display: block;
  padding: 0.45rem 1.1rem;
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
}
.subnav a:hover { color: var(--ink); background: var(--paper); }
.header-cta { flex-shrink: 0; margin-left: 0.5rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--line-strong);
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); cursor: pointer;
}

/* Sections */
.section { padding: clamp(5.6rem, 10vw, 8.5rem) 0; }
.section-ink { background: var(--ink); color: var(--ivory); }
.section-ink h2, .section-ink h3 { color: var(--ivory); }
.section-ink .eyebrow { color: #C4A882; }
.section-ink .muted, .section-ink .lede, .section-ink .note { color: rgba(243, 238, 228, 0.78); }
.section-paper { background: var(--paper); }
.section-deep { background: var(--ivory-deep); }
.section-head { max-width: 42rem; margin-bottom: 2.6rem; }

/* Banner — must fit under the sticky header at 1920×1072,
   with the thumbnail strip fully visible and clear of the WhatsApp button. */
.banner {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) 1.35fr;
  height: calc(100dvh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  min-height: 0;
  background: var(--ink);
  overflow: hidden;
}
.banner-copy {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(1.6rem, 3.5vw, 3.4rem) clamp(1.6rem, 4vw, 3.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  overflow: auto;
}
.banner-copy .eyebrow { color: #C4A882; }
.banner-copy h1 {
  color: var(--ivory);
  margin: 0 0 1.1rem;
  max-width: 14ch;
}
.banner-sub {
  color: rgba(243, 238, 228, 0.82);
  font-size: 1.08rem;
  max-width: 32rem;
  margin: 0;
}
.banner-copy .cta-row { margin-top: 2.2rem; }
.banner-stage {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #12100d;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.banner-main {
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.banner-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}
.banner-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.banner-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.banner-caption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 2;
  color: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(22, 20, 16, 0.45);
  padding: 0.4rem 0.7rem;
  pointer-events: none;
}
.banner-nav-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid rgba(243,238,228,0.45);
  background: rgba(22, 20, 16, 0.35);
  color: var(--ivory);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}
.banner-nav-btn:hover, .banner-nav-btn:focus-visible {
  background: rgba(22, 20, 16, 0.7);
  outline: 2px solid #C4A882; outline-offset: 2px;
}
.banner-prev { left: 0.8rem; }
.banner-next { right: 0.8rem; }
.banner-thumbs {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  background: var(--ink);
  /* Right gutter keeps the last thumbnails clear of the floating WhatsApp. */
  padding: 3px 6.5rem 3px 3px;
  flex-shrink: 0;
  z-index: 2;
}
.banner-thumbs button {
  appearance: none;
  padding: 0; border: 0;
  cursor: pointer;
  opacity: 0.5;
  background: #12100d;
  position: relative;
}
.banner-thumbs button img {
  width: 100%; height: 4.6rem;
  object-fit: cover;
  display: block;
}
.banner-thumbs button.is-active,
.banner-thumbs button:hover,
.banner-thumbs button:focus-visible { opacity: 1; }
.banner-thumbs button.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: #C4A882;
}

/* Single workshop photograph as the full homepage banner background */
.banner-workshop {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 873;
  height: auto;
  max-height: calc(100dvh - var(--header-h));
  min-height: 28rem;
  background: #12100d;
}
.banner-workshop .banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  margin: 0;
}
.banner-workshop .banner-bg picture,
.banner-workshop .banner-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.banner-workshop .banner-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  background: linear-gradient(90deg, rgba(22, 20, 16, 0.82) 0%, rgba(22, 20, 16, 0.58) 34%, rgba(22, 20, 16, 0.20) 62%, rgba(22, 20, 16, 0.04) 100%);
}

/* Statement */
.statement {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.statement h2 { margin-bottom: 0.8em; }

/* Collections */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.collection-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
}
.collection-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.collection-card .body { padding: 1.25rem 1.2rem 1.5rem; }
.collection-card h3 { margin-bottom: 0.35em; }
.collection-card p { color: var(--muted); font-size: 0.98rem; }
.collection-card:hover h3 { color: var(--oak); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.25rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.product-card-link:hover,
.product-card-link:focus-visible {
  color: inherit;
}
.product-card .img {
  background: var(--paper);
  padding: 0.8rem;
}
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
}
.product-card.tall img { aspect-ratio: 3 / 4; object-fit: contain; }
.product-card .body { padding: 1rem 1.1rem 0.85rem; flex: 1; display: flex; flex-direction: column; }
.product-card .model {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oak);
  margin: 0 0 0.25rem;
}
.product-card h3 { font-size: 1.35rem; margin: 0 0 0.25rem; }
.product-card .edition { color: var(--muted); font-size: 0.9rem; margin: 0; }
.product-card-link:hover h3,
.product-card:hover h3 { color: var(--oak); }
.product-card-cta {
  padding: 0 1.1rem 1.15rem;
  margin-top: auto;
}
.product-card-cta .btn {
  width: 100%;
  padding: 0.75rem 1rem;
}

/* Official terms short */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.terms-grid article {
  padding: 1.6rem 1.6rem 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.terms-grid h3 { font-size: 1.35rem; margin-bottom: 0.4em; }
.terms-stack article { max-width: 40rem; margin-bottom: 2.2rem; }

/* Proof we are the manufacturer */
.proof-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
  border-top: 1px solid rgba(243, 238, 228, 0.18);
  margin-top: 2.4rem;
}
.proof-facts div {
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(243, 238, 228, 0.18);
}
.proof-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C4A882;
  margin: 0 0 0.4rem;
}
.proof-facts dd { margin: 0; color: var(--ivory); }
.proof-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-top: 2.6rem;
}
.proof-gallery.wide { grid-template-columns: repeat(4, 1fr); }
.proof-slot {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(243, 238, 228, 0.22);
  background: rgba(243, 238, 228, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.05rem;
  color: rgba(243, 238, 228, 0.88);
  min-height: 10rem;
  position: relative;
  overflow: hidden;
}
.proof-slot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.proof-slot .slot-label {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proof-slot.is-empty .slot-wait {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: rgba(243, 238, 228, 0.55);
  margin-top: 0.35rem;
}
.proof-note { margin-top: 1.2rem; font-size: 0.92rem; color: rgba(243, 238, 228, 0.7); max-width: 44rem; }
.section-paper .proof-facts { border-top-color: var(--line); }
.section-paper .proof-facts div { border-bottom-color: var(--line); }
.section-paper .proof-facts dt { color: var(--oak); }
.section-paper .proof-facts dd { color: var(--ink); }
.section-paper .proof-slot {
  border-color: var(--line-strong);
  background: var(--ivory);
  color: var(--ink);
}
.section-paper .proof-slot.is-empty .slot-wait { color: var(--muted); }
.section-paper .proof-note { color: var(--muted); }

/* Product page */
.product-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 3rem;
  align-items: start;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.gallery { position: relative; }
.gallery-main {
  background: var(--white);
  padding: 1rem;
}
.gallery-main img {
  width: 100%;
  max-height: 36rem;
  object-fit: contain;
  margin-inline: auto;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr));
  gap: 0.4rem;
  margin-top: 0.6rem;
}
.gallery-thumbs button {
  appearance: none; padding: 0; border: 1px solid transparent;
  background: var(--white); cursor: pointer;
}
.gallery-thumbs button img {
  width: 100%; height: 4.4rem; object-fit: cover;
}
.gallery-thumbs button.is-active,
.gallery-thumbs button:focus-visible { border-color: var(--ink); }
.product-meta .model {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oak);
  margin: 0 0 0.6rem;
}
.specs {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.specs li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.specs li span:first-child {
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  padding-top: 0.2rem;
}
.features { margin: 1.5rem 0 0; padding: 0 0 0 1.1rem; color: var(--ink-soft); }
.features li { margin: 0.35rem 0; }

/* FAQ */
.faq-list { max-width: 46rem; }
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; font-weight: 400; color: var(--oak); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0.8rem 0 0.3rem; color: var(--ink-soft); }

/* Contact / forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.form-panel {
  background: var(--white);
  padding: 1.8rem 1.6rem 1.6rem;
  border: 1px solid var(--line);
}
.form-field { margin: 1rem 0 0; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--ink);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1.5px solid var(--line-field);
  background: #fff;
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
  border-radius: 0;
  appearance: none;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--oak);
  outline-offset: 1px;
  border-color: var(--oak-deep);
}
.form-field textarea { min-height: 8.5rem; resize: vertical; }
.form-error { color: #8B1E1E; font-size: 0.88rem; margin-top: 0.7rem; }
.form-actions { margin-top: 1.4rem; }
.fine { font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; }
.identity dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oak);
  margin-top: 1.1rem;
}
.identity dd { margin: 0.2rem 0 0; }
.identity a { color: inherit; text-underline-offset: 3px; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(243, 238, 228, 0.82);
  padding: 3.2rem 0 6.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.2rem;
}
.site-footer .wordmark { color: var(--ivory); display: inline-block; margin-bottom: 1rem; text-decoration: none; }
.site-footer .wordmark-logo { margin-bottom: 1.15rem; }
.site-footer .wordmark-logo .wordmark-img { height: 3.6rem; }
.site-footer .wordmark-logo:hover,
.site-footer .wordmark-logo:focus-visible { color: inherit; opacity: 0.9; }
.site-footer a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: #C4A882; }
.site-footer h3 {
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 0.8rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.site-footer .legal { margin-top: 2rem; font-size: 0.82rem; color: rgba(243,238,228,0.55); }

/* Floating WhatsApp — keep clear of body text */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.5rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.35);
  display: flex; align-items: center; justify-content: center;
  z-index: 30;
  transition: transform 0.2s ease;
}
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.06); }
.wa-float:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wa-float svg { width: 32px; height: 32px; display: block; }
main { padding-bottom: 1rem; }

/* Modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0;
  z-index: 300;
  display: grid; place-items: center;
  padding: 1.25rem;
  isolation: isolate;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(22, 20, 16, 0.55);
}
.modal-panel {
  position: relative;
  background: var(--white);
  width: min(32.5rem, 100%);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
  z-index: 1;
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
}
.modal-panel h2 { font-size: 2rem; margin-bottom: 0.4rem; }
.modal-close {
  position: absolute; top: 0.7rem; right: 0.7rem;
  background: none; border: 0; font-size: 1.4rem;
  cursor: pointer; color: var(--ink); width: 2.2rem; height: 2.2rem;
}
.modal-close:focus-visible { outline: 2px solid var(--oak); }
body.modal-open { overflow: hidden; }
body.modal-open .wa-float { z-index: 1; }

.final-cta { text-align: left; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.split img { width: 100%; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--ivory-deep);
}
.split-media.landscape img { aspect-ratio: 5 / 4; }
.split-copy { max-width: 36rem; }
@media (min-width: 900px) {
  .split.image-right .split-media { order: 2; }
  .split.image-right .split-copy { order: 1; }
}
.page-intro { padding: 3.5rem 0 0; }
.page-intro h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 1024px) {
  .banner {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }
  .banner-copy { padding: 3rem 1.5rem 2.4rem; overflow: visible; }
  .banner-stage { min-height: 22rem; height: auto; overflow: visible; }
  .banner-main { height: 22rem; }

  .banner-workshop {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    height: auto;
    max-height: none;
    min-height: min(70dvh, 36rem);
    overflow: hidden;
  }
  .banner-workshop .banner-copy {
    padding: 3rem 1.5rem 2.4rem;
    overflow: visible;
    background: linear-gradient(180deg, rgba(22, 20, 16, 0.78) 0%, rgba(22, 20, 16, 0.42) 55%, rgba(22, 20, 16, 0.62) 100%);
  }
  .banner-thumbs { padding: 3px 3px 3px 3px; }
  .banner-thumbs button img { height: 3.6rem; }
  .statement, .product-hero, .contact-layout, .split { grid-template-columns: 1fr; }
  .split.image-right .split-media, .split.image-right .split-copy { order: unset; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .collection-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
}

.site-nav .header-cta-mobile { display: none; }

@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.6rem 1.4rem;
    gap: 0.7rem;
  }
  .site-header.is-open .site-nav { display: flex; }
  .header-cta { display: none; }
  .site-nav .header-cta-mobile { display: inline-flex; margin-top: 0.6rem; }
  .subnav { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0.2rem 0 0.2rem 0.4rem; }
}

@media (max-width: 799px) {
  .wrap, .wrap-wide, .site-header .bar { width: min(var(--max), calc(100% - 1.6rem)); }
  .banner-thumbs { grid-template-columns: repeat(4, 1fr); }
  .collection-grid, .product-grid, .terms-grid, .proof-facts, .proof-gallery, .proof-gallery.wide, .footer-grid {
    grid-template-columns: 1fr;
  }
  .specs li { grid-template-columns: 1fr; gap: 0.2rem; }
  .wa-float { right: 1rem; bottom: 1.2rem; }
  .site-footer { padding-bottom: 7rem; }
}


/* —— Homepage AIDA additions (do not override product-page .specs) —— */
.btn-wa {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-wa:hover, .btn-wa:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--white);
}
.section-ink .btn-wa {
  color: var(--ivory);
  border-color: rgba(243, 238, 228, 0.4);
}
.section-ink .btn-wa:hover, .section-ink .btn-wa:focus-visible {
  background: transparent;
  border-color: var(--ivory);
  color: var(--ivory);
}
.section-ink .btn-primary {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}
.section-ink .btn-primary:hover, .section-ink .btn-primary:focus-visible {
  background: #C4A882;
  border-color: #C4A882;
  color: var(--ink);
}

.product-intro { max-width: 46rem; margin-bottom: 2.6rem; }
.product-card .catalog-specs {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.product-card .catalog-specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.34rem 0;
}
.product-card .catalog-specs span { color: var(--muted); flex-shrink: 0; }

.pain-list { counter-reset: pain; list-style: none; margin: 0; padding: 0; }
.pain-list li {
  counter-increment: pain;
  padding: 1.3rem 0 1.4rem 3.2rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.pain-list li:last-child { border-bottom: 1px solid var(--line); }
.pain-list li::before {
  content: counter(pain, decimal-leading-zero);
  position: absolute; left: 0; top: 1.35rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--oak);
}
.pain-list h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }

.table-wrap { overflow-x: auto; margin-top: 2rem; border-top: 1px solid var(--line-strong); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 32rem; }
.compare-table th, .compare-table td {
  text-align: left; vertical-align: top;
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.compare-table tbody th {
  width: 22%;
  color: var(--ink);
  font-weight: 500;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.compare-table caption {
  text-align: left;
  font-size: 0.9rem;
  color: var(--muted);
  caption-side: bottom;
  padding-top: 1rem;
}

.term-grid, .commit-grid, .audience-grid, .feedback-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .term-grid { grid-template-columns: repeat(2, 1fr); }
  .commit-grid, .audience-grid, .feedback-grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--paper);
  padding: 1.5rem 1.45rem 1.65rem;
  border-top: 2px solid var(--oak);
}
.section-ink .card { background: rgba(255, 252, 247, 0.05); border-top-color: #C4A882; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.card .value {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}
.section-deep .card, .section-paper .card { background: var(--white); }

/* Reserved buyer-comment frames — visually complete, empty of quotes */
.feedback-card {
  min-height: 14.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--oak);
  padding: 1.55rem 1.5rem 1.5rem;
}
.feedback-card .mark {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--oak);
  margin: 0 0 0.8rem;
}
.feedback-card .wait {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
  flex: 1;
}
.feedback-card .frame-line {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  height: 2.4rem;
}

.factory-block { margin-top: 2.4rem; }
.factory-block .proof-gallery {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
@media (min-width: 900px) {
  .factory-block .proof-gallery { grid-template-columns: repeat(4, 1fr); }
}
.factory-block .proof-slot {
  aspect-ratio: 4 / 3;
  min-height: 12rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}
.factory-block .proof-slot.is-empty .slot-wait { color: var(--muted); }
.factory-block .proof-note { color: var(--muted); }

.contact-inline a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.section-ink .contact-inline a { color: var(--ivory); }
.section-ink .contact-inline.muted { color: rgba(243, 238, 228, 0.78); }

.identity { margin: 1.5rem 0 0; }

.more-link { margin-top: 1.2rem; }
.more-link a { text-underline-offset: 3px; }
.section-ink .more-link a { color: var(--ivory); }
.section-ink .more-link a:hover { color: #C4A882; }

@media (max-width: 799px) {
  .banner-thumbs { padding-right: 3px; }
  .term-grid, .commit-grid, .audience-grid, .feedback-grid, .factory-block .proof-gallery {
    grid-template-columns: 1fr;
  }
}
