/* =========================================================
   Ulfa — Custom Furniture Studio
   Premium identity stylesheet
   =========================================================

   Built on the brand brief:
   - Warm neutrals only, no pure white/black
   - Cormorant Garamond (serif headlines) + Inter (sans body)
   - Generous spacing, calm rhythm
   - No metallic gold, no gradients except subtle wood-tone
   ========================================================= */

:root {
  /* PALETTE — from brand_brief.md Section 4 */
  --ivory:        #F4EFE7;
  --off-white:    #FAF7F1;
  --stone:        #C9BFB0;
  --walnut:       #4A3528;
  --walnut-dark:  #2E1F17;
  --charcoal:     #1F1B17;
  --ochre:        #B8704A;
  --olive:        #4D5240;
  --sage:         #8E8B6E;    /* secondary accent from the mood board */
  --travertine:   #D8CDB6;    /* warm stone tone for swatch band */

  /* TYPOGRAPHY */
  --font-serif:   'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* SPATIAL RHYTHM */
  --space-xs:     0.5rem;
  --space-sm:     1rem;
  --space-md:     2rem;
  --space-lg:     4rem;
  --space-xl:     8rem;
  --space-2xl:    12rem;

  /* CONTAINER */
  --max-width:    1400px;
  --content-width: 1100px;

  /* MOTION */
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 200ms;
  --duration:      450ms;
  --duration-slow: 900ms;
}

/* =========================================================
   RESET & BASE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease);
}

a:hover { opacity: 0.7; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.h-display {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--walnut);
}

.h-section {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--walnut);
}

.h-sub {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.25;
  color: var(--walnut);
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--charcoal);
}

.body-md {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
}

.body-muted {
  color: var(--walnut);
  opacity: 0.75;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
  position: relative;
}

@media (max-width: 768px) {
  section { padding: var(--space-lg) 0; }
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: background-color var(--duration) var(--ease),
              backdrop-filter var(--duration) var(--ease),
              padding var(--duration) var(--ease);
}

.nav.scrolled {
  background: rgba(244, 239, 231, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-sm) 0;
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.625rem;
  letter-spacing: 0.05em;
  color: var(--walnut);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}

.nav__lang {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--walnut);
  border-radius: 2px;
  color: var(--walnut);
  transition: background-color var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease);
}

.nav__lang:hover {
  background: var(--walnut);
  color: var(--ivory);
  opacity: 1;
}

.nav__cta {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  background: var(--walnut);
  color: var(--ivory);
  border-radius: 2px;
  transition: background-color var(--duration-fast) var(--ease);
}

.nav__cta:hover {
  background: var(--walnut-dark);
  opacity: 1;
}

@media (max-width: 768px) {
  .nav__menu .nav__link { display: none; }
}

/* =========================================================
   PAGE HERO (inner pages, smaller than home hero)
   ========================================================= */

.page-hero {
  padding: calc(var(--space-2xl) + var(--space-md)) 0 var(--space-lg);
  background: var(--ivory);
  border-bottom: 1px solid rgba(74, 53, 40, 0.08);
}

.page-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
}

.page-hero__eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: var(--space-md);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--walnut);
  margin-bottom: var(--space-md);
}

.page-hero__title em {
  font-style: italic;
  color: var(--ochre);
}

.page-hero__intro {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--charcoal);
  opacity: 0.85;
}

/* Active nav state for current page */
.nav__link[aria-current="page"] {
  color: var(--ochre);
  font-weight: 500;
}

/* Page hero — 2-column variant with materials accent grid */
.page-hero--split .page-hero__inner {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  text-align: left;
}

.page-hero--split .page-hero__intro { max-width: 540px; margin-left: 0; }

.page-hero__accent {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  background-image: url('../images/materials-moodboard.png');
  background-size: cover;
  background-position: center;
  background-color: var(--off-white);
  border-radius: 2px;
  box-shadow: 0 30px 50px -24px rgba(31, 27, 23, 0.22);
  margin-left: auto;
  justify-self: end;
}

@media (max-width: 900px) {
  .page-hero--split .page-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  .page-hero--split .page-hero__intro { margin-left: auto; }
  .page-hero__accent { margin: 0 auto; max-width: 320px; }
}

[dir="rtl"] .page-hero--split .page-hero__inner { text-align: right; }
[dir="rtl"] .page-hero--split .page-hero__intro { margin-right: 0; margin-left: 0; }
[dir="rtl"] .page-hero__accent { margin-right: auto; margin-left: 0; }

/* =========================================================
   HERO (home page, large)
   ========================================================= */

.hero {
  min-height: 100vh;
  padding: var(--space-2xl) 0 var(--space-xl);
  display: flex;
  align-items: center;
  background: var(--ivory);
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__text { max-width: 640px; }

.hero__eyebrow { margin-bottom: var(--space-md); }

.hero__title {
  margin-bottom: var(--space-md);
}

.hero__title-line {
  display: block;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--walnut);
  opacity: 0;
  transform: translateY(20px);
  animation: rise var(--duration-slow) var(--ease) forwards;
}

.hero__title-line:nth-child(1) { animation-delay: 100ms; }
.hero__title-line:nth-child(2) { animation-delay: 350ms; }
.hero__title-line:nth-child(3) {
  animation-delay: 600ms;
  font-style: italic;
  color: var(--ochre);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__intro {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 480px;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: rise var(--duration-slow) var(--ease) forwards;
  animation-delay: 900ms;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  opacity: 0;
  animation: rise var(--duration-slow) var(--ease) forwards;
  animation-delay: 1100ms;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 1.125rem 2rem;
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease);
}

.btn--primary {
  background: var(--walnut);
  color: var(--ivory);
}

.btn--primary:hover {
  background: var(--walnut-dark);
  opacity: 1;
}

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

.btn--ghost:hover {
  background: var(--walnut);
  color: var(--ivory);
  opacity: 1;
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

/* Hero image */
.hero__image {
  position: relative;
  aspect-ratio: 4 / 5;
  background-image: url('../images/hero-home.png');
  background-size: cover;
  background-position: center;
  background-color: var(--walnut);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(31, 27, 23, 0.25);
}

/* Hero overlay — small material samples photo at the bottom-left of the hero image
   (matches the reference mockup) */
.hero__overlay {
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 38%;
  max-width: 200px;
  aspect-ratio: 4 / 3;
  background-image: url('../images/materials-moodboard.png');
  background-size: cover;
  background-position: center;
  border: 6px solid var(--ivory);
  border-radius: 2px;
  box-shadow: 0 20px 40px -16px rgba(31, 27, 23, 0.3);
  z-index: 2;
}

[dir="rtl"] .hero__overlay { left: auto; right: -32px; }

.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--walnut);
  opacity: 0.6;
}

.hero__scroll-cue::after {
  content: '';
  width: 1px;
  height: 32px;
  background: var(--walnut);
  animation: scroll-pulse 2s var(--ease) infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.5); opacity: 0.2; transform-origin: top; }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .hero__image { max-width: 500px; margin: 0 auto; }
  .hero__scroll-cue { display: none; }
}

/* =========================================================
   WEDGE — THE 3-STEP PROMISE
   ========================================================= */

.wedge {
  background: var(--off-white);
  border-top: 1px solid rgba(74, 53, 40, 0.08);
}

.wedge__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.wedge__header .eyebrow { margin-bottom: var(--space-md); }

.wedge__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.wedge__step {
  text-align: center;
  position: relative;
}

.wedge__step-number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: 4rem;
  color: var(--ochre);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.wedge__step-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--walnut);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.wedge__step-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 280px;
  margin: 0 auto;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .wedge__steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* =========================================================
   WORK / PORTFOLIO
   ========================================================= */

.work__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.work__header-left { max-width: 600px; }

.work__header .eyebrow { margin-bottom: var(--space-sm); }

.work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
}

.work__item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  display: block;
  transition: transform var(--duration) var(--ease);
}

.work__item:hover { transform: translateY(-4px); opacity: 1; }
.work__item:hover .work__image { transform: scale(1.03); }
.work__item:hover .work__cta { background: var(--ochre); color: var(--ivory); border-color: var(--ochre); }
.work__item:hover .work__cta__arrow { transform: rotate(45deg) translate(2px, 2px); }

/* Click affordance — small "explore" badge on each card */
.work__cta {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: rgba(244, 239, 231, 0.92);
  color: var(--walnut);
  border: 1px solid rgba(74, 53, 40, 0.15);
  border-radius: 999px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease),
              border-color var(--duration-fast) var(--ease);
}

.work__cta__arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--duration-fast) var(--ease);
}

[dir="rtl"] .work__cta {
  text-transform: none;
  letter-spacing: 0.04em;
  right: auto;
  left: 1.25rem;
}

[dir="rtl"] .work__cta__arrow {
  transform: rotate(135deg);
}

[dir="rtl"] .work__item:hover .work__cta__arrow {
  transform: rotate(135deg) translate(2px, 2px);
}

.work__item--lg { grid-column: span 7; aspect-ratio: 4 / 3; }
.work__item--sm { grid-column: span 5; aspect-ratio: 4 / 5; }
.work__item--md { grid-column: span 6; aspect-ratio: 1 / 1; }
.work__item--wide { grid-column: span 12; aspect-ratio: 21 / 9; }

.work__image {
  position: absolute;
  inset: 0;
  transition: transform var(--duration-slow) var(--ease);
}

/* Category images — categories of work we make, not specific projects.
   Drop replacement files matching these names into assets/images/ to swap. */
.work__image--1 {
  background:
    url('../images/category-kitchen.png') center / cover no-repeat,
    var(--walnut);
}
.work__image--2 {
  background:
    url('../images/category-walkin.png') center / cover no-repeat,
    var(--walnut);
}
.work__image--3 {
  background:
    url('../images/category-tvwall.png') center / cover no-repeat,
    var(--walnut);
}
.work__image--4 {
  background:
    url('../images/category-bedroom.png') center / cover no-repeat,
    var(--walnut);
}

.work__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 27, 23, 0.7), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  color: var(--ivory);
}

.work__category {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.5rem;
}

.work__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.005em;
}

@media (max-width: 768px) {
  .work__item--lg,
  .work__item--sm,
  .work__item--md,
  .work__item--wide {
    grid-column: span 12;
    aspect-ratio: 4 / 3;
  }
}

/* =========================================================
   CRAFT — narrative band between Work and Process
   ========================================================= */

.craft {
  background: var(--off-white);
  border-top: 1px solid rgba(74, 53, 40, 0.08);
}

.craft__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.craft__text { max-width: 480px; }
.craft__text .eyebrow { margin-bottom: var(--space-md); }
.craft__text .h-section { margin-bottom: var(--space-md); }

.craft__body {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: var(--space-md);
  color: var(--charcoal);
}

.craft__body--accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.5;
  color: var(--walnut);
  margin-top: var(--space-md);
}

.craft__image {
  aspect-ratio: 4 / 5;
  background-image: url('../images/craft-joining.png');
  background-size: cover;
  background-position: center;
  background-color: var(--walnut);
  border-radius: 2px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .craft__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .craft__image { max-width: 480px; margin: 0 auto; }
}

/* =========================================================
   PROCESS
   ========================================================= */

.process {
  background: var(--walnut);
  color: var(--ivory);
}

.process .eyebrow { color: var(--ochre); }
.process .h-section { color: var(--ivory); }

.process__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.process__intro {
  max-width: 560px;
  margin: var(--space-md) auto 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  opacity: 0.8;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  counter-reset: step;
}

.process__step {
  position: relative;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(244, 239, 231, 0.18);
}

.process__step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ochre);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.process__step-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.375rem;
  margin-bottom: var(--space-sm);
  color: var(--ivory);
}

.process__step-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  opacity: 0.75;
}

@media (max-width: 900px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
}

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

/* =========================================================
   ABOUT / STUDIO
   ========================================================= */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.about__image {
  aspect-ratio: 4 / 5;
  background-image: url('../images/craft-finishing.png');
  background-size: cover;
  background-position: center;
  background-color: var(--walnut);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.about__text { max-width: 540px; }
.about__text .eyebrow { margin-bottom: var(--space-md); }
.about__text .h-section { margin-bottom: var(--space-md); }

.about__body {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: var(--space-md);
  color: var(--charcoal);
}

.about__quote {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(74, 53, 40, 0.18);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--walnut);
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .about__image { max-width: 480px; }
}

/* =========================================================
   PHILOSOPHY (closing slogan band)
   ========================================================= */

.philosophy {
  background: var(--off-white);
  text-align: center;
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(74, 53, 40, 0.08);
  border-bottom: 1px solid rgba(74, 53, 40, 0.08);
}

.philosophy__quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
  color: var(--walnut);
  max-width: 900px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

.philosophy__attribution {
  margin-top: var(--space-md);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact__left .eyebrow { margin-bottom: var(--space-md); }
.contact__left .h-section { margin-bottom: var(--space-md); }

.contact__body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
  max-width: 480px;
}

.contact__details {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.contact__details li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(74, 53, 40, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.contact__detail-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--walnut);
  opacity: 0.7;
}

.contact__detail-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--walnut);
}

.contact__detail-value a:hover { color: var(--ochre); opacity: 1; }

.contact__form {
  background: var(--off-white);
  padding: var(--space-lg);
  border-radius: 2px;
}

.contact__form h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--walnut);
  margin-bottom: var(--space-md);
}

.field {
  margin-bottom: var(--space-md);
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--walnut);
  margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
  padding: 0.875rem 1rem;
  background: var(--ivory);
  border: 1px solid rgba(74, 53, 40, 0.18);
  border-radius: 2px;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--walnut);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.contact__form .btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-sm);
}

@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: var(--charcoal);
  color: var(--ivory);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(244, 239, 231, 0.12);
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--stone);
  max-width: 400px;
  line-height: 1.5;
}

.footer__col-title {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: var(--space-md);
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  color: var(--stone);
}

.footer__list a:hover { color: var(--ivory); opacity: 1; }

.footer__bottom {
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(201, 191, 176, 0.7);
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* =========================================================
   CTA BAND — split layout (image left, walnut text right)
   ========================================================= */

.cta-band {
  background: var(--walnut);
  color: var(--ivory);
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 480px;
}

.cta-band__image {
  background-image: url('../images/process-partnership.png');
  background-size: cover;
  background-position: center;
  background-color: var(--walnut-dark);
}

.cta-band__inner {
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}

.cta-band .eyebrow {
  color: var(--ochre);
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
}

.cta-band .eyebrow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 1px;
  background: var(--ochre);
}

.cta-band__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ivory);
  margin-bottom: var(--space-md);
}

.cta-band__intro {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(244, 239, 231, 0.78);
  margin-bottom: var(--space-lg);
  max-width: 440px;
}

.cta-band .btn--primary {
  background: var(--ivory);
  color: var(--walnut);
  align-self: flex-start;
}
.cta-band .btn--primary:hover { background: var(--off-white); opacity: 1; }

.cta-band__footnote {
  margin-top: var(--space-md);
  font-size: 0.8125rem;
  color: rgba(244, 239, 231, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-band__footnote::before {
  content: '✿';
  color: var(--ochre);
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .cta-band {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .cta-band__image {
    aspect-ratio: 4 / 3;
  }
}

[dir="rtl"] .cta-band .eyebrow::after { left: auto; right: 0; }
[dir="rtl"] .cta-band__footnote::before { content: ''; }
[dir="rtl"] .cta-band__footnote::after { content: '✿'; color: var(--ochre); font-size: 0.875rem; }

/* =========================================================
   TIERS SHOWCASE (work page)
   ========================================================= */

.tiers__header { text-align: center; margin-bottom: var(--space-xl); }
.tiers__header .eyebrow { margin-bottom: var(--space-md); }

.tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.tier {
  background: var(--off-white);
  padding: var(--space-lg);
  border-radius: 2px;
  border: 1px solid rgba(74, 53, 40, 0.08);
  position: relative;
}

.tier--featured {
  background: var(--walnut);
  color: var(--ivory);
  border-color: var(--walnut);
}

.tier--featured .tier__name,
.tier--featured .tier__body { color: var(--ivory); }

.tier__label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: var(--space-sm);
}

.tier__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.875rem;
  color: var(--walnut);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.tier__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}

.tier__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.tier__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ochre);
}

@media (max-width: 900px) {
  .tiers__grid { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* =========================================================
   TIMELINE (process page)
   ========================================================= */

.timeline {
  background: var(--off-white);
  border-top: 1px solid rgba(74, 53, 40, 0.08);
  border-bottom: 1px solid rgba(74, 53, 40, 0.08);
}

.timeline__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
  position: relative;
}

.timeline__inner::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--ochre);
  opacity: 0.4;
}

.timeline__step {
  position: relative;
  padding-top: var(--space-md);
}

.timeline__dot {
  width: 14px;
  height: 14px;
  background: var(--ochre);
  border-radius: 50%;
  border: 3px solid var(--off-white);
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.timeline__week {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ochre);
  margin-bottom: 0.5rem;
}

.timeline__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--walnut);
  margin-bottom: 0.5rem;
}

.timeline__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--charcoal);
  opacity: 0.8;
}

@media (max-width: 700px) {
  .timeline__inner { grid-template-columns: 1fr 1fr; }
  .timeline__inner::before { display: none; }
}

/* =========================================================
   FAQ (contact page)
   ========================================================= */

.faq__header { text-align: center; margin-bottom: var(--space-lg); }
.faq__header .eyebrow { margin-bottom: var(--space-md); }

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.faq__item {
  border-bottom: 1px solid rgba(74, 53, 40, 0.12);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--walnut);
  transition: color var(--duration-fast) var(--ease);
}

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

.faq__item summary::after {
  content: '+';
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ochre);
  transition: transform var(--duration) var(--ease);
  line-height: 1;
}

.faq__item[open] summary::after { content: '−'; }

.faq__item summary:hover { color: var(--ochre); }

.faq__answer {
  padding: 0 0 var(--space-md);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal);
  max-width: 640px;
}

/* =========================================================
   MANIFESTO — brand statement unique to the home page
   Uses the sage green accent from the mood board.
   ========================================================= */

.manifesto {
  position: relative;
  min-height: 600px;
  background-image: url('../images/hero-main.png');
  background-size: cover;
  background-position: center right;
  background-color: var(--ivory);
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

/* Soft gradient on the left half for text readability over the photo */
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(244, 239, 231, 0.97) 0%,
    rgba(244, 239, 231, 0.92) 35%,
    rgba(244, 239, 231, 0.5) 55%,
    rgba(244, 239, 231, 0) 75%
  );
  pointer-events: none;
}

.manifesto__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 540px) 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.manifesto__text {
  max-width: 480px;
}

.manifesto .eyebrow {
  color: var(--ochre);
  margin-bottom: var(--space-md);
  text-align: left;
}

.manifesto__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--walnut);
  margin-bottom: var(--space-lg);
}

.manifesto__title em {
  font-style: italic;
  color: var(--ochre);
}

.manifesto__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
  max-width: 440px;
}

.manifesto__cta {
  margin-top: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ochre);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ochre);
  transition: gap var(--duration-fast) var(--ease);
}

.manifesto__cta:hover { gap: 1rem; opacity: 1; }

@media (max-width: 900px) {
  .manifesto {
    background-position: top right;
    min-height: auto;
  }
  .manifesto::before {
    background: linear-gradient(
      to bottom,
      rgba(244, 239, 231, 0.95) 0%,
      rgba(244, 239, 231, 0.85) 60%,
      rgba(244, 239, 231, 0.95) 100%
    );
  }
  .manifesto__inner { grid-template-columns: 1fr; }
}

[dir="rtl"] .manifesto { background-position: center left; }

[dir="rtl"] .manifesto::before {
  background: linear-gradient(
    to left,
    rgba(244, 239, 231, 0.97) 0%,
    rgba(244, 239, 231, 0.92) 35%,
    rgba(244, 239, 231, 0.5) 55%,
    rgba(244, 239, 231, 0) 75%
  );
}

[dir="rtl"] .manifesto .eyebrow { text-align: right; }

[dir="rtl"] .manifesto__cta {
  text-transform: none;
  letter-spacing: 0.04em;
}

/* =========================================================
   PILLARS — 4-feature icon row (Home page)
   ========================================================= */

.pillars {
  background: var(--ivory);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(74, 53, 40, 0.08);
  border-bottom: 1px solid rgba(74, 53, 40, 0.08);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.pillar {
  text-align: center;
  padding: var(--space-md);
  position: relative;
}

.pillar + .pillar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(74, 53, 40, 0.12);
}

.pillar__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto var(--space-md);
  color: var(--ochre);
}

.pillar__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--walnut);
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}

.pillar__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--charcoal);
  opacity: 0.75;
  max-width: 220px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .pillar + .pillar::before { display: none; }
}

@media (max-width: 540px) {
  .pillars__grid { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* =========================================================
   PALETTE BAND — material swatches as a visual element
   ========================================================= */

.palette-band {
  background: var(--off-white);
  border-top: 1px solid rgba(74, 53, 40, 0.08);
  border-bottom: 1px solid rgba(74, 53, 40, 0.08);
  padding: var(--space-lg) 0;
}

.palette-band__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.palette-band__header .eyebrow { margin-bottom: var(--space-sm); }

.palette-band__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--walnut);
  line-height: 1.3;
}

.palette-band__swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.swatch {
  text-align: center;
}

.swatch__color {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  border-radius: 2px;
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--walnut);
  box-shadow: 0 12px 24px -12px rgba(31, 27, 23, 0.18);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.swatch:hover .swatch__color {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -16px rgba(31, 27, 23, 0.28);
}

.swatch__name {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--walnut);
  letter-spacing: -0.005em;
}

.swatch__type {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.25rem;
}

@media (max-width: 700px) {
  .palette-band__swatches { grid-template-columns: repeat(3, 1fr); }
}

[dir="rtl"] .swatch__type { text-transform: none; letter-spacing: 0.04em; }

/* =========================================================
   Subtle paper-texture overlay for inner page heroes
   ========================================================= */

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(74, 53, 40, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(184, 112, 74, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero__inner { position: relative; z-index: 1; }

/* =========================================================
   ASK LIST — icon list for "What we ask of you" + similar
   ========================================================= */

.ask-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ask-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(74, 53, 40, 0.1);
}

.ask-item:last-child { border-bottom: none; }
.ask-item:first-child { padding-top: 0; }

.ask-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--ochre);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ask-item__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ask-item__content { flex: 1; }

.ask-item__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--walnut);
  margin-bottom: 0.25rem;
  letter-spacing: -0.005em;
}

.ask-item__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--charcoal);
  opacity: 0.85;
}

/* =========================================================
   SPEC LIST — bulleted list with subtle markers (Studio materials, etc.)
   ========================================================= */

.spec-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem var(--space-md);
}

.spec-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.spec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 6px;
  height: 1px;
  background: var(--ochre);
}

.spec-list--single { grid-template-columns: 1fr; }

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

[dir="rtl"] .spec-list li {
  padding-left: 0;
  padding-right: 1.25rem;
}
[dir="rtl"] .spec-list li::before {
  left: auto;
  right: 0;
}

/* =========================================================
   PLACEHOLDER (for image slots awaiting user-generated content)
   ========================================================= */

.placeholder-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #3E2A1C 0%, #4A3528 50%, #2E1F17 100%);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(31, 27, 23, 0.2);
}

.placeholder-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 12px,
      rgba(255, 255, 255, 0.018) 12px 13px
    );
}

.placeholder-image__caption {
  position: absolute;
  inset: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(244, 239, 231, 0.75);
}

.placeholder-image__label {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
}

.placeholder-image__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.3;
  color: rgba(244, 239, 231, 0.9);
  margin-top: 0.5rem;
}

.placeholder-image__spec {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(244, 239, 231, 0.55);
  max-width: 280px;
}

[dir="rtl"] .placeholder-image__label,
[dir="rtl"] .placeholder-image__spec {
  text-transform: none;
  letter-spacing: 0.04em;
}

/* =========================================================
   VALUES LIST (studio page)
   ========================================================= */

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.value__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--ochre);
  margin-bottom: var(--space-sm);
}

.value__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--walnut);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.005em;
}

.value__body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--charcoal);
}

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

/* =========================================================
   UTILITIES & MOTION
   ========================================================= */

/* Fade-in: progressive enhancement.
   Elements are visible by default (no JS / slow JS = no broken layout).
   Only when JS adds .js-enabled to <html> do we hide them until intersection. */
.js-enabled .fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.js-enabled .fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

::selection {
  background: var(--walnut);
  color: var(--ivory);
}
