/* ============================================
   Padmori - Premium Custom Pet Keepsakes
   Main Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --color-bg: #FAF8F5;
  --color-bg-alt: #F2EDE6;
  --color-bg-dark: #1A1815;
  --color-text: #2C2A26;
  --color-text-light: #5F5B53;
  --color-text-muted: #8A857B;
  --color-primary: #C77B5E;
  --color-primary-dark: #A86446;
  --color-primary-light: #E8C9B8;
  --color-accent: #7BA686;
  --color-white: #FFFFFF;
  --color-border: #E5DFD8;
  --color-overlay: rgba(26, 24, 21, 0.5);

  /* Typography */
  --font-heading: 'Playfair Display', 'Noto Serif SC', 'Georgia', serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(44, 42, 38, 0.06);
  --shadow-md: 0 8px 32px rgba(44, 42, 38, 0.08);
  --shadow-lg: 0 16px 48px rgba(44, 42, 38, 0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

p {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--space-2xl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(199, 123, 94, 0.25);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(199, 123, 94, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-white);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-base);
  padding: 1.5rem 0;
}

.nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

.nav.scrolled .nav-logo {
  color: var(--color-text);
}

.nav-logo .logo-dot {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-text);
  color: var(--color-white) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  font-weight: 500;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-primary);
}

/* --- Mobile Toggle --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-base);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2C2A26 0%, #1A1815 100%);
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  transform-origin: center 38%;
  animation: heroKenBurns 24s ease-out forwards;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 19, 17, 0.7) 0%, rgba(20, 19, 17, 0.28) 58%, rgba(20, 19, 17, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 820px;
  padding-top: 8rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: transparent;
  backdrop-filter: none;
  border: 1px solid rgba(221, 232, 216, 0.32);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  max-width: 900px;
  font-size: clamp(4rem, 7.2vw, 7.8rem);
  line-height: 0.91;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 .accent {
  display: inline-block;
  color: #d8e6d3;
  font-style: italic;
  text-shadow: 0 12px 55px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .24);
  margin-bottom: 2.5rem;
  margin-top: 2.2rem;
  max-width: 610px;
  padding-left: 1.15rem;
  border-left: 1px solid rgba(216, 230, 211, 0.56);
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--color-bg-alt);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.trust-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
}

/* --- Categories Grid --- */
.categories {
  background: var(--color-bg);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4.2;
  cursor: pointer;
  transition: transform var(--transition-slow);
}

.category-card:hover {
  transform: translateY(-8px);
}

.category-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover .category-card-img {
  transform: scale(1.06);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 24, 21, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.category-card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.category-card h3 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.category-card-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  transition: gap var(--transition-fast);
}

.category-card:hover .category-card-link {
  gap: 0.75rem;
}

/* --- How It Works --- */
.how-it-works {
  background: var(--color-bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: var(--space-lg);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}

.step-card:not(:last-child) .step-number::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 1rem);
  width: calc(100% - 2rem);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--color-border) 0 6px, transparent 6px 12px);
  z-index: -1;
}

.step-card h4 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Featured Products --- */
.featured {
  background: var(--color-bg);
}

.products-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: var(--space-lg);
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.product-card-info {
  padding: 1.5rem;
}

.product-card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.product-card h4 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.product-card-price {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
}

.product-card-price .from {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* --- Brand Story --- */
.brand-story {
  background: var(--color-bg-dark);
  color: var(--color-white);
  overflow: hidden;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.brand-story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.brand-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story-content h2 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.brand-story-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.brand-story-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-story-stat h4 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary-light);
}

.brand-story-stat span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Testimonials --- */
.testimonials {
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: #E8A547;
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 0.875rem;
}

.testimonial-author-info h5 {
  font-size: 0.9375rem;
  font-weight: 600;
}

.testimonial-author-info span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-xl) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  max-width: 320px;
}

.footer-col h5 {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.625rem;
}

.footer-col ul li a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  color: var(--color-white);
}

/* --- Product Detail Page --- */
.product-detail {
  padding-top: 8rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb span {
  color: var(--color-text-muted);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  margin-bottom: var(--space-xl);
}

/* --- Persistent purchase dock --- */
.purchase-dock {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 1200;
  width: min(920px, calc(100% - 2rem));
  transform: translate(-50%, calc(100% + 3rem));
  opacity: 0;
  pointer-events: none;
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1), opacity 260ms ease;
}

.purchase-dock.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.purchase-dock__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .85rem .9rem .85rem 1.35rem;
  color: var(--color-white);
  background: rgba(26, 33, 29, .92);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 1.15rem;
  box-shadow: 0 24px 70px rgba(18, 25, 21, .28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.purchase-dock__inner::after {
  content: '·  ·  ·';
  position: absolute;
  right: 255px;
  bottom: .25rem;
  color: rgba(255, 255, 255, .12);
  font-size: 1.2rem;
  letter-spacing: .18rem;
  transform: rotate(-10deg);
}

.purchase-dock__pets {
  position: absolute;
  top: -22px;
  right: 248px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  pointer-events: none;
}

.pet-peek {
  position: relative;
  display: block;
  width: 34px;
  height: 28px;
  background: #d8b58f;
  border: 2px solid rgba(255,255,255,.6);
  border-bottom: 0;
  border-radius: 48% 48% 38% 38%;
  box-shadow: 0 -5px 15px rgba(0,0,0,.12);
  transform-origin: bottom center;
  animation: pet-peek 4.5s ease-in-out infinite;
}

.pet-peek::before,
.pet-peek::after {
  content: '';
  position: absolute;
  top: -8px;
  width: 13px;
  height: 16px;
  background: inherit;
  border: 2px solid rgba(255,255,255,.6);
  z-index: -1;
}

.pet-peek::before { left: -3px; transform: rotate(-26deg); border-radius: 70% 20% 50% 30%; }
.pet-peek::after { right: -3px; transform: rotate(26deg); border-radius: 20% 70% 30% 50%; }

.pet-peek i,
.pet-peek i::before,
.pet-peek i::after {
  position: absolute;
  content: '';
  display: block;
}

.pet-peek i {
  left: 50%;
  top: 14px;
  width: 5px;
  height: 4px;
  margin-left: -2.5px;
  background: #292621;
  border-radius: 55% 55% 70% 70%;
}

.pet-peek i::before,
.pet-peek i::after {
  top: -7px;
  width: 3px;
  height: 3px;
  background: #292621;
  border-radius: 50%;
}

.pet-peek i::before { left: -8px; }
.pet-peek i::after { right: -8px; }

.pet-peek--cat {
  width: 32px;
  height: 26px;
  background: #aeb8a8;
  animation-delay: .3s;
}

.pet-peek--cat::before,
.pet-peek--cat::after {
  top: -9px;
  width: 14px;
  height: 17px;
  border-radius: 2px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.pet-peek--dog {
  width: 38px;
  background: linear-gradient(145deg, #d7aa78, #bd8758);
  border-radius: 48% 48% 44% 44%;
}

.pet-peek--dog::before,
.pet-peek--dog::after {
  top: 0;
  width: 13px;
  height: 24px;
  background: #9d6845;
  border-radius: 70% 40% 75% 50%;
  clip-path: none;
}

.pet-peek--dog::before {
  left: -8px;
  transform: rotate(14deg);
}

.pet-peek--dog::after {
  right: -8px;
  transform: rotate(-14deg);
}

.pet-peek--dog i {
  top: 15px;
  width: 7px;
  height: 5px;
  margin-left: -3.5px;
  box-shadow: 0 4px 0 3px rgba(239, 205, 164, .78);
}

.pet-peek--cat i {
  background: #745f58;
}

.pet-peek--cat i::before,
.pet-peek--cat i::after {
  width: 4px;
  height: 2px;
  background: #33413a;
  border-radius: 80%;
}

@keyframes pet-peek {
  0%, 72%, 100% { transform: translateY(5px) rotate(0); }
  78% { transform: translateY(0) rotate(-3deg); }
  84% { transform: translateY(2px) rotate(3deg); }
}

/* --- Homepage direction switch --- */
.view-switch {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1300;
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem;
  color: #fff;
  background: rgba(24, 25, 22, .78);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}

.view-switch span {
  padding: 0 .55rem;
  color: rgba(255,255,255,.55);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.view-switch a {
  padding: .45rem .75rem;
  color: rgba(255,255,255,.72);
  border-radius: 999px;
  font-size: .72rem;
  transition: color .2s ease, background .2s ease;
}

.view-switch a.active {
  color: #1d241f;
  background: #dce8d9;
}

/* --- Cinematic homepage: optional alternate art direction --- */
.cinematic-home {
  background: #11130f;
}

.cinematic-home .hero {
  --cinema-x: 0;
  --cinema-y: 0;
  min-height: 105svh;
  isolation: isolate;
  background: #11130f;
}

.cinematic-home .hero::before,
.cinematic-home .hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  height: clamp(14px, 2.6vw, 38px);
  background: #0c0e0b;
  pointer-events: none;
  animation: cinema-bars 1.25s cubic-bezier(.16,1,.3,1) both;
}

.cinematic-home .hero::before { top: 0; transform-origin: top; }
.cinematic-home .hero::after { bottom: 0; transform-origin: bottom; }

.cinematic-home .hero-bg {
  inset: -2.5%;
  overflow: hidden;
}

.cinematic-home .hero-bg img {
  opacity: .82;
  transform: scale(1.0);
  animation: cinema-lens 16s ease-in-out alternate infinite;
}

.cinematic-home .hero-bg::after {
  background:
    radial-gradient(circle at 68% 43%, transparent 0 22%, rgba(10,12,9,.18) 48%, rgba(8,10,8,.74) 100%),
    linear-gradient(90deg, rgba(8,10,8,.88) 0%, rgba(8,10,8,.5) 42%, rgba(8,10,8,.08) 73%);
}

.cinematic-home .hero-content {
  max-width: 820px;
  padding-top: 8rem;
}

.cinematic-home .hero-eyebrow {
  background: transparent;
  border-color: rgba(221,232,216,.32);
  letter-spacing: .16em;
}

.cinematic-home .hero h1 {
  max-width: 900px;
  font-size: clamp(4rem, 7.2vw, 7.8rem);
  line-height: .91;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.cinematic-home .hero h1 .accent {
  display: inline-block;
  color: #d8e6d3;
  text-shadow: 0 12px 55px rgba(0,0,0,.25);
}

.cinematic-home .hero-subtitle {
  max-width: 610px;
  margin-top: 2.2rem;
  padding-left: 1.15rem;
  border-left: 1px solid rgba(216,230,211,.56);
  font-size: 1.08rem;
}

.cinematic-home .hero-scroll {
  bottom: 4.5rem;
}

.cinematic-home .trust-bar {
  border-top: 1px solid rgba(216,230,211,.1);
}

@keyframes cinema-bars {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes cinema-lens {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.2); }
}

@media (max-width: 767px) {
  .view-switch {
    right: .6rem;
    bottom: .6rem;
  }

  .view-switch span { display: none; }

  .cinematic-home .hero h1 {
    font-size: clamp(3.25rem, 15vw, 5rem);
  }

  .cinematic-home .hero-content {
    padding-top: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-home .hero-bg img,
  .cinematic-home .hero::before,
  .cinematic-home .hero::after,
  .pet-peek {
    animation: none !important;
  }
}

.purchase-dock__meta {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: .8rem;
}

.purchase-dock__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: .15rem;
  color: rgba(255, 255, 255, .62);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.purchase-dock__meta strong {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 500;
}

.purchase-dock__price {
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
}

.purchase-dock__button {
  min-width: 220px;
  box-shadow: 0 12px 28px rgba(123, 166, 134, .28);
}

/* Motion polish for product pages */
.gallery-main {
  position: relative;
}

.gallery-main::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 48%, transparent 64%);
  transform: translateX(-130%);
  animation: gallery-sheen 7s ease-in-out infinite;
}

.gallery-main-img {
  transition: opacity var(--transition-base), transform 900ms cubic-bezier(.22, 1, .36, 1);
}

.gallery-main:hover .gallery-main-img {
  transform: scale(1.035);
}

.variant-option {
  position: relative;
  overflow: hidden;
}

.variant-option::after {
  content: '';
  position: absolute;
  inset: auto 15% 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 240ms ease;
}

.variant-option:hover::after,
.variant-option.active::after {
  transform: scaleX(1);
}

@keyframes gallery-sheen {
  0%, 60% { transform: translateX(-130%); }
  85%, 100% { transform: translateX(130%); }
}

@media (max-width: 767px) {
  body.has-purchase-dock {
    padding-bottom: 5.5rem;
  }

  .purchase-dock {
    bottom: 0;
    width: 100%;
  }

  .purchase-dock__inner {
    gap: .75rem;
    padding: .75rem max(.75rem, env(safe-area-inset-right)) calc(.75rem + env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
    border-radius: 1rem 1rem 0 0;
  }

  .purchase-dock__pets {
    top: -18px;
    right: 22px;
    transform: scale(.8);
    transform-origin: bottom right;
  }

  .purchase-dock__inner::after {
    display: none;
  }

  .purchase-dock__eyebrow,
  .purchase-dock__meta strong {
    display: none;
  }

  .purchase-dock__meta {
    display: block;
    min-width: 64px;
  }

  .purchase-dock__price {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
  }

  .purchase-dock__button {
    flex: 1;
    min-width: 0;
    padding-inline: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .purchase-dock,
  .gallery-main-img,
  .variant-option::after {
    transition-duration: 1ms !important;
  }

  .gallery-main::after {
    animation: none;
  }
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: 6rem;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--color-bg-alt);
  margin-bottom: 1rem;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-base);
}

.gallery-main-img.fading {
  opacity: 0;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
  background: var(--color-bg-alt);
}

.gallery-thumb.active {
  border-color: var(--color-primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.product-info .product-tag {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-rating .stars {
  color: #E8A547;
  font-size: 0.9375rem;
}

.product-rating span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.product-price {
  font-size: 2rem;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.product-price .from {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 400;
  font-family: var(--font-body);
}

.product-short-desc {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

/* Variant Options */
.variant-group {
  margin-bottom: 1.5rem;
}

.variant-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.variant-label .hint {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.variant-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.variant-option {
  padding: 0.625rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--color-white);
}

.variant-option:hover {
  border-color: var(--color-text-light);
}

.variant-option.active {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 500;
}

.size-tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.12rem 0.5rem;
  font-size: 0.625rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  vertical-align: middle;
  font-weight: 600;
  white-space: nowrap;
}

/* Lead-time notice (add-to-cart bar) */
.lead-notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  margin: 0 0 1.25rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
}

.lead-notice__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 1px;
}

.lead-notice p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-light);
}


/* Upload Area */
.upload-area {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.upload-area:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
}

.upload-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  color: var(--color-primary);
}

.upload-area h5 {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.upload-area p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Photo guide card (email-based photo collection) */
.photo-guide {
  cursor: default;
}
.photo-guide:hover {
  border-color: var(--color-border);
  background: transparent;
}
.photo-guide-steps {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  text-align: left;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  display: block;
  width: 100%;
  max-width: 420px;
}

/* Product Actions */
.product-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.product-actions .btn {
  flex: 1;
}

/* Product Features List */
.product-features {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item span {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

/* Product Details Sections */
.detail-section {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.detail-section h3 {
  margin-bottom: 1.5rem;
}

.detail-section h3 .section-num {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 500;
  display: block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--color-border);
}

.specs-table td {
  padding: 1rem 0;
  font-size: 0.9375rem;
}

.specs-table td:first-child {
  font-weight: 500;
  color: var(--color-text);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--color-text-light);
}

/* Detail Gallery */
.detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.detail-gallery img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.detail-gallery img:hover {
  transform: scale(1.02);
}

.detail-gallery .full-width {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
}

/* Process Steps on Detail */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.timeline-step {
  text-align: center;
}

.timeline-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 auto 0.75rem;
}

.timeline-step h5 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-step p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.open {
  border-color: var(--color-primary-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  color: var(--color-primary);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Related Products */
.related {
  background: var(--color-bg-alt);
}

/* --- Animations --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   Cinematic Motion (ported from motion demo)
   ============================================ */

/* Hero title — staggered word reveal */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-loaded .hero-word {
  opacity: 1;
  transform: translateY(0);
}

/* 3D tilt for cards */
.tilt {
  transform: perspective(900px) translateZ(0);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  display: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

@keyframes heroKenBurns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(-0.5%, -0.3%); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .grain { display: none; }
  .hero-word { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .categories-grid,
  .products-row,
  .testimonials-grid,
  .steps-grid,
  .process-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .brand-story-grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-gallery {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }

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

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: var(--space-xl) 0;
  }

  .categories-grid,
  .products-row,
  .testimonials-grid,
  .steps-grid,
  .process-timeline,
  .detail-gallery {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .brand-story-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-content {
    padding-top: 5rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .container,
  .container-narrow {
    padding: 0 1.25rem;
  }
}

/* ===== Real gallery (MWF-style showcase wall) ===== */
.real-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-surface, #fff);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.gallery-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  padding: 12px 14px;
  font-size: .9rem;
  color: var(--color-text-muted, #8a7d6d);
  letter-spacing: .02em;
}

/* ===== Single product ===== */
.single-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.single-product-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.product-forms { list-style: none; padding: 0; margin: 18px 0; }
.product-forms li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.product-forms li::before { content: "\1F43E"; position: absolute; left: 0; }
.product-note { color: var(--color-text-muted, #8a7d6d); font-size: .95rem; margin-bottom: 22px; }
.product-card-purpose { margin: 5px 0 8px; color: var(--color-primary); font-size: .78rem; font-weight: 600; letter-spacing: .025em; }

/* ===== Choose by meaning ===== */
.keepsake-guide { background: #f2ede6; }
.keepsake-guide__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.keepsake-guide__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; }
.keepsake-guide__card { position: relative; min-height: 360px; padding: 34px 30px; display: flex; flex-direction: column; border: 1px solid rgba(63,51,39,.11); border-radius: 18px; background: rgba(255,255,255,.64); overflow: hidden; }
.keepsake-guide__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: rgba(124,96,75,.24); }
.keepsake-guide__card--available { background: #29241f; color: #fff; box-shadow: 0 20px 55px rgba(49,38,29,.16); }
.keepsake-guide__card--available::before { background: var(--color-primary-light); }
.keepsake-guide__number { font-family: var(--font-heading); font-size: 2rem; color: rgba(124,96,75,.4); }
.keepsake-guide__card--available .keepsake-guide__number { color: rgba(255,255,255,.28); }
.keepsake-guide__state { position: absolute; top: 34px; right: 28px; padding: 5px 9px; border: 1px solid rgba(63,51,39,.12); border-radius: 99px; color: var(--color-text-muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
.keepsake-guide__card--available .keepsake-guide__state { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.72); }
.keepsake-guide__card h3 { margin: 62px 0 10px; font-size: 1.65rem; }
.keepsake-guide__card--available h3 { color: #fff; }
.keepsake-guide__card strong { color: var(--color-primary); font-size: .84rem; }
.keepsake-guide__card--available strong { color: #e0b99f; }
.keepsake-guide__card p { margin: 16px 0 24px; color: var(--color-text-light); line-height: 1.7; font-size: .92rem; }
.keepsake-guide__card--available p { color: rgba(255,255,255,.72); }
.keepsake-guide__card a, .keepsake-guide__note { margin-top: auto; font-size: .82rem; font-weight: 600; }
.keepsake-guide__card a { color: var(--color-primary); text-decoration: none; }
.keepsake-guide__card--available a { color: #fff; }
.keepsake-guide__card a span { margin-left: 5px; transition: margin .2s ease; }
.keepsake-guide__card a:hover span { margin-left: 10px; }
.keepsake-guide__note { color: var(--color-text-muted); }
.keepsake-guide__sizes { list-style: none; padding: 0; margin: 0 0 26px; border-top: 1px solid rgba(63,51,39,.1); }
.keepsake-guide__sizes li { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(63,51,39,.1); color: var(--color-text-light); font-size: .8rem; line-height: 1.45; }
.keepsake-guide__sizes b { color: var(--color-primary); }
.keepsake-guide__card--available .keepsake-guide__sizes { border-color: rgba(255,255,255,.12); }
.keepsake-guide__card--available .keepsake-guide__sizes li { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }
.keepsake-guide__card--available .keepsake-guide__sizes b { color: #e0b99f; }

@media (max-width: 900px) { .keepsake-guide__grid, .keepsake-guide__grid--two { grid-template-columns: 1fr; } .keepsake-guide__card { min-height: 300px; } }

/* Readability: keep Real-gallery & Single-product on a clean light surface with strong contrast */
.real-gallery, .single-product { background: var(--color-white); }
.real-gallery .section-header h2,
.real-gallery .section-header p,
.single-product-content h2,
.single-product-content > p { color: var(--color-text); }

/* ===== FAQ (dark section — high contrast) ===== */
.section.faq {
  background: linear-gradient(180deg, #1F1D1A 0%, #15130F 100%);
  color: #fff;
}
.section.faq .section-eyebrow { color: var(--color-primary-light); font-size: 0.9rem; font-weight: 600; }
.section.faq h2 { color: #fff; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.04); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  font-size: 1.18rem;
  font-family: var(--font-serif, Georgia, serif);
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-icon { font-size: 1.6rem; color: var(--color-primary-light); transition: transform .3s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 22px 20px; color: rgba(255,255,255,.82); line-height: 1.75; margin: 0; font-size: 1rem; }

@media (max-width: 900px) {
  .real-gallery .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item img { height: 240px; }
  .single-product-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Legal pages (Privacy / Refund / Terms) ===== */
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-bg-alt);
}
.legal-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-nav .nav-logo { font-size: 1.4rem; }
.legal-nav a.back-link {
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--color-text-light);
  text-decoration: none;
}
.legal-nav a.back-link:hover { color: var(--color-primary); }
.legal-hero {
  background: var(--color-bg-alt);
  padding: 64px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--color-bg-alt);
}
.legal-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-text);
  margin: 0 0 12px;
}
.legal-hero .legal-meta {
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--color-text-muted);
}
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal-body h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--color-text);
  margin: 44px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary-light);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text);
  margin: 28px 0 10px;
}
.legal-body p, .legal-body li {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--color-text-light);
  margin: 0 0 14px;
}
.legal-body ul { padding-left: 22px; margin: 0 0 16px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--color-text); font-weight: 600; }
.legal-body a { color: var(--color-primary); text-decoration: underline; }
.legal-callout {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}
.legal-callout p { margin: 0; color: var(--color-text); }
.legal-footer-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--color-text-muted);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-bg-alt);
}

/* ===== Purchase clarity ===== */
.purchase-assurance {
  display: grid;
  gap: 0;
  margin: 1.35rem 0 1.7rem;
  border: 1px solid rgba(63, 51, 39, .12);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .72);
}
.purchase-assurance > div { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid rgba(63, 51, 39, .08); }
.purchase-assurance > div:last-child { border-bottom: 0; }
.purchase-assurance strong { font-family: var(--font-heading); color: var(--color-primary); font-size: .82rem; letter-spacing: .08em; }
.purchase-assurance span { font-size: .88rem; color: var(--color-text-light); }
.photo-readiness { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 18px; }
.photo-readiness span { padding: 10px; border-radius: 10px; background: var(--color-bg-alt); color: var(--color-text-muted); font-size: .72rem; line-height: 1.45; }
.photo-readiness strong { display: block; color: var(--color-text); font-size: .78rem; margin-bottom: 2px; }
.purchase-discount-link { width: 100%; margin: 10px 0 2px; padding: 12px 16px; border: 1px dashed rgba(201,111,76,.42); border-radius: 12px; background: rgba(201,111,76,.07); color: var(--color-text-light); font: inherit; font-size: .82rem; text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.purchase-discount-link span { display: inline-block; margin-right: 8px; color: var(--color-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; }
.purchase-discount-link:hover { background: rgba(201,111,76,.12); border-color: var(--color-primary); transform: translateY(-1px); }
.purchase-discount-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

/* ===== Studio notes invitation ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.studio-invite { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.studio-invite.is-open { opacity: 1; visibility: visible; }
.studio-invite__backdrop { position: absolute; inset: 0; border: 0; background: rgba(24, 20, 16, .68); backdrop-filter: blur(7px); cursor: default; }
.studio-invite__card { position: relative; width: min(780px, 100%); min-height: 430px; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: 24px; background: #fbf8f3; box-shadow: 0 30px 90px rgba(0,0,0,.35); transform: translateY(18px) scale(.98); transition: transform .45s cubic-bezier(.16,1,.3,1); }
.studio-invite.is-open .studio-invite__card { transform: none; }
.studio-invite__close { position: absolute; right: 16px; top: 14px; z-index: 2; width: 38px; height: 38px; border: 1px solid rgba(63,51,39,.14); border-radius: 50%; background: rgba(255,255,255,.78); color: var(--color-text); font-size: 25px; line-height: 1; cursor: pointer; }
.studio-invite__art { position: relative; overflow: hidden; background: #3c3029; }
.studio-invite__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(35,25,20,.35)); pointer-events: none; }
.studio-invite__art img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transform: scale(1.025); }
.studio-invite__content { padding: 58px 52px 46px; align-self: center; }
.studio-invite__content h2 { margin: 8px 0 16px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.04; }
.studio-invite__content > p { color: var(--color-text-light); line-height: 1.7; }
.studio-invite__form { display: grid; grid-template-columns: 1fr; gap: 9px; margin: 24px 0 12px; }
.studio-invite__form input { min-width: 0; border: 1px solid rgba(63,51,39,.2); border-radius: 999px; padding: 13px 18px; background: #fff; color: var(--color-text); font: inherit; }
.studio-invite__form .btn { width: 100%; padding-inline: 20px; white-space: nowrap; }
.studio-invite__status { min-height: 22px; margin: 5px 0 !important; color: var(--color-primary) !important; font-size: .82rem; }
.studio-invite__content small { display: block; color: var(--color-text-muted); font-size: .72rem; line-height: 1.5; }
body.studio-invite-open { overflow: hidden; }

@media (max-width: 720px) {
  .photo-readiness { grid-template-columns: 1fr; }
  .studio-invite { align-items: end; padding: 12px; }
  .studio-invite__card { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .studio-invite__art { min-height: 145px; }
  .studio-invite__art img { object-position: center 42%; }
  .studio-invite__content { padding: 30px 24px 25px; }
  .studio-invite__content h2 { font-size: 2rem; }
  .studio-invite__form { grid-template-columns: 1fr; }
}
.studio-invite__website {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

/* ===== Trust row under keepsake guide (preview + free shipping) ===== */
.keepsake-guide__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.2rem;
  font-size: 0.88rem;
  color: #5a4a3e;
  line-height: 1.4;
}
.keepsake-guide__trust .trust-check {
  color: #c2703f;
  font-weight: 700;
  font-style: normal;
  margin-right: 0.3rem;
}
.keepsake-guide__trust .trust-dot {
  color: #c9b29a;
  font-size: 1.1rem;
}


/* ============================================
   Founding price band + note (v2 additions)
   ============================================ */
.founding-band { background: var(--color-bg-alt); }
.founding-band__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 52px;
  align-items: center;
  background: var(--color-bg-dark);
  color: #F2EDE6;
  border-radius: 24px;
  padding: 56px 60px;
}
.founding-band__price { text-align: center; }
.founding-band__price s { display: block; color: #8A857B; font-size: 1.5rem; text-decoration-thickness: 2px; }
.founding-band__price strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 700;
  color: #E8C9B8;
  line-height: 1.08;
  margin-top: 2px;
}
.founding-band__price span {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B5AFA5;
}
.founding-band__copy h2 { margin: 6px 0 12px; color: #F7F4EF; }
.founding-band__copy p { color: #C9C3B8; max-width: 58ch; line-height: 1.75; }
.founding-band__copy p strong { color: #E8C9B8; }
.founding-band__copy .btn { margin-top: 22px; }

.founding-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.9rem 0 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid #e7c9b0;
  border-left: 3px solid var(--color-primary);
  border-radius: 10px;
  background: #fbf1e7;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #7a5238;
}

@media (max-width: 860px) {
  .founding-band__inner { grid-template-columns: 1fr; gap: 26px; padding: 38px 26px; text-align: center; }
  .founding-band__price strong { font-size: 2.9rem; }
  .founding-band__copy p { margin: 0 auto; }
}


/* ============================================
   Scratch-off welcome gift (v2 additions)
   ============================================ */
.scratch-zone {
  position: relative;
  width: min(300px, 100%);
  height: 104px;
  margin: 2px 0 16px;
  border-radius: 14px;
  overflow: hidden;
  background: #FBF1E7;
  border: 1px solid #E7C9B0;
}
.scratch-prize {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.scratch-prize__amount {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.scratch-prize__sub {
  font-size: 0.76rem;
  color: #7A5238;
  letter-spacing: 0.02em;
}
.scratch-zone.is-revealed .scratch-prize__amount { transform: scale(1.12); }
.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
  transition: opacity 0.45s ease;
}
.scratch-zone.is-revealed .scratch-canvas {
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .scratch-prize__amount { transition: none; }
  .scratch-canvas { transition: none; }
}


/* ============================================
   Promo ticker (top scrolling offer bar)
   ============================================ */
.promo-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-dark);
  color: var(--color-primary-light);
}
.promo-ticker__track {
  display: flex;
  width: max-content;
  animation: promo-ticker 32s linear infinite;
}
.promo-ticker__group {
  display: flex;
  gap: 56px;
  padding-right: 56px;
  white-space: nowrap;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.promo-ticker__group s { color: var(--color-text-muted); }
@keyframes promo-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.nav { top: 40px; }
@media (max-width: 700px) {
  .promo-ticker__group { gap: 36px; padding-right: 36px; font-size: 0.64rem; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-ticker__track { animation: none; }
}

/* ============================================
   Studio invite: centered content (v2 fix)
   ============================================ */
.studio-invite__content { text-align: center; }
.studio-invite__content .scratch-zone { margin-left: auto; margin-right: auto; }
.studio-invite__form input[type="email"] { text-align: left; }
