/* DB Design & Services — landing page styles */

:root {
  --bg: #F5F0E6;
  --bg-soft: #EBE2D1;
  --bg-deep: #1C1A17;
  --ink: #1C1A17;
  --ink-2: #3A352E;
  --ink-3: #6B6357;
  --line: rgba(28, 26, 23, 0.12);
  --line-strong: rgba(28, 26, 23, 0.22);
  --gold: #A8865A;
  --gold-soft: #C9A878;
  --gold-deep: #7E6238;
  --paper: #FAF6EC;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; }
.mono { font-family: var(--mono); font-feature-settings: "ss01"; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow .dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: 2px;
  margin-right: 10px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.06;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.05; }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
h4 { font-size: 18px; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0; color: var(--ink-2); }
p.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.55; text-wrap: pretty; }

.muted { color: var(--ink-3); }

/* ── Layout ─────────────────────────────────────────────────── */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section { padding-block: clamp(72px, 9vw, 128px); }
section + section { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 820px;
}

/* ── Nav ────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 36px; height: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--paper);
}
.logo-word {
  display: flex; flex-direction: column; line-height: 1.05;
}
.logo-word b { font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: 0.01em; }
.logo-word span { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

.nav-links { display: none; gap: 28px; }
.nav-links a { font-size: 13.5px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 880px) { .nav-links { display: flex; } }

.nav-cta { display: inline-flex; align-items: center; gap: 8px; }

/* ── Buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: #000; }

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

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: var(--gold-deep); }

.btn-sm { height: 36px; padding: 0 16px; font-size: 12.5px; }

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: clamp(60px, 7vw, 110px);
  padding-bottom: clamp(72px, 8vw, 120px);
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #1a1612;
}
.hero-bg .layer {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center center;
  will-change: opacity, transform;
}
.hero-bg .layer.then {
  background-image: url("assets/paris-then.png");
  animation:
    heroFadeThen 18s ease-in-out infinite,
    heroPanThen 36s ease-in-out infinite alternate;
}
.hero-bg .layer.now {
  background-image: url("assets/paris-now.png");
  animation:
    heroFadeNow 18s ease-in-out infinite,
    heroPanNow 36s ease-in-out infinite alternate;
}

@keyframes heroFadeThen {
  0%, 42% { opacity: 1; }
  58%, 92% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes heroFadeNow {
  0%, 42% { opacity: 0; }
  58%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes heroPanThen {
  0% { transform: scale(1.06) translate(-1%, 0); }
  100% { transform: scale(1.12) translate(1%, -1%); }
}
@keyframes heroPanNow {
  0% { transform: scale(1.10) translate(1%, -1%); }
  100% { transform: scale(1.04) translate(-1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg .layer.then,
  .hero-bg .layer.now {
    animation-duration: 0s, 0s;
  }
  .hero-bg .layer.then { opacity: 0.5; }
  .hero-bg .layer.now { opacity: 0.5; }
}

.hero-wash {
  /* warm tonal wash + readability gradient over the swapping images */
  position: absolute; inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 28% 38%, rgba(245,240,230,0.0) 0%, rgba(245,240,230,0.35) 50%, rgba(245,240,230,0.85) 100%),
    linear-gradient(180deg, rgba(245,240,230,0.55) 0%, rgba(245,240,230,0.30) 30%, rgba(245,240,230,0.65) 75%, var(--bg) 100%),
    linear-gradient(160deg, rgba(168,134,90,0.18), rgba(28,26,23,0.0) 55%);
  mix-blend-mode: normal;
}
.hero-grain {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background:
    repeating-linear-gradient(0deg, rgba(28,26,23,0.02) 0 1px, transparent 1px 3px);
}

/* Era caption — tiny label that swaps with the image */
.hero-era {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(250,246,236,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28,26,23,0.08);
}
.hero-era::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(168,134,90,0.18);
}
.hero-era .lbl {
  position: relative;
  height: 1em;
  width: 14ch;
  overflow: hidden;
}
.hero-era .lbl span {
  position: absolute; inset: 0;
  display: block;
  animation: eraSwap 18s ease-in-out infinite;
}
.hero-era .lbl span:nth-child(2) {
  animation-name: eraSwapB;
}
@keyframes eraSwap {
  0%, 42% { opacity: 1; transform: translateY(0); }
  50%, 92% { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes eraSwapB {
  0%, 42% { opacity: 0; transform: translateY(100%); }
  58%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(100%); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 5vw, 80px); }
}

.hero-copy {
  max-width: 620px;
  position: relative;
  padding: clamp(28px, 3vw, 40px) clamp(28px, 3vw, 44px) clamp(30px, 3vw, 42px);
  background: rgba(250, 246, 236, 0.78);
  border: 1px solid rgba(28, 26, 23, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 40px 80px -30px rgba(28, 26, 23, 0.35),
    0 12px 32px -16px rgba(28, 26, 23, 0.2);
}
.hero-copy::before {
  /* thin gold rule at the top-left as an editorial accent */
  content: "";
  position: absolute;
  top: clamp(28px, 3vw, 40px);
  left: 0;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
}
.hero h1 { margin-top: 18px; }
.hero h1 em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.hero p.lead { margin-top: 22px; }
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 30px;
}

.trust {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(28, 26, 23, 0.14);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
}

/* ── Before/After Slider ────────────────────────────────────── */

.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 720px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  overflow: hidden;
  user-select: none;
  touch-action: none;
  border: 1px solid rgba(28,26,23,0.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 40px 80px -30px rgba(28, 26, 23, 0.45),
    0 12px 32px -12px rgba(28, 26, 23, 0.25);
}

.ba-stage {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: clamp(20px, 4vw, 44px);
}

.ba-frame {
  width: min(78%, 320px);
  aspect-ratio: 9 / 17;
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(28,26,23,0.08),
    0 2px 0 rgba(255,255,255,0.8) inset,
    0 28px 60px -20px rgba(28, 26, 23, 0.35),
    0 10px 22px -12px rgba(28, 26, 23, 0.22);
  overflow: hidden;
  position: relative;
}

.ba-clip {
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: inset(0 var(--clip, 50%) 0 0);
  will-change: clip-path;
}

.ba-label {
  position: absolute;
  top: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  background: rgba(28,26,23,0.78);
  color: var(--paper);
  z-index: 4;
  pointer-events: none;
}
.ba-label.before { left: 18px; }
.ba-label.after  { right: 18px; background: rgba(168,134,90,0.92); color: #fff; }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--handle, 50%);
  width: 2px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 1px rgba(28,26,23,0.18), 0 0 24px rgba(28,26,23,0.2);
  transform: translateX(-50%);
  z-index: 5;
  cursor: ew-resize;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  box-shadow:
    0 0 0 1px rgba(28,26,23,0.16),
    0 8px 24px -6px rgba(28,26,23,0.35);
  color: var(--ink);
  transition: transform .2s ease;
}
.ba-handle:hover .ba-knob { transform: translate(-50%, -50%) scale(1.06); }
.ba-knob svg { width: 20px; height: 20px; }

.ba-caption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  background: rgba(245, 240, 230, 0.7);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  z-index: 6;
  pointer-events: none;
  white-space: nowrap;
}

/* phone screen styles for the mockups */
.scr {
  position: absolute; inset: 0;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink);
  overflow: hidden;
}
.scr-notch {
  height: 22px; background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px;
  font-size: 10px; font-weight: 600;
}
.scr-notch::after { content: ""; }

/* "Avant" — cluttered */
.avant { background: #ECECEC; }
.avant-bar {
  background: #1a1f3a; color: #ddd;
  padding: 8px 10px; display: flex; align-items: center; gap: 8px;
  font-size: 9px;
}
.avant-bar .pill { background: #ff4d4d; color: #fff; padding: 2px 6px; border-radius: 3px; font-weight: 700; }
.avant-hero {
  background: linear-gradient(135deg, #6b3a1e, #2a1b10);
  color: #fff; padding: 18px 12px;
  border: 1px dashed rgba(255,255,255,0.35);
  margin: 6px;
}
.avant-hero .ah-title {
  font-family: "Times New Roman", serif;
  font-size: 18px; font-weight: 700;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  margin-bottom: 4px;
}
.avant-hero .ah-sub { font-size: 9px; opacity: 0.85; font-style: italic; }
.avant-photos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  padding: 0 6px;
}
.avant-photo {
  aspect-ratio: 1;
  background: #b8a48a; position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.5) contrast(0.88) brightness(0.85) sepia(0.18);
}
.avant-photo.v2 { background-color: #8a7a64; }
.avant-photo.v3 { background-color: #9a8770; }
.avant-photo::after {
  content: "IMG_0421.JPG"; position: absolute; bottom: 2px; left: 2px;
  font-family: var(--mono); font-size: 7px; color: rgba(255,255,255,0.7);
}
.avant-photo.v2::after { content: "IMG_2018.JPG"; }
.avant-photo.v3::after { content: "photo3.jpg"; }
.avant-text {
  padding: 8px 10px;
  font-size: 9px;
  color: #333;
  line-height: 1.35;
}
.avant-text .all-caps {
  font-weight: 700; color: #c0392b; text-transform: uppercase;
  font-size: 10px; margin-bottom: 4px;
}
.avant-mess {
  padding: 6px 10px;
  font-size: 9px; color: #444;
}
.avant-mess .row {
  display: flex; justify-content: space-between;
  padding: 3px 0; border-bottom: 1px dotted #bbb;
}
.avant-cta {
  margin: 8px 10px;
  background: #ffeb3b; color: #000;
  padding: 6px 10px; text-align: center;
  font-weight: 700; font-size: 9px;
  border: 2px solid #000;
  text-transform: uppercase;
}
.avant-footer {
  background: #1a1f3a; color: #888;
  padding: 8px 10px; font-size: 8px;
  margin-top: 6px;
}

/* "Après" — clean */
.apres { background: var(--paper); }
.apres-top {
  padding: 14px 14px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.apres-logo {
  font-family: var(--serif); font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em;
}
.apres-logo .dot { color: var(--gold); }
.apres-menu {
  width: 18px; height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1.5px no-repeat;
}
.apres-hero {
  padding: 22px 14px 18px;
}
.apres-eyebrow {
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
}
.apres-eyebrow::before {
  content: ""; display: inline-block; width: 16px; height: 1px;
  background: var(--gold); vertical-align: 3px; margin-right: 6px;
}
.apres-title {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; line-height: 1.04;
  margin: 8px 0 10px;
  letter-spacing: -0.01em;
}
.apres-title em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.apres-sub {
  font-size: 9.5px; line-height: 1.5; color: var(--ink-3);
  margin-bottom: 14px;
}
.apres-ctas { display: flex; gap: 6px; }
.apres-btn {
  flex: 1;
  font-size: 9px; font-weight: 600;
  padding: 7px 10px;
  border-radius: 999px;
  text-align: center;
}
.apres-btn.solid { background: var(--ink); color: var(--paper); }
.apres-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }

.apres-photo {
  margin: 16px 14px 8px;
  aspect-ratio: 16/11;
  border-radius: 8px;
  background-color: #a8865a;
  background-size: cover;
  background-position: center 62%;
  background-repeat: no-repeat;
  position: relative;
}
.apres-photo::after {
  content: "en terrasse"; position: absolute;
  bottom: 6px; left: 8px;
  font-family: var(--mono); font-size: 7px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.apres-gallery {
  margin: 0 14px 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.apres-thumb {
  aspect-ratio: 4/3;
  border-radius: 6px;
  background-color: #8a7256;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.apres-info {
  margin: 8px 14px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 9px;
  display: grid; gap: 6px;
}
.apres-info .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.apres-info .row .lbl { color: var(--ink-3); font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.apres-info .row .val { font-weight: 600; }

.apres-foot {
  margin: 14px 14px 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 8px; color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ── Problem section ────────────────────────────────────────── */

.problem { background: var(--bg-soft); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 900px) {
  .problem-grid { grid-template-columns: 1.1fr 1fr; }
}

.problem ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 0;
}
.problem li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}
.problem li:last-child { border-bottom: none; }
.problem li .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
}
.problem li .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); opacity: 0.8;
}

/* ── Services ───────────────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) { .services-grid { grid-template-columns: 1fr 1fr; } }

.service {
  position: relative;
  padding: 32px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 260px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.service:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px -24px rgba(28,26,23,0.25);
}
.service .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}
.service h3 { font-family: var(--serif); font-weight: 500; }
.service p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.service .tag {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.02em;
}
.service .tag::before {
  content: ""; width: 18px; height: 1px; background: var(--gold);
}

/* ── Flow ───────────────────────────────────────────────────── */

.flow { background: var(--bg-deep); color: var(--paper); }
.flow * { color: inherit; }
.flow h2 { color: var(--paper); }
.flow .muted { color: rgba(250,246,236,0.62); }
.flow .eyebrow { color: var(--gold-soft); }

.flow-diagram {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) {
  .flow-diagram {
    grid-template-columns: 1.2fr auto 1fr auto 1fr auto 1.2fr;
    align-items: stretch;
  }
}

.flow-node {
  border: 1px solid rgba(250,246,236,0.18);
  border-radius: var(--radius);
  padding: 22px 22px 26px;
  background: rgba(250,246,236,0.04);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 130px;
}
.flow-node .lbl {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--gold-soft); text-transform: uppercase;
}
.flow-node .ttl { font-family: var(--serif); font-size: 22px; line-height: 1.05; }
.flow-node .items {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px; color: rgba(250,246,236,0.78);
}
.flow-node.accent { background: var(--gold); border-color: var(--gold); color: #fff; }
.flow-node.accent .lbl { color: rgba(255,255,255,0.8); }

.flow-arrow {
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 18px;
  color: var(--gold-soft);
}
@media (max-width: 899px) {
  .flow-arrow { transform: rotate(90deg); padding-block: 4px; }
}

.flow-note {
  margin-top: clamp(32px, 4vw, 56px);
  max-width: 640px;
  font-size: 15px;
  color: rgba(250,246,236,0.75);
  font-style: italic;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
}

/* ── Portfolio ──────────────────────────────────────────────── */

.portfolio-grid {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.case {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.case-img {
  aspect-ratio: 5 / 4;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.case-img .fictional {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(28,26,23,0.82); color: var(--paper);
  padding: 4px 8px; border-radius: 4px;
  z-index: 2;
}
.case-body {
  padding: 26px 26px 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.case-body h3 { font-size: 22px; }
.case-body .label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-deep);
}
.case-row { display: flex; flex-direction: column; gap: 6px; }
.case-row .k {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
}
.case-row .v { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.case-deliv {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.case-deliv span {
  font-size: 11.5px; padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--bg);
}

/* tiny inline mockup imagery for cases */
.case-mockup {
  position: absolute; inset: 0;
}

/* ── Packages ───────────────────────────────────────────────── */

.packages { background: var(--bg-soft); }
.pack-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .pack-grid { grid-template-columns: repeat(3, 1fr); } }

.pack {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px 34px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.pack.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.pack.featured * { color: inherit; }
.pack.featured .pack-price { color: var(--gold-soft); }
.pack.featured h3 { color: var(--paper); }
.pack.featured .pack-list li { border-color: rgba(250,246,236,0.16); color: rgba(250,246,236,0.86); }
.pack.featured .pack-list li::before { background: var(--gold-soft); }
.pack.featured .badge {
  position: absolute; top: -12px; left: 30px;
  background: var(--gold); color: #fff;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}

.pack-name {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-deep);
}
.pack h3 { font-size: 26px; }
.pack-price {
  font-family: var(--serif); font-weight: 500;
  font-size: 30px; color: var(--ink);
  letter-spacing: -0.01em;
}
.pack-price .from { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.pack-list { list-style: none; padding: 0; margin: 0; }
.pack-list li {
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2);
  position: relative;
}
.pack-list li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 10px; height: 1.5px; background: var(--gold);
}
.pack-list li:last-child { border-bottom: none; }

.pack-note {
  margin-top: clamp(24px, 3vw, 40px);
  font-size: 13.5px;
  color: var(--ink-3);
  font-style: italic;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  max-width: 720px;
}

/* ── Process ────────────────────────────────────────────────── */

.process-list {
  display: grid; gap: 0;
  margin-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: clamp(16px, 3vw, 40px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .4s ease;
}
.process-step:hover { background: rgba(168,134,90,0.04); }
.process-step .pnum {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--gold-deep);
}
.process-step h3 { font-size: 26px; font-family: var(--serif); font-weight: 500; }
.process-step p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 720px) {
  .process-step { grid-template-columns: 60px 1fr; }
  .process-step p { grid-column: 1 / -1; }
}

.process-trust {
  margin-top: clamp(36px, 4vw, 56px);
  padding: 26px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  font-size: 14.5px; color: var(--ink-2);
  display: flex; gap: 16px; align-items: flex-start;
}
.process-trust .ico {
  flex: none;
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center;
}

/* ── About ──────────────────────────────────────────────────── */

.about { background: var(--bg-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 880px) { .about-grid { grid-template-columns: 1fr 1.4fr; } }

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  max-width: 440px;
  background: var(--bg-soft);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 60px -30px rgba(28, 26, 23, 0.35),
    0 10px 24px -14px rgba(28, 26, 23, 0.2);
}
.portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.95) contrast(1.02);
}
/* warm tint to keep portrait coherent with the beige palette */
.portrait::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(28,26,23,0.45) 100%),
    linear-gradient(160deg, rgba(168,134,90,0.06), rgba(28,26,23,0.04));
  pointer-events: none;
}
.portrait-cap {
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(250,246,236,0.95);
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
}
.portrait-cap::before {
  content: ""; width: 18px; height: 1px; background: var(--gold-soft);
}
.portrait-badge {
  position: absolute; top: 16px; left: 16px;
  z-index: 2;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
  background: rgba(250,246,236,0.92);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(28,26,23,0.08);
  display: inline-flex; align-items: center; gap: 8px;
}
.portrait-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #5aa372; box-shadow: 0 0 0 3px rgba(90,163,114,0.18);
}

.about-copy h2 em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.about-copy p { margin-top: 20px; font-size: 17px; color: var(--ink-2); line-height: 1.65; text-wrap: pretty; }
.about-meta {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 24px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.about-meta div { display: flex; flex-direction: column; gap: 2px; }
.about-meta .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.about-meta .v { font-family: var(--serif); font-size: 18px; }

/* ── Final CTA ──────────────────────────────────────────────── */

.final { background: var(--bg-deep); color: var(--paper); text-align: center; }
.final * { color: inherit; }
.final .wrap { max-width: 820px; }
.final h2 { font-size: clamp(36px, 5vw, 64px); }
.final h2 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.final p { margin-top: 22px; font-size: 17px; color: rgba(250,246,236,0.75); }
.final-ctas {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.final .btn-primary { background: var(--gold); color: #fff; }
.final .btn-primary:hover { background: var(--gold-soft); color: #fff; }
.final .btn-ghost { color: var(--paper); border-color: rgba(250,246,236,0.3); }
.final .btn-ghost:hover { border-color: var(--paper); }
.final-meta {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(250,246,236,0.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px;
  font-size: 12.5px; color: rgba(250,246,236,0.6); letter-spacing: 0.02em;
}
.final-meta span { display: inline-flex; align-items: center; gap: 8px; }

/* ── Footer ─────────────────────────────────────────────────── */

.foot {
  background: var(--bg-deep); color: rgba(250,246,236,0.55);
  padding-block: 32px;
  font-size: 12px; letter-spacing: 0.02em;
}
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.foot a:hover { color: var(--paper); }

/* ── Case carousel (coverflow) ──────────────────────────────── */

.cc {
  margin-top: clamp(20px, 3vw, 36px);
}
.cc-stage {
  position: relative;
  height: clamp(340px, 44vw, 600px);
  perspective: 1800px;
  perspective-origin: center 45%;
}
.cc-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(300px, 64vw, 860px);
  height: 100%;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.4, 0, .15, 1),
              opacity .7s ease,
              filter .7s ease;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 40px 80px -30px rgba(28, 26, 23, 0.5),
    0 12px 32px -14px rgba(28, 26, 23, 0.28);
  will-change: transform, opacity;
}
.cc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.cc-card.is-active {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 50px 100px -28px rgba(28, 26, 23, 0.55),
    0 18px 40px -16px rgba(28, 26, 23, 0.32);
}
.cc-badge {
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(28,26,23,0.78);
  color: var(--paper);
  padding: 6px 12px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}
.cc-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 64px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(180deg, transparent, rgba(28,26,23,0.82));
  color: var(--paper);
}
.cc-cap-k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.cc-cap-t {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.cc-controls {
  margin-top: clamp(22px, 3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.cc-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.cc-arrow svg { width: 20px; height: 20px; }
.cc-arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-1px); }
.cc-dots { display: flex; gap: 10px; }
.cc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: background .3s ease, transform .3s ease, width .3s ease, border-radius .3s ease;
}
.cc-dot.on {
  background: var(--gold);
  width: 26px;
  border-radius: 999px;
}

.cc-details {
  margin: clamp(34px, 4vw, 52px) auto 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  animation: ccFade .6s ease both;
}
@media (min-width: 760px) {
  .cc-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}
@media (min-width: 1080px) {
  .cc-details { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
}
@keyframes ccFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.cc-detail-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cc-detail-v { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; text-wrap: pretty; }
.cc-deliv { display: flex; flex-wrap: wrap; gap: 7px; }
.cc-deliv span {
  font-size: 12px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  .cc-card { transition: none; }
  .cc-details { animation: none; }
}

/* ── Reveal on scroll ───────────────────────────────────────── */
/* Content is VISIBLE by default. `.in` only plays a one-time entrance
   animation (hidden → visible), so a missing/stuck/stripped `.in` class
   can never leave content invisible. */
@media (prefers-reduced-motion: no-preference) {
  .reveal.in { animation: revealIn .85s ease both; }
  .reveal.in.d1 { animation-delay: .08s; }
  .reveal.in.d2 { animation-delay: .16s; }
  .reveal.in.d3 { animation-delay: .24s; }
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
