/* GoPetPrints — CRS Ventures Limited flagship storefront
   Palette and type per the approved rebuild brief. */

:root {
  --ivory: #FAF7F2;
  --ivory-deep: #F3EEE6;
  --card: #FFFFFF;
  --merlot: #8B1E3F;
  --merlot-hover: #6F1631;
  --gold: #B8924A;
  --gold-bright: #D4AF6A;
  --gold-soft: #D4BC84;
  --champagne: #FCF9F3;
  --champagne-deep: #F4E9DA;
  --gallery: #1B1216;
  --gallery-warm: #2B1820;
  --ink: #1D1917;
  --espresso: #1A1210;
  --walnut: #5C3A2E;
  --blush: #F3D6C9;
  --blush-soft: #F7E6DC;
  --muted: #6A5E56;
  --line: rgba(29, 25, 23, 0.1);
  --line-gold: rgba(184, 146, 74, 0.45);
  --shadow: 0 18px 50px rgba(29, 25, 23, 0.1);
  --shadow-soft: 0 8px 28px rgba(29, 25, 23, 0.07);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", sans-serif;
  --topbar-h: 36px;
  --header-h: 72px;
  --wrap: 1180px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--champagne);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--merlot); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--merlot-hover); }

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

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Top bar & header ---------- */

.topbar {
  height: var(--topbar-h);
  background: var(--espresso);
  color: #F6F0E7;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(252, 249, 243, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 146, 74, 0.28);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand:hover { color: inherit; }

.crest {
  width: 44px;
  height: 51px;
  flex: none;
  color: var(--gold);
  display: block;
}

.crest-mono { fill: var(--merlot); }

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.01em;
  color: var(--espresso);
  text-decoration: none;
  line-height: 1;
}

.wordmark:hover { color: var(--espresso); }
.wordmark span { color: var(--merlot); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav a:not(.btn):hover { color: var(--merlot); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 13px 24px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-primary,
a.btn-primary,
.nav a.btn-primary {
  background: var(--merlot);
  background-image: linear-gradient(180deg, #9A284C 0%, #8B1E3F 55%, #7A1A37 100%);
  color: #FFFFFF;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(139, 30, 63, 0.22);
}

.btn-primary:hover,
a.btn-primary:hover,
.nav a.btn-primary:hover {
  background: var(--merlot-hover);
  background-image: linear-gradient(180deg, #8B1E3F 0%, #6F1631 100%);
  color: #FFFFFF;
  border-color: var(--gold);
  box-shadow: 0 10px 22px rgba(139, 30, 63, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-left: 8px;
  padding-right: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

.btn-secondary:hover { color: var(--merlot); }

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

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

.btn-light {
  background: #fff;
  color: var(--merlot);
}

.btn-light:hover {
  background: var(--ivory);
  color: var(--merlot-hover);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Hero ---------- */

.hero {
  min-height: calc(100svh - var(--topbar-h) - var(--header-h));
  display: grid;
  align-items: center;
  padding: 22px 0 28px;
  background:
    radial-gradient(ellipse 64% 78% at 78% 48%, rgba(232, 208, 166, 0.55) 0%, rgba(244, 233, 218, 0) 64%),
    linear-gradient(180deg, #FCF9F3 0%, #F4E9DA 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid rgba(184, 146, 74, 0.7);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--merlot);
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.08;
  color: var(--espresso);
  letter-spacing: -0.015em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--merlot);
}

.hero .lead {
  margin: 0 0 28px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--walnut);
  max-width: 28ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 18px;
}

.reassurance {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.hero-frame {
  margin: 0;
  position: relative;
  background: linear-gradient(180deg, #FBF6EB 0%, #F3E6D0 100%);
  padding: 10px 10px 0;
  border-radius: 4px;
  border: 1px solid rgba(184, 146, 74, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 252, 247, 0.9),
    0 0 0 2px rgba(184, 146, 74, 0.28),
    0 28px 60px rgba(56, 32, 20, 0.18),
    0 8px 18px rgba(56, 32, 20, 0.08);
}

.hero-mat {
  position: relative;
  padding: 7px;
  background: #FFFaf3;
  box-shadow: inset 0 0 0 1px rgba(184, 146, 74, 0.55);
}

.hero-mat img {
  width: 100%;
  aspect-ratio: 16 / 10.1;
  object-fit: cover;
  object-position: center 52%;
  display: block;
}

.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(27, 18, 22, 0.82);
  color: #F6EFD8;
  border: 1px solid var(--gold-bright);
  padding: 7px 11px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(27, 18, 22, 0.28);
}

.hero-frame figcaption {
  padding: 9px 8px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--walnut);
  text-align: center;
}

/* ---------- Ornamental dividers ---------- */

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 8px;
  width: min(280px, 60%);
  pointer-events: none;
}

.ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 146, 74, 0.7), rgba(184, 146, 74, 0.7));
}

.ornament span:last-child {
  background: linear-gradient(90deg, rgba(184, 146, 74, 0.7), rgba(184, 146, 74, 0.7), transparent);
}

.ornament i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  background: #FBF6EB;
  display: block;
  box-shadow: 0 0 0 3px var(--ivory-deep);
}

.section-ink > .ornament i { box-shadow: 0 0 0 3px var(--champagne); }

/* ---------- Sections ---------- */

section { padding: 88px 0; }
section.hero { padding: 22px 0 28px; }

.section-ink { background: var(--ivory); }
.section-soft { background: var(--ivory-deep); }
.section-card { background: #FFFcf8; }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.legal-body h1,
.cta-band h2,
.drawer-panel h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--espresso);
  line-height: 1.15;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3.4vw, 46px);
}

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

/* ---------- How it works / before-after ---------- */

.flow-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.studio-frame {
  margin: 0;
  background: var(--card);
  padding: 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.studio-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.studio-frame figcaption {
  padding: 10px 4px 2px;
  font-size: 13px;
  color: var(--muted);
}

.steps { display: grid; gap: 26px; margin-top: 22px; }

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.step-num {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(184, 146, 74, 0.14);
  color: var(--merlot);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #FFFCF7, #F4E9DA);
}

.step h3 {
  margin: 2px 0 4px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--espresso);
}

.step p { margin: 0; color: var(--walnut); font-size: 16px; }

/* Horizontal 3-step under or beside — also a compact row for wide screens */

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ---------- Style grid ---------- */

.style-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.style-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.style-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-gold);
}

.style-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.style-card .style-meta {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.style-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--espresso);
  line-height: 1.2;
  min-height: 2.45em;
}

.style-card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}

.style-card .btn {
  width: 100%;
  padding: 10px 14px;
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.price-card.featured {
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, #FFFBF5 0%, #FFFFFF 42%);
  box-shadow:
    0 0 0 1px #fff,
    0 0 0 2px rgba(184, 146, 74, 0.85),
    0 22px 50px rgba(139, 30, 63, 0.12);
  transform: translateY(-6px);
  overflow: hidden;
}

.price-card.featured::before {
  content: "";
  display: block;
  height: 6px;
  margin: -32px -28px 22px;
  background: linear-gradient(90deg, #6F1631 0%, #8B1E3F 48%, #B8924A 100%);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--merlot);
  color: #fff;
  border: 1px solid var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--espresso);
}

.price {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: var(--espresso);
}

.price small {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.price-card .role {
  margin: 0 0 20px;
  color: var(--walnut);
  font-size: 15px;
}

.price-card ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1;
}

.price-card li {
  padding-left: 18px;
  position: relative;
  font-size: 15px;
  color: var(--ink);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55em;
  height: 0.32em;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
  background: none;
  border-radius: 0;
}

.price-card .btn { width: 100%; }

.price-notes {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

.price-notes p { margin: 0 0 6px; }

/* ---------- Trust ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.trust-item h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--espresso);
}

.trust-item p {
  margin: 0;
  font-size: 15px;
  color: var(--walnut);
}

.trust-item {
  padding-top: 16px;
  border-top: 1px solid var(--gold);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  padding: 20px 36px 20px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--espresso);
  position: relative;
  line-height: 1.25;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
}

.faq-item[open] button::after { content: "–"; }

.faq-item .faq-body {
  display: none;
  padding: 0 8px 22px 0;
  color: var(--walnut);
}

.faq-item[open] .faq-body { display: block; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--merlot);
  color: #F8F1EA;
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  color: #fff;
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 36ch;
  color: #F3D6C9;
}

.cta-band .btn-light { min-width: 220px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--espresso);
  color: #E8DFD4;
  padding: 56px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer .brand { color: var(--gold-bright); }
.site-footer .crest-mono { fill: #F6EFD8; }
.site-footer .wordmark { color: #F6F0E7; font-size: 30px; }
.site-footer .wordmark span { color: var(--gold-soft); }
.site-footer p { color: #C9BDB2; }
.site-footer h3 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: #E8DFD4;
  text-decoration: none;
}

.site-footer a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(246, 240, 231, 0.12);
  padding-top: 22px;
  font-size: 12.5px;
  color: #B7ABA1;
  display: grid;
  gap: 8px;
}

/* ---------- Drawer ---------- */

.drawer-root[hidden] { display: none !important; }

.drawer-root {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 16, 0.46);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(460px, 100%);
  background: var(--ivory);
  box-shadow: -16px 0 40px rgba(26, 18, 16, 0.18);
  overflow: auto;
  padding: 28px 28px 48px;
  animation: slideIn 0.32s var(--ease);
}

@keyframes slideIn {
  from { transform: translateX(24px); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.drawer-panel h2 {
  margin: 0;
  font-size: 32px;
}

.icon-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 4px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.preview-note {
  background: var(--blush-soft);
  border: 1px solid rgba(184, 146, 74, 0.35);
  color: var(--walnut);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  margin: 16px 0 22px;
}

.field { margin: 0 0 18px; }

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

legend { padding: 0; }

.field > label,
.field-legend {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--walnut);
  margin-bottom: 8px;
}

.pack-options,
.style-options {
  display: grid;
  gap: 8px;
}

.choice {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
}

.choice:hover { border-color: var(--gold); }
.choice:has(input:checked) {
  border-color: var(--merlot);
  box-shadow: inset 0 0 0 1px var(--merlot);
}

.choice input { margin-top: 3px; accent-color: var(--merlot); }
.choice strong { display: block; font-size: 15px; }
.choice span { font-size: 13px; color: var(--muted); }
.choice em {
  font-style: normal;
  font-weight: 600;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--espresso);
  align-self: center;
  letter-spacing: 0;
  text-transform: none;
}

.choice strong {
  text-transform: none;
  letter-spacing: 0;
  color: var(--espresso);
}

.choice span span {
  text-transform: none;
  letter-spacing: 0;
}

select, .text-input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 12px;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  margin: 0 0 12px;
}

.consent input { margin-top: 3px; accent-color: var(--merlot); }

.geo-block {
  background: #F8ECE8;
  border: 1px solid rgba(139, 30, 63, 0.2);
  color: var(--walnut);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  margin: 0 0 16px;
}

.drawer-panel .btn-primary { width: 100%; margin-top: 8px; }

.drawer-success {
  text-align: center;
  padding: 24px 8px;
}

.drawer-success h3 {
  font-family: var(--serif);
  font-size: 30px;
  margin: 0 0 10px;
}

/* ---------- Legal pages ---------- */

.legal-hero {
  padding: 48px 0 8px;
}

.legal-hero h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  color: var(--espresso);
}

.legal-hero .lede {
  margin: 0;
  color: var(--walnut);
  max-width: 60ch;
}

.legal-body {
  padding: 32px 0 88px;
  max-width: 760px;
}

.legal-body h2 {
  margin: 32px 0 10px;
  font-size: 28px;
}

.legal-body h3 {
  margin: 22px 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.legal-body p, .legal-body li { color: var(--ink); }
.legal-body ul { padding-left: 1.15em; }
.legal-body .meta {
  font-size: 13.5px;
  color: var(--muted);
}

.cancel-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  margin: 24px 0;
}

.cancel-card h2 { margin-top: 0; }
.save-offer {
  border: 1px solid var(--gold);
  background: #FBF6EB;
  border-radius: 8px;
  padding: 18px;
  margin: 18px 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .style-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid,
  .flow-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 0; padding: 20px 0 28px; }
  .hero .lead { max-width: 40ch; }
  .price-card.featured { transform: none; }
}

@media (max-width: 800px) {
  :root { --header-h: 64px; --topbar-h: auto; }
  .topbar {
    height: auto;
    min-height: 32px;
    padding: 6px 12px;
    font-size: 10.5px;
    letter-spacing: 0.06em;
    line-height: 1.35;
  }
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .nav-toggle { display: flex; }
  .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: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a, .nav .btn { width: 100%; justify-content: center; padding: 12px; }
  .style-grid,
  .price-grid,
  .steps-row { grid-template-columns: 1fr 1fr; }
  .price-grid { gap: 28px 16px; }
  section { padding: 64px 0; }
  .hero h1 { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .style-grid,
  .price-grid,
  .steps-row,
  .trust-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-secondary { text-align: center; }
  .hero-mat img { aspect-ratio: 16 / 11; }
  .hero-badge { font-size: 9.5px; padding: 6px 9px; left: 10px; bottom: 10px; }
}

header .btn-primary, nav .btn-primary, .site-header .btn-primary { color: #ffffff !important; }

/* ---------- Interactive before / after ---------- */

.reveal-frame {
  background: linear-gradient(180deg, #FBF6EB 0%, #F0E1C8 100%);
  padding: 12px 12px 0;
  border-radius: 4px;
  border: 1px solid rgba(184, 146, 74, 0.6);
  box-shadow:
    0 0 0 1px rgba(255, 252, 247, 0.95),
    0 0 0 2px rgba(184, 146, 74, 0.3),
    0 18px 40px rgba(56, 32, 20, 0.12);
}

.reveal {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1B1216;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.reveal-after,
.reveal-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  pointer-events: none;
}

.reveal-before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 52%;
  overflow: hidden;
  border-right: 1px solid rgba(212, 175, 106, 0.9);
}

.reveal-before img {
  width: var(--reveal-host-w, 100%);
  max-width: none;
  height: 100%;
}

.reveal-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 42px;
  transform: translateX(-50%);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: ew-resize;
  z-index: 3;
}

.reveal-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: var(--gold-bright);
  box-shadow: 0 0 0 1px rgba(27, 18, 22, 0.2);
}

.reveal-handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold-bright);
  background: linear-gradient(180deg, #FFFCF7, #F4E9DA);
  color: var(--merlot);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(27, 18, 22, 0.22);
  line-height: 1;
  font-family: "Source Sans 3", sans-serif;
}

.reveal-tag {
  position: absolute;
  bottom: 12px;
  z-index: 2;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(27, 18, 22, 0.78);
  color: #F6EFD8;
  border: 1px solid rgba(212, 175, 106, 0.65);
  pointer-events: none;
}

.reveal-tag-before { left: 12px; }
.reveal-tag-after { right: 12px; }

.reveal-caption {
  margin: 0;
  padding: 10px 8px 12px;
  font-size: 12.5px;
  color: var(--walnut);
  text-align: center;
}

/* ---------- Dark museum gallery ---------- */

.section-gallery {
  position: relative;
  background:
    radial-gradient(ellipse 80% 70% at 50% 38%, #2B1820 0%, rgba(27, 18, 22, 0) 68%),
    #1B1216;
  color: #F6EFD8;
  overflow: hidden;
  padding: 96px 0;
}

.section-gallery .section-head { max-width: 680px; }

.section-gallery .section-head h2 {
  color: #F7F0E4;
}

.section-gallery .section-head p {
  color: #D4C4B8;
}

.section-gallery .kicker {
  color: var(--gold-bright);
}

.section-gallery .style-card {
  background: #22151A;
  border: 1px solid rgba(212, 175, 106, 0.58);
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(212, 175, 106, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.38),
    0 0 40px rgba(43, 24, 32, 0.4);
  overflow: hidden;
}

.section-gallery .style-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
  box-shadow:
    0 0 0 1px rgba(212, 175, 106, 0.35),
    0 22px 44px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(212, 175, 106, 0.08);
}

.style-shot {
  overflow: hidden;
  background: #140e11;
}

.style-shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.section-gallery .style-card:hover .style-shot img {
  transform: scale(1.055);
}

.section-gallery .style-meta {
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, #26181D 0%, #1C1216 100%);
}

.section-gallery .style-card h3 {
  color: #F7F0E4;
}

.section-gallery .style-card p {
  color: #C9B8AB;
}

.btn-select,
.section-gallery .btn-select {
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  color: #F3E6D0;
  border: 1px solid var(--gold-bright);
  box-shadow: none;
}

.btn-select:hover,
.section-gallery .btn-select:hover {
  background: var(--gold-bright);
  color: #1B1216;
  border-color: var(--gold-bright);
}

@media (max-width: 800px) {
  .hero { padding: 20px 0 24px; }
  .reveal { aspect-ratio: 3 / 4; }
  .section-gallery { padding: 72px 0; }
}


/* ---------- Wave 1 conversion / trust upgrades (2 Dec 2026) ---------- */
.plan-billing-strip {
  margin: -8px 0 18px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted, #5a5a5a);
}
.remake-note {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink, inherit);
}
.cta-remake,
.hero-callout {
  margin: 14px 0 0;
  max-width: 38em;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink, inherit);
}
.trust-badge {
  display: inline-block;
  margin: 14px 0 0;
  padding: 7px 12px;
  border: 1px solid var(--line, rgba(0,0,0,.15));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--bg-card, var(--card, #fff));
}

.pet-toggle {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 4px;
  border: 1px solid var(--line, rgba(0,0,0,.14));
  border-radius: 999px;
  background: var(--bg-card, #fff);
  gap: 2px;
}
.pet-toggle-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.pet-toggle-btn.is-active,
.pet-toggle-btn[aria-selected="true"] {
  background: var(--merlot, #8B1E3F);
  color: #fff;
}
.cat-showcase {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
}
.cat-showcase img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.cat-showcase .showcase-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  background: rgba(20,12,10,.78);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.reveal-frame .reveal[hidden],
.reveal-frame .cat-showcase[hidden] { display: none; }


/* ---- Creative pack: portrait reveal loop + 3-tile self-serve support ---- */
.section-loop {
  padding: 56px 0;
  background: var(--ivory-deep, var(--bg-soft, var(--bg, transparent)));
}
.loop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.loop-copy h2 {
  margin: 0 0 12px;
}
.loop-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted, inherit);
}
.phone-frame,
.sample-frame-portrait {
  margin: 0;
  justify-self: center;
}
.phone-bezel,
.sample-phone {
  width: min(100%, 280px);
  margin-inline: auto;
  padding: 10px 10px 16px;
  border-radius: 28px;
  background: #161412;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.28);
}
.phone-bezel video,
.sample-phone video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: #111;
}
.section-support {
  padding: 64px 0 48px;
  background: var(--ivory, var(--bg, transparent));
}
.section-support .section-head { margin-bottom: 28px; }
.support-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.support-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 22px;
  background: var(--card, var(--bg-card, #fff));
  border: 1px solid var(--line, rgba(0, 0, 0, 0.1));
  box-shadow: var(--shadow-soft, 0 8px 24px rgba(0, 0, 0, 0.06));
}
.support-tile h3 {
  margin: 0;
  font-family: var(--serif, var(--display, inherit));
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  font-weight: 600;
}
.support-tile p {
  margin: 0;
  flex: 1;
  color: var(--muted, inherit);
  font-size: 15px;
}
.support-tile .btn {
  align-self: flex-start;
  margin-top: 8px;
  text-decoration: none;
}
@media (max-width: 860px) {
  .loop-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }
  .support-tiles { grid-template-columns: 1fr; }
}

/* ---- CRO upgrades 2026-12-02 ---- */
.why-us { margin: 0 0 2.25rem; }
.why-us-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.why-us-table { width: 100%; min-width: 28rem; border-collapse: collapse; background: var(--bg-card, var(--card, transparent)); }
.why-us-table th, .why-us-table td { padding: 0.7rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line, rgba(0,0,0,.1)); font-size: 0.95rem; }
.why-us-table thead th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted, #666); font-weight: 600; }
.why-us-table td.why-us-us { font-weight: 600; color: var(--ink, inherit); }
.why-us-table td.why-us-them { color: var(--muted, #666); }
.why-us-note { margin: 0.65rem 0 0; font-size: 0.85rem; color: var(--muted, #666); }

.order-bump { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0.85rem 0 0.25rem; padding: 0.9rem 1rem; border: 1px solid var(--line, rgba(0,0,0,.14)); border-radius: var(--radius, 8px); background: var(--bg-soft, var(--bg, transparent)); }
.order-bump input { margin-top: 0.2rem; flex: 0 0 auto; }
.gift-note { margin-top: 0.5rem; }
.gift-note .consent { display: flex; gap: 0.7rem; align-items: flex-start; }

.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta.is-visible {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: var(--header-bg-solid, var(--bg, #fff));
    border-top: 1px solid var(--line, rgba(0,0,0,.12));
    box-shadow: 0 -10px 28px rgba(0,0,0,.1);
  }
  .sticky-cta.is-visible .btn { width: 100%; justify-content: center; }
  body.has-sticky-cta { padding-bottom: 4.5rem; }
}

.wall-scale { margin-top: 1.25rem; }
.wall-scale-toggle { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.wall-scale-toggle button, .surface-toggle button, .hero-hemi .hemi-toggle button {
  appearance: none; border: 1px solid var(--line, rgba(0,0,0,.16)); background: transparent; color: inherit;
  padding: 0.4rem 0.7rem; border-radius: 999px; font: inherit; font-size: 0.85rem; cursor: pointer;
}
.wall-scale-toggle button[aria-pressed="true"], .surface-toggle button[aria-pressed="true"],
.hero-hemi .hemi-toggle button[aria-pressed="true"] {
  background: var(--ink, #111); color: var(--bg, #fff); border-color: var(--ink, #111);
}
.wall-stage {
  position: relative; overflow: hidden; border-radius: var(--card-radius, var(--radius, 8px));
  background: #d9cfc3; min-height: 240px; aspect-ratio: 16 / 10;
}
.wall-stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wall-frame {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: var(--frame-w, 28%); aspect-ratio: 2 / 3;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  background: #111; padding: 3%; transition: width .35s var(--ease, ease);
}
.wall-scale[data-size="desk"] { --frame-w: 16%; }
.wall-scale[data-size="hall"] { --frame-w: 24%; }
.wall-scale[data-size="wall"] { --frame-w: 34%; }
.wall-frame img { width: 100%; height: 100%; object-fit: cover; display: block; background: #fff; }
.wall-caption, .mock-caption { margin: 0.55rem 0 0; font-size: 0.88rem; color: var(--muted, #666); }

.surface-toggle { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 0.7rem; }
.live-kit-preview[data-surface="light"] { background: #fff; color: #1a1b1e; padding: 0.9rem; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); }
.live-kit-preview[data-surface="dark"] { background: #16171a; color: #f4efe6; padding: 0.9rem; border-radius: 8px; }
.live-kit-preview[data-surface="social"] { background: #111; color: #fff; padding: 1rem; border-radius: 8px; }
.live-kit-preview[data-surface="social"] .live-kit-row { justify-content: center; }
.live-kit-preview[data-surface="social"] .live-lockup {
  width: 7.2rem; height: 7.2rem; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center;
}
.live-kit-preview[data-surface="dark"] .live-kit-kicker { color: rgba(244,239,230,.7); }

.hero-plant-card { margin-top: 1.15rem; padding: 1rem 1.05rem; border: 1px solid var(--line, rgba(0,0,0,.12)); border-radius: var(--radius, 8px); background: var(--bg-soft, var(--bg-card, transparent)); }
.hero-plant-card h3 { margin: 0.55rem 0 0.5rem; font-size: 1.05rem; }
.hero-plant-card ol { margin: 0; padding-left: 1.15rem; }
.hero-plant-card li { margin: 0.25rem 0; }

.lifestyle-block { margin: 0 0 2rem; }
.lifestyle-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .lifestyle-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.lifestyle-grid figure { margin: 0; }
.lifestyle-grid img, .lifestyle-block img, .vault-preview img, .brand-in-use img, .room-mock img {
  width: 100%; height: auto; display: block; border-radius: var(--card-radius, var(--radius, 8px));
}
.vault-preview, .brand-in-use, .room-mock, .lifestyle-block figure { margin: 1rem 0 0; }
.vault-preview figcaption, .brand-in-use figcaption, .room-mock figcaption, .lifestyle-block figcaption {
  margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--muted, #666);
}

.pair-shot .reveal { width: 100%; aspect-ratio: 3 / 4; }
.reveal { touch-action: none; user-select: none; -webkit-user-select: none; }
