/* =============================================
   DAFFY STUDIO — Complete Stylesheet
   One World: Cream / Beige / Plaster
   ============================================= */


/* ─── TOKENS ─────────────────────────────── */
:root {
  --bg:           #F0EAD8;
  --bg-mid:       #E8DFC8;
  --bg-card:      #F5F0E4;
  --bg-inset:     #DDD3BC;

  --ink:          #1A0D05;
  --ink-mid:      #3A2010;
  --ink-muted:    #5C3E25;
  --ink-faint:    #9A8060;

  --accent:       #6B4C2E;
  --accent-light: #8C6440;
  --accent-rule:  #B89870;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Satoshi', system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-circ: cubic-bezier(0.85, 0, 0.15, 1);

  --nav-h: 120px;
}

/* ─── RESET ──────────────────────────────── */
*, *::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);
  background-color: var(--bg);
  background-image: url('../plaster.png');
  background-repeat: repeat;
  background-size: 600px 600px;
  background-blend-mode: multiply;
  color: var(--ink);
  overflow-x: hidden;
}

img { display: block; object-fit: cover; }
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection { background: var(--accent); color: var(--bg); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-rule); border-radius: 3px; }

/* ─── CONTAINER ──────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ─── TYPOGRAPHY ─────────────────────────── */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

em { font-style: italic; color: var(--accent); }
p  { font-family: var(--font-sans); }

/* ─── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
}

.btn-brass {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--bg);
}
.btn-brass:hover {
  background: var(--accent-rule);
  border-color: var(--accent-rule);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(46, 31, 15, 0.18);
}

.btn-ghost {
  border: 1px solid rgba(240, 234, 216, 0.4);
  color: var(--bg);
}
.btn-ghost:hover {
  border-color: rgba(240, 234, 216, 0.8);
  color: var(--bg);
}

.btn-ghost-light {
  border: 1px solid rgba(240, 234, 216, 0.5);
  color: var(--bg);
}
.btn-ghost-light:hover {
  background: rgba(240, 234, 216, 0.08);
  border-color: rgba(240, 234, 216, 0.85);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s var(--ease-out), color 0.3s;
}
.text-link:hover { gap: 0.9rem; color: var(--ink); }

/* ─── REVEAL ─────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-delay="80"]  { transition-delay: 80ms; }
[data-delay="150"] { transition-delay: 150ms; }
[data-delay="160"] { transition-delay: 160ms; }
[data-delay="200"] { transition-delay: 200ms; }

/* ══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.5s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
}

.nav.scrolled {
  background: rgba(240, 234, 216, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 168, 130, 0.3);
  box-shadow: 0 2px 32px rgba(46, 31, 15, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 2.5rem;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-logo img {
  height: 125px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  transition: opacity 0.3s, filter 0.3s;
}
.nav-logo:hover img { opacity: 0.7; }

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

.nav-links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 234, 216, 0.75);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent-rule);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--bg); }
.nav-links a:hover::after { width: 100%; }

/* When scrolled — links switch to dark ink */
.nav.scrolled .nav-links a { color: var(--ink-mid); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav.scrolled .nav-links a::after { background: var(--accent); }

.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border: 1px solid rgba(240, 234, 216, 0.45);
  color: rgba(240, 234, 216, 0.9);
  transition: all 0.3s var(--ease-out);
}
.nav-cta:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.nav.scrolled .nav-cta {
  border-color: rgba(46, 31, 15, 0.35);
  color: var(--ink);
}
.nav.scrolled .nav-cta:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--bg);
  transition: transform 0.35s var(--ease-out), opacity 0.3s, background 0.3s;
}
.nav.scrolled .nav-mobile-toggle span { background: var(--ink); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(240, 234, 216, 0.97);
  backdrop-filter: blur(24px);
  padding: 2rem 2.5rem 2.5rem;
  border-top: 1px solid var(--accent-rule);
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }

.mobile-link {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  color: var(--ink-mid);
  transition: color 0.25s;
}
.mobile-link:hover { color: var(--accent); }

.mobile-cta {
  margin-top: 0.5rem;
  padding: 0.85rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s;
}
.mobile-cta:hover { background: var(--ink); color: var(--bg); }

/* ══════════════════════════════════════════
   HERO — Full-screen Video
═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero { height: 100svh; min-height: 600px; }
}
@media (max-width: 480px) {
  .hero { height: 100svh; min-height: 500px; }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Desktop: show landscape, hide portrait */
.hero-video-mobile  { display: none; }
.hero-video-desktop { display: block; }

@media (max-width: 768px) {
  /* Mobile: show portrait 9:16, hide landscape */
  .hero-video-desktop { display: none; }
  .hero-video-mobile  { display: block; object-fit: cover; object-position: center; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(26, 13, 5, 0.15) 0%,
    rgba(26, 13, 5, 0.05) 35%,
    rgba(26, 13, 5, 0.55) 75%,
    rgba(26, 13, 5, 0.88) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 10%;
  left: 6%;
  z-index: 2;
  max-width: 680px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 234, 216, 0.65);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.3s forwards;
}

.hero-title {
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 300;
  color: var(--bg);
  line-height: 1.08;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

/* Italic line on dark video — needs to pop, not blend */
.hero-title em {
  color: #D4A86C;           /* warm champagne gold */
  font-style: italic;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.hero-line {
  width: 48px;
  height: 1px;
  background: var(--accent-rule);
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.7s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.9s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 6%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.2s forwards;
}
.hero-scroll-hint span {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 234, 216, 0.35);
}
.scroll-line {
  width: 40px; height: 1px;
  background: rgba(240, 234, 216, 0.15);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--accent-rule);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}

/* ══════════════════════════════════════════
   LIMITATION
═══════════════════════════════════════════ */
.limitation {
  background: rgba(232, 223, 200, 0.7);
  padding: 8rem 0;
}

.limitation-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 6rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
}

.limitation-text h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  color: var(--ink);
  margin-bottom: 1.75rem;
  line-height: 1.12;
}

.limitation-body {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}

.limitation-img-wrap {
  position: relative;
  border-radius: 1px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 24px 64px rgba(46, 31, 15, 0.12);
}
.limitation-img-wrap img {
  width: 100%; height: 100%;
  transition: transform 0.9s var(--ease-out);
}
.limitation-img-wrap:hover img { transform: scale(1.04); }

.limitation-label {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: rgba(240, 234, 216, 0.92);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  max-width: 200px;
}
.label-eyebrow {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.label-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.35;
}

/* ══════════════════════════════════════════
   WORLDS — True Infinite CSS Ticker
═══════════════════════════════════════════ */
.worlds {
  background: rgba(240, 234, 216, 0.5);
  padding: 7rem 0 5rem;
  overflow: hidden;
}

.worlds-header {
  padding: 0 4rem;
  max-width: 1280px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.worlds-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--ink);
}

.worlds-sub {
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  max-width: 200px;
  text-align: right;
  line-height: 1.6;
}

.worlds-ticker-wrap {
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.worlds-ticker {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: tickerScroll 38s linear infinite;
}

/* Pause on hover */
.worlds-ticker-wrap:hover .worlds-ticker { animation-play-state: paused; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.world-card {
  flex-shrink: 0;
  width: 280px;
  position: relative;
  overflow: hidden;
}

.world-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 1px;
  box-shadow: 0 12px 40px rgba(46, 31, 15, 0.1);
  position: relative;
}
.world-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,13,5,0.7) 0%, transparent 50%);
}
.world-card-img img {
  width: 100%; height: 100%;
  transition: transform 0.8s var(--ease-out);
}
.world-card:hover .world-card-img img { transform: scale(1.06); }

.world-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem;
  z-index: 2;
}
.world-num {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-rule);
  background: rgba(26, 13, 5, 0.6);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.6rem;
}
.world-card-label h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 0.35rem;
}
.world-card-label p {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 234, 216, 0.5);
}

/* ══════════════════════════════════════════
   SCOPE — Luxury Editorial List
═══════════════════════════════════════════ */
.scope {
  background: rgba(245, 240, 228, 0.75);
  padding: 8rem 0;
  border-top: 1px solid var(--bg-inset);
  border-bottom: 1px solid var(--bg-inset);
}

.scope-header {
  margin-bottom: 4rem;
}

.scope-header h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  color: var(--ink);
  line-height: 1.12;
}

/* Two-column editorial grid */
.scope-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
}

.scope-editorial-left,
.scope-editorial-right {
  display: flex;
  flex-direction: column;
}

/* Each row: flexbox for reliable hover-image animation */
.scope-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--bg-inset);
  overflow: hidden;
  transition: background 0.35s;
  cursor: default;
}
.scope-editorial-left .scope-row:first-child,
.scope-editorial-right .scope-row:first-child {
  border-top: 1px solid var(--bg-inset);
}
.scope-row:hover {
  border-left: 2px solid var(--accent-rule);
  padding-left: 0.75rem;
}

.scope-row-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--accent-rule);
  line-height: 1;
  flex-shrink: 0;
  width: 2.25rem;
}

.scope-row-content {
  flex: 1;
  min-width: 0;
}

.scope-row-content h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.35rem;
  transition: color 0.3s;
}
.scope-row:hover .scope-row-content h3 { color: var(--accent); }

.scope-row-content p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* No image reveal — removed for cleaner luxury feel */
.scope-row-img { display: none; }

/* ══════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════ */
.process {
  background: rgba(232, 223, 200, 0.65);
  padding: 8rem 0;
}

.process-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
}

.process-image { position: relative; }

.process-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 24px 64px rgba(46, 31, 15, 0.14);
}

.process-badge {
  position: absolute;
  bottom: 2rem; right: -1rem;
  background: var(--ink);
  padding: 1.25rem 1.5rem;
  max-width: 165px;
}
.process-badge p {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--accent-rule);
}

.process-text h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  color: var(--ink);
  margin-bottom: 3rem;
  line-height: 1.1;
}

.process-points { display: flex; flex-direction: column; gap: 2.25rem; }

.process-point {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--bg-inset);
}
.process-point:last-child { border-bottom: none; padding-bottom: 0; }

.point-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--accent);
  flex-shrink: 0;
  width: 28px;
  margin-top: 2px;
}

.process-point h4 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}
.process-point p {
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--ink-muted);
}

/* ══════════════════════════════════════════
   GALLERY — 3-Row Pinterest Masonry
═══════════════════════════════════════════ */
.gallery {
  background: rgba(240, 234, 216, 0.5);
  padding: 7rem 0 5rem;
  overflow: hidden;
}

.gallery-header {
  padding: 0 4rem;
  max-width: 1280px;
  margin: 0 auto 3.5rem;
}

.gallery-header h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  color: var(--ink);
  font-weight: 300;
  margin-top: 0.75rem;
}

/* Row wrapper — edge fade */
.gallery-row-wrap {
  overflow: hidden;
  margin-bottom: 8px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

/* Each row is a flex strip that animates */
.gallery-row {
  display: flex;
  gap: 8px;
  width: max-content;
  align-items: stretch;
}

/* Three different speeds & directions */
@keyframes galleryLTR { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes galleryRTL { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.row-ltr      { animation: galleryLTR 55s linear infinite; }
.row-rtl      { animation: galleryRTL 48s linear infinite; }
.row-ltr-slow { animation: galleryLTR 65s linear infinite; }

/* Pause all rows on hover */
.gallery-row-wrap:hover .gallery-row { animation-play-state: paused; }

/* Gallery images — natural aspect ratio, never squished */
.gallery-row img {
  display: block;
  height: 220px;
  width: auto;          /* browser uses natural image width */
  object-fit: unset;    /* don't crop — show real ratio */
  border-radius: 1px;
  flex-shrink: 0;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
  filter: saturate(0.92);
}
.gallery-row img:hover {
  transform: scale(1.03);
  filter: saturate(1.06);
  z-index: 2;
  position: relative;
}

/* Remove class-based width overrides — width:auto handles it */
.gallery-row .img-portrait,
.gallery-row .img-landscape,
.gallery-row .img-square { width: auto; }

/* ══════════════════════════════════════════
   PRICING
═══════════════════════════════════════════ */
.pricing {
  background: rgba(232, 223, 200, 0.65);
  padding: 8rem 0;
  border-top: 1px solid var(--bg-inset);
}

.pricing-header {
  text-align: center;
  margin-bottom: 5rem;
}
.pricing-header h2 {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  color: var(--ink);
  font-weight: 300;
}

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

.pricing-card {
  background: rgba(245, 240, 228, 0.88);
  border: 1px solid var(--bg-inset);
  padding: 2.5rem;
  transition: border-color 0.35s, transform 0.35s var(--ease-out), box-shadow 0.35s;
  position: relative;
}
.pricing-card:hover {
  border-color: var(--accent-rule);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(46, 31, 15, 0.1);
}

.pricing-card.featured {
  border-color: var(--accent-rule);
  background: rgba(250, 246, 238, 0.95);
  box-shadow: 0 8px 32px rgba(46, 31, 15, 0.08);
}

.pricing-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 1rem;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  display: block;
}

.pricing-card h3 {
  font-size: 1.8rem;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.pricing-desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
}

.pricing-divider { height: 1px; background: var(--bg-inset); margin-bottom: 1.75rem; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.pricing-features li {
  font-size: 0.82rem;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pricing-features li::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--accent-rule);
  flex-shrink: 0;
}

.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.9rem;
  border: 1px solid rgba(46, 31, 15, 0.25);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: all 0.35s var(--ease-out);
}
.pricing-card.featured .pricing-btn {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.pricing-btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.cta-section {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 9s ease;
}
.cta-section:hover .cta-bg { transform: scale(1); }

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 13, 5, 0.65);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}
.cta-content h2 {
  font-size: clamp(2.2rem, 5vw, 5rem);
  color: var(--bg);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.15;
}
.cta-content em { color: var(--accent-rule); }
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: rgba(232, 223, 200, 0.75);
  border-top: 1px solid var(--bg-inset);
  padding: 5rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem 4rem;
  border-bottom: 1px solid var(--bg-inset);
}

.footer-logo {
  height: 72px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--ink-muted);
  max-width: 280px;
}
.footer-brand a { color: var(--accent); }
.footer-brand a:hover { color: var(--ink); }

.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col-title {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.footer-col a { font-size: 0.82rem; color: var(--ink-muted); transition: color 0.25s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 4rem 0;
}
.footer-bottom p { font-size: 0.66rem; color: var(--ink-faint); letter-spacing: 0.05em; }
.footer-bottom a { color: var(--accent); }
.footer-tag { font-size: 0.58rem !important; letter-spacing: 0.22em !important; text-transform: uppercase; }

/* ══════════════════════════════════════════
   BOOKING MODAL — Calendly-style popup
═══════════════════════════════════════════ */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.booking-modal.open { opacity: 1; pointer-events: all; }

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 13, 5, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.booking-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 940px;
  max-height: 90vh;
  background: var(--bg);
  background-image: url('../plaster.png');
  background-size: 600px 600px;
  display: flex;
  flex-direction: column;
  transform: scale(0.96) translateY(20px);
  transition: transform 0.45s var(--ease-out);
  box-shadow: 0 40px 100px rgba(26, 13, 5, 0.4);
  overflow: hidden;
}
.booking-modal.open .booking-panel { transform: scale(1) translateY(0); }

.booking-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--bg-inset);
  background: rgba(245, 240, 228, 0.94);
  flex-shrink: 0;
}

.booking-logo {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  flex-shrink: 0;
}

.booking-meta { flex: 1; min-width: 0; }

.booking-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.2rem;
  font-weight: 400;
}

.booking-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.booking-close {
  flex-shrink: 0;
  width: 34px; height: 34px;
  position: relative;
  border: 1px solid var(--bg-inset);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  cursor: pointer; background: none;
}
.booking-close:hover { border-color: var(--accent-rule); background: var(--bg-inset); transform: rotate(90deg); }
.booking-close span { position: absolute; width: 13px; height: 1.5px; background: var(--ink); }
.booking-close span:first-child { transform: rotate(45deg); }
.booking-close span:last-child  { transform: rotate(-45deg); }

.booking-frame-wrap { flex: 1; overflow: hidden; min-height: 580px; }
.booking-frame-wrap iframe { width: 100%; height: 100%; min-height: 580px; border: none; display: block; }

@media (max-width: 640px) {
  .booking-modal  { padding: 0.5rem; align-items: flex-end; }
  .booking-panel  { max-height: 88vh; border-radius: 0; }
  .booking-header { padding: 0.85rem 1rem; gap: 0.75rem; }
  .booking-logo   { height: 42px; }
  .booking-title  { font-size: 0.9rem; }
  .booking-sub    { display: none; }
  .booking-frame-wrap { min-height: 0; flex: 1; }
  .booking-frame-wrap iframe { min-height: 0; height: 100%; }
}

/* ══════════════════════════════════════════
   FAQ — Myth, Meet Reality
═══════════════════════════════════════════ */
.faq {
  padding: 8rem 0 7rem;
  border-top: 1px solid var(--bg-inset);
  background-color: var(--bg);
  background-image: url('../plaster.png');
  background-size: 800px 800px;
  position: relative;
}

/* Readable overlay on top of plaster */
.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240, 234, 216, 0.72);
  pointer-events: none;
  z-index: 0;
}

.faq .container { position: relative; z-index: 1; }

.faq-header { margin-bottom: 4rem; }
.faq-header h2 { font-size: clamp(2.5rem, 5vw, 5rem); margin-bottom: 1rem; }
.faq-intro {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  max-width: 380px;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 5rem;
}

.faq-col { min-width: 0; }

.faq-item {
  border-bottom: 1px solid var(--bg-inset);
}

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.4rem 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--accent); }

.faq-icon {
  font-size: 1.3rem;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--accent-rule);
  flex-shrink: 0;
  margin-top: 0.1rem;
  transition: transform 0.4s var(--ease-out), color 0.3s;
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.faq-item.open .faq-a { max-height: 400px; }

.faq-a p {
  padding-bottom: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--ink);
  opacity: 0.75;
}

/* Mobile — single column, compressed */
@media (max-width: 768px) {
  .faq { padding: 4rem 0 3rem; }
  .faq-header { margin-bottom: 2rem; }
  .faq-header h2 { font-size: clamp(2rem, 7vw, 3.5rem); }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq .container { padding: 0 1.25rem; }
  .faq-q { font-size: 0.9rem; padding: 0.85rem 0; }
  .faq-a p { font-size: 0.78rem; padding-bottom: 1rem; }
  .faq-item { border-bottom-width: 1px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — ALL SCREENS
   Same 8-section layout on every device.
   Scaled down, never collapsed (until 480px).
═══════════════════════════════════════════ */

/* ── Tablet ≤1024px ── */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle   { display: flex; }

  .limitation { padding: 5rem 0; }
  .worlds     { padding: 5rem 0 3.5rem; }
  .scope      { padding: 5rem 0; }
  .process    { padding: 5rem 0; }
  .gallery    { padding: 5rem 0 3rem; }
  .pricing    { padding: 5rem 0; }

  .limitation-inner   { gap: 3rem; padding: 0 2rem; }
  .worlds-header      { padding: 0 2rem; }
  .process-inner      { gap: 3rem; padding: 0 2rem; }
  .process-badge      { right: 0; }
  .scope .container   { padding: 0 2rem; }
  .gallery-header     { padding: 0 2rem; }
  .pricing .container { padding: 0 2rem; }
  .pricing-card       { padding: 1.75rem 1.25rem; }
  .footer-inner       { padding: 0 2rem 3rem; gap: 2rem; }
  .footer-bottom      { padding: 2rem 2rem 0; flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Mobile ≤768px — keep all layouts, scale proportionally ── */
@media (max-width: 768px) {
  :root { --nav-h: 88px; }

  .nav-inner    { padding: 0 1.25rem; }
  .nav-logo img { height: 80px; }

  .hero-content { left: 1.25rem; right: 1.25rem; bottom: 9%; }
  .hero-title   { font-size: clamp(1.9rem, 7vw, 3.2rem); }
  .hero-scroll-hint { left: 1.25rem; }

  /* Limitation — keep 2-col, compact image aspect ratio */
  .limitation-inner   { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 0 1.25rem; }
  .limitation-text h2 { font-size: clamp(1.25rem, 4vw, 1.9rem); }
  .limitation-body    { font-size: 0.74rem; line-height: 1.7; }
  .limitation-label   { display: none; }
  .limitation-img-wrap { aspect-ratio: 3/4; }

  /* Worlds */
  .worlds-header { padding: 0 1.25rem; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .worlds-title  { font-size: clamp(1.7rem, 5.5vw, 2.5rem); }
  .worlds-sub    { text-align: left; max-width: none; font-size: 0.7rem; }
  .world-card    { width: 200px; }

  /* Scope — always 2-col, compact */
  .scope .container     { padding: 0 1.25rem; }
  .scope-header h2      { font-size: clamp(1.35rem, 4vw, 2rem); }
  .scope-editorial      { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .scope-row            { padding: 1rem 0; gap: 0.5rem; }
  .scope-row-content p  { font-size: 0.66rem; line-height: 1.5; }
  .scope-row-img        { display: none; }

  .process-inner    { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 0 1.25rem; }
  .process-text h2  { font-size: clamp(1.35rem, 4vw, 2rem); margin-bottom: 1.5rem; }
  .process-point h4 { font-size: 0.82rem; }
  .process-point p  { font-size: 0.7rem; }
  .process-points   { gap: 1.1rem; }
  .process-point    { padding-bottom: 1.1rem; gap: 0.65rem; }
  .process-badge    { display: none; }

  .gallery-header    { padding: 0 1.25rem; }
  .gallery-header h2 { font-size: clamp(1.7rem, 5.5vw, 2.5rem); }
  .gallery-row img   { height: 140px; }
  .gallery-row-wrap  { margin-bottom: 5px; }

  .pricing .container  { padding: 0 1.25rem; }
  .pricing-header      { margin-bottom: 2rem; }
  .pricing-header h2   { font-size: clamp(1.7rem, 5.5vw, 2.5rem); }
  .pricing-grid        { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .pricing-card        { padding: 1.1rem 0.75rem; }
  .pricing-card h3     { font-size: 1rem; }
  .pricing-tier        { font-size: 0.5rem; margin-bottom: 0.75rem; }
  .pricing-desc        { font-size: 0.66rem; line-height: 1.55; margin-bottom: 1.1rem; }
  .pricing-divider     { margin-bottom: 1.1rem; }
  .pricing-features    { gap: 0.55rem; margin-bottom: 1.5rem; }
  .pricing-features li { font-size: 0.64rem; gap: 0.4rem; }
  .pricing-features li::before { width: 8px; }
  .pricing-btn         { font-size: 0.54rem; padding: 0.6rem 0.3rem; }
  .pricing-badge       { font-size: 0.42rem; padding: 0.18rem 0.4rem; }

  .cta-content h2  { font-size: clamp(1.5rem, 5vw, 2.5rem); margin-bottom: 1.5rem; }
  .cta-actions     { flex-direction: column; align-items: center; gap: 0.65rem; }
  .cta-actions .btn { width: 100%; max-width: 260px; justify-content: center; }

  .footer          { padding: 3rem 0 2rem; }
  .footer-inner    { grid-template-columns: 2fr 1fr 1fr; gap: 1.25rem; padding: 0 1.25rem 2rem; }
  .footer-logo     { height: 48px; margin-bottom: 0.75rem; }
  .footer-brand p  { font-size: 0.68rem; }
  .footer-col a    { font-size: 0.68rem; }
  .footer-bottom   { padding: 1.25rem 1.25rem 0; flex-direction: column; gap: 0.4rem; text-align: center; }
}

/* ── Small phones ≤480px — only stack the impossible layouts ── */
@media (max-width: 480px) {
  :root { --nav-h: 72px; }
  .nav-logo img { height: 62px; }
  .hero-title   { font-size: clamp(1.65rem, 6vw, 2.2rem); }

  /* Limitation — stack at 480px */
  .limitation-inner    { grid-template-columns: 1fr; }
  .limitation-img-wrap { aspect-ratio: 16/9; }

  /* Scope — KEEP 2-col at 480px (3+3 side by side readable) */
  .scope-editorial { grid-template-columns: 1fr 1fr; }
  .scope-row-num        { font-size: 0.72rem; width: 1.1rem; }
  .scope-row-content h3 { font-size: 0.76rem; }
  .scope-row-content p  { font-size: 0.58rem; }
  .scope-row            { padding: 0.8rem 0; }

  /* Process — keep side-by-side at 480px, image square */
  .process-inner { grid-template-columns: 1fr 1fr; }
  .process-image img { aspect-ratio: 1/1; object-fit: cover; }
  .process-text h2  { font-size: clamp(1rem, 4vw, 1.4rem); }
  .process-point h4 { font-size: 0.7rem; }
  .process-point p  { font-size: 0.6rem; }

  /* Pricing — triangle: featured full-width top, 2 smaller below */
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .pricing-card.featured { grid-column: 1 / 3; order: -1; padding: 1.5rem 1.25rem; }
  .pricing-card.featured h3 { font-size: 1.4rem; }
  .pricing-card { padding: 0.9rem 0.75rem; }

  /* Footer — stack */
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-logo  { height: 44px; }
}


