/* ============================================
   WISHANART — Global Stylesheet
   "The Gallery" — The painting is enough.
   ============================================ */

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

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

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  font-weight: normal;
}

p {
  overflow-wrap: break-word;
}

/* ----------------------------------------
   CUSTOM PROPERTIES
   ---------------------------------------- */
:root {
  --bg-primary: #F5F1EA;
  --bg-secondary: #F9F6F0;
  --bg-tertiary: #F0ECE4;
  --bg-warm-wash: #FDF4DC;
  --bg-dark: #36454F;
  --bg-dark-deep: #2D3A44;
  --bg-canvas: #E8E0D4;

  --text-primary: #36454F;
  --text-secondary: #8B7355;
  --text-tertiary: #9C8B7A;
  --text-on-dark: #F9F6F0;
  --text-on-dark-secondary: #9C8B7A;

  --accent-primary: #C59F7B;
  --accent-emphasis: #0047AB;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --heading-weight-hero: 300;
  --heading-weight-section: 400;

  --text-hero: clamp(2.5rem, 5vw, 4rem);
  --text-section: clamp(1.75rem, 3vw, 2.5rem);
  --text-body: clamp(0.9375rem, 1vw, 1.0625rem);

  --space-unit: 8px;
  --max-width: 1440px;
  --shadow-card: 0 4px 20px rgba(60, 48, 36, 0.08);

  --header-height: 72px;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-reveal: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------
   BASE
   ---------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

::selection {
  background-color: var(--accent-primary);
  color: var(--bg-secondary);
}

/* ----------------------------------------
   UTILITIES
   ---------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

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

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ----------------------------------------
   TYPOGRAPHY (shared)
   ---------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.2;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-section); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

/* ----------------------------------------
   BUTTONS
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: calc(var(--space-unit) * 1.75) calc(var(--space-unit) * 4);
  transition: all var(--transition-base);
}

.btn--ghost {
  border: 1px solid var(--accent-primary);
  color: var(--text-primary);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--accent-primary);
  color: var(--bg-secondary);
}

.btn--ghost:focus-visible {
  outline: 2px solid var(--accent-emphasis);
  outline-offset: 3px;
}

/* Legacy button classes (for other pages) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: var(--text-primary);
  color: var(--text-on-dark);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--text-on-dark);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.is-scrolled {
  background-color: rgba(245, 241, 234, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(60, 48, 36, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: var(--header-height);
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-on-dark);
  transition: color var(--transition-base);
  z-index: 1001;
}

.site-header.is-scrolled .nav__logo {
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  gap: calc(var(--space-unit) * 5);
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  transition: color var(--transition-base), opacity var(--transition-base);
  opacity: 0.85;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav__links a:hover {
  opacity: 1;
}

.nav__links a:hover::after {
  width: 100%;
}

.site-header.is-scrolled .nav__links a {
  color: var(--text-primary);
}

.nav__links a:focus-visible {
  outline: 2px solid var(--accent-emphasis);
  outline-offset: 3px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: calc(var(--space-unit) * 2);
  z-index: 1001;
}

.nav__cart {
  color: var(--text-on-dark);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
}

.site-header.is-scrolled .nav__cart {
  color: var(--text-primary);
}

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

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  gap: 6px;
  padding: 0;
}

.nav__hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-on-dark);
  transition: all var(--transition-base);
  transform-origin: center;
}

.site-header.is-scrolled .nav__hamburger-line {
  background: var(--text-primary);
}

.nav__hamburger.is-active .nav__hamburger-line:first-child {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}

.nav__hamburger.is-active .nav__hamburger-line:last-child {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

.nav__hamburger.is-active .nav__hamburger-line {
  background: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

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

.mobile-menu__links li {
  margin-bottom: calc(var(--space-unit) * 4);
}

.mobile-menu__links a {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--text-primary);
  transition: color var(--transition-base);
}

.mobile-menu__links a:hover {
  color: var(--accent-primary);
}

/* Legacy nav classes (for other pages) */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
}

.site-nav.scrolled {
  background: rgba(245, 241, 234, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(60, 48, 36, 0.06);
  padding: 0.875rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

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

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--text-secondary); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

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

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

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.nav-mobile a:hover { color: var(--text-secondary); }

/* ============================================
   1. HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__painting {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__painting-inner {
  width: 100%;
  height: 120%;
  background: linear-gradient(160deg, #1a1a2e 0%, #2D3A44 25%, #36454F 50%, #2D3A44 75%, #1a2030 100%);
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(45, 58, 68, 0.3) 0%, rgba(26, 26, 46, 0.6) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 calc(var(--space-unit) * 3);
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: var(--heading-weight-hero);
  line-height: 1.15;
  color: var(--text-on-dark);
  margin-bottom: calc(var(--space-unit) * 5);
  letter-spacing: 0.01em;
}

.hero__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  border: 1px solid var(--accent-primary);
  padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);
  transition: all var(--transition-base);
}

.hero__cta:hover {
  background: var(--accent-primary);
  color: var(--bg-dark-deep);
}

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

/* ============================================
   2. VALUE STRIP
   ============================================ */
.value-strip {
  background: var(--bg-primary);
  padding: calc(var(--space-unit) * 4) calc(var(--space-unit) * 4);
  border-bottom: 1px solid rgba(139, 115, 85, 0.15);
}

.value-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--space-unit) * 4);
  max-width: var(--max-width);
  margin: 0 auto;
}

.value-strip__item {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
}

.value-strip__divider {
  width: 1px;
  height: 16px;
  background: var(--text-tertiary);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ============================================
   3 & 6. COLLECTIONS
   ============================================ */
.collection {
  padding: calc(var(--space-unit) * 12) clamp(1.25rem, 4vw, 3rem) calc(var(--space-unit) * 14);
  max-width: var(--max-width);
  margin: 0 auto;
}

.collection__header {
  text-align: center;
  margin-bottom: calc(var(--space-unit) * 8);
}

.collection__title {
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: var(--heading-weight-section);
  color: var(--text-primary);
  margin-bottom: calc(var(--space-unit) * 1.5);
}

.collection__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-tertiary);
  font-style: italic;
}

.collection__grid {
  display: grid;
  gap: calc(var(--space-unit) * 2.5);
}

.collection__grid--large-left {
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.collection__grid--large-left .collection__item--large {
  grid-row: 1 / -1;
}

.collection__grid--large-right {
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: 1fr 1fr;
}

.collection__grid--large-right .collection__item--large {
  grid-row: 1 / -1;
  grid-column: 2;
}

.collection__item {
  display: block;
  overflow: hidden;
  position: relative;
}

.collection__placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  transition: transform var(--transition-slow);
}

.collection__item:hover .collection__placeholder {
  transform: scale(1.03);
}

.collection__item--large .collection__placeholder {
  min-height: 460px;
}

.collection__action {
  text-align: center;
  margin-top: calc(var(--space-unit) * 6);
}

/* ============================================
   4. CRAFT
   ============================================ */
.craft {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  background: var(--bg-canvas);
}

.craft__image {
  overflow: hidden;
}

.craft__placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.craft__text {
  display: flex;
  align-items: center;
  padding: calc(var(--space-unit) * 8);
}

.craft__statement {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-primary);
  max-width: 480px;
}

/* ============================================
   5. APPROVAL RITUAL
   ============================================ */
.ritual {
  background: var(--bg-secondary);
  padding: calc(var(--space-unit) * 14) clamp(1.25rem, 4vw, 3rem);
}

.ritual__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.ritual__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0 calc(var(--space-unit) * 3);
}

.ritual__circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: calc(var(--space-unit) * 3);
  border: 1px solid rgba(139, 115, 85, 0.2);
}

.ritual__circle-inner {
  width: 100%;
  height: 100%;
}

.ritual__number {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent-primary);
  letter-spacing: 0.08em;
  margin-bottom: calc(var(--space-unit) * 2);
}

.ritual__text {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-primary);
  line-height: 1.6;
  max-width: 220px;
}

.ritual__connector {
  width: 60px;
  height: 1px;
  background: var(--accent-primary);
  opacity: 0.3;
  margin-top: 50px;
  flex-shrink: 0;
}

/* ============================================
   7. REVIEWS
   ============================================ */
.reviews {
  background: var(--bg-dark);
  padding: calc(var(--space-unit) * 14) clamp(1.25rem, 4vw, 3rem);
}

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

.reviews__count {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-secondary);
  text-align: center;
  margin-bottom: calc(var(--space-unit) * 8);
}

.reviews__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.reviews__grid .review-card {
  display: none;
  width: 100%;
  animation: reviewFadeIn 0.6s ease;
}

.reviews__grid .review-card.active {
  display: block;
}

@keyframes reviewFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reviews__nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: calc(var(--space-unit) * 3);
}

.reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-on-dark-secondary);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
}

.reviews__dot.active {
  background: var(--accent-primary);
}

.review-card {
  background: var(--bg-dark-deep);
  padding: calc(var(--space-unit) * 4);
  border: 1px solid rgba(197, 159, 123, 0.1);
  transition: border-color var(--transition-base);
}

.review-card:hover {
  border-color: rgba(197, 159, 123, 0.25);
}

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: calc(var(--space-unit) * 2.5);
}

.review-card__text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-on-dark);
  margin-bottom: calc(var(--space-unit) * 3);
  font-style: normal;
}

.review-card__painting {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: calc(var(--space-unit) * 3);
}

.review-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-card__name {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-on-dark);
}

.review-card__location {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-on-dark-secondary);
}

/* ============================================
   8. SCALE — Size Guide
   ============================================ */
.scale {
  background: var(--bg-primary);
  padding: calc(var(--space-unit) * 14) clamp(1.25rem, 4vw, 3rem);
}

.scale__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.scale__title {
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: var(--heading-weight-section);
  color: var(--text-primary);
  margin-bottom: calc(var(--space-unit) * 1.5);
}

.scale__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-tertiary);
  margin-bottom: calc(var(--space-unit) * 8);
}

.scale__room {
  position: relative;
  width: 100%;
  height: 400px;
  background: var(--bg-tertiary);
  border: 1px solid rgba(139, 115, 85, 0.1);
  overflow: hidden;
}

/* Sofa */
.scale__sofa {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 400px;
}

.scale__sofa-back {
  height: 50px;
  background: var(--text-tertiary);
  opacity: 0.2;
  border-radius: 4px 4px 0 0;
}

.scale__sofa-seat {
  height: 30px;
  background: var(--text-tertiary);
  opacity: 0.25;
  border-radius: 0 0 4px 4px;
  margin-top: 2px;
}

.scale__sofa-arm {
  position: absolute;
  width: 20px;
  height: 65px;
  background: var(--text-tertiary);
  opacity: 0.2;
  border-radius: 4px;
  bottom: 0;
}

.scale__sofa-arm--left { left: -22px; }
.scale__sofa-arm--right { right: -22px; }

/* Paintings */
.scale__paintings {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: calc(var(--space-unit) * 5);
}

.scale__painting {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scale__painting-canvas {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.scale__painting--small .scale__painting-canvas {
  width: 60px;
  height: 45px;
}

.scale__painting--medium .scale__painting-canvas {
  width: 120px;
  height: 90px;
}

.scale__painting--large .scale__painting-canvas {
  width: 180px;
  height: 135px;
}

.scale__label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  margin-top: calc(var(--space-unit) * 1);
  letter-spacing: 0.02em;
}

/* ============================================
   9. ABOUT
   ============================================ */
.about {
  background: var(--bg-canvas);
  padding: calc(var(--space-unit) * 14) clamp(1.25rem, 4vw, 3rem);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--space-unit) * 8);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

.about__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.about__text {
  padding: calc(var(--space-unit) * 4) 0;
}

.about__title {
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: var(--heading-weight-section);
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: calc(var(--space-unit) * 4);
}

.about__text p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: calc(var(--space-unit) * 3);
  max-width: 480px;
}

.about__text .btn {
  margin-top: calc(var(--space-unit) * 2);
}

/* ============================================
   10. STYLES GRID
   ============================================ */
.styles {
  background: var(--bg-primary);
  padding: calc(var(--space-unit) * 14) clamp(1.25rem, 4vw, 3rem);
}

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

.styles__title {
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: var(--heading-weight-section);
  color: var(--text-primary);
  text-align: center;
  margin-bottom: calc(var(--space-unit) * 8);
}

.styles__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: calc(var(--space-unit) * 2.5);
}

.styles__grid .style-card:nth-child(4) { grid-column: 1; }
.styles__grid .style-card:nth-child(5) { grid-column: 2; }
.styles__grid .style-card:nth-child(6) { grid-column: 3; }

.style-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--space-unit) * 3);
}

.style-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform var(--transition-slow);
}

.style-card:hover .style-card__bg {
  transform: scale(1.05);
}

.style-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(45, 58, 68, 0.7) 0%, rgba(45, 58, 68, 0.1) 60%, transparent 100%);
  transition: background var(--transition-base);
}

.style-card:hover .style-card__overlay {
  background: linear-gradient(to top, rgba(45, 58, 68, 0.85) 0%, rgba(45, 58, 68, 0.2) 60%, transparent 100%);
}

.style-card__name {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--text-on-dark);
  letter-spacing: 0.02em;
}

.style-card__cta {
  position: absolute;
  z-index: 2;
  bottom: calc(var(--space-unit) * 3);
  right: calc(var(--space-unit) * 3);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-on-dark);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-base);
}

.style-card:hover .style-card__cta {
  opacity: 0.85;
  transform: translateX(0);
}

.style-card:focus-visible {
  outline: 2px solid var(--accent-emphasis);
  outline-offset: 2px;
}

/* ============================================
   11. FRAMING
   ============================================ */
.framing {
  background: var(--bg-secondary);
  padding: calc(var(--space-unit) * 14) clamp(1.25rem, 4vw, 3rem);
}

.framing__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.framing__title {
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: var(--heading-weight-section);
  color: var(--text-primary);
  margin-bottom: calc(var(--space-unit) * 1.5);
}

.framing__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-tertiary);
  margin-bottom: calc(var(--space-unit) * 6);
}

.framing__tabs {
  display: flex;
  justify-content: center;
  gap: calc(var(--space-unit) * 1);
  margin-bottom: calc(var(--space-unit) * 6);
  flex-wrap: wrap;
}

.framing__tab {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
  padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 2.5);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-base);
}

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

.framing__tab--active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-primary);
}

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

.framing__canvas-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.framing__painting {
  position: relative;
  display: inline-block;
}

.framing__painting-canvas {
  width: 300px;
  height: 220px;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition: box-shadow var(--transition-base);
}

.framing__frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: all var(--transition-base);
}

/* Frame styles */
.framing__frame[data-active="rolled"] {
  border: none;
  box-shadow: none;
}

.framing__frame[data-active="stretched"] {
  border: 3px solid #D4C8B8;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.framing__frame[data-active="black"] {
  border: 12px solid #2a2a2a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.framing__frame[data-active="white"] {
  border: 12px solid #f0f0f0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.framing__frame[data-active="golden"] {
  border: 12px solid var(--accent-primary);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(197, 159, 123, 0.3);
}

.framing__descriptions {
  margin-top: calc(var(--space-unit) * 3);
}

.framing__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-tertiary);
  display: none;
}

.framing__desc--active {
  display: block;
}

/* ============================================
   12. CLOSING
   ============================================ */
.closing {
  position: relative;
  padding: calc(var(--space-unit) * 16) clamp(1.25rem, 4vw, 3rem);
  background: var(--bg-primary);
  text-align: center;
  overflow: hidden;
}

.closing__painting {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.3;
}

.closing__painting-canvas {
  width: 100%;
  height: 100%;
}

.closing__content {
  position: relative;
  z-index: 1;
}

.closing__headline {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: var(--heading-weight-hero);
  color: var(--text-primary);
  margin-bottom: calc(var(--space-unit) * 5);
  line-height: 1.15;
}

.closing__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  border: 1px solid var(--accent-primary);
  padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);
  transition: all var(--transition-base);
  margin-bottom: calc(var(--space-unit) * 10);
}

.closing__cta:hover {
  background: var(--accent-primary);
  color: var(--bg-secondary);
}

.closing__newsletter {
  max-width: 440px;
  margin: 0 auto;
}

.closing__newsletter-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: calc(var(--space-unit) * 3);
}

.closing__form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(139, 115, 85, 0.3);
}

.closing__input {
  flex: 1;
  padding: calc(var(--space-unit) * 1.75) calc(var(--space-unit) * 2.5);
  background: transparent;
  border: none;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.closing__input::placeholder {
  color: var(--text-tertiary);
}

.closing__input:focus {
  outline: none;
  background: rgba(197, 159, 123, 0.05);
}

.closing__submit {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: calc(var(--space-unit) * 1.75) calc(var(--space-unit) * 3);
  border-left: 1px solid rgba(139, 115, 85, 0.3);
  transition: all var(--transition-base);
}

.closing__submit:hover {
  background: var(--accent-primary);
  color: var(--bg-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-canvas);
  padding: calc(var(--space-unit) * 10) clamp(1.25rem, 4vw, 3rem) calc(var(--space-unit) * 6);
  border-top: 1px solid rgba(139, 115, 85, 0.12);
}

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

.footer__newsletter {
  text-align: center;
  margin-bottom: calc(var(--space-unit) * 10);
  padding-bottom: calc(var(--space-unit) * 8);
  border-bottom: 1px solid rgba(139, 115, 85, 0.12);
}

.footer__newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: calc(var(--space-unit) * 1);
}

.footer__newsletter-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: calc(var(--space-unit) * 3);
}

.footer__form {
  display: flex;
  gap: 0;
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid rgba(139, 115, 85, 0.3);
}

.footer__input {
  flex: 1;
  padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2.5);
  background: transparent;
  border: none;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.footer__input::placeholder {
  color: var(--text-tertiary);
}

.footer__input:focus {
  outline: none;
  background: rgba(197, 159, 123, 0.05);
}

.footer__submit {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3);
  border-left: 1px solid rgba(139, 115, 85, 0.3);
  transition: all var(--transition-base);
}

.footer__submit:hover {
  background: var(--accent-primary);
  color: var(--bg-secondary);
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--space-unit) * 4);
  margin-bottom: calc(var(--space-unit) * 8);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: calc(var(--space-unit) * 2.5);
}

.footer__links li {
  margin-bottom: calc(var(--space-unit) * 1.25);
}

.footer__links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  transition: color var(--transition-base);
}

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

.footer__social {
  display: flex;
  gap: calc(var(--space-unit) * 2);
}

.footer__social-link {
  color: var(--text-tertiary);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
}

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

.footer__bottom {
  padding-top: calc(var(--space-unit) * 4);
  border-top: 1px solid rgba(139, 115, 85, 0.08);
  text-align: center;
}

.footer__copyright {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Legacy footer (for other pages) */
.site-footer-legacy {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

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

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.7;
  max-width: 320px;
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-on-dark-secondary);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-on-dark);
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--accent-primary); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-on-dark-secondary);
}

.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--text-on-dark-secondary); transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--text-on-dark); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

.reveal.is-visible,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

.reveal.is-visible .reveal-child {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal.is-visible .reveal-child:nth-child(1) { transition-delay: 0.1s; }
.reveal.is-visible .reveal-child:nth-child(2) { transition-delay: 0.2s; }
.reveal.is-visible .reveal-child:nth-child(3) { transition-delay: 0.3s; }
.reveal.is-visible .reveal-child:nth-child(4) { transition-delay: 0.4s; }
.reveal.is-visible .reveal-child:nth-child(5) { transition-delay: 0.5s; }
.reveal.is-visible .reveal-child:nth-child(6) { transition-delay: 0.6s; }

/* Legacy delay classes */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   ACCORDION (shared component)
   ============================================ */
.accordion-item .accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-body {
  max-height: none;
}

/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-child {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  .hero__painting-inner {
    will-change: auto;
  }
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews__grid .review-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

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

  .about__inner {
    gap: calc(var(--space-unit) * 5);
  }

  .craft__text {
    padding: calc(var(--space-unit) * 5);
  }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Legacy mobile nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Value strip */
  .value-strip__inner {
    flex-direction: column;
    gap: calc(var(--space-unit) * 2);
  }

  .value-strip__divider {
    width: 40px;
    height: 1px;
  }

  .value-strip__item {
    white-space: normal;
    font-size: 0.75rem;
  }

  /* Collections */
  .collection__grid--large-left,
  .collection__grid--large-right {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .collection__grid--large-left .collection__item--large,
  .collection__grid--large-right .collection__item--large {
    grid-row: auto;
    grid-column: auto;
  }

  .collection__item--large .collection__placeholder {
    min-height: 280px;
  }

  .collection__placeholder {
    min-height: 180px;
  }

  /* Craft */
  .craft {
    grid-template-columns: 1fr;
  }

  .craft__placeholder {
    min-height: 300px;
  }

  .craft__text {
    padding: calc(var(--space-unit) * 5) calc(var(--space-unit) * 4);
  }

  /* Ritual */
  .ritual__steps {
    flex-direction: column;
    align-items: center;
    gap: calc(var(--space-unit) * 4);
  }

  .ritual__connector {
    width: 1px;
    height: 40px;
    margin-top: 0;
  }

  /* Reviews */
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .reviews__grid .review-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  /* Scale */
  .scale__room {
    height: 300px;
  }

  .scale__paintings {
    gap: calc(var(--space-unit) * 3);
  }

  .scale__painting--small .scale__painting-canvas {
    width: 40px;
    height: 30px;
  }

  .scale__painting--medium .scale__painting-canvas {
    width: 80px;
    height: 60px;
  }

  .scale__painting--large .scale__painting-canvas {
    width: 120px;
    height: 90px;
  }

  .scale__sofa {
    width: 70%;
  }

  /* About */
  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__placeholder {
    aspect-ratio: 16 / 9;
  }

  /* Styles grid */
  .styles__grid {
    grid-template-columns: 1fr;
    gap: calc(var(--space-unit) * 2);
  }

  .style-card {
    aspect-ratio: 16 / 9;
  }

  .style-card__cta {
    opacity: 0.85;
    transform: translateX(0);
  }

  /* Framing */
  .framing__painting-canvas {
    width: 240px;
    height: 176px;
  }

  .framing__tabs {
    gap: calc(var(--space-unit) * 0.5);
  }

  .framing__tab {
    font-size: 0.75rem;
    padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 1.5);
  }

  /* Footer */
  .footer__columns {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--space-unit) * 4);
  }

  /* Closing newsletter */
  .closing__form {
    flex-direction: column;
    border: none;
  }

  .closing__input {
    border: 1px solid rgba(139, 115, 85, 0.3);
    margin-bottom: calc(var(--space-unit) * 1);
  }

  .closing__submit {
    border: 1px solid rgba(139, 115, 85, 0.3);
    border-left: 1px solid rgba(139, 115, 85, 0.3);
    padding: calc(var(--space-unit) * 1.75) calc(var(--space-unit) * 3);
  }

  /* Footer form */
  .footer__form {
    flex-direction: column;
    border: none;
  }

  .footer__input {
    border: 1px solid rgba(139, 115, 85, 0.3);
    margin-bottom: calc(var(--space-unit) * 1);
  }

  .footer__submit {
    border: 1px solid rgba(139, 115, 85, 0.3);
    border-left: 1px solid rgba(139, 115, 85, 0.3);
  }

  /* Legacy footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

/* ============================================
   RESPONSIVE — Small Mobile
   ============================================ */
@media (max-width: 480px) {
  .hero__headline {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .collection {
    padding-left: calc(var(--space-unit) * 2);
    padding-right: calc(var(--space-unit) * 2);
  }

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

  .scale__room {
    height: 250px;
  }

  .scale__paintings {
    gap: calc(var(--space-unit) * 2);
    bottom: 110px;
  }

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