/* ================================================
   QUIET LUXURY — IANNE ATELIER DESIGN SYSTEM
   Refined Visual System - 2026 Edition
   ================================================ */

:root {
  --parchment:     #f5f1eb;
  --parchment-alt: #ede8e0;
  --cream:         #faf8f4;
  --linen:         #e8e2d9;
  --taupe:         #c4b9a8;
  --warm-stone:    #9e9188;
  --charcoal:      #2c2825;
  --deep-bark:     #3d3028;
  --bark:          #5c4a3a;
  --ink:           #1a1614;

  --serif-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --serif-body:    'Cormorant Garamond', Georgia, serif;
  --sans:          'Jost', 'Helvetica Neue', sans-serif;

  --ease-silk:     cubic-bezier(0.19, 1, 0.22, 1);
  --ease-linen:    cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ================================================
   HEADER
   ================================================ */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.6s var(--ease-linen), backdrop-filter 0.6s var(--ease-linen);
}

header.scrolled {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linen);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: var(--serif-body);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.5s ease, opacity 0.3s ease;
}

header.scrolled .brand { color: var(--charcoal); }
.brand:hover { opacity: 0.65; }

.header-cta {
  color: var(--cream);
  transition: color 0.5s ease, opacity 0.3s ease;
}
.header-cta:hover { opacity: 0.65; }
header.scrolled .header-cta { color: var(--charcoal); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; gap: 2px; }

.lang-switch button {
  background: transparent;
  border: none;
  color: rgba(250,248,244,0.5);
  padding: 6px 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.4s ease;
}

header.scrolled .lang-switch button { color: rgba(44,40,37,0.4); }
header.scrolled .lang-switch button.active { color: var(--charcoal); }
header.scrolled .lang-switch button:hover { color: var(--charcoal); }
.lang-switch button:hover { color: rgba(250,248,244,0.9); }

.lang-switch button.active {
  color: var(--cream);
  position: relative;
}

.lang-switch button.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 0.5px;
  background: var(--taupe);
}

header.scrolled .lang-switch button.active::after { background: var(--warm-stone); }

/* Header on light-background pages (cases.html, case.html) */
.light-page header:not(.scrolled) .brand             { color: var(--charcoal); }
.light-page header:not(.scrolled) .header-cta        { color: var(--charcoal); }
.light-page header:not(.scrolled) .lang-switch button        { color: rgba(44,40,37,0.4); }
.light-page header:not(.scrolled) .lang-switch button.active { color: var(--charcoal); }
.light-page header:not(.scrolled) .lang-switch button.active::after { background: var(--warm-stone); }

/* ================================================
   HERO
   ================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep-bark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg,
      rgba(30,22,16,0.1) 0%,
      rgba(25,18,12,0.5) 50%,
      rgba(16,10,6,0.88) 100%
    );
  transform: scale(1.06);
  transition: transform 8s var(--ease-silk);
}

.hero-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 30%, rgba(92,74,58,0.4), transparent 65%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(61,48,40,0.6), transparent 60%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

.hero.loaded .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px 96px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 48px;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1s var(--ease-silk) 0.3s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 0.5px;
  background: var(--taupe);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--serif-display);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1.1s var(--ease-silk) 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--taupe);
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(245,241,235,0.5);
  max-width: 380px;
  line-height: 2;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1.1s var(--ease-silk) 0.75s forwards;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 24px;
  padding-bottom: 6px;
  opacity: 0;
  animation: fadeIn 1.4s var(--ease-silk) 1s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 0.5px solid rgba(196,185,168,0.45);
  padding: 17px 40px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  transition: background 0.5s var(--ease-silk), border-color 0.5s ease, gap 0.4s var(--ease-silk);
}

.hero-cta:hover {
  background: rgba(196,185,168,0.1);
  border-color: rgba(196,185,168,0.75);
  gap: 22px;
}

.hero-cta::after { content: '→'; font-size: 14px; opacity: 0.6; }

.hero-scroll-hint {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(196,185,168,0.35);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  position: absolute;
  right: 48px;
  bottom: 50%;
  translate: 0 50%;
}

/* ================================================
   MARQUEE
   ================================================ */

.marquee-strip {
  background: var(--charcoal);
  padding: 17px 0;
  overflow: hidden;
  border-top: 0.5px solid rgba(196,185,168,0.12);
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
}

.marquee-item::after { content: '·'; color: rgba(196,185,168,0.25); font-size: 18px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================
   IDENTITY SPLIT
   ================================================ */

.identity-section {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 72vh;
  overflow: hidden;
}

.identity-left {
  background: var(--parchment-alt);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 120px) clamp(40px, 6vw, 96px);
}

.section-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--warm-stone);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px; height: 0.5px;
  background: var(--taupe);
}

.identity-title {
  font-family: var(--serif-display);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.identity-title em { font-style: italic; color: var(--bark); }

.identity-body {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--warm-stone);
  max-width: 400px;
}

.identity-right {
  background: var(--linen);
  position: relative;
  overflow: hidden;
  min-height: 440px;
}

.identity-right .deco-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 65% at 55% 45%, rgba(156,140,120,0.22), transparent),
    linear-gradient(135deg, var(--parchment) 0%, var(--linen) 45%, #d4c9b8 100%);
}

.identity-right .deco-num {
  position: absolute;
  bottom: -40px; right: -8px;
  font-family: var(--serif-display);
  font-size: clamp(180px, 22vw, 300px);
  font-weight: 400;
  color: rgba(44,40,37,0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.deco-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 180px; height: 180px;
  border: 0.5px solid rgba(156,140,120,0.32);
  border-radius: 50%;
}

.deco-circle::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 0.5px solid rgba(156,140,120,0.18);
  border-radius: 50%;
}

.deco-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 15px;
  font-weight: 300;
  color: var(--warm-stone);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* ================================================
   CRAFT
   ================================================ */

.craft-section {
  background: var(--cream);
  padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 96px);
}

.craft-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(48px, 7vw, 128px);
  align-items: start;
}

.craft-sidebar { position: sticky; top: 120px; }

.craft-index {
  font-family: var(--serif-display);
  font-size: clamp(72px, 10vw, 120px);
  font-weight: 400;
  font-style: italic;
  color: var(--linen);
  line-height: 0.85;
  margin-bottom: 32px;
  user-select: none;
}

.craft-sidebar-title {
  font-family: var(--serif-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 24px;
}

.craft-sidebar-body {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  color: var(--warm-stone);
}

.craft-title {
  font-family: var(--serif-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.craft-body {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--warm-stone);
  margin-bottom: 48px;
  max-width: 580px;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--linen);
  border: 1px solid var(--linen);
  margin-bottom: 48px;
}

.service-item {
  background: var(--cream);
  padding: 28px 32px;
  transition: background 0.45s var(--ease-silk);
}

.service-item:hover { background: var(--parchment); }

.service-item-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 10px;
}

.service-item-name {
  font-family: var(--serif-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--charcoal);
}

/* ================================================
   PROCESS
   ================================================ */

.process-section-new {
  background: var(--charcoal);
  padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 96px);
  overflow: hidden;
}

.process-inner { max-width: 1440px; margin: 0 auto; }

.process-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
}

.process-eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--warm-stone);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.process-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 0.5px;
  background: var(--warm-stone);
}

.process-main-title {
  font-family: var(--serif-display);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
}

.process-main-title em { font-style: italic; color: var(--taupe); }

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(196,185,168,0.1);
}

.step-card {
  background: var(--charcoal);
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--ease-silk);
}

.step-card:hover { background: #333028; }

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(196,185,168,0.3), transparent);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease-silk);
}

.step-card:hover::before { transform: scaleX(1); }

.step-num {
  font-family: var(--serif-display);
  font-size: 54px;
  font-weight: 400;
  font-style: italic;
  color: rgba(196,185,168,0.12);
  line-height: 1;
  margin-bottom: 32px;
  transition: color 0.5s ease;
}

.step-card:hover .step-num { color: rgba(196,185,168,0.22); }

.step-name {
  font-family: var(--serif-body);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 20px;
  line-height: 1.3;
}

.step-body {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--warm-stone);
}

/* ================================================
   PROMISE
   ================================================ */

.promise-section {
  background: var(--parchment);
  padding: clamp(88px, 12vw, 160px) clamp(24px, 8vw, 120px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promise-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 640px; height: 640px;
  border: 0.5px solid rgba(156,140,120,0.12);
  border-radius: 50%;
  pointer-events: none;
}

.promise-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 420px; height: 420px;
  border: 0.5px solid rgba(156,140,120,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.promise-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.promise-quote {
  font-family: var(--serif-display);
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 36px;
}

.promise-attribution {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--warm-stone);
  margin-bottom: 52px;
}

.promise-sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--warm-stone);
  max-width: 520px;
  margin: 0 auto 52px;
}

.promise-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--charcoal);
  color: var(--cream);
  padding: 18px 50px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: background 0.5s var(--ease-silk), gap 0.4s var(--ease-silk);
}

.promise-cta:hover { background: var(--bark); gap: 22px; }
.promise-cta::after { content: '→'; font-size: 13px; opacity: 0.55; }

/* ================================================
   FEEDBACK
   ================================================ */

.feedback-section {
  background: var(--cream);
  padding: clamp(80px, 10vw, 120px) clamp(24px, 6vw, 96px);
}

.feedback-inner { max-width: 1440px; margin: 0 auto; }

.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.feedback-heading {
  font-family: var(--serif-display);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-top: 12px;
}

.feedback-heading em { font-style: italic; color: var(--warm-stone); }

.feedback-body {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--warm-stone);
  margin-bottom: 36px;
}

.testimonial-row {
  display: flex;
  gap: 16px;
}

.testimonial-card {
  flex: 1;
  border: 0.5px solid var(--linen);
  padding: 36px 28px 28px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--serif-display);
  font-size: 52px;
  font-style: italic;
  color: var(--linen);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-quote {
  font-family: var(--serif-body);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.75;
  margin: 18px 0 20px;
}

.testimonial-attr {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-stone);
}

@media (max-width: 960px) {
  .testimonial-row { flex-direction: column; }
}


/* ================================================
   FOOTER
   ================================================ */

footer {
  background: var(--ink);
  padding: clamp(52px, 7vw, 88px) clamp(24px, 6vw, 96px);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-brand {
  font-family: var(--serif-body);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,241,235,0.45);
}

.footer-note {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(245,241,235,0.18);
  text-align: right;
  line-height: 1.9;
}

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.95s var(--ease-silk), transform 0.95s var(--ease-silk);
}

.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.95s var(--ease-silk), transform 0.95s var(--ease-silk);
}

.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.95s var(--ease-silk), transform 0.95s var(--ease-silk);
}

.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-silk), transform 0.8s var(--ease-silk);
}

.reveal-stagger.active > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.reveal-stagger.active > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.11s; }
.reveal-stagger.active > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.22s; }
.reveal-stagger.active > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.33s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 960px) {
  .header-inner { padding: 22px 28px; }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 0 28px 72px;
    gap: 32px;
  }

  .hero-right { align-items: flex-start; }
  .hero-scroll-hint { display: none; }

  .identity-section { grid-template-columns: 1fr; }
  .identity-right { min-height: 300px; }

  .craft-inner { grid-template-columns: 1fr; gap: 48px; }
  .craft-sidebar { position: static; }

  .process-steps-grid { grid-template-columns: 1fr; }
  .process-header { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 48px; }

  .feedback-grid { grid-template-columns: 1fr; gap: 40px; }
  .feedback-placeholder-row { flex-direction: column; }
  .services-list { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-note { text-align: left; }
}

/* ================================================
   CASE PAGE
   ================================================ */

/* ── Case page wrapper ── */
.case-page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 140px 48px 0;
}

/* ── Back link ── */
.case-nav {
  margin-bottom: 56px;
}

.case-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans, 'Jost', sans-serif);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-stone, #9e9188);
  transition: gap 0.4s cubic-bezier(0.19, 1, 0.22, 1), color 0.3s ease;
}

.case-back:hover {
  color: var(--charcoal, #2c2825);
  gap: 16px;
}

.case-back-arrow {
  font-size: 14px;
  opacity: 0.6;
}

/* ── Case header ── */
.case-page-header {
  text-align: center;
  margin-bottom: 72px;
}

.case-service-label {
  font-family: var(--sans, 'Jost', sans-serif);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--warm-stone, #9e9188);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.case-service-label::before,
.case-service-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 0.5px;
  background: var(--taupe, #c4b9a8);
}

.case-page-title {
  font-family: var(--serif-display, 'Playfair Display', serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal, #2c2825);
  margin: 0 0 20px;
}

.case-brand-label {
  font-family: var(--serif-body, 'Cormorant Garamond', serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 300;
  color: var(--warm-stone, #9e9188);
  margin: 0;
  letter-spacing: 0.04em;
}

/* ── Gallery ── */
.case-page-gallery {
  margin-bottom: 0;
}

.case-gallery-figure {
  margin: 0 0 3px;
  overflow: hidden;
  background: var(--linen, #e8e2d9);
}

.case-gallery-figure img {
  width: 100%;
  display: block;
  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.case-gallery-figure:hover img {
  transform: scale(1.025);
}

/* ── Description ── */
.case-page-desc {
  max-width: 620px;
  margin: 80px auto 0;
  text-align: center;
}

.case-page-desc p {
  font-family: var(--sans, 'Jost', sans-serif);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--warm-stone, #9e9188);
  margin: 0;
  white-space: pre-line;
}

/* ── CTA ── */
.case-page-cta {
  text-align: center;
  padding: 72px 0 120px;
}

/* ── 404 fallback ── */
.case-not-found {
  padding: 120px 48px;
  font-family: var(--sans, sans-serif);
  color: var(--warm-stone, #9e9188);
  font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .case-page-wrap { padding: 120px 28px 0; }
  .footer-inner   { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-note    { text-align: left; }
}

@media (max-width: 580px) {
  .brand { font-size: 15px; letter-spacing: 0.16em; }
  .case-page-wrap    { padding: 100px 20px 0; }
  .case-page-cta     { padding: 56px 0 88px; }
}

/* ==================================================
   CASES PAGE
   ================================================== */

/* ── Page hero ── */
.cases-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 160px 48px 80px;
}

.cases-hero-title {
  font-family: var(--serif-display, 'Playfair Display', serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--charcoal, #2c2825);
  margin: 0 0 20px;
}

.cases-hero-sub {
  font-family: var(--sans, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--warm-stone, #9e9188);
  margin: 0;
}

/* ── Grid wrapper ── */
.cases-grid-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px 140px;
}

/* ── Case grid ── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* ── Case card ── */
.case-card {
  background: var(--linen, #e8e2d9);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.case-card-image {
  overflow: hidden;
  background: var(--linen, #e8e2d9);
}

.case-card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              filter 0.6s ease;
  filter: brightness(0.97);
}

.case-card:hover .case-card-image img {
  transform: scale(1.05);
  filter: brightness(1);
}

/* Info bar beneath image */
.case-info {
  padding: 20px 22px 22px;
  background: var(--cream, #faf8f4);
  border-top: 1px solid var(--linen, #e8e2d9);
  transition: background 0.4s ease;
}

.case-card:hover .case-info {
  background: var(--parchment, #f5f1eb);
}

.case-info-service {
  font-family: var(--sans, 'Jost', sans-serif);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--warm-stone, #9e9188);
  margin: 0 0 6px;
}

.case-info-brand {
  font-family: var(--serif-body, 'Cormorant Garamond', serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--charcoal, #2c2825);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .cases-hero        { padding: 140px 28px 64px; }
  .cases-grid-wrap   { padding: 0 28px 100px; }
  .case-grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .cases-hero        { padding: 110px 20px 48px; }
  .cases-grid-wrap   { padding: 0 20px 80px; gap: 1px; }
  .case-grid         { grid-template-columns: 1fr; gap: 2px; }
  .case-card-image   { aspect-ratio: 4 / 3; }
}

/* ==================================================
   SERVICE PICKER — cases.html
   ================================================== */

.service-picker {
  padding: 0 48px clamp(80px, 10vw, 120px);
  max-width: 1440px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(196, 185, 168, 0.15);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3.5vw, 48px);
  min-height: clamp(180px, 20vw, 260px);
  background: var(--charcoal);
  color: var(--cream);
  text-decoration: none;
  transition: background 0.5s var(--ease-silk);
}

.service-card:hover { background: var(--deep-bark); }

.service-card-label {
  font-family: var(--serif-display);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 32px;
}

.service-card-count {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--warm-stone);
  transition: color 0.4s var(--ease-silk);
}

.service-card-arrow {
  font-size: 16px;
  color: var(--warm-stone);
  transition: transform 0.4s var(--ease-silk), color 0.4s var(--ease-silk);
}

.service-card:hover .service-card-count,
.service-card:hover .service-card-arrow { color: var(--taupe); }

.service-card:hover .service-card-arrow { transform: translateX(6px); }

@media (max-width: 900px) {
  .service-picker { padding: 0 28px clamp(80px, 10vw, 120px); }
  .service-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .service-picker { padding: 0 20px 80px; }
  .service-grid   { grid-template-columns: 1fr; }
}

/* ==================================================
   CASES GRID PAGE — cases-grid.html
   ================================================== */

.cases-back-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  margin-bottom: 28px;
  border-bottom: 0.5px solid var(--taupe);
  padding-bottom: 3px;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.cases-back-link:hover {
  color: var(--bark);
  border-color: var(--bark);
}

.grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-stone);
}