/* ============================================================
   MICHAL LEIBA — Three-Style Experience
   Custom Made Websites
   ============================================================ */

/* ---------- Brand foundation (always present) ---------- */
:root {
  --brand-cyan: #2EB5D6;
  --brand-teal: #1A9CB8;
  --brand-navy: #1B3A7A;
  --brand-navy-dark: #162F66;
  --brand-white: #FFFFFF;

  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);

  /* Each style sets these */
  --bg-1: #0a0a14;
  --bg-2: #11121c;
  --text: #ffffff;
  --text-soft: rgba(255,255,255,0.7);
  --text-mute: rgba(255,255,255,0.5);
  --line: rgba(255,255,255,0.12);
  --accent: var(--brand-cyan);
  --accent-2: var(--brand-navy);
  --surface: rgba(255,255,255,0.06);
  --surface-2: rgba(255,255,255,0.1);
  --display: 'Raleway', system-ui, sans-serif;
  --body: 'Open Sans', system-ui, sans-serif;
  --script: 'Dancing Script', cursive;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  background: var(--bg-1);
  color: var(--text);
  overflow-x: clip;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background 1.2s var(--ease-in-out), color 0.6s ease;
}
img { max-width: 100%; display: block; }

/* ============================================================
   ACCESSIBILITY — reduced-motion support
   Honors prefers-reduced-motion for visitors with vestibular sensitivities.
   Disables ALL animation + transition globally, while still showing the
   final state of any in-progress reveal so nothing stays invisible.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* Keep elements that animate-in starting from opacity:0 at their final state */
  .reviews-card,
  .testimonial,
  .welcome-notice,
  .demo-end-card,
  .contact-success {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  /* Disable the splash background video + autoplay reveal — show first frame */
  .splash-video { display: block; }
}

/* ============================================================
   ACCESSIBILITY — visible focus ring for keyboard users
   Uses :focus-visible so mouse clicks don't show the ring,
   but Tab-key navigation does. Per-style colours so the ring
   reads against each background.
   ============================================================ */
*:focus { outline: none; }
*:focus-visible {
  outline: 3px solid var(--accent, #2EB5D6);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Round elements get a matching rounded ring */
.btn:focus-visible,
.style-pill:focus-visible,
.lang-toggle button:focus-visible,
.welcome-notice-cta:focus-visible,
.demo-end-cta:focus-visible,
.contact-success-reset:focus-visible,
.work-feature-visit:focus-visible,
.reviews-view-all:focus-visible,
.wb-nav:focus-visible,
.wf-dot:focus-visible,
.t-dot:focus-visible {
  outline-offset: 4px;
  border-radius: 999px;
}

/* ============================================================
   ACCESSIBILITY — minimum tap-target sizes (WCAG 2.5.5 — 44×44)
   Fixes elements that were < 44px in either axis.
   ============================================================ */
/* Topbar: lang toggle + style pill need extra vertical room */
.lang-toggle button { min-height: 44px; }
.style-pill { min-height: 44px; }
/* Dots — expand the clickable area without enlarging the visible dot */
.t-dot,
.wf-dot {
  position: relative;
  /* invisible 44×44 hit area centred on the dot */
}
.t-dot::after,
.wf-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  /* fully transparent but receives pointer events for the parent button */
}

/* ============================================================
   ACCESSIBILITY — skip link
   Hidden visually until keyboard-focused; lets keyboard users
   jump past the topbar straight to the main content.
   ============================================================ */
.skip-to-content {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(-200%);
  z-index: 9999;
  padding: 12px 22px;
  background: #1B3A7A;
  color: #ffffff;
  font-family: var(--display, system-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.35);
  transition: transform 0.2s var(--ease-out, ease);
}
.skip-to-content:focus,
.skip-to-content:focus-visible {
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   HEBREW — Rubik for everything when dir="rtl"
   Several decorative fonts the site uses (Bobba Boots, Legalitere,
   Dancing Script, Fraunces, etc.) don't contain Hebrew glyphs, so we
   force Rubik across all text categories whenever Hebrew is active.
   ============================================================ */
body[dir="rtl"] {
  --display: 'Open Sans', system-ui, sans-serif;
  --body:    'Open Sans', system-ui, sans-serif;
  --script:  'Open Sans', system-ui, sans-serif;
}
body[dir="rtl"],
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] h6,
body[dir="rtl"] p,
body[dir="rtl"] span,
body[dir="rtl"] a,
body[dir="rtl"] button,
body[dir="rtl"] label,
body[dir="rtl"] input,
body[dir="rtl"] textarea,
body[dir="rtl"] em,
body[dir="rtl"] strong,
body[dir="rtl"] li,
body[dir="rtl"] blockquote,
body[dir="rtl"] figcaption,
body[dir="rtl"] .h-display,
body[dir="rtl"] .h-section,
body[dir="rtl"] .h-display em,
body[dir="rtl"] .h-section em,
body[dir="rtl"] .lede,
body[dir="rtl"] .kicker,
body[dir="rtl"] .btn,
body[dir="rtl"] .signature,
body[dir="rtl"] .welcome-notice-title,
body[dir="rtl"] .welcome-notice-cta,
body[dir="rtl"] .demo-end-eyebrow,
body[dir="rtl"] .demo-end-body,
body[dir="rtl"] .demo-end-cta,
body[dir="rtl"] .work-feature-title,
body[dir="rtl"] .work-feature-desc,
body[dir="rtl"] .reviews-text,
body[dir="rtl"] .reviews-author,
body[dir="rtl"] .reviews-when,
body[dir="rtl"] .testimonial,
body[dir="rtl"] .service-card h3,
body[dir="rtl"] .service-card p,
body[dir="rtl"] .about-story-block h4,
body[dir="rtl"] .about-story-block p,
body[dir="rtl"] .contact-aside h3,
body[dir="rtl"] .contact-aside .line,
body[dir="rtl"] .contact-aside .quote,
body[dir="rtl"] .footer {
  font-family: 'Open Sans', system-ui, sans-serif !important;
}

/* Editorial — Hebrew titles use Libertinus Math (serif) for an academic /
   editorial feel. Cardo + system serifs as fallback if it fails to load. */
body[dir="rtl"][data-style="editorial"] .h-display,
body[dir="rtl"][data-style="editorial"] .h-section,
body[dir="rtl"][data-style="editorial"] .h-display em,
body[dir="rtl"][data-style="editorial"] .h-section em {
  font-family: 'Libertinus Math', 'Cardo', 'Frank Ruhl Libre', 'David Libre', Georgia, serif !important;
}

/* Bubbles — Hebrew titles use Sarona (vintage multilingual display).
   Body copy stays Rubik. */
body[dir="rtl"][data-style="water"] .h-display,
body[dir="rtl"][data-style="water"] .h-section,
body[dir="rtl"][data-style="water"] .h-display em,
body[dir="rtl"][data-style="water"] .h-section em {
  font-family: 'Sarona', 'Open Sans', system-ui, sans-serif !important;
}

/* About title — the new line "bring their vision to life." is much longer
   than what the design was sized for, so the title was rendering huge.
   Shrink the parent + tame the em multiplier so the whole title reads
   in proportion without dominating the section. */
#about .h-section {
  font-size: clamp(28px, 4.5vw, 60px) !important;
  line-height: 1.05 !important;
}
#about .h-section em {
  font-size: 1em !important;       /* same size as parent — no dramatic blow-up */
}

/* RTL — flip horizontal arrows so they point in the reading direction.
   Targets the small "→" glyphs that sit next to CTA text. Does NOT flip
   vertical arrows (down/up) or brand glyphs (e.g. WhatsApp). */
body[dir="rtl"] .btn-arr svg,
body[dir="rtl"] .work-feature-visit svg,
body[dir="rtl"] .work-browser-hover-pill svg,
body[dir="rtl"] .reviews-view-all svg,
body[dir="rtl"] .welcome-notice-cta svg,
body[dir="rtl"] .demo-end-cta-secondary svg {
  transform: scaleX(-1);
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   STYLE 1 — LIQUID GLASS
   Holographic, frosted, purple→cyan→green gradients
   ============================================================ */
body[data-style="glass"] {
  --bg-1: #d8d4e8;
  --bg-2: #e8e2f5;
  --text: #2a1f4a;
  --text-soft: rgba(42,31,74,0.72);
  --text-mute: rgba(42,31,74,0.5);
  --line: rgba(120,90,200,0.18);
  --accent: #8b5cf6;
  --accent-2: #34d399;
  --accent-3: #60a5fa;
  --surface: rgba(255,255,255,0.45);
  --surface-2: rgba(255,255,255,0.65);
  --halo: linear-gradient(135deg,#a78bfa 0%, #60a5fa 30%, #67e8f9 55%, #86efac 80%, #fbbf24 100%);
  --display: 'Inter Tight', 'Raleway', system-ui, sans-serif;
  background:
    radial-gradient(1100px 700px at 15% 10%, #cdbcff 0%, transparent 55%),
    radial-gradient(900px 600px at 85% 30%, #a7e8ff 0%, transparent 60%),
    radial-gradient(700px 500px at 70% 90%, #c7ffd6 0%, transparent 60%),
    radial-gradient(900px 700px at 10% 90%, #ffd9f0 0%, transparent 60%),
    linear-gradient(180deg,#ede8fb 0%, #e6ecff 100%);
}

/* ============================================================
   STYLE 2 — INDUSTRIAL-BOTANICAL (Honest Greens vibe)
   Raw concrete walls, wood floor, hanging plants, heavy black type
   ============================================================ */
body[data-style="organic"] {
  --bg-1: #b4a98f;
  --bg-2: #8a7e62;
  --text: #0a0805;
  --text-soft: rgba(10,8,5,0.82);
  --text-mute: rgba(10,8,5,0.55);
  --line: rgba(10,8,5,0.22);
  --accent: #2d5a32;
  --accent-2: #6b3f1d;
  --accent-3: #8a8170;
  --accent-4: #d4af72;
  --surface: #c8c0a8;
  --surface-2: #d8d0b8;
  --surface-wood: #6b3f1d;
  --surface-dark: #2a201a;
  --display: 'Poppins', sans-serif;
  --body: 'Poppins', sans-serif;
  --script: 'Poppins', sans-serif;
  /* Real concrete photo as base */
  background:
    radial-gradient(60% 50% at 30% 22%, rgba(255,195,110,0.20) 0%, transparent 70%),
    url('assets/concrete-wall.png') center/cover fixed,
    #988b70;
}

/* Remove the old SVG-noise overlay — we have a real chiseled concrete now */
body[data-style="organic"]::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* Just a subtle additional darkening at edges */
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.25) 100%);
}


/* Heavier display type for organic — DRAMATICALLY backlit */
body[data-style="organic"] .h-display,
body[data-style="organic"] .h-section {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 0.86;
  color: #0a0805;
  position: relative;
  text-shadow:
    0 0 80px rgba(255,200,110,0.85),
    0 0 140px rgba(255,170,80,0.55),
    0 0 200px rgba(255,150,60,0.35);
}
body[data-style="organic"] .h-display em,
body[data-style="organic"] .h-section em {
  font-family: var(--script);
  font-style: normal;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #1f3d22;
  display: inline-block;
  transform: rotate(-2deg);
  text-shadow:
    0 0 30px rgba(31,61,34,0.4),
    0 2px 4px rgba(255,240,200,0.5),
    0 4px 8px rgba(0,0,0,0.5);
}
body[data-style="organic"] .lede {
  color: rgba(255,250,240,0.92);
  font-family: var(--body);
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
body[data-style="organic"] .kicker {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: #d4e0b0;
  text-shadow: 0 0 16px rgba(140,180,90,0.7), 0 2px 4px rgba(0,0,0,0.5);
}
body[data-style="organic"] .kicker::before {
  background: #c8d8a0;
  height: 2px;
  width: 44px;
  box-shadow: 0 0 12px rgba(200,216,160,0.6);
}

/* ============================================================
   ORGANIC: industrial-botanical decor + textures
   ============================================================ */
body[data-style="organic"] .bg-layer {
  z-index: -2 !important;
  pointer-events: none;
}

/* All plant wall elements hidden */
body[data-style="organic"] .org-canopy,
body[data-style="organic"] .org-wall,
body[data-style="organic"] .org-wall2-left,
body[data-style="organic"] .org-wall2-right,
body[data-style="organic"] .org-hanging,
body[data-style="organic"] .org-mid {
  display: none;
}

/* Hanging leaf canopy at top of viewport */
body[data-style="organic"] .bg-organic-canopy {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  pointer-events: none;
  z-index: 0;
}
/* Real photo plant wall — top canopy */
body[data-style="organic"] .bg-plant-canopy {
  background: url('assets/plant-canopy.png') center top / cover no-repeat;
  /* Soft feather at the bottom to blend into the wall */
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.4)) brightness(0.92);
}

/* Plant walls hidden — no leaf images */
body[data-style="organic"] .bg-plant-wall {
  display: none;
}
body[data-style="organic"] .bg-plant-wall-left {
  left: 0;
  background-image: url('assets/plant-wall-left.png');
  -webkit-mask-image: linear-gradient(90deg, black 0%, black 40%, transparent 100%);
  mask-image: linear-gradient(90deg, black 0%, black 40%, transparent 100%);
}
body[data-style="organic"] .bg-plant-wall-right {
  right: 0;
  background-image: url('assets/plant-wall-right.png');
  -webkit-mask-image: linear-gradient(270deg, black 0%, black 40%, transparent 100%);
  mask-image: linear-gradient(270deg, black 0%, black 40%, transparent 100%);
}
@media (max-width: 1100px) {
  body[data-style="organic"] .bg-plant-wall { width: 12vw; }
}
@media (max-width: 760px) {
  body[data-style="organic"] .bg-plant-wall { display: none; }
}
body[data-style="organic"] .bg-organic-canopy .canopy-item {
  position: absolute;
  transform-origin: 50% 0%;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.25));
}
@keyframes canopySway {
  0%, 100% { transform: rotate(var(--sway-base, 180deg)) translateY(0); }
  50% { transform: rotate(var(--sway-base, 180deg)) translateY(6px); }
}

/* Warm wall light behind titles */
body[data-style="organic"] .bg-organic-walllight {
  position: fixed;
  top: 12vh;
  left: 0;
  width: 70%;
  height: 60vh;
  background:
    radial-gradient(60% 60% at 30% 40%, rgba(255,200,120,0.22) 0%, transparent 70%),
    radial-gradient(40% 50% at 60% 60%, rgba(255,180,90,0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  filter: blur(20px);
}

/* Real hanging plants photo (replaces SVG rattan pendants) */
body[data-style="organic"] .bg-organic-hanging {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0.78) saturate(1.1);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 45%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 45%, transparent 100%);
}

/* ── Transparent leaf overlays ───────────────────────────── */
/* Shared base for CSS-classed leaves (top strip + corners) */
body[data-style="organic"] .bg-tleaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.92;
  height: auto;
}

/* TOP: full viewport width, natural aspect ratio (971×257) */
body[data-style="organic"] .bg-tleaf-top {
  top: 0; left: 0;
  width: 100%;
  transform-origin: top center;
  animation: tleaf-sway 9s ease-in-out infinite;
}

/* CORNER bottom-left (533×468 shown at ~430px = 81% natural = sharp) */
body[data-style="organic"] .bg-tleaf-corner-bl {
  bottom: 0; left: 0;
  width: clamp(280px, 38vw, 480px);
  transform-origin: bottom left;
  animation: tleaf-sway 8s ease-in-out 0.5s infinite;
}

/* CORNER top-right — rotated 180° */
body[data-style="organic"] .bg-tleaf-corner-tr {
  top: 0; right: 0;
  width: clamp(280px, 38vw, 480px);
  transform: rotate(180deg);
  transform-origin: top right;
  animation: tleaf-sway 8s ease-in-out 3s infinite;
}

/* Side leaves use inline styles (see OrganicBackground in backgrounds.jsx) */

@keyframes tleaf-sway {
  0%,100% { transform: rotate(0deg);   }
  35%     { transform: rotate(1.5deg); }
  70%     { transform: rotate(-1deg);  }
}
@keyframes tleaf-sway-r {
  0%,100% { transform: scaleX(-1) rotate(0deg);    }
  35%     { transform: scaleX(-1) rotate(-1.5deg); }
  70%     { transform: scaleX(-1) rotate(1deg);    }
}

/* ── Wind animations — natural, irregular, non-symmetric ─────── */

/* Canopy: gentle rock from top edge */
@keyframes wind-canopy {
  0%   { transform: rotate(0deg) translateX(0px);   }
  20%  { transform: rotate(0.6deg) translateX(4px); }
  45%  { transform: rotate(-0.4deg) translateX(-3px); }
  70%  { transform: rotate(0.8deg) translateX(6px); }
  100% { transform: rotate(0deg) translateX(0px);   }
}

/* Left wall: sway from left edge — anchor top-left */
@keyframes wind-wall-left {
  0%   { transform: rotate(0deg) skewY(0deg);        }
  18%  { transform: rotate(0.5deg) skewY(0.3deg);   }
  42%  { transform: rotate(-0.3deg) skewY(-0.2deg); }
  65%  { transform: rotate(0.7deg) skewY(0.4deg);   }
  83%  { transform: rotate(-0.2deg) skewY(0deg);    }
  100% { transform: rotate(0deg) skewY(0deg);        }
}

/* Right wall: opposite phase */
@keyframes wind-wall-right {
  0%   { transform: rotate(0deg) skewY(0deg);        }
  22%  { transform: rotate(-0.6deg) skewY(-0.3deg); }
  50%  { transform: rotate(0.4deg) skewY(0.2deg);   }
  72%  { transform: rotate(-0.5deg) skewY(-0.4deg); }
  90%  { transform: rotate(0.2deg) skewY(0.1deg);   }
  100% { transform: rotate(0deg) skewY(0deg);        }
}

/* Hanging corner leaves — dangle from top */
@keyframes wind-hang-left {
  0%,100% { transform: rotate(-2deg) translateY(0);   }
  30%     { transform: rotate(2deg)  translateY(5px); }
  60%     { transform: rotate(-1deg) translateY(2px); }
}
@keyframes wind-hang-right {
  0%,100% { transform: rotate(3deg)  translateY(0);   }
  25%     { transform: rotate(-1deg) translateY(4px); }
  55%     { transform: rotate(4deg)  translateY(7px); }
  80%     { transform: rotate(1deg)  translateY(2px); }
}

/* ── Organic wall + canopy components ────────────────────────── */

/* Canopy — full-width hanging plants, sways in wind */
body[data-style="organic"] .org-canopy {
  position: fixed;
  top: 0; left: -3%; right: -3%;
  height: 360px;
  z-index: 0;
  pointer-events: none;
  background: url('assets/plant-canopy.png') center top / cover no-repeat;
  opacity: 1;
  mix-blend-mode: normal;
  transform-origin: top center;
  animation: wind-canopy 9s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  filter: brightness(0.85) saturate(1.2);
}

/* Shared wall base — solid on top of everything except nav */
body[data-style="organic"] .org-wall {
  position: fixed;
  top: 0; bottom: 0;
  z-index: 20;
  pointer-events: none;
  background-repeat: repeat-y;
  mix-blend-mode: normal;
  filter: brightness(0.88) saturate(1.15);
}

/* Left wall — solid plant wall on top */
body[data-style="organic"] .org-wall-left {
  left: 0;
  width: 320px;
  background-image: url('assets/plant-wall-left.png');
  background-size: 320px auto;
  background-position: left top;
  opacity: 1;
  transform-origin: left center;
  animation: wind-wall-left 13s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 55%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 55%, transparent 100%);
}

/* Right wall — solid plant wall on top */
body[data-style="organic"] .org-wall-right {
  right: 0;
  width: 280px;
  background-image: url('assets/plant-wall-right.png');
  background-size: 280px auto;
  background-position: right top;
  opacity: 1;
  transform-origin: right center;
  animation: wind-wall-right 16s ease-in-out -4s infinite;
  -webkit-mask-image: linear-gradient(to left, black 0%, black 55%, transparent 100%);
  mask-image: linear-gradient(to left, black 0%, black 55%, transparent 100%);
}

/* Second depth layer left — slightly behind, adds depth */
body[data-style="organic"] .org-wall2-left {
  left: 0;
  width: 240px;
  background-image: url('assets/plant-wall-2.png');
  background-size: 240px auto;
  background-position: left 200px;
  background-repeat: repeat-y;
  opacity: 0.75;
  mix-blend-mode: normal;
  transform-origin: left center;
  animation: wind-wall-left 19s ease-in-out -7s infinite;
  filter: brightness(0.85) saturate(1.1);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 48%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 48%, transparent 100%);
  pointer-events: none;
}

/* Second depth layer right */
body[data-style="organic"] .org-wall2-right {
  right: 0;
  width: 200px;
  background-image: url('assets/plant-wall-2.png');
  background-size: 200px auto;
  background-position: right 300px;
  background-repeat: repeat-y;
  opacity: 0.65;
  mix-blend-mode: normal;
  transform: scaleX(-1);
  transform-origin: right center;
  animation: wind-wall-right 22s ease-in-out -11s infinite;
  filter: brightness(0.85) saturate(1.1);
  -webkit-mask-image: linear-gradient(to left, black 0%, black 48%, transparent 100%);
  mask-image: linear-gradient(to left, black 0%, black 48%, transparent 100%);
  pointer-events: none;
}

/* Mid-page plant intrusions */
body[data-style="organic"] .org-mid {
  position: fixed;
  top: 40vh;
  z-index: 0;
  pointer-events: none;
  width: 200px;
  height: 400px;
  background-image: url('assets/hanging-plants.png');
  background-size: contain;
  background-repeat: no-repeat;
  mix-blend-mode: normal;
  opacity: 0.55;
  filter: brightness(0.85) saturate(1.1);
}
body[data-style="organic"] .org-mid-left {
  left: 0;
  transform-origin: left center;
  animation: wind-hang-left 15s ease-in-out -3s infinite;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 42%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 42%, transparent 100%);
}
body[data-style="organic"] .org-mid-right {
  right: 0;
  transform: scaleX(-1);
  transform-origin: right center;
  animation: wind-hang-right 18s ease-in-out -8s infinite;
  -webkit-mask-image: linear-gradient(to left, black 0%, black 42%, transparent 100%);
  mask-image: linear-gradient(to left, black 0%, black 42%, transparent 100%);
}

/* Hanging corner clusters — solid on top */
body[data-style="organic"] .org-hanging {
  position: fixed;
  top: -20px;
  z-index: 0;
  pointer-events: none;
  background: url('assets/hanging-plants.png') center / contain no-repeat;
  opacity: 0.90;
  mix-blend-mode: normal;
  filter: brightness(0.85) saturate(1.2);
}
body[data-style="organic"] .org-hanging-left {
  left: -20px;
  width: 340px;
  height: 320px;
  transform-origin: top left;
  animation: wind-hang-left 11s ease-in-out -2s infinite;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 18% 12%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 85% at 18% 12%, black 30%, transparent 75%);
}
body[data-style="organic"] .org-hanging-right {
  right: -20px;
  width: 320px;
  height: 300px;
  transform: scaleX(-1);
  transform-origin: top right;
  animation: wind-hang-right 14s ease-in-out -6s infinite;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 82% 12%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 85% at 82% 12%, black 30%, transparent 75%);
}

/* Make organic display text BACKLIT — soft warm glow as if the wall is lit */
body[data-style="organic"] .h-display,
body[data-style="organic"] .h-section {
  /* override handled above */
}
/* Industrial vibe: thin keyline showing the letters were stenciled on concrete */
body[data-style="organic"] .h-display::after,
body[data-style="organic"] .h-section::after {
  content: '';
}

/* Scatter container — leaves down the sides of the whole page */
body[data-style="organic"] .bg-organic-scatter {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 500vh;
  pointer-events: none;
  z-index: 0;
}
body[data-style="organic"] .bg-organic-scatter > div {
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.35));
}

body[data-style="organic"] {
  font-family: 'Poppins', sans-serif !important;
}
body[data-style="organic"] * {
  font-family: 'Poppins', sans-serif !important;
}
body[data-style="organic"] .section {
  position: relative;
  overflow: visible;
  min-height: unset;
  padding-top: 28px;
  padding-bottom: 28px;
}
body[data-style="organic"] .section.hero { padding-top: 80px; }
/* About — strip the trailing space the last story block adds, so the
   gap to the next section is just the section padding (no compound). */
/* Strip the trailing margin + padding on the last About story block in EVERY
   style — otherwise the section ends with ~100px of dead air before the
   next section's padding even begins. */
.about-story-block:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Liquid Glass — tighter section spacing */
body[data-style="glass"] .section {
  padding-top: 44px;
  padding-bottom: 36px;
}
body[data-style="glass"] .section.hero {
  padding-top: 80px;
}
/* Liquid Glass — smaller, tighter hero title */
body[data-style="glass"] .hero-title-zone .h-display {
  /* match .h-section exactly so the hero title sits at the same size + width
     as the About / Works / Contact titles in Liquid Glass */
  font-size: calc(clamp(40px, 5.8vw, 82px) * var(--tweak-hero-scale));
  line-height: 1;
  letter-spacing: -0.025em;
}
/* Liquid Glass — section titles: keep the first line big, the italic line a touch smaller */
body[data-style="glass"] .h-section {
  font-size: clamp(40px, 5.8vw, 82px);
  line-height: 1;
  letter-spacing: -0.025em;
}
body[data-style="glass"] .h-section em {
  font-size: 0.78em;     /* italic second line softer than the bold opening */
  font-style: italic;
  display: inline-block;
  margin-top: 0.08em;
}

/* Bubbles — tighter section spacing */
body[data-style="water"] .section {
  padding-top: 44px;
  padding-bottom: 36px;
}
body[data-style="water"] .section.hero {
  padding-top: 80px;
}
/* Hero matches h-section size so all titles read at the same scale */
body[data-style="water"] .hero-title-zone .h-display {
  font-size: clamp(40px, 6vw, 88px);
}

/* Editorial — tighter section spacing */
body[data-style="editorial"] .section {
  padding-top: 44px;
  padding-bottom: 36px;
}
body[data-style="editorial"] .section.hero {
  padding-top: 80px;
}
body[data-style="organic"] .section.hero {
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 80px;
}

/* Individual leaf PNG decorations removed — plant walls handle all decoration */
body[data-style="organic"] .section::before,
body[data-style="organic"] .section::after,
body[data-style="organic"] .hero::after,
body[data-style="organic"] .services-grid::before,
body[data-style="organic"] .services-grid::after {
  content: none;
  display: none;
}
  background: none;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 28px 32px 30px;
  margin-bottom: 28px;
  position: relative;
  isolation: isolate;
}
body[data-style="organic"] .about-story-block::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence baseFrequency='0.5' numOctaves='3' seed='5'/><feColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.14  0 0 0 0 0.10  0 0 0 0.32 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>") center/320px,
    radial-gradient(ellipse at 32% 22%, #d8d3c5 0%, #b3ac9b 60%, #8a8273 100%);
  background-blend-mode: multiply;
  border-radius: 42% 58% 50% 50% / 56% 50% 50% 44%;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.45),
    inset 0 -8px 14px rgba(0,0,0,0.18),
    0 18px 32px -14px rgba(20,18,14,0.45);
  transform: rotate(-1deg);
}
body[data-style="organic"] .about-story-block:nth-child(2)::before {
  border-radius: 52% 48% 40% 60% / 48% 56% 44% 52%;
  transform: rotate(1.4deg);
}
body[data-style="organic"] .about-story-block:nth-child(3)::before {
  border-radius: 48% 52% 56% 44% / 50% 44% 56% 50%;
  transform: rotate(-0.6deg);
}
body[data-style="organic"] .about-story-block:nth-child(even) { margin-left: 32px; }
body[dir="rtl"] body[data-style="organic"] .about-story-block:nth-child(even) { margin-left: 0; margin-right: 32px; }
body[data-style="organic"] .about-story-block:nth-child(3) { margin-left: -8px; }

/* Override card backgrounds to feel like concrete / wood */
body[data-style="organic"] .panel {
  background: #c8c3b5;
  border: 1px solid rgba(14,12,8,0.12);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -2px 0 rgba(0,0,0,0.08),
    0 14px 28px -12px rgba(20,18,14,0.35);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence baseFrequency='0.6' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.14  0 0 0 0 0.10  0 0 0 0.3 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-blend-mode: multiply;
}

/* Service cards become CHISELED QUARRIED STONES — rough hewn, angular, volumetric */
body[data-style="organic"] .service-card {
  background:
    /* warm light pool from top */
    radial-gradient(ellipse at 30% 0%, rgba(255,210,150,0.18) 0%, transparent 60%),
    url('assets/chiseled-stone.png') center / cover;
  background-blend-mode: overlay;
  background-color: transparent;
  border: none;
  border-radius: 0;
  /* extra horizontal padding so text clears the chiseled (clip-path) edges */
  padding: 38px 46px 36px;
  position: relative;
  isolation: isolate;
  /* Strong volumetric drop shadow via filter so it follows clip-path */
  filter:
    drop-shadow(0 30px 24px rgba(0,0,0,0.45))
    drop-shadow(0 12px 12px rgba(0,0,0,0.35));
  color: #f7eed8;
  transition: transform 0.4s var(--ease-out), filter 0.4s ease;
  backdrop-filter: none;
  /* override generic box-shadow */
  box-shadow: none !important;
}
body[data-style="organic"] .service-card:hover {
  transform: translateY(-6px);
  filter:
    drop-shadow(0 40px 30px rgba(0,0,0,0.5))
    drop-shadow(0 16px 16px rgba(0,0,0,0.4));
}

/* Inner highlight + bevel layer */
body[data-style="organic"] .service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* top edge highlight */
    linear-gradient(180deg, rgba(255,240,210,0.4) 0%, rgba(255,240,210,0) 6%),
    /* bottom edge dark */
    linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 8%),
    /* left edge subtle highlight */
    linear-gradient(90deg, rgba(255,240,210,0.12) 0%, rgba(255,240,210,0) 4%),
    /* right edge shadow */
    linear-gradient(270deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 5%);
  pointer-events: none;
  /* inherit parent's clip-path */
  clip-path: inherit;
}

/* Service cards — chiseled stone silhouettes */
body[data-style="organic"] .service-card:nth-child(1) {
  clip-path: polygon(3% 6%, 18% 2%, 42% 4%, 70% 1%, 92% 5%, 98% 18%, 100% 42%, 97% 68%, 99% 88%, 88% 96%, 64% 98%, 38% 100%, 14% 97%, 2% 90%, 0% 70%, 4% 42%, 1% 22%);
}
body[data-style="organic"] .service-card:nth-child(2) {
  clip-path: polygon(6% 2%, 28% 5%, 56% 1%, 82% 3%, 98% 12%, 100% 38%, 96% 64%, 100% 86%, 86% 99%, 62% 97%, 36% 100%, 12% 96%, 0% 84%, 3% 56%, 0% 32%, 4% 14%);
  transform: rotate(-0.4deg);
}
body[data-style="organic"] .service-card:nth-child(3) {
  clip-path: polygon(2% 14%, 14% 3%, 38% 0%, 64% 5%, 90% 2%, 100% 16%, 96% 38%, 100% 62%, 97% 86%, 84% 100%, 60% 96%, 36% 99%, 10% 94%, 0% 80%, 5% 58%, 1% 36%);
}
body[data-style="organic"] .service-card:nth-child(4) {
  clip-path: polygon(4% 8%, 22% 0%, 48% 4%, 74% 2%, 96% 8%, 100% 32%, 97% 56%, 100% 80%, 92% 96%, 68% 100%, 42% 97%, 18% 100%, 2% 92%, 5% 68%, 0% 44%, 3% 24%);
  transform: rotate(0.3deg);
}
body[data-style="organic"] .service-card:nth-child(5) {
  clip-path: polygon(6% 4%, 30% 2%, 54% 6%, 78% 0%, 100% 10%, 95% 32%, 100% 58%, 96% 82%, 88% 100%, 64% 96%, 40% 100%, 16% 95%, 0% 82%, 4% 58%, 0% 34%, 3% 16%);
}
body[data-style="organic"] .service-card:nth-child(6) {
  clip-path: polygon(3% 12%, 16% 0%, 40% 3%, 66% 6%, 88% 0%, 100% 18%, 97% 42%, 100% 66%, 95% 90%, 80% 100%, 56% 98%, 32% 96%, 8% 100%, 0% 84%, 4% 60%, 1% 38%);
  transform: rotate(-0.3deg);
}
body[data-style="organic"] .service-card:nth-child(7) {
  clip-path: polygon(5% 6%, 24% 1%, 50% 3%, 76% 0%, 98% 6%, 100% 28%, 96% 52%, 100% 76%, 90% 96%, 66% 100%, 42% 98%, 16% 97%, 0% 88%, 4% 64%, 1% 40%, 3% 20%);
}
body[data-style="organic"] .service-card:nth-child(8) {
  clip-path: polygon(4% 10%, 20% 4%, 44% 0%, 68% 5%, 92% 2%, 100% 22%, 96% 46%, 100% 70%, 92% 92%, 70% 100%, 46% 96%, 22% 100%, 4% 92%, 0% 70%, 4% 48%, 0% 26%);
  transform: rotate(0.4deg);
}
body[data-style="organic"] .service-card:nth-child(9) {
  clip-path: polygon(2% 8%, 16% 2%, 38% 5%, 62% 0%, 88% 4%, 100% 14%, 98% 38%, 100% 62%, 96% 86%, 84% 98%, 60% 100%, 36% 96%, 12% 100%, 0% 86%, 5% 62%, 0% 38%);
}

/* Hover lift for the rotated cards (2,4,6,8): their base rotate() has equal
   specificity to .service-card:hover but comes later, so it cancels the lift.
   These combine rotation + lift and win on specificity (:nth-child + :hover). */
body[data-style="organic"] .service-card:nth-child(2):hover { transform: rotate(-0.4deg) translateY(-6px); }
body[data-style="organic"] .service-card:nth-child(4):hover { transform: rotate(0.3deg)  translateY(-6px); }
body[data-style="organic"] .service-card:nth-child(6):hover { transform: rotate(-0.3deg) translateY(-6px); }
body[data-style="organic"] .service-card:nth-child(8):hover { transform: rotate(0.4deg)  translateY(-6px); }

/* CARVED text — text appears recessed into the stone */
body[data-style="organic"] .service-card h3 {
  color: #ffffff;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  font-size: 30px;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.8),
    0 -1px 0 rgba(0,0,0,0.6),
    0 0 20px rgba(0,0,0,0.5);
}
body[data-style="organic"] .service-card.featured h3 { font-size: 46px; }
body[data-style="organic"] .service-card p {
  color: #2a1c0e;                 /* warm dark brown — readable against the stone */
  font-family: var(--body);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.55;
  /* light cream highlight above + soft dark shadow below = carved-in-stone feel */
  text-shadow:
    0 1px 0 rgba(255, 240, 210, 0.45),
    0 -1px 0 rgba(0, 0, 0, 0.18);
}
body[data-style="organic"] .service-card .svc-num {
  color: rgba(255,255,255,0.75);
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.4em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
body[data-style="organic"] .service-card .bg-num {
  font-family: var(--display);
  font-weight: 900;
  color: rgba(255,240,210,0.08);
  text-shadow: 0 -2px 0 rgba(0,0,0,0.6), 0 2px 2px rgba(255,240,210,0.12);
}

/* Featured stone — lighter polished granite */
body[data-style="organic"] .service-card.featured {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255,230,180,0.35) 0%, transparent 70%),
    url('assets/chiseled-stone.png') center / cover;
  background-blend-mode: screen;
  background-color: rgba(255,255,255,0.18);
  /* wide card + big title: more generous horizontal padding */
  padding: 42px 64px 40px;
}
body[data-style="organic"] .service-card.featured h3,
body[data-style="organic"] .service-card.featured p,
body[data-style="organic"] .service-card.featured .svc-num {
  color: #1a1410;
  text-shadow:
    0 -1px 0 rgba(255,240,210,0.6),
    0 1px 0 rgba(0,0,0,0.4),
    0 2px 4px rgba(0,0,0,0.25);
}
body[data-style="organic"] .service-card.featured p { color: rgba(26,20,16,0.82); }
body[data-style="organic"] .service-card.featured .svc-num { color: rgba(26,20,16,0.55); }

body[data-style="organic"] .service-card h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  font-size: 28px;
}
body[data-style="organic"] .service-card.featured h3 { font-size: 42px; }
body[data-style="organic"] .service-card .svc-num {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.4em;
}
body[data-style="organic"] .service-card .bg-num {
  font-family: var(--display);
  font-weight: 900;
  color: rgba(14,12,8,0.06);
}

/* Glyphs become darker, single-tone */
body[data-style="organic"] .service-card .svc-glyph svg {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* Hero: huge type, no centered logo theatre — replace with concrete plinth */
body[data-style="organic"] .hero-mark-zone {
  position: relative;
}
body[data-style="organic"] .brand-mark {
  /* Lift the logo image off the dark stone background — brightness pumps the
     dark logo strokes into a creamy tone, drop-shadows add a warm halo. */
  filter:
    brightness(2.6) contrast(0.88)
    drop-shadow(0 0 14px rgba(255, 220, 130, 0.65))
    drop-shadow(0 0 32px rgba(255, 195, 70, 0.4));
  transition: filter 0.4s ease;
}
body[data-style="organic"] .brand-mark:hover {
  filter:
    brightness(2.8) contrast(0.88)
    drop-shadow(0 0 20px rgba(255, 230, 140, 0.85))
    drop-shadow(0 0 44px rgba(255, 200, 80, 0.55));
}
/* "with love, Michal" signature — accent green was too dark on stone.
   Switch to a warm cream highlight for the tropical hero. */
body[data-style="organic"] .hero-kicker-row .signature {
  color: #f7eed8 !important;
  text-shadow: 0 0 16px rgba(255, 220, 110, 0.4);
}
body[data-style="organic"] .hero-mark-zone::before {
  content: '';
  position: absolute;
  inset: -40px -60px;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(255, 230, 160, 0.62) 0%,
    rgba(240, 205, 115, 0.36) 40%,
    transparent 72%);
  pointer-events: none;
  z-index: 0;
  filter: blur(18px);
}
body[data-style="organic"] .hero-mark-zone > * {
  position: relative;
  z-index: 1;
}

/* About story blocks — also chiseled stones (matching the stone stools) */
body[data-style="organic"] .about-story-block {
  border-bottom: none !important;
  margin-bottom: 64px;
  transition: transform 0.4s var(--ease-out);
}
body[data-style="organic"] .about-story-block:hover {
  transform: translateY(-6px);
}
body[data-style="organic"] .about-story-block:hover::before {
  filter:
    drop-shadow(0 38px 28px rgba(0,0,0,0.46))
    drop-shadow(0 14px 14px rgba(0,0,0,0.34));
}

/* Hero-art decorative stones (river pebbles) — gentle lift on hover */
.org-stone {
  transition: transform 0.45s var(--ease-out);
  cursor: pointer;
}
.org-stone:hover {
  transform: translateY(-8px) scale(1.04);
}
body[data-style="organic"] .about-story-block::before {
  background:
    radial-gradient(ellipse at 30% 10%, rgba(255,230,180,0.22) 0%, transparent 60%),
    url('assets/chiseled-stone.png') center / cover;
  background-blend-mode: overlay;
  background-color: transparent;
  border-radius: 0;
  clip-path: polygon(4% 8%, 22% 2%, 50% 4%, 80% 0%, 96% 10%, 100% 32%, 96% 58%, 100% 82%, 88% 98%, 60% 96%, 36% 100%, 14% 96%, 0% 86%, 5% 62%, 0% 36%, 3% 16%);
  box-shadow: none !important;
  filter: drop-shadow(0 28px 22px rgba(0,0,0,0.4)) drop-shadow(0 10px 10px rgba(0,0,0,0.3));
  transition: filter 0.4s ease;
}
body[data-style="organic"] .about-story-block:nth-child(2)::before {
  clip-path: polygon(6% 4%, 28% 0%, 54% 6%, 78% 2%, 100% 12%, 96% 34%, 100% 58%, 96% 84%, 86% 100%, 60% 96%, 34% 100%, 10% 94%, 0% 78%, 4% 54%, 0% 30%, 3% 14%);
}
body[data-style="organic"] .about-story-block:nth-child(3)::before {
  clip-path: polygon(3% 12%, 18% 2%, 42% 0%, 66% 6%, 90% 2%, 100% 18%, 96% 42%, 100% 68%, 94% 88%, 78% 100%, 54% 96%, 28% 100%, 6% 92%, 0% 70%, 5% 46%, 0% 24%);
}

/* About story blocks text — light text since they're now darker stones */
body[data-style="organic"] .about-story-block h4 {
  color: #f7eed8;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.7), 0 2px 2px rgba(255,240,210,0.25);
}
body[data-style="organic"] .about-story-block p {
  color: rgba(247,238,216,0.88);
  text-shadow: 0 -1px 0 rgba(0,0,0,0.5), 0 1px 1px rgba(255,240,210,0.1);
}
body[data-style="organic"] .about-story-block .yr {
  color: #d4e0b0;
  text-shadow: 0 0 12px rgba(140,180,90,0.6), 0 1px 1px rgba(0,0,0,0.5);
}

/* About portrait → wooden bench / concrete slab portrait */
body[data-style="organic"] .about-portrait {
  border-radius: 8px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.2),
    inset 0 -4px 0 rgba(0,0,0,0.15),
    0 30px 60px -20px rgba(20,18,14,0.5);
}

/* Buttons — fully rounded (pill) for organic */
body[data-style="organic"] .btn {
  background: #0a0805;
  color: #f7eed8;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.28em;
  padding: 18px 36px;
  box-shadow: 0 14px 28px -10px rgba(20,15,10,0.55);
}
body[data-style="organic"] .contact-form .btn {
  color: #1a1208 !important;
  background: #d4c9a8;
}
body[data-style="organic"] .btn:hover {
  background: #1a1410;
  transform: translateY(-3px);
}
body[data-style="organic"] .btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #f7eed8;
  border: 2px solid rgba(247,238,216,0.4);
  backdrop-filter: blur(6px);
}
body[data-style="organic"] .btn-ghost:hover {
  background: rgba(255,255,255,0.16);
}

/* Contact form: rounded inputs */
body[data-style="organic"] .contact-form input,
body[data-style="organic"] .contact-form textarea {
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(14,12,8,0.25);
  border-radius: 999px;
  font-family: var(--body);
  padding: 18px 22px;
}
body[data-style="organic"] .contact-form textarea {
  border-radius: 22px;
  min-height: 140px;
}

/* Style pill rounded */
body[data-style="organic"] .style-pill {
  border-radius: 999px;
}

/* Hero meta numbers: stencil look */
body[data-style="organic"] .hero-meta-item .num {
  font-family: var(--display);
  font-weight: 900;
  color: #0e0c08;
}

/* Contact form: pinned on concrete */
body[data-style="organic"] .contact-form input,
body[data-style="organic"] .contact-form textarea {
  /* overridden later for rounded — keep base */
}

/* Cursor blob — turn off for organic; keep grounded feeling */
body[data-style="organic"] .cursor-blob { display: none; }

/* Stage nav dots in deep green */
body[data-style="organic"] .stage-nav button.active .dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--surface);
}

/* Top bar a bit warmer */
/* Restore the topbar styles override that got removed */
body[data-style="organic"] .style-pill { background: rgba(248,243,232,0.6); border-color: rgba(14,12,8,0.2); color: #0e0c08; }
body[data-style="organic"] .lang-toggle { background: rgba(248,243,232,0.6); border-color: rgba(14,12,8,0.2); }
body[data-style="organic"] .lang-toggle button.active { background: #0e0c08; color: #f1ead8; }

/* Style dropdown — DARK espresso panel so the cream text reads clearly */
body[data-style="organic"] .style-dropdown {
  background: rgba(32,24,17,0.96);
  border: 1px solid rgba(247,238,216,0.18);
  box-shadow: 0 28px 60px -18px rgba(0,0,0,0.6);
}
body[data-style="organic"] .style-dropdown-head { color: rgba(247,238,216,0.62); }
body[data-style="organic"] .style-dropdown-item .ds-name { color: #f7eed8; }
body[data-style="organic"] .style-dropdown-item .ds-sub { color: rgba(247,238,216,0.66); }
body[data-style="organic"] .style-dropdown-item .ds-swatch { border-color: rgba(247,238,216,0.2); }
body[data-style="organic"] .style-dropdown-item:hover,
body[data-style="organic"] .style-dropdown-item.active { background: rgba(247,238,216,0.12); }
body[data-style="organic"] .style-dropdown-item .ds-check { color: #c8d8a0; }
body[data-style="organic"] .style-dropdown-divider { background: rgba(247,238,216,0.14); }
body[data-style="organic"] .style-dropdown .ds-full-button { color: rgba(247,238,216,0.8); }
body[data-style="organic"] .style-dropdown .ds-full-button:hover { background: rgba(247,238,216,0.12); }

/* Footer — wooden floor blending into concrete above */
body[data-style="organic"] .footer {
  border-top: none;
  color: rgba(255,250,240,0.90);
  background:
    linear-gradient(to bottom, rgba(10,8,5,0.50) 0%, rgba(10,8,5,0.15) 60%, rgba(10,8,5,0.25) 100%),
    url('assets/brown-wood-grain.jpg') center bottom / cover no-repeat;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 100%);
}
body[data-style="organic"] .footer .heart { color: #c8d8a0; }

/* GIANT title sizes for organic to match Honest Greens scale */
body[data-style="organic"] .h-display { font-size: clamp(72px, 11vw, 180px); }
body[data-style="organic"] .h-section { font-size: clamp(52px, 7.5vw, 110px); }
/* Hero matches h-section size so "just for you" reads at the same scale
   as "design for them" in every style. */
body[data-style="organic"] .hero-title-zone .h-display { font-size: clamp(52px, 7.5vw, 110px); }
body[data-style="organic"] .h-section em,
body[data-style="organic"] .h-display em { font-size: 0.85em; }

/* Text on wood floor needs to be light on dark */
body[data-style="organic"] {
  --text: #f7eed8;
  --text-soft: rgba(247,238,216,0.85);
  --text-mute: rgba(247,238,216,0.55);
  --line: rgba(247,238,216,0.18);
}
/* But the upper hero area sits over concrete which is light — keep text dark there */
body[data-style="organic"] .hero .lede {
  color: #1a1410;
  text-shadow: none;
  font-weight: 500;
}
body[data-style="organic"] .hero .h-display { color: #0a0805; }

/* Kicker on concrete should be darker */
body[data-style="organic"] .hero .kicker {
  color: #2d5a32;
  text-shadow: 0 1px 2px rgba(255,240,200,0.4);
}
body[data-style="organic"] .hero .kicker::before {
  background: #2d5a32;
  box-shadow: none;
}

/* Hero meta numbers on concrete: darker */
body[data-style="organic"] .hero .hero-meta-item .num {
  color: #0a0805;
  font-size: 3rem;
}
body[data-style="organic"] .hero .hero-meta-item .label {
  color: rgba(10,8,5,0.70);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
body[data-style="organic"] .hero-meta-block {
  flex-wrap: nowrap;
  flex-direction: row;
  gap: 16px;
  align-items: stretch;
  margin-top: 8px;
}
body[data-style="organic"] .hero-meta-block .hero-meta-item {
  background: rgba(255,255,255,0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 18px;
  padding: 26px 22px 22px;
  flex: 1;
  text-align: center;
  align-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 14px 30px -16px rgba(20,18,14,0.4);
}
/* airy cards: separated, each fully rounded — no joining borders */
body[data-style="organic"] .hero-meta-block .hero-meta-item + .hero-meta-item {
  border-left: 1px solid rgba(255,255,255,0.45);
  padding-left: 22px;
}
body[dir="rtl"] body[data-style="organic"] .hero-meta-block .hero-meta-item + .hero-meta-item {
  border-left: 1px solid rgba(255,255,255,0.45);
  border-right: none;
}

/* Stat card icons */
.hero-meta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  --icon-accent: var(--accent);
}
.hero-meta-icon svg {
  width: 36px;
  height: 36px;
}
/* Organic: dual-tone glyph (deep green line + warm terracotta accent)
   sitting in a soft tinted circle badge for an airy, premium feel */
body[data-style="organic"] .hero-meta-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  color: #2d5a32;                /* primary line color  */
  --icon-accent: #c4772e;        /* warm terracotta secondary */
  opacity: 1;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,0.55), rgba(255,255,255,0) 70%),
    linear-gradient(160deg, rgba(196,119,46,0.16), rgba(45,90,50,0.18));
  border: 1px solid rgba(45,90,50,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}
body[data-style="organic"] .hero-meta-icon svg {
  width: 28px;
  height: 28px;
}

/* Liquid Glass: stat icons sit in a frosted-glass bubble badge (perf-tuned) */
body[data-style="glass"] .hero-meta-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #6b21a8;                /* deep purple line */
  --icon-accent: #06b6d4;        /* cyan accent dots */
  opacity: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(255,255,255,0.45));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 12px 24px -10px rgba(99,102,241,0.30);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
body[data-style="glass"] .hero-meta-icon svg {
  width: 30px;
  height: 30px;
}
body[data-style="glass"] .hero-meta-item:hover .hero-meta-icon {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 2px rgba(139,92,246,0.10),
    0 18px 34px -10px rgba(99,102,241,0.40),
    0 6px 10px rgba(99,102,241,0.22);
}

/* Bubbles: stat icons sit in a raised papercut bubble badge */
body[data-style="water"] .hero-meta-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #1f8ea3;                /* turquoise line work */
  --icon-accent: #57c3d6;        /* lighter turquoise accent details */
  opacity: 1;
  background: radial-gradient(circle at 36% 28%, #ffffff 0%, #ecf8fa 52%, #cfecf2 100%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    0 14px 26px -10px rgba(28,108,128,0.34),
    0 4px 8px rgba(28,108,128,0.12),
    inset 0 2px 3px rgba(255,255,255,0.95),
    inset 0 -4px 7px rgba(28,108,128,0.10);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
body[data-style="water"] .hero-meta-icon svg {
  width: 30px;
  height: 30px;
}
/* gentle lift when hovering the stat */
body[data-style="water"] .hero-meta-item:hover .hero-meta-icon {
  transform: translateY(-4px);
  box-shadow:
    0 18px 32px -10px rgba(28,108,128,0.38),
    0 6px 10px rgba(28,108,128,0.14),
    inset 0 2px 3px rgba(255,255,255,0.95),
    inset 0 -4px 7px rgba(28,108,128,0.10);
}

/* Hero buttons more spaced */
body[data-style="organic"] .hero-cta-row { gap: 32px; }

/* About + below are on the wood floor → light text */
body[data-style="organic"] .h-section { color: #f7eed8; text-shadow: 0 0 60px rgba(255,200,110,0.7), 0 4px 8px rgba(0,0,0,0.5); }
body[data-style="organic"] .about-story-block .yr { color: #c8d8a0; }
body[data-style="organic"] .about-story-block h4 { color: #0a0805; }
body[data-style="organic"] .about-story-block p { color: rgba(10,8,5,0.78); }

/* Lighter top bar text */
body[data-style="organic"] .topbar { color: #0a0805; }
body[data-style="organic"] .stage-nav button { color: rgba(247,238,216,0.6); }
body[data-style="organic"] .stage-nav button.active { color: #f7eed8; }

/* ── Leaf side strips — frame left & right edges ── */
/* ── Leaf animations ── */
@keyframes leaf-sway-left {
  0%   { transform: translateX(0px) rotate(0deg); }
  25%  { transform: translateX(6px) rotate(0.8deg); }
  50%  { transform: translateX(2px) rotate(-0.4deg); }
  75%  { transform: translateX(8px) rotate(1deg); }
  100% { transform: translateX(0px) rotate(0deg); }
}
@keyframes leaf-sway-right {
  0%   { transform: scaleX(-1) translateX(0px) rotate(0deg); }
  25%  { transform: scaleX(-1) translateX(6px) rotate(0.8deg); }
  50%  { transform: scaleX(-1) translateX(2px) rotate(-0.4deg); }
  75%  { transform: scaleX(-1) translateX(8px) rotate(1deg); }
  100% { transform: scaleX(-1) translateX(0px) rotate(0deg); }
}
@keyframes leaf-canopy-sway {
  0%   { transform: translateY(0px) scaleX(1); }
  30%  { transform: translateY(-5px) scaleX(1.008); }
  60%  { transform: translateY(-2px) scaleX(0.996); }
  100% { transform: translateY(0px) scaleX(1); }
}

.org-leaf-side {
  position: fixed;
  top: 0;
  bottom: 0;
  /* width caps the strip so two of them never overlap in the middle of a
     narrow viewport. min() picks the smaller of 220px / 28vw. */
  width: min(220px, 28vw);
  background: url('assets/leaf-side.png') repeat-y top left / 100% auto;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 48;
  opacity: 0.92;
  transform-origin: top center;
}
.org-leaf-side--left  { left: 0; }
.org-leaf-side--right { right: 0; transform: scaleX(-1); }

/* ── Leaf canopy strip — hangs from top of viewport ── */
body[data-style="organic"]::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* same responsive shrink as the side leaves — caps at 200px on
     desktop, scales down on narrow viewports so it doesn't eat the topbar. */
  height: min(200px, 22vw);
  background: url('assets/leaf-top.png') repeat-x top left / auto 100%;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 45;
  opacity: 0.92;
}


/* Works tiles become concrete tiles with deep contrast */
body[data-style="organic"] .work {
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 18px 40px -18px rgba(20,18,14,0.5);
}
body[data-style="organic"] .work h4 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: #0a0805 !important;
  text-shadow: none !important;
}
body[data-style="organic"] .work .work-cat {
  font-family: var(--body);
  font-weight: 700;
  color: rgba(10, 8, 5, 0.7) !important;
  text-shadow: none !important;
}
/* Carousel meta — same dark/engraved treatment, no shadows */
body[data-style="organic"] .work-feature-meta .work-cat {
  color: rgba(10, 8, 5, 0.65) !important;
  text-shadow: none !important;
}
body[data-style="organic"] .work-feature-title {
  color: #0a0805 !important;
  text-shadow: none !important;
  font-weight: 900;
}

/* Section markers — handwritten Caveat in green */
body[data-style="organic"] .h-display em,
body[data-style="organic"] .h-section em,
body[data-style="organic"] .picker-head h2 em {
  font-family: var(--script);
  font-weight: 600;
}

/* Bigger underline for kicker so it looks like industrial label */
body[data-style="organic"] .kicker {
  padding-left: 0;
}

/* (Previously a green status pin lived here. Now ::before is used for the stone backplate.
   ::after is the draped leaf. No pin.) */

/* ============================================================
   STYLE 3 — LIGHT WATER / DAYTIME SEA
   Light cyan sky, bright ocean, light rays, half-submerged
   ============================================================ */
/* SEA — minimal papercut: white & turquoise layered circles on a soft light ground */
body[data-style="water"] {
  --bg-1: #ffffff;
  --bg-2: #dceff3;
  --text: #0e4a59;
  --text-soft: rgba(14,74,89,0.74);
  --text-mute: rgba(14,74,89,0.48);
  --line: rgba(14,74,89,0.14);
  --accent: #2bacc4;
  --accent-2: #6ec9da;
  --accent-3: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  /* papercut tokens reused by the JS scenes + cards */
  --pc-turq-1: #a6e2ec;
  --pc-turq-2: #6ec9da;
  --pc-turq-3: #3aa9c0;
  --pc-shadow: rgba(28,108,128,0.30);
  --em-color: #1f9bb2;   /* script-highlight words → turquoise */
  --display: 'Raleway', system-ui, sans-serif;
  background:
    radial-gradient(1300px 820px at 50% -12%, #ffffff 0%, transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f3fafb 42%, #e8f4f6 100%);
  background-attachment: fixed;
}

/* ============================================================
   STYLE 4 — EDITORIAL / MAGAZINE
   Typography-driven black & white on cream, single vermilion accent
   ============================================================ */
/* Custom editorial display font — Legalitere */
@font-face {
  font-family: 'Legalitere';
  src: url('assets/Legalitere.otf') format('opentype'),
       url('assets/Legalitere.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Custom bubbles display font — Bobba Boots */
@font-face {
  font-family: 'Bobba Boots';
  src: url('assets/Bobba Boots.woff2') format('woff2'),
       url('assets/Bobba Boots.woff') format('woff');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Custom Hebrew display font for Bubbles — Sarona (vintage multilingual) */
@font-face {
  font-family: 'Sarona';
  src: url('assets/Sarona_E.otf') format('opentype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

body[data-style="editorial"] {
  --bg-1: #ffffff;
  --bg-2: #f6f6f6;
  --text: #1a1a1a;       /* ink black */
  --text-soft: rgba(26,26,26,0.80);
  --text-mute: rgba(26,26,26,0.55);
  --line: rgba(26,26,26,0.25);
  --accent:   #1a1a1a;   /* black & white edition — accent is just deep ink */
  --accent-2: #5a5a5a;   /* medium gray for secondary marks */
  --accent-3: #ffffff;
  --surface:   #ffffff;
  --surface-2: #f4f4f4;
  --em-color: #1a1a1a;
  --display:   'Playfair Display', 'Fraunces', Georgia, serif;
  --masthead:  'UnifrakturMaguntia', 'Playfair Display', Georgia, serif;
  --headline:  'Abril Fatface', 'Playfair Display', Georgia, serif;
  --body:      'IM Fell English', 'Crimson Pro', 'Georgia', serif;
  --script:    'IM Fell English', 'Playfair Display', Georgia, serif;
  /* Newspaper texture background */
  background: url('assets/BG_12.jpg') #ffffff;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
}

/* Retro newspaper display — Playfair Display Black for high-contrast Didone feel */
body[data-style="editorial"] .h-display,
body[data-style="editorial"] .h-section {
  font-family: var(--display) !important;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 0.95;
  color: var(--text);
}
/* Section titles smaller than the hero (which keeps its original size) */
body[data-style="editorial"] .h-section {
  font-size: clamp(30px, 4.2vw, 60px);
}
/* Hero matches h-section size so all titles read at the same scale */
body[data-style="editorial"] .hero-title-zone .h-display {
  font-size: clamp(30px, 4.2vw, 60px);
}
body[data-style="editorial"] .h-display em,
body[data-style="editorial"] .h-section em {
  font-family: var(--display) !important;
  font-style: italic;
  font-weight: 900;
}
body[data-style="editorial"] .lede {
  font-family: var(--body) !important;
  color: var(--text-soft);
  font-size: clamp(20px, 1.85vw, 26px);
  line-height: 1.55;
  font-style: italic;
}
body[data-style="editorial"] .kicker {
  font-family: var(--body) !important;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--accent);
}
body[data-style="editorial"] .kicker::before {
  background: var(--accent);
  width: 36px; height: 1.5px;
}
/* Hardcoded inline light text colours (hero lede + about) → force dark on cream */
body[data-style="editorial"] .hero .lede           { color: rgba(26,18,14,0.78) !important; }
body[data-style="editorial"] .about-story-block h4 { color: var(--text) !important; }
body[data-style="editorial"] .about-story-block p  { color: var(--text-soft) !important; }

/* Buttons — heavy serif-press feel: solid black + vermilion ghost variant */
body[data-style="editorial"] .btn {
  background: var(--text);
  color: #ffffff !important;
  border-radius: 4px;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 18px 28px !important;
  border: 1px solid var(--text);
  box-shadow: 4px 4px 0 #ffffff, 4px 4px 0 1px var(--text);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
body[data-style="editorial"] .btn:hover {
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 #ffffff, 6px 6px 0 1px var(--text);
}
body[data-style="editorial"] .btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--text);
  box-shadow: 4px 4px 0 rgba(26,18,14,0.12);
}
body[data-style="editorial"] .btn-ghost:hover { box-shadow: 6px 6px 0 rgba(26,18,14,0.20); }

/* Style pill swatch */
body[data-style="editorial"] .style-pill .swatch {
  background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 60%, #ffffff 60%, #ffffff 100%);
  box-shadow: inset 0 0 0 1px #1a1a1a;
}

/* Hero stat icons — paper-card framed icons, magazine sidebar feel */
body[data-style="editorial"] .hero-meta-icon {
  color: var(--text);
  --icon-accent: var(--accent);
  opacity: 1;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid var(--text);
  border-radius: 3px;
  box-shadow: 4px 4px 0 var(--accent);
  position: relative;
  margin-bottom: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
body[data-style="editorial"] .hero-meta-icon::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(26,18,14,0.12);
  border-radius: 1px;
  pointer-events: none;
}
body[data-style="editorial"] .hero-meta-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.9;
}
body[data-style="editorial"] .hero-meta-item:hover .hero-meta-icon {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--accent);
}

/* Service cards — paper cards with hairline rule + vermilion corner mark */
body[data-style="editorial"] .service-card {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 6px 6px 0 rgba(26,18,14,0.06);
  padding: 32px 28px;
}
body[data-style="editorial"] .service-card .svc-num {
  color: var(--accent);
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.4em;
}
body[data-style="editorial"] .service-card h3 {
  font-family: var(--display) !important;
  font-weight: 900;
  color: var(--text);
}
/* Featured cards (Custom Websites + AI-Powered Builds) — translucent black */
body[data-style="editorial"] .service-card.featured {
  background: rgba(26,26,26,0.68);
  color: #ffffff;
  border: 1px solid rgba(26,26,26,0.75);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
body[data-style="editorial"] .service-card.featured h3,
body[data-style="editorial"] .service-card.featured p,
body[data-style="editorial"] .service-card.featured .svc-num { color: #ffffff; }

/* Landing-card preview ground for editorial */
.lc-scene-editorial {
  background: #ffffff;
  border-bottom: 1px solid rgba(26,18,14,0.20);
}

/* Picker / landing card hover accent */
.landing-card[data-pc="editorial"]:hover {
  border-color: rgba(220,58,40,0.5);
  box-shadow: 0 12px 40px rgba(26,18,14,0.18);
}
.landing-card[data-pc="editorial"]:hover .lc-cta { color: #1a1a1a; }

/* ── Editorial: newspaper-style rules & separators ───────── */

/* Hairline divider between sections (skip the hero up top) */
/* Classic newspaper "double rule" dividers — boxed (contained), not full-width */
body[data-style="editorial"] .section {
  border-top: none;
  position: relative;
}
body[data-style="editorial"] .section:not(.hero):not(#home)::before {
  display: none;
}

/* Topbar — clean, no rule under the masthead */
body[data-style="editorial"] .topbar {
  border-bottom: none !important;
}

/* Kicker styling — no top rule (was creating an unwanted line above the hero tagline) */
body[data-style="editorial"] .kicker {
  width: max-content;
  padding-right: 20px;
}
body[data-style="editorial"] .kicker::before { display: none; }

/* Services head — boxed double-rule above & below the title */
body[data-style="editorial"] .services-head {
  border-top: none !important;
  border-bottom: none !important;
  position: relative;
}
body[data-style="editorial"] .services-head::before,
body[data-style="editorial"] .services-head::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 88%);
  border-top: 7px double var(--text);
  pointer-events: none;
}
body[data-style="editorial"] .services-head::before { top: 0; }
body[data-style="editorial"] .services-head::after { bottom: 0; }

/* About story blocks — boxed top rule per block, bottom rule on the last */
body[data-style="editorial"] .about-story-block {
  border-top: none !important;
  border-bottom: none !important;
  position: relative;
}
body[data-style="editorial"] .about-story-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 88%);
  border-top: 7px double var(--text);
  pointer-events: none;
}
body[data-style="editorial"] .about-story-block:last-of-type {
  border-bottom: none !important;
}
body[data-style="editorial"] .about-story-block:last-of-type::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 88%);
  border-top: 7px double var(--text);
  pointer-events: none;
}

/* Footer top — boxed double rule */
body[data-style="editorial"] .footer {
  border-top: none;
  position: relative;
}
body[data-style="editorial"] .footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 88%);
  border-top: 7px double var(--text);
  pointer-events: none;
}

/* Top-of-page — no hairline under the topbar (kept clean) */
body[data-style="editorial"] .topbar {
  border-bottom: none;
}

/* Kicker — stronger rule, magazine eyebrow */
body[data-style="editorial"] .kicker::before {
  width: 44px;
  height: 1.5px;
  background: var(--accent);
}

/* Drop cap on the first about story block — magazine classic */
body[data-style="editorial"] .about-story-block:first-of-type p::first-letter {
  font-family: var(--display);
  font-variation-settings: '"opsz" 144';
  font-size: 4.6em;
  font-weight: 800;
  float: left;
  line-height: 0.86;
  margin: 4px 10px 0 0;
  color: var(--accent);
}

/* About story blocks — top hairline + vermilion year eyebrow */
body[data-style="editorial"] .about-story-block {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-bottom: 32px;
  position: relative;
}
body[data-style="editorial"] .about-story-block:last-of-type {
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}
body[data-style="editorial"] .about-story-block .yr {
  color: var(--accent) !important;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.4em;
  font-size: 11px;
  text-transform: uppercase;
}
body[data-style="editorial"] .about-story-block h4 {
  font-family: var(--display) !important;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 10px 0 12px;
}

/* About portrait — thin black frame with caption mark */
body[data-style="editorial"] .about-portrait {
  border: 1px solid var(--text);
  border-radius: 2px;
  box-shadow: 6px 6px 0 rgba(26,18,14,0.06);
}

/* Services head — bracketed by hairlines, magazine spread feel */
body[data-style="editorial"] .services-head {
  position: relative;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}

/* Quote slider — left vermilion rule + italic serif */
body[data-style="editorial"] .quote-slider {
  background: transparent;
  border: none;
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 6px 4px 6px 30px;
  font-family: var(--display);
  font-variation-settings: '"opsz" 144';
  font-style: italic;
  box-shadow: none;
}

/* Work tiles — newspaper article cards: paper card, caption strip at bottom */
body[data-style="editorial"] .work {
  border: 1px solid var(--text);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: 6px 6px 0 rgba(26,18,14,0.10);
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
body[data-style="editorial"] .work:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--accent);
}
/* Replace dark gradient overlay with a paper caption strip on the bottom */
body[data-style="editorial"] .work .work-meta {
  background: var(--surface);
  color: var(--text);
  border-top: 1px solid var(--text);
  inset: auto 0 0 0;
  padding: 16px 20px 18px;
  justify-content: flex-start;
}
/* Tiny vermilion kicker rule above the category */
body[data-style="editorial"] .work .work-meta::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 10px;
}
body[data-style="editorial"] .work h4 {
  font-family: var(--display) !important;
  font-weight: 900;
  font-size: 24px;
  color: var(--text);
}
body[data-style="editorial"] .work .work-cat {
  color: var(--accent);
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.30em;
  font-size: 10.5px;
  text-transform: uppercase;
  opacity: 1;
}

/* Contact form — minimal underline inputs (no boxes) */
body[data-style="editorial"] .contact-form input,
body[data-style="editorial"] .contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 0;
  font-family: var(--body);
  color: var(--text);
  transition: border-color 0.2s ease;
}
body[data-style="editorial"] .contact-form input::placeholder,
body[data-style="editorial"] .contact-form textarea::placeholder {
  color: var(--text-mute);
}
body[data-style="editorial"] .contact-form input:focus,
body[data-style="editorial"] .contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
body[data-style="editorial"] .contact-form textarea { min-height: 120px; }

/* Footer — heavy double rule like a publication colophon */
body[data-style="editorial"] .footer {
  border-top: 1px solid var(--text);
  position: relative;
  padding-top: 32px;
}
body[data-style="editorial"] .footer::before {
  content: '';
  position: absolute;
  top: 5px; left: 0; right: 0;
  height: 1px;
  background: var(--text);
}

/* Stage nav dot — vermilion active marker */
body[data-style="editorial"] .stage-nav button.active .dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(220,58,40,0.18);
}
body[data-style="editorial"] .stage-nav button.active { color: var(--text); }

/* Paper grain — SVG fractal noise, full-viewport, multiplied for paper feel.
   No image asset, tiles seamlessly, almost zero perf cost. */

/* ============================================================
   TWEAKS — controlled via CSS vars set on body
   ============================================================ */
body {
  --tweak-hero-scale: 1;
  --tweak-logo-scale: 1;
  --tweak-motion-mult: 1;
  --tweak-saturation: 100%;
  --tweak-blur: 1;
  --tweak-section-pad: 64px;
  /* NOTE: saturation filter lives on .app-shell, NOT body.
     A filter on <body> creates a containing block that breaks
     position:fixed (topbar, stage-nav, bg-layer scroll away). */
}
.section { padding-top: var(--tweak-section-pad); padding-bottom: calc(var(--tweak-section-pad) * 0.85); }
.h-display { font-size: calc(clamp(48px, 6.6vw, 110px) * var(--tweak-hero-scale)); }
.hero-title-zone .h-display { font-size: calc(clamp(56px, 8.5vw, 132px) * var(--tweak-hero-scale)); }
.hero-mark-zone { transform: scale(var(--tweak-logo-scale)); }
body.no-cursor-blob .cursor-blob { display: none; }
body.no-scroll-hint .hero-scroll-hint { display: none; }
body.no-logo-glow .hero-mark-zone > div > div:first-child { display: none; }
body.no-signature .hero-kicker-row .signature { display: none; }

/* ============================================================
   APP SHELL
   ============================================================ */
#root { position: relative; min-height: 100vh; }

.app-shell {
  position: relative;
  min-height: 100vh;
  z-index: 1;
  filter: saturate(var(--tweak-saturation));
}

/* Backgrounds layer (per style) */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ---------- Glass: floating orbs ---------- */
.bg-glass-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  animation: orbFloat 18s ease-in-out infinite;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-60px) scale(1.1); }
  66% { transform: translate(-30px,40px) scale(0.95); }
}

/* ---------- Organic: leaves + blobs ---------- */
.bg-organic-leaf {
  position: absolute;
  opacity: 0.7;
  animation: leafSway 8s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes leafSway {
  0%,100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-8px); }
}
.bg-organic-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: blobPulse 12s ease-in-out infinite;
}
@keyframes blobPulse {
  0%,100% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.05) translate(10px,-10px); }
}

/* ---------- Water: bubbles + rays ---------- */
.bg-water-ray {
  position: absolute;
  top: -10%;
  width: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
  filter: blur(8px);
  transform-origin: top;
  animation: rayShimmer 6s ease-in-out infinite;
}
@keyframes rayShimmer {
  0%,100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

/* Organic hero art animations */
@keyframes orgBlockIn {
  from { clip-path: inset(0 100% 0 0 round 8px); }
  to   { clip-path: inset(0 0% 0 0 round 8px); }
}
@keyframes orgCursor {
  0%   { top: 30%; left: 10%; }
  15%  { top: 35%; left: 60%; }
  30%  { top: 55%; left: 40%; }
  45%  { top: 60%; left: 65%; }
  60%  { top: 48%; left: 25%; }
  75%  { top: 20%; left: 55%; }
  90%  { top: 38%; left: 15%; }
  100% { top: 30%; left: 10%; }
}
@keyframes orgSparkle {
  0%,100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  40%      { opacity: 1; transform: scale(1.2) rotate(20deg); }
  60%      { opacity: 0.8; transform: scale(1) rotate(-10deg); }
}
.bg-water-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.3) 60%, transparent);
  animation: bubbleRise linear infinite;
}
@keyframes bubbleRise {
  0% { transform: translateY(110vh) scale(0.4); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}
.bg-water-fish {
  position: absolute;
  font-size: 28px;
  opacity: 0.35;
  animation: fishSwim 30s linear infinite;
}
@keyframes fishSwim {
  from { transform: translateX(-120vw); }
  to { transform: translateX(120vw); }
}

/* Waves at viewport bottom for water style — REMOVED, was creating a visible seam */
.bg-water-wave { display: none; }

/* Papercut circles gently bob (Sea style) */
@keyframes pc-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* Web-build scene inside the focal hero circle */
@keyframes sea-build-loop {
  0%, 6%    { opacity: 0; transform: scaleX(0); }
  16%, 82%  { opacity: 1; transform: scaleX(1); }
  94%, 100% { opacity: 0; transform: scaleX(1); }
}
@keyframes sea-sweep {
  0%, 10%   { transform: translateY(-110%); opacity: 0; }
  25%       { opacity: 0.7; }
  70%       { opacity: 0.7; }
  85%, 100% { transform: translateY(360%); opacity: 0; }
}
@keyframes sea-cursor {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ── Sea: "THE NEW DESIGN AGE" embossed/debossed typographic poster ── */
.design-age-band {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  display: flex;
  justify-content: center;
}
/* Brand poster image (used exactly as supplied) — background cut out via blend.
   Split across two elements: brightness() on the IMG lifts the light-grey card
   to pure white; multiply on the WRAP makes pure white invisible against the
   page, leaving only the embossed relief on the bubble field.
   (Filter + blend on the same element isolates the blend, so they're separated.) */
.da-image {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;               /* landscape mark → edge to edge */
  max-height: 100vh;
  opacity: 0.78;                 /* softened so it floats among the bubbles */
}
.da-poster {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 40px;
  /* monochromatic soft white poster, lifted like the papercut cards */
  background: linear-gradient(165deg, #f6f7f8 0%, #e7e9eb 100%);
  box-shadow:
    24px 30px 64px -22px rgba(70,78,86,0.28),
    inset 3px 3px 6px rgba(255,255,255,0.95),
    inset -5px -6px 14px rgba(150,158,166,0.22);
  padding: clamp(48px, 7vw, 110px) clamp(40px, 7vw, 96px);
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.da-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.da-eyebrow {
  margin-top: clamp(20px, 3.5vw, 42px);
  font-family: 'Poppins', 'Raleway', sans-serif;
  font-weight: 600;
  font-size: clamp(11px, 1.4vw, 16px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #b9c1c5;
  text-shadow: 0 1px 0 rgba(255,255,255,0.95);
}
.da-word {
  font-family: 'Archivo Black', 'Anton', 'Raleway', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
/* EMBOSSED — letters extrude boldly out of the surface (deep raised 3D) */
.da-emboss {
  color: #ffffff;
  text-shadow:
    1px 1px 0 #e6e8ea,
    2px 2px 0 #dee0e2,
    3px 3px 0 #d6d8da,
    4px 4px 0 #cdd0d2,
    5px 5px 0 #c5c8ca,
    6px 6px 0 #bdc0c3,
    7px 7px 0 #b5b8bb,
    /* contact + ambient shadow for depth */
    9px 12px 8px rgba(55,62,70,0.22),
    13px 20px 28px rgba(55,62,70,0.26);
}
/* DEBOSSED — letters pressed deep into the surface (strong carve) */
.da-deboss {
  color: #e7eaec;
  text-shadow:
    0 -3px 4px rgba(108,118,128,0.6),   /* deep top inner shadow */
    0 -1px 1px rgba(120,130,140,0.5),
    0 2px 1px rgba(255,255,255,1),       /* bright bottom rim */
    0 4px 5px rgba(255,255,255,0.7);
}
@media (max-width: 560px) {
  .da-word { letter-spacing: -0.03em; }
  .da-poster { border-radius: 28px; }
}

/* ============================================================
   TOP BAR (style switcher + lang)
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  pointer-events: none;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.topbar > * { pointer-events: auto; }

/* Frosted topbar appears once the visitor scrolls past the hero */
.topbar.topbar-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 22px -10px rgba(0, 0, 0, 0.15);
}

/* Per-style tinted backdrops so the blur feels native to each design */
body[data-style="glass"] .topbar.topbar-scrolled {
  background: rgba(232, 222, 250, 0.32);     /* lilac frost */
}
body[data-style="organic"] .topbar.topbar-scrolled {
  background: rgba(38, 32, 22, 0.32);        /* warm dark stone */
  box-shadow:
    0 1px 0 rgba(247, 238, 216, 0.18),
    0 8px 22px -10px rgba(0, 0, 0, 0.4);
}
body[data-style="water"] .topbar.topbar-scrolled {
  background: rgba(255, 255, 255, 0.38);     /* clean white papercut */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 22px -10px rgba(14, 74, 90, 0.15);
}
body[data-style="editorial"] .topbar.topbar-scrolled {
  background: rgba(255, 255, 255, 0.42);     /* aged paper */
  box-shadow:
    0 2px 0 rgba(26, 18, 14, 0.75),          /* strong newspaper rule below */
    0 8px 22px -10px rgba(26, 18, 14, 0.15);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out);
}
.brand-mark:hover { transform: translateY(-1px); }

.top-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Style dropdown */
.style-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}
.style-pill:hover { transform: translateY(-1px); background: var(--surface-2); }
.style-pill .swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--surface-2);
}
.style-pill .caret {
  transition: transform 0.3s ease;
  opacity: 0.6;
}
.style-pill.open .caret { transform: rotate(180deg); }
body[data-style="glass"] .style-pill .swatch {
  background: var(--halo);
}
body[data-style="organic"] .style-pill .swatch {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
body[data-style="water"] .style-pill .swatch {
  background: radial-gradient(circle at 38% 30%, #ffffff 0%, #9bdbe7 60%, #3aa9c0 100%);
}

.style-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  padding: 10px;
  background: var(--surface);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 28px 60px -20px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
  z-index: 60;
}
body[dir="rtl"] .style-dropdown { right: auto; left: 0; transform-origin: top left; }
.style-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.style-dropdown-head {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 8px 10px 12px;
}
.style-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}
body[dir="rtl"] .style-dropdown-item { text-align: right; }
.style-dropdown-item:hover { background: var(--surface-2); }
.style-dropdown-item.active { background: var(--surface-2); }
.style-dropdown-item .ds-swatch {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex-shrink: 0;
  border: none;
}
.style-dropdown-item[data-id="glass"] .ds-swatch {
  background: radial-gradient(circle at 25% 20%, #c4b5fd, #67e8f9 50%, #86efac);
}
.style-dropdown-item[data-id="organic"] .ds-swatch {
  background: linear-gradient(135deg, #f4dcc4 0%, #9eb89c 100%);
}
.style-dropdown-item[data-id="water"] .ds-swatch {
  background: linear-gradient(180deg, #cbe9f3 0%, #2885b5 100%);
}
.style-dropdown-item[data-id="editorial"] .ds-swatch {
  background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 55%, #ffffff 55%, #ffffff 100%);
  box-shadow: inset 0 0 0 1px #1a1a1a;
}
.style-dropdown-item .ds-info { flex: 1; min-width: 0; }
.style-dropdown-item .ds-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.style-dropdown-item .ds-sub {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.4;
  margin-top: 2px;
}
.style-dropdown-item .ds-check {
  opacity: 0;
  color: var(--accent);
  transition: opacity 0.2s ease;
}
.style-dropdown-item.active .ds-check { opacity: 1; }
.style-dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 4px;
}
.style-dropdown .ds-full-button {
  margin: 4px 6px 4px;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: calc(100% - 12px);
}
.style-dropdown .ds-full-button:hover { background: var(--surface-2); }

.style-pill-wrap { position: relative; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lang-toggle button {
  padding: 6px 13px;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  border-radius: 999px;
  color: var(--text-soft);
  transition: all 0.25s var(--ease-out);
}
.lang-toggle button.active {
  background: var(--text);
  color: var(--surface-2);
}
body[data-style="water"] .lang-toggle button.active {
  background: var(--text);
  color: #fff;
}

/* ============================================================
   STAGE NAV (vertical dotted nav on the right)
   ============================================================ */
.stage-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 26px;
  pointer-events: auto;
}
body[dir="rtl"] .stage-nav { right: auto; left: 28px; }
@media (max-width: 900px) { .stage-nav { display: none; } }

.stage-nav button {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 0.3s ease;
}
.stage-nav button .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--text-mute);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.stage-nav button span:not(.dot) {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.stage-nav:hover button span:not(.dot),
.stage-nav button.active span:not(.dot) { opacity: 1; transform: translateX(0); }
.stage-nav button.active { color: var(--text); }
.stage-nav button.active .dot {
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--surface-2);
  transform: scale(1.5);
}
.stage-nav button:hover .dot { transform: scale(1.4); }
body[dir="rtl"] .stage-nav button { flex-direction: row-reverse; }

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  position: relative;
  min-height: 100vh;
  padding: 130px max(8vw, 80px) 110px max(8vw, 80px);
  display: flex;
  align-items: center;
  z-index: 1;
}
body[dir="rtl"] .section { padding: 130px max(8vw, 80px) 110px max(8vw, 80px); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 26px;
}
.kicker::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.h-display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-size: clamp(48px, 6.6vw, 110px);
  color: var(--text);
  margin: 0;
}
.h-display em {
  font-style: italic;
  /* inherit family + weight from parent so the italic em reads as bold as
     the surrounding title (was using a thin script font, which looked
     lighter than h-section em which inherits naturally). */
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: -0.01em;
}
body[data-style="organic"] .h-display em {
  font-family: var(--display);
  font-style: italic;
}

.h-section {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: var(--text);
}

.lede {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 0 28px;
}

/* ============================================================
   STYLE-SPECIFIC GLASS PANEL / CARD
   ============================================================ */
.panel { padding: 28px; border-radius: 20px; }

body[data-style="glass"] .panel {
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(120,90,200,0.1),
    0 24px 60px -20px rgba(70,40,140,0.25);
}
body[data-style="organic"] .panel {
  background: var(--surface);
  border-radius: 28px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 -6px 18px -8px rgba(170,140,90,0.15) inset,
    0 20px 50px -18px rgba(140,110,80,0.25);
}
body[data-style="water"] .panel {
  background: #ffffff;
  border: 1px solid rgba(14,74,89,0.06);
  border-radius: 26px;
  box-shadow:
    0 26px 50px -18px var(--pc-shadow),
    inset 0 2px 3px rgba(255,255,255,0.9);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg-1);
  transition: all 0.3s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform 0.3s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

/* Liquid Glass: chunky tactile frosted-glass CTAs (perf-tuned) */
body[data-style="glass"] .btn {
  position: relative;
  padding: 22px 60px 22px 44px !important;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.22em;
  border-radius: 999px;
  background: linear-gradient(135deg, #b08cff 0%, #7c5cea 55%, #5e4bc8 100%);
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.55);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.70),
    inset 0 -2px 5px rgba(60,40,140,0.35),
    0 22px 42px -14px rgba(139,92,246,0.45);
}
/* Trailing glass chip with arrow */
body[data-style="glass"] .btn .btn-arr {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.50);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 4px 10px -2px rgba(60,40,140,0.30);
  transition: transform 0.3s var(--ease-out);
}
body[data-style="glass"] .btn:hover .btn-arr {
  transform: translate(4px, -50%);
}

/* Secondary ghost — clear frosted pill, dark text */
body[data-style="glass"] .btn-ghost {
  background: rgba(255,255,255,0.75);
  color: #2a1f4a !important;
  border: 1.5px solid rgba(255,255,255,0.85);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.95),
    0 18px 34px -12px rgba(99,102,241,0.28);
}
body[data-style="glass"] .btn-ghost .btn-arr {
  background: rgba(120,90,200,0.18);
  border: 1px solid rgba(120,90,200,0.40);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 4px 10px -2px rgba(99,102,241,0.30);
}
/* Hero lede / About blocks use inline light text — force readable on the glass page */
body[data-style="glass"] .hero .lede           { color: rgba(42,31,74,0.78) !important; }
body[data-style="glass"] .about-story-block h4 { color: #2a1f4a !important; }
body[data-style="glass"] .about-story-block p  { color: rgba(42,31,74,0.78) !important; }

/* Liquid Glass: acrylic white titles — translucent fill, bright bevel, subtle relief */
body[data-style="glass"] .h-display,
body[data-style="glass"] .h-section {
  background: none;
  -webkit-background-clip: initial;
          background-clip: initial;
  color: rgba(255,255,255,0.40);
  -webkit-text-fill-color: rgba(255,255,255,0.40);
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.95);
          text-stroke: 1.5px rgba(255,255,255,0.95);
  /* embossed: light from top-left, soft shadow bottom-right + soft lift */
  text-shadow:
    -1px -1px 0 rgba(255,255,255,0.85),
    1px 2px 1px rgba(99,102,241,0.30),
    0 10px 26px rgba(99,102,241,0.22);
}
/* Script em — debossed: light catches the bottom of the recess */
body[data-style="glass"] .h-display em,
body[data-style="glass"] .h-section em {
  background: none;
  -webkit-background-clip: initial;
          background-clip: initial;
  color: rgba(255,255,255,0.48) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.48) !important;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.92);
          text-stroke: 1.5px rgba(255,255,255,0.92);
  text-shadow:
    1px 1px 0 rgba(255,255,255,0.80),
    -1px -1px 1px rgba(99,102,241,0.30),
    0 6px 16px rgba(167,139,250,0.18);
}
body[data-style="organic"] .btn {
  background: linear-gradient(135deg, #6c8d3f 0%, #41612a 100%);  /* lush sage → forest */
  color: #ffffff !important;     /* override hero inline style color */
  box-shadow:
    0 14px 28px -10px rgba(45, 80, 32, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
/* Force white on the arrow icon too (currentColor inheritance) */
body[data-style="organic"] .btn .btn-arr,
body[data-style="organic"] .btn svg { color: #ffffff !important; }
body[data-style="organic"] .btn:hover {
  background: linear-gradient(135deg, #79a046 0%, #4a6f31 100%);
  transform: translateY(-2px);
}
/* Re-assert ghost styling — warm cream so it visibly differs from the
   sage-green primary CTA above. Defined after .btn to win the cascade. */
body[data-style="organic"] .btn.btn-ghost {
  background: linear-gradient(135deg, #f0e6c8 0%, #d4c190 100%) !important;
  color: #2a1f15 !important;
  border: 1px solid rgba(60, 40, 20, 0.18) !important;
  box-shadow:
    0 10px 22px -10px rgba(60, 40, 20, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
body[data-style="organic"] .btn.btn-ghost:hover {
  background: linear-gradient(135deg, #f8efd2 0%, #e0cea2 100%) !important;
  transform: translateY(-2px);
}
/* Primary (Start a project) — white pearl with navy text */
body[data-style="water"] .btn {
  background: linear-gradient(180deg, #ffffff 0%, #e8f4f6 100%);
  color: #1B3A7A !important;
  border: 1px solid rgba(27, 58, 122, 0.18);
  box-shadow:
    0 10px 22px -10px rgba(28, 108, 128, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
body[data-style="water"] .btn .btn-arr,
body[data-style="water"] .btn svg { color: #1B3A7A !important; }

/* Ghost (See works) — turquoise solid with white text */
body[data-style="water"] .btn.btn-ghost {
  background: linear-gradient(180deg, #4fc3d6, #2197ac) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 14px 28px -10px rgba(43,172,196,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}
body[data-style="water"] .btn.btn-ghost:hover {
  background: linear-gradient(180deg, #5fcedf, #2aa7be) !important;
  transform: translateY(-2px);
}
body[data-style="water"] .btn.btn-ghost .btn-arr,
body[data-style="water"] .btn.btn-ghost svg { color: #ffffff !important; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

/* ============================================================
   INTRO (white cloth)
   ============================================================ */
.intro-stage {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #1a1622;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* The hint of the logo behind the cloth */
.intro-stage .behind-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 600px at 50% 50%, rgba(46,181,214,0.35), transparent 60%),
    radial-gradient(500px 400px at 50% 50%, rgba(27,58,122,0.25), transparent 70%);
  z-index: 0;
}

.cloth {
  position: absolute;
  inset: -2% -2% -2% -2%;
  z-index: 2;
  transform-origin: center left;
  transition:
    transform 2.0s cubic-bezier(.65,0,.25,1),
    opacity 1.2s ease 0.4s,
    filter 1.2s ease;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.3));
}
.cloth-fabric {
  position: absolute;
  inset: 0;
  background:
    /* deep base */
    linear-gradient(180deg, #faf5e8 0%, #f3ecd9 50%, #ede4c8 100%);
  /* shape with a soft curve at the right edge */
  clip-path: polygon(
    0 0,
    98% 0,
    99% 4%,
    100% 12%,
    99% 24%,
    100% 38%,
    99% 52%,
    100% 66%,
    99% 80%,
    100% 92%,
    99% 100%,
    0 100%
  );
}
/* Vertical folds (fabric drape) */
.cloth-folds {
  position: absolute;
  inset: 0;
  background:
    /* major folds */
    linear-gradient(90deg,
      transparent 0%,
      rgba(180,160,110,0.18) 8%,
      transparent 12%,
      rgba(255,250,235,0.5) 20%,
      transparent 25%,
      rgba(180,160,110,0.22) 32%,
      transparent 38%,
      rgba(255,250,235,0.55) 46%,
      transparent 52%,
      rgba(180,160,110,0.18) 60%,
      transparent 66%,
      rgba(255,250,235,0.5) 74%,
      transparent 80%,
      rgba(180,160,110,0.25) 88%,
      transparent 96%);
  /* horizontal sag */
  mix-blend-mode: multiply;
  pointer-events: none;
}
.cloth-weave {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(0,0,0,0.025) 0px,
      transparent 1px,
      transparent 6px),
    repeating-linear-gradient(0deg,
      rgba(0,0,0,0.02) 0px,
      transparent 1px,
      transparent 6px);
  mix-blend-mode: multiply;
  opacity: 0.7;
  pointer-events: none;
}
.cloth-sag {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(60,40,20,0.18), transparent 60%),
    radial-gradient(ellipse 60% 30% at 50% 0%, rgba(60,40,20,0.1), transparent 60%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.cloth-edge-shadow {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.18));
  pointer-events: none;
}

.intro-stage.revealed .cloth {
  transform: translateX(-110%) skewX(-8deg) scale(0.95);
  opacity: 0;
}

.intro-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 0 36px;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 1.4s ease 0.8s, transform 1.6s cubic-bezier(.2,.7,.2,1) 0.8s;
  color: #f7f1e2;
}
.intro-stage.revealed .intro-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.intro-logo-wrap {
  width: 420px;
  max-width: 80vw;
  margin: 0 auto 32px;
  filter: drop-shadow(0 20px 60px rgba(46,181,214,0.4));
}
.intro-tag {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(247,241,226,0.55);
  margin-bottom: 18px;
}
.intro-headline {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #f7f1e2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.intro-sub {
  font-size: 17px;
  color: rgba(247,241,226,0.65);
  margin: 0 0 40px;
  font-style: italic;
}
.intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #2EB5D6, #1B3A7A);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.3em;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  box-shadow: 0 12px 40px -8px rgba(46,181,214,0.5);
}
.intro-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 48px -8px rgba(46,181,214,0.7); }

/* Pull tab on cloth — discreet */
.cloth-tab {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(60,40,20,0.45);
  cursor: pointer;
  user-select: none;
}
.cloth-tab .pull-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(60,40,20,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(60,40,20,0.7);
  transition: transform 0.3s ease, box-shadow 0.3s;
  box-shadow: 0 8px 24px rgba(60,40,20,0.15);
  animation: pulseGlow 2.6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 8px 24px rgba(60,40,20,0.15); }
  50% { box-shadow: 0 8px 32px rgba(46,181,214,0.4); }
}
.cloth-tab:hover .pull-circle { transform: scale(1.08); }

/* ============================================================
   STYLE PICKER
   ============================================================ */
.picker-stage {
  position: fixed;
  inset: 0;
  z-index: 95;
  background:
    radial-gradient(900px 600px at 20% 20%, rgba(167,139,250,0.18), transparent 60%),
    radial-gradient(900px 600px at 80% 80%, rgba(46,181,214,0.18), transparent 60%),
    linear-gradient(180deg, #0a0a14 0%, #181429 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 36px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  overflow: hidden;
}
.picker-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.06;
  pointer-events: none;
}
.picker-stage.visible { opacity: 1; pointer-events: auto; }

.picker-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 760px;
  position: relative;
  z-index: 2;
}
.picker-head .eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
}
.picker-head h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1;
  letter-spacing: -0.025em;
}
.picker-head h2 em {
  font-family: 'Dancing Script', cursive;
  font-style: normal;
  background: linear-gradient(135deg, #c4b5fd 0%, #67e8f9 40%, #86efac 70%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.picker-head p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.55;
}

.picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1240px;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .picker-grid { grid-template-columns: 1fr; }
}

.picker-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
  border: 1px solid rgba(255,255,255,0.1);
}
.picker-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.4);
}
.picker-card .pc-bg {
  position: absolute;
  inset: 0;
  transition: transform 1.4s var(--ease-out);
}
.picker-card:hover .pc-bg { transform: scale(1.06); }
.picker-card .pc-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.picker-card .pc-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 28px 28px;
}
.picker-card .pc-name {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.75;
}
.picker-card .pc-title {
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 6px 0 0;
  max-width: 80%;
}
.picker-card .pc-desc {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.78;
  max-width: 90%;
  margin: 0 0 14px;
}
.picker-card .pc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  align-self: flex-start;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: #111;
  transition: transform 0.3s ease;
}
.picker-card:hover .pc-cta { transform: translateX(6px); }

.picker-card[data-pc="glass"] .pc-bg {
  background:
    radial-gradient(700px 500px at 25% 15%, #c4b5fd, transparent 60%),
    radial-gradient(600px 500px at 85% 55%, #67e8f9, transparent 60%),
    radial-gradient(500px 400px at 50% 100%, #86efac, transparent 60%),
    radial-gradient(400px 300px at 80% 90%, #fbbf24, transparent 60%),
    linear-gradient(180deg, #ede8fb, #d8d4e8);
}
.picker-card[data-pc="glass"] { color: #2a1f4a; }

.picker-card[data-pc="organic"] .pc-bg {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence baseFrequency='0.55' numOctaves='2' seed='13'/><feColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.14  0 0 0 0 0.10  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>") center/320px,
    linear-gradient(180deg, #c8c3b5 0%, #9e9787 100%);
  background-blend-mode: multiply;
}
.picker-card[data-pc="organic"] { color: #0e0c08; }
.picker-card[data-pc="organic"] .pc-name { color: #2d5a32; }
.picker-card[data-pc="organic"] .pc-title { font-family: 'Archivo Black', sans-serif; font-weight: 900; text-transform: uppercase; }
.picker-card[data-pc="organic"] .pc-cta { background: #0e0c08; color: #f1ead8; border-radius: 4px; }

.picker-card[data-pc="water"] .pc-bg {
  background: linear-gradient(180deg,
    #d4ecf5 0%,
    #6cc1de 30%,
    #2885b5 60%,
    #0e5a82 100%);
}
.picker-card[data-pc="water"] { color: #fff; }
.picker-card[data-pc="water"] .pc-cta {
  background: rgba(255,255,255,0.96);
  color: #06384e;
}

.picker-card .pc-logo {
  width: 90%;
  align-self: center;
  margin: auto 0;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.18));
  display: flex;
  justify-content: center;
}
.picker-card .pc-logo > div { width: 100%; }
.picker-card .pc-logo img { width: 100%; height: auto; }

/* Mini scene elements */
.pc-scene .pc-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.7;
  animation: orbFloat 12s ease-in-out infinite;
}
.pc-scene .pc-leaf {
  position: absolute;
  animation: leafSway 5s ease-in-out infinite;
  transform-origin: top center;
}
.pc-scene .pc-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.3) 70%, transparent);
  animation: bubbleRise linear infinite;
}
.pc-scene .pc-ray {
  position: absolute;
  top: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
  filter: blur(4px);
  animation: rayShimmer 4s ease-in-out infinite;
}

.picker-skip {
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  z-index: 2;
  position: relative;
}
.picker-skip:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   HOME / HERO storytelling
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 110px max(8vw, 60px) 80px max(8vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* New theatrical hero: logo floats huge in the middle,
   text wraps around in 3 zones */
.hero-theater {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  min-height: 76vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 24px 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero-theater { grid-template-columns: 1fr; min-height: auto; }
}

.hero-kicker-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-kicker-row .signature {
  font-family: 'Dancing Script', cursive !important;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}
.hero-signature-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-kicker-row .hero-date {
  display: none;          /* shown only in editorial style */
}

/* Editorial — date sits next to the "with love, Michal" signature like a newspaper dateline */
body[data-style="editorial"] .hero-kicker-row .hero-date {
  display: inline-block;
  font-family: 'IM Fell English', 'Playfair Display', Georgia, serif !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text);
}
body[data-style="glass"] .hero-kicker-row .signature {
  background: var(--halo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-zone {
  position: relative;
  z-index: 2;
}
.hero-title-zone .h-display {
  font-size: clamp(56px, 8.5vw, 132px);
}
/* Hero em uses the same 1.5em ratio as section-title ems
   (set inline in renderRichTitle) — no override here. */

.hero-mark-zone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-tagline-zone {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-top: 30px;
}
@media (max-width: 900px) {
  .hero-tagline-zone { grid-template-columns: 1fr; gap: 30px; }
}

.hero-lede-block { max-width: 56ch; }
.hero-meta-block {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.hero-meta-block .hero-meta-item {
  position: relative;
}
.hero-meta-block .hero-meta-item + .hero-meta-item {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}
body[dir="rtl"] .hero-meta-block .hero-meta-item + .hero-meta-item {
  padding-left: 0; padding-right: 36px;
  border-left: none; border-right: 1px solid var(--line);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.hero-scroll-hint::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-mute);
  border-bottom: 2px solid var(--text-mute);
  transform: rotate(45deg);                /* downward chevron */
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: rotate(45deg) translate(-3px, -3px); }
  50%      { opacity: 1;   transform: rotate(45deg) translate(3px, 3px); }
}

/* ============================================================
   MOBILE RESPONSIVE — topbar + hero (≤760px and ≤560px)
   ============================================================ */

/* Tablet & smaller: tighten topbar and hero padding */
@media (max-width: 760px) {
  .topbar { padding: 14px 18px; }
  .topbar.topbar-scrolled { padding-top: 10px; padding-bottom: 10px; }
  /* Brand-mark logo: inline width is set by Logo component (size prop).
     Cap the inner wrapper so it can't overflow narrow viewports. */
  .brand-mark > div { width: 150px !important; max-width: 38vw; }
  .top-controls { gap: 10px; }
  .style-pill { padding: 7px 13px 7px 7px; font-size: 10.5px; letter-spacing: 0.12em; gap: 8px; }
  .style-pill .swatch { width: 18px; height: 18px; }
  .lang-toggle button { padding: 5px 10px; font-size: 11px; }

  /* Hero — reclaim side space, reduce vertical padding */
  .hero { padding: 90px 22px 70px; min-height: auto; }
  .hero-tagline-zone { margin-top: 18px; gap: 22px; }
  .hero-mark-zone { min-height: 320px; }
  .hero-title-zone .h-display { font-size: clamp(44px, 11vw, 78px); }
  .hero-scroll-hint { display: none; }

  /* Hero CTAs — STACKED on mobile, equal width, readable font.
     Side-by-side broke at Glass because "Start a project" wraps to two
     lines when squeezed into 50% width, making buttons look chunky.
     Stacking lets us use a comfortable font size + thin padding. */
  .hero-cta-row {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 22px !important;
    margin: 0 !important;
    font-size: 12px !important;
    letter-spacing: 0.18em !important;
    gap: 10px !important;
    white-space: nowrap;
  }
  .hero-cta-row .btn .btn-arr svg {
    width: 13px !important;
    height: 13px !important;
  }
}

/* Phone: drop the pill label to just the swatch + caret */
@media (max-width: 560px) {
  .topbar { padding: 12px 14px; }
  .brand-mark > div { width: 128px !important; max-width: 44vw; }
  /* Hide the "CHOOSE A STYLE" text — keep swatch as the affordance */
  .style-pill { font-size: 0; letter-spacing: 0; padding: 8px; gap: 6px; }
  .style-pill .swatch { width: 22px; height: 22px; }
  .style-pill .caret { width: 12px; height: 12px; opacity: 0.5; }
  .top-controls { gap: 8px; }
  .lang-toggle { padding: 3px; }
  .lang-toggle button { padding: 4px 8px; font-size: 10.5px; letter-spacing: 0.08em; }

  /* Hero title even smaller on phones so the art has room */
  .hero { padding: 84px 18px 60px; }
  .hero-title-zone .h-display { font-size: clamp(34px, 11vw, 52px); line-height: 0.96; }
  .hero-kicker-row .signature { font-size: 24px; }
  .hero-mark-zone { min-height: 260px; }
  .hero-tagline-zone .lede { font-size: 15px; }

  /* Hero CTAs — slightly tighter on phones (still stacked, same readable font) */
  .hero-cta-row { gap: 8px; max-width: 280px; }
  .hero-cta-row .btn {
    padding: 12px 18px !important;
    font-size: 11.5px !important;
    letter-spacing: 0.16em !important;
  }
}

/* ============================================================
   MOBILE — sections, titles, grids (tighter padding + smaller type)
   ============================================================ */
@media (max-width: 760px) {
  /* Section padding: reclaim side space, reduce vertical breathing room */
  .section {
    padding: 60px 22px 56px !important;
    min-height: auto;
  }
  body[dir="rtl"] .section { padding: 60px 22px 56px !important; }

  /* Testimonials uses big negative margins to overlap neighbors on desktop.
     On mobile, neighboring sections have far less padding to absorb that
     overlap, so the pull-quote lands on top of adjacent titles. Scale down. */
  .section.testimonials,
  body[data-style="organic"] .section.testimonials,
  body[data-style="editorial"] .section.testimonials,
  body[data-style="water"] .section.testimonials,
  body[data-style="glass"] .section.testimonials {
    margin-top: -24px;
    margin-bottom: -24px;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  /* All section titles smaller on mobile */
  .h-display { font-size: clamp(40px, 9vw, 72px) !important; line-height: 0.98; }
  .h-section { font-size: clamp(32px, 7vw, 56px) !important; line-height: 1.02; }

  /* About — tighter portrait + reduced gap.
     !important required because the base .about-portrait rule appears
     later in the file with `position: sticky; top: 100px`. */
  .about-grid { gap: 28px; }
  .about-portrait {
    position: static !important;     /* sticky was overlapping text below */
    top: auto !important;
    aspect-ratio: 4/5 !important;    /* shorter than 1/1 so it doesn't dominate */
    max-height: 60vh;
    border-radius: 24px;
  }

  /* Contact — tighter */
  .contact-grid { gap: 28px; }

  /* Works grid — tighter row heights */
  .works-grid { grid-auto-rows: 200px !important; gap: 14px; }
  .work { --shot-frame-h: 200px; }
  .work h4 { font-size: 16px; }

  /* Services list — tighter */
  .services-list { gap: 14px; }

  /* Tropical "stones" — shrink the chiseled silhouettes on mobile so each
     card doesn't dominate the viewport. */
  body[data-style="organic"] .service-card {
    padding: 44px 46px 42px !important;
    filter:
      drop-shadow(0 18px 14px rgba(0,0,0,0.4))
      drop-shadow(0 8px 8px rgba(0,0,0,0.3)) !important;
  }

  body[data-style="organic"] .service-card h3 {
    font-size: 26px !important;
    line-height: 1 !important;
  }
  body[data-style="organic"] .service-card.featured h3 {
    font-size: 34px !important;
  }
  body[data-style="organic"] .service-card p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
  body[data-style="organic"] .service-card .svc-glyph svg {
    width: 52px !important;
    height: 52px !important;
  }
  body[data-style="organic"] .service-card .svc-num {
    font-size: 12.5px !important;
  }

  /* Hero metrics — force 3-across single row on mobile, all styles.
     Base uses flex-wrap:wrap (Glass/Bubbles/Editorial); we lock to a
     3-column grid so 17+ / 230+ / 1:1 sit on a single line. */
  .hero-meta-block,
  body[data-style="organic"] .hero-meta-block,
  body[data-style="glass"] .hero-meta-block,
  body[data-style="water"] .hero-meta-block,
  body[data-style="editorial"] .hero-meta-block {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    flex-wrap: nowrap;
    margin-top: 8px;
  }
  .hero-meta-block .hero-meta-item {
    min-width: 0;
    text-align: center;
  }
  /* Kill vertical separator + padding — no room with 3 items in a row */
  .hero-meta-block .hero-meta-item + .hero-meta-item,
  body[dir="rtl"] .hero-meta-block .hero-meta-item + .hero-meta-item {
    padding: 0 !important;
    border: none !important;
  }
  body[data-style="organic"] .hero-meta-block .hero-meta-item + .hero-meta-item {
    border: 1px solid rgba(255,255,255,0.45) !important;   /* keep tropical card border */
  }
  /* Shrink the icon + number + label so the trio fits comfortably.
     Keep the circle generous so the glyph has clear padding inside. */
  .hero-meta-icon { width: 52px !important; height: 52px !important; margin: 0 auto 10px; }
  .hero-meta-icon svg { width: 22px; height: 22px; }
  .hero-meta-item .num { font-size: clamp(20px, 5vw, 28px) !important; }
  .hero-meta-item .label { font-size: 11px !important; line-height: 1.25; }
  body[data-style="organic"] .hero-meta-block .hero-meta-item {
    padding: 14px 8px 12px !important;
    border-radius: 14px;
  }
}

/* Whenever the About grid collapses to a single column (≤900px), the portrait
   must NOT be sticky — otherwise it follows the visitor down and overlaps the
   text/timeline content below. Mirrors the .about-grid collapse breakpoint. */
@media (max-width: 900px) {
  .about-portrait {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 50px 16px 46px !important;
  }
  body[dir="rtl"] .section { padding: 50px 16px 46px !important; }

  .h-display { font-size: clamp(34px, 10vw, 58px) !important; }
  .h-section { font-size: clamp(28px, 8vw, 48px) !important; }

  .about-grid { gap: 22px; }
  .contact-grid { gap: 22px; }
  .works-grid { grid-auto-rows: 180px !important; }
  .work { --shot-frame-h: 180px; }
  .services-list { gap: 12px; }
  /* Hero metrics on phones — tighter still, but stay 3-across */
  .hero-meta-block { gap: 6px !important; }
  .hero-meta-icon { width: 46px !important; height: 46px !important; margin: 0 auto 8px; }
  .hero-meta-icon svg { width: 19px; height: 19px; }
  .hero-meta-item .num { font-size: clamp(17px, 5.5vw, 22px) !important; }
  .hero-meta-item .label { font-size: 10px !important; letter-spacing: 0.02em; }
  body[data-style="organic"] .hero-meta-block .hero-meta-item {
    padding: 10px 4px 8px !important;
  }
}

/* ============================================================
   ABOUT — narrative timeline
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-portrait {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 32px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 100px;
  /* Per-style outer frame slots in via box-shadow so layout stays unchanged. */
  transition: box-shadow 0.4s ease;
}

/* ─── Per-style portrait frames ──────────────────────────────── */

/* Liquid Glass — frosted prismatic frame with iridescent rim */
body[data-style="glass"] .about-portrait {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85),
    0 0 0 10px rgba(255, 255, 255, 0.55),
    0 0 0 11px rgba(196, 181, 253, 0.6),
    0 24px 60px -16px rgba(99, 102, 241, 0.45),
    0 6px 24px rgba(103, 232, 249, 0.25);
}

/* Tropical — warm wood-toned chunky frame */
body[data-style="organic"] .about-portrait {
  border-radius: 18px;
  box-shadow:
    0 0 0 6px #d4c9a8,
    0 0 0 8px rgba(60, 40, 20, 0.35),
    0 0 0 16px #2a1d12,
    0 26px 50px -16px rgba(20, 12, 4, 0.55);
}

/* Bubbles — papercut white pearl frame with soft sea shadow */
body[data-style="water"] .about-portrait {
  border-radius: 50%;                      /* round portrait — matches the papercut circles */
  box-shadow:
    0 0 0 8px #ffffff,
    0 0 0 10px rgba(43, 172, 196, 0.35),
    0 0 0 22px #f3fafb,
    0 24px 50px -16px rgba(28, 108, 128, 0.4);
}

/* Editorial — thin black hairline + offset gallery card */
body[data-style="editorial"] .about-portrait {
  border-radius: 0;
  box-shadow:
    0 0 0 1px #1a120e,
    0 0 0 9px #ffffff,
    0 0 0 10px #1a120e,
    14px 14px 0 -1px #1a120e;
}
.about-portrait .placeholder-portrait {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative;
}
.about-portrait .portrait-glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--script);
  font-size: 240px;
  color: rgba(255,255,255,0.7);
}

.about-floats {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.about-story-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.about-story-block:last-child { border-bottom: none; }
.about-story-block .yr {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about-story-block h4 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}
.about-story-block p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ============================================================
   SERVICES — scrolling stack of cards
   ============================================================ */
.services-head {
  max-width: 900px;
  margin: 0 auto 70px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}
.service-card {
  grid-column: span 4;
  position: relative;
  padding: 32px 28px 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-out), background 0.3s;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
/* Liquid Glass: chunky, tactile frosted-glass service cards (perf-tuned) */
body[data-style="glass"] .service-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.65), rgba(255,255,255,0.40));
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.80);
  border-radius: 26px;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.95),
    0 22px 44px -16px rgba(99,102,241,0.36);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
body[data-style="glass"] .service-card:hover {
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.95),
    inset 0 -2px 4px rgba(120,90,200,0.14),
    0 32px 60px -16px rgba(99,102,241,0.50),
    0 10px 20px rgba(99,102,241,0.24);
}
/* Soft per-card colour tint behind the frost so each disc reads as its own glass */
body[data-style="glass"] .service-card:nth-child(2) { background: linear-gradient(135deg, rgba(196,181,253,0.55), rgba(255,255,255,0.28)); }
body[data-style="glass"] .service-card:nth-child(3) { background: linear-gradient(135deg, rgba(103,232,249,0.45), rgba(255,255,255,0.28)); }
body[data-style="glass"] .service-card:nth-child(4) { background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(134,239,172,0.40)); }
body[data-style="glass"] .service-card:nth-child(5) { background: linear-gradient(135deg, rgba(253,164,175,0.40), rgba(255,255,255,0.28)); }
body[data-style="glass"] .service-card:nth-child(7) { background: linear-gradient(135deg, rgba(167,139,250,0.50), rgba(103,232,249,0.35)); }
body[data-style="glass"] .service-card:nth-child(8) { background: linear-gradient(135deg, rgba(94,234,212,0.50), rgba(255,255,255,0.28)); }
body[data-style="glass"] .service-card:nth-child(9) { background: linear-gradient(135deg, rgba(251,191,36,0.32), rgba(255,255,255,0.30)); }

/* Recessed frosted icon well — feel the glass on every card */
body[data-style="glass"] .service-card .svc-glyph {
  width: 80px; height: 80px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(255,255,255,0.40));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 8px 18px -6px rgba(99,102,241,0.25);
  margin-bottom: 20px;
}
body[data-style="glass"] .service-card .svc-glyph svg { filter: none; }
/* Liquid Glass — bump tagline size + opacity so the text reads clearly
   against the frosted gradient. */
body[data-style="glass"] .service-card p {
  font-size: 16.5px;
  line-height: 1.55;
  opacity: 0.92;
}
body[data-style="organic"] .service-card {
  background: var(--surface);
  border: none;
  box-shadow: 0 14px 36px -16px rgba(140,110,80,0.25);
}
/* Carved papercut: paper lifted off the surface with a beveled, engraved feel */
body[data-style="water"] .service-card {
  background: linear-gradient(145deg, #ffffff 0%, #e9f5f7 100%);
  border: none;
  border-radius: 30px;
  box-shadow:
    /* directional drop shadow — paper raised off the wall (like the reference) */
    16px 20px 40px -14px rgba(28,108,128,0.30),
    6px 8px 18px -8px rgba(28,108,128,0.16),
    /* carved bevel: bright top-left edge + soft bottom-right inner shadow */
    inset 3px 3px 5px rgba(255,255,255,0.95),
    inset -4px -5px 10px rgba(28,108,128,0.12);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
body[data-style="water"] .service-card:hover {
  box-shadow:
    22px 28px 52px -14px rgba(28,108,128,0.34),
    8px 12px 24px -8px rgba(28,108,128,0.18),
    inset 3px 3px 5px rgba(255,255,255,0.95),
    inset -4px -5px 10px rgba(28,108,128,0.12);
}
.service-card:hover { transform: translateY(-6px); }

.service-card.featured { grid-column: span 8; min-height: 320px; background: var(--text); color: var(--bg-1); border: none; }
body[data-style="glass"] .service-card.featured {
  background: linear-gradient(135deg, rgba(139,92,246,0.92), rgba(99,102,241,0.85) 45%, rgba(52,211,153,0.85));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.55),
    inset 0 -2px 4px rgba(50,30,120,0.32),
    0 30px 60px -16px rgba(99,102,241,0.55),
    0 8px 18px rgba(99,102,241,0.30);
}
body[data-style="glass"] .service-card.featured .svc-glyph {
  background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0.10));
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.70),
    inset 0 -2px 4px rgba(50,30,120,0.25),
    0 10px 22px -6px rgba(50,30,120,0.40);
}
body[data-style="water"] .service-card.featured {
  background: linear-gradient(145deg, #93dae6 0%, #2bacc4 100%);
  color: #ffffff;
  border: none;
  backdrop-filter: none;
  box-shadow:
    18px 22px 46px -14px rgba(43,172,196,0.5),
    inset 3px 3px 6px rgba(255,255,255,0.45),
    inset -4px -5px 10px rgba(18,120,140,0.30);
}

/* ── Sea: engraved text + recessed circular icon wells (carved papercut) ── */
body[data-style="water"] .service-card h3 {
  color: #2c6575;
  text-shadow: 0 1px 0 rgba(255,255,255,0.95);   /* pressed-into-paper engrave */
}
body[data-style="water"] .service-card .svc-num { color: #4a8b9c; }
body[data-style="water"] .service-card p { color: rgba(14,74,89,0.62); }
/* featured card keeps light text, lightly debossed */
body[data-style="water"] .service-card.featured h3 {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(16,90,110,0.45);
}
body[data-style="water"] .service-card.featured p,
body[data-style="water"] .service-card.featured .svc-num { color: rgba(255,255,255,0.92); }

/* Icon sits in a carved circular recess */
body[data-style="water"] .service-card .svc-glyph {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e7f4f6, #ffffff);
  box-shadow:
    inset 3px 3px 7px rgba(28,108,128,0.16),
    inset -3px -3px 7px rgba(255,255,255,0.95);
  margin-bottom: 22px;
}
body[data-style="water"] .service-card .svc-glyph svg { filter: none; }
body[data-style="water"] .service-card.featured .svc-glyph {
  background: linear-gradient(145deg, rgba(255,255,255,0.28), rgba(255,255,255,0.05));
  box-shadow:
    inset 3px 3px 7px rgba(16,90,110,0.30),
    inset -3px -3px 7px rgba(255,255,255,0.40);
}

/* ── Sea: services as carved paper CIRCLES (discs), not rectangles ──
   Layout: row 1 = 3 bubbles, row 2 = 4 bubbles (3+4 = 7 total). We use a
   12-column grid: first 3 cards span 4 each, remaining 4 cards span 3 each. */
body[data-style="water"] .services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  justify-items: center;
  align-items: center;
  gap: 36px 28px;
  max-width: 1180px;
}
body[data-style="water"] .service-card {
  grid-column: span 4;               /* first row: 3 cards × 4 cols = 12 */
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 50%;
  padding: 0 16%;                    /* keep content off the round edges */
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* From the 4th card on, switch to 3-col spans (4 cards × 3 cols = 12) */
body[data-style="water"] .service-card:nth-child(n+4) {
  grid-column: span 3;
  max-width: 260px;                  /* slightly smaller so 4-in-a-row fits comfortably */
}
/* featured disc — same width rule as its row */
body[data-style="water"] .service-card.featured { max-width: 320px; }
body[data-style="water"] .service-card.featured:nth-child(n+4) { max-width: 260px; }

@media (max-width: 900px) {
  body[data-style="water"] .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  body[data-style="water"] .service-card,
  body[data-style="water"] .service-card:nth-child(n+4) {
    grid-column: auto;
    max-width: 280px;
  }
}
@media (max-width: 560px) {
  body[data-style="water"] .services-grid {
    grid-template-columns: 1fr;
  }
}
/* centre the content stack */
body[data-style="water"] .service-card > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
}
body[data-style="water"] .service-card .svc-glyph { margin: 0 auto 14px; }
body[data-style="water"] .service-card .svc-num   { margin-bottom: 2px; }
body[data-style="water"] .service-card h3 {
  margin: 6px 0 8px;
  font-size: 18px;
  line-height: 1.2;
}
body[data-style="water"] .service-card.featured h3 { font-size: 18px; }
body[data-style="water"] .service-card p {
  font-size: 14px;
  line-height: 1.5;
  /* no line-clamp — show the full description */
}
body[data-style="water"] .service-card { padding: 0 12%; }
/* hide the corner arrow row (inline display:flex → needs !important) + giant bg number */
body[data-style="water"] .service-card > div:nth-child(2) { display: none !important; }
body[data-style="water"] .service-card .bg-num { display: none; }

.service-card .svc-num {
  display: none;
}
.service-card h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 14px 0 12px;
}
.service-card.featured h3 { font-size: 36px; }
.service-card p {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.78;
}
.service-card .svc-arrow {
  font-size: 22px;
  align-self: flex-end;
  opacity: 0.6;
}

.service-card .svc-glyph {
  margin-bottom: 18px;
  display: flex;
}
.service-card .svc-glyph svg { filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08)); }

@media (max-width: 900px) {
  .service-card, .service-card.featured { grid-column: span 12; }
}

/* ============================================================
   WORKS / PROJECTS — varied layout
   ============================================================ */
.works-stage {
  max-width: 1400px;
  margin: 0 auto;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 22px;
}
@media (max-width: 900px) {
  .works-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
}

/* ── Carousel: desktop browser mockup ─────────────────────── */
.works-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ── Vertical tabs layout — tabs on the side, project on the right ── */
.works-tabs {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.work-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 0;
}

.work-tab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px 14px 22px;
  margin-inline-start: -1px;        /* sit on top of the column rule */
  background: transparent;
  border: none;
  border-inline-start: 2px solid transparent;
  text-align: start;
  cursor: pointer;
  color: var(--text-soft);
  transition: all 0.25s var(--ease-out);
  font-family: inherit;
}
.work-tab:hover {
  color: var(--text);
  background: var(--surface);
}
.work-tab--active {
  color: var(--text);
  border-inline-start-color: var(--accent);
  background: var(--surface-2);
}

.work-tab-cat {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.work-tab--active .work-tab-cat { color: var(--accent); }

.work-tab-title {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.25;
}

/* RTL — flip the active rule to the right (start side handles this via logical
   properties, but ensure no overflow). */
body[dir="rtl"] .work-tab { text-align: right; }

/* Panel that holds the browser mockup + meta */
.work-tab-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  min-width: 0;                     /* let it shrink in the grid track */
}
.work-tab-panel .work-browser { max-width: 100%; }

/* Mobile-only nav row — prev/next arrows + centered project label.
   Hidden on desktop; shown only ≤900px. */
.work-mobile-nav { display: none; }

/* Mobile / tablet: hide side tabs, show prev/next arrows above the mockup. */
@media (max-width: 900px) {
  .works-tabs {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  /* Side tabs no longer used on mobile — arrows + label do the job */
  .work-tabs-list { display: none; }

  .work-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
  .work-mobile-nav-label {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .work-mobile-nav-label .work-tab-cat {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-mute);
  }
  .work-mobile-nav-label .work-tab-title {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
  }
}

.work-browser {
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 24px 60px -18px rgba(0,0,0,0.30),
    0 4px 12px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.08);
}

.work-browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #ececec;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.wb-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wb-red    { background: #ff5f57; }
.wb-yellow { background: #febc2e; }
.wb-green  { background: #28c840; }

.wb-url {
  flex: 1;
  margin: 0 12px;
  text-align: center;
  font-family: 'Inter', 'Inter Tight', system-ui, sans-serif;
  font-size: 12px;
  color: #555;
  background: #ffffff;
  border-radius: 6px;
  padding: 5px 14px;
  border: 1px solid rgba(0,0,0,0.06);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wb-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 24px;
  border-radius: 5px;
  color: #555;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.wb-open:hover { background: rgba(0,0,0,0.06); color: #000; }

.work-browser-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ffffff;
}
.work-browser-shot {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  display: block;
  animation: wb-autoscroll 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes wb-autoscroll {
  0%   { transform: translateY(0); }
  10%  { transform: translateY(0); }
  90%  { transform: translateY(calc(-100% + 480px)); }
  100% { transform: translateY(calc(-100% + 480px)); }
}
.work-browser-placeholder {
  position: absolute;
  inset: 0;
}

/* Meta + nav arrows */
.work-feature-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  position: relative;
  z-index: 5;
}
.wb-nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  z-index: 6;
  pointer-events: auto;
}
.wb-nav svg,
.wb-nav * {
  pointer-events: none;     /* SVG inside button shouldn't swallow the click */
}
.wb-nav:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent);
}
body[dir="rtl"] .wb-nav svg { transform: scaleX(-1); }
.work-feature-meta {
  text-align: center;
  min-width: 240px;
}
.work-feature-meta .work-cat {
  font-size: 10.5px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.work-feature-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

/* One-line "what I did" description below the project title */
.work-feature-desc {
  margin: 8px auto 0;
  max-width: 36ch;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-soft);
}

/* Visit-live pill — small, inviting, sits below the description */
.work-feature-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 18px;
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
}
.work-feature-visit:hover {
  transform: translateY(-1px);
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent);
}
body[data-style="water"] .work-feature-visit:hover { color: #2197ac; border-color: #2197ac; }
body[data-style="editorial"] .work-feature-visit:hover { color: #c8503c; border-color: #c8503c; }

/* Browser mockup now is a link — invite the click with a hover overlay */
.work-browser--linked {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out);
}
.work-browser--linked:hover { transform: translateY(-3px); }
.work-browser--inactive { cursor: default; pointer-events: none; }

.work-browser-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 25, 35, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  border-radius: inherit;
}
.work-browser--linked:hover .work-browser-hover { opacity: 1; }
.work-browser-hover-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: scale(0.94);
  transition: transform 0.3s var(--ease-out);
}
.work-browser--linked:hover .work-browser-hover-pill { transform: scale(1); }

/* Make the viewport position-relative so the hover overlay anchors to it */
.work-browser-viewport { position: relative; }

/* Mobile: hover overlay is invisible on touch, so make the visit pill the
   visible affordance + already-shipped wb-open button is a fallback. */
@media (max-width: 760px) {
  .work-browser-hover { display: none; }
  .work-feature-desc { font-size: 12.5px; max-width: 32ch; }
  .work-feature-visit { font-size: 10px; padding: 7px 14px; margin-top: 10px; }
}

/* Dots */
.work-feature-dots {
  display: inline-flex;
  gap: 10px;
  margin-top: 4px;
  position: relative;
  z-index: 5;
}
.wf-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--text-mute);
  opacity: 0.45;
  position: relative;
  z-index: 6;
  pointer-events: auto;
  cursor: pointer;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}
.wf-dot:hover { opacity: 0.85; transform: scale(1.18); }
.wf-dot.active { opacity: 1; background: var(--accent); transform: scale(1.25); }

/* ── Per-style chrome theming ─────────────────────────────── */

/* Glass — frosted browser */
body[data-style="glass"] .work-browser {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 30px 80px -20px rgba(99,102,241,0.35);
}
body[data-style="glass"] .work-browser-chrome {
  background: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* Tropical (organic) — warm stone frame */
body[data-style="organic"] .work-browser {
  background: #f4ead6;
  border: 1px solid rgba(20,16,10,0.18);
  box-shadow:
    0 30px 70px -22px rgba(20,16,10,0.5),
    0 0 0 1px rgba(20,16,10,0.04);
}
body[data-style="organic"] .work-browser-chrome {
  background: #e8d9bc;
  border-bottom: 1px solid rgba(20,16,10,0.18);
}
body[data-style="organic"] .wb-url {
  background: #f7eed8;
  color: #3a2e1c;
  border-color: rgba(20,16,10,0.18);
}

/* Bubbles (water) — clean white papercut */
body[data-style="water"] .work-browser {
  background: #ffffff;
  border: none;
  box-shadow:
    0 20px 60px -10px rgba(14,74,90,0.20),
    0 1px 0 rgba(14,74,90,0.06);
}
body[data-style="water"] .work-browser-chrome {
  background: #ecf6fa;
  border-bottom: 1px solid rgba(14,74,90,0.10);
}

/* Editorial — newspaper print frame, soft grey offset */
body[data-style="editorial"] .work-browser {
  background: #ffffff;
  border: 1.5px solid #1a1a1a;
  border-radius: 2px;
  box-shadow: 10px 10px 0 #b8b8b8;
}
body[data-style="editorial"] .work-browser-chrome {
  background: #1a1a1a;
  border-bottom: 1.5px solid #1a1a1a;
}
body[data-style="editorial"] .wb-url {
  background: #ffffff;
  color: #1a1a1a;
  border-color: rgba(255,255,255,0.4);
  font-family: var(--display);
}
body[data-style="editorial"] .wb-open { color: #ffffff; }
body[data-style="editorial"] .wb-open:hover { background: rgba(255,255,255,0.18); color: #ffffff; }

@media (max-width: 900px) {
  .work-browser-viewport { aspect-ratio: 16 / 11; }
  .work-browser { max-width: 92vw; }
  @keyframes wb-autoscroll {
    0%   { transform: translateY(0); }
    10%  { transform: translateY(0); }
    90%  { transform: translateY(calc(-100% + 300px)); }
    100% { transform: translateY(calc(-100% + 300px)); }
  }
}
.work {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
  background: var(--surface);
}
.work:hover { transform: translateY(-6px); }
.work .work-vis {
  position: absolute;
  inset: 0;
}

/* Screenshot scroll-on-hover */
.work-shot-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
}
.work-shot-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 7s linear;
  will-change: transform;
}
.work.work-has-shot:hover .work-shot-img {
  /* Pull the image up so its bottom edge meets the frame's bottom edge */
  transform: translateY(calc(-100% + var(--shot-frame-h, 280px)));
}
.work .work-meta {
  position: absolute;
  inset: 0;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55));
  color: #fff;
  z-index: 2;
}
.work .work-cat {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
}
.work h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0 0;
}

/* Mosaic (פסיפס) layout for 9 portfolio cards on 6-col grid */
.work.w-1 { grid-column: span 4; grid-row: span 2; --shot-frame-h: 502px; }
.work.w-2 { grid-column: span 2; grid-row: span 1; }
.work.w-3 { grid-column: span 2; grid-row: span 1; }
.work.w-4 { grid-column: span 3; grid-row: span 1; }
.work.w-5 { grid-column: span 3; grid-row: span 1; }
.work.w-6 { grid-column: span 2; grid-row: span 1; }
.work.w-7 { grid-column: span 2; grid-row: span 1; }
.work.w-8 { grid-column: span 2; grid-row: span 1; }
.work.w-9 { grid-column: span 6; grid-row: span 1; }
/* default --shot-frame-h matches the 240px row height */
.work { --shot-frame-h: 240px; }

@media (max-width: 900px) {
  .work.w-1, .work.w-2, .work.w-3, .work.w-4, .work.w-5,
  .work.w-6, .work.w-7, .work.w-8, .work.w-9 {
    grid-column: span 1; grid-row: span 1;
    --shot-frame-h: 240px;
  }
}

/* ============================================================
   TESTIMONIALS — magazine pull-quote spread, all styles
   ============================================================ */
/* Pulled tightly between Works and Contact — eats into adjacent section padding */
.section.testimonials {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: -180px;
  margin-bottom: -180px;
  /* CRITICAL: prevent the negative-margin overlap from blocking clicks
     on the Works carousel controls above and the Contact form below */
  pointer-events: none;
}
.section.testimonials .testimonials-inner,
.section.testimonials .testimonials-inner * {
  pointer-events: auto;
}
body[data-style="organic"] .section.testimonials {
  margin-top: -90px;
  margin-bottom: -90px;
}
.testimonials-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.testimonial {
  position: relative;
  margin: 0;
  padding: 0 24px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  font-style: italic;
  color: var(--text);
  animation: t-fade .6s var(--ease-out);
}
.t-mark {
  display: block;
  font-family: var(--display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: -10px;
}
.t-text {
  margin: 0;
}
.t-meta {
  margin-top: 22px;
  font-family: var(--body);
  font-style: normal;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.t-author { color: var(--accent); }
.t-sep { opacity: 0.5; }
.t-project { opacity: 0.85; }
.t-dots {
  display: inline-flex;
  gap: 10px;
  margin-top: 8px;
}
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--text-mute);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity .25s, transform .25s, background .25s;
}
.t-dot:hover { opacity: 0.8; transform: scale(1.15); }
.t-dot.active { opacity: 1; background: var(--accent); transform: scale(1.2); }
@keyframes t-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Google-style review card ────────────────────────────────────── */
.reviews-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.reviews-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(0,0,0,0.04);
}

.reviews-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86));
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: 28px 30px 24px;
  max-width: 640px;
  width: 100%;
  text-align: left;
  box-shadow:
    0 22px 50px -22px rgba(0, 0, 0, 0.22),
    0 4px 10px rgba(0, 0, 0, 0.05);
  /* Explicit final state + forwards so the card never stays stuck at the
     opening keyframe (some browsers leave it at 0 without fill-mode) */
  opacity: 1;
  animation: t-fade 0.6s var(--ease-out) both;
  color: #1a1a1a;
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
}
body[dir="rtl"] .reviews-card { text-align: right; }

.reviews-stars {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 14px;
}

.reviews-text {
  font-size: 16px;
  line-height: 1.55;
  font-style: normal;
  font-weight: 400;
  margin: 0 0 18px;
  color: #1a1a1a;
}

.reviews-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.reviews-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.reviews-meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reviews-author {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.reviews-when {
  font-size: 12.5px;
  color: #5f6368;
}
.reviews-dot {
  margin: 0 6px;
  opacity: 0.6;
}
.reviews-project {
  font-style: italic;
}

/* "View all on Google" link */
.reviews-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s ease;
}
.reviews-view-all:hover { color: var(--accent); }

/* Editorial — squash the card border-radius for a newspaper feel */
body[data-style="editorial"] .reviews-card {
  border-radius: 4px;
  border: 1px solid rgba(26, 18, 14, 0.18);
  box-shadow: 6px 6px 0 rgba(26, 18, 14, 0.10);
}
body[data-style="editorial"] .reviews-text {
  font-family: 'IM Fell English', 'Crimson Pro', Georgia, serif;
  font-size: 17px;
}

@media (max-width: 560px) {
  .reviews-card { padding: 22px 20px 20px; border-radius: 16px; }
  .reviews-text { font-size: 14.5px; }
  .reviews-meta { gap: 10px; }
  .reviews-avatar { width: 34px; height: 34px; font-size: 14px; }
  .reviews-author { font-size: 13.5px; }
  .reviews-when { font-size: 11.5px; }
}

/* Editorial — magazine pull-quote: black left rule + retro newspaper serif */
body[data-style="editorial"] .testimonial {
  text-align: left;
  padding: 6px 4px 6px 32px;
  border-left: 3px solid var(--accent);
  font-family: var(--display) !important;
  font-weight: 400;
  font-style: italic;
}
body[data-style="editorial"] .testimonials-inner {
  text-align: left;
  align-items: stretch;
}
body[data-style="editorial"] .t-mark { display: none; }
body[data-style="editorial"] .t-meta { justify-content: flex-start; }

/* RTL adjustments */
body[dir="rtl"][data-style="editorial"] .testimonial {
  padding: 6px 32px 6px 4px;
  border-left: none;
  border-right: 3px solid var(--accent);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-form .field {
  display: block;
  margin-bottom: 22px;
}
.contact-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  transition: all 0.25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: var(--surface-2);
}
body[data-style="glass"] .contact-form input,
body[data-style="glass"] .contact-form textarea {
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.5);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ─── Alive contact form: focus glow, validation, counter, success ──────── */

/* Soft accent-tinted glow on focus — wakes each field up */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent),
    0 4px 14px -6px color-mix(in srgb, var(--accent) 35%, transparent);
}

/* Error state on a field */
.contact-form .field--error input,
.contact-form .field--error textarea {
  border-color: #e0584d;
  background: color-mix(in srgb, #e0584d 6%, var(--surface));
}
.contact-form .field--error input:focus,
.contact-form .field--error textarea:focus {
  box-shadow:
    0 0 0 4px rgba(224, 88, 77, 0.18),
    0 4px 14px -6px rgba(224, 88, 77, 0.35);
}
.contact-form .field-error {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.35;
  color: #c84236;
  letter-spacing: 0;
  font-weight: 500;
  animation: cf-shake 0.35s cubic-bezier(.36, .07, .19, .97);
}
@keyframes cf-shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-3px); }
  40%      { transform: translateX(3px); }
  60%      { transform: translateX(-2px); }
  80%      { transform: translateX(2px); }
}

/* Inline meta row under the textarea: error left, char counter right */
.contact-form .field-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  min-height: 18px;
}
.contact-form .field-counter {
  font-size: 11.5px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.contact-form .field-counter.near-limit { color: #c84236; }

/* Actions row: primary WhatsApp CTA + secondary email fallback link */
.contact-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}
/* WhatsApp button inherits each style's .btn treatment (Glass = lilac
   glass pill, Tropical = sage green, Bubbles = white pearl, Editorial =
   newspaper black). Only the icon stays prominent so the channel is clear. */
.contact-actions .btn.contact-send-wa {
  gap: 12px;
}
.contact-actions .btn.contact-send-wa svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.contact-actions .btn.contact-send-wa:hover {
  transform: translateY(-2px);
}
.contact-actions .contact-send-email {
  color: var(--text-soft);
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-underline-offset 0.2s ease;
}
.contact-actions .contact-send-email:hover {
  color: var(--text);
  text-underline-offset: 6px;
}

/* ─── Success panel — replaces the form after submit ─────────────────── */
.contact-success {
  padding: 38px 32px 32px;
  text-align: center;
  border-radius: 22px;
  animation: cf-success-in 0.6s cubic-bezier(.2, .7, .2, 1.2);
}
@keyframes cf-success-in {
  0%   { opacity: 0; transform: translateY(14px) scale(0.96); filter: blur(6px); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.02); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.contact-success-glyph {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow:
    0 14px 30px -10px rgba(18, 140, 126, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  animation: cf-glyph-pop 0.5s cubic-bezier(.2, .7, .2, 1.4) 0.1s both;
}
@keyframes cf-glyph-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.contact-success-title {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text);
}
.contact-success-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 auto 22px;
  max-width: 42ch;
}
.contact-success-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.contact-success-reset:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
}

.contact-aside h3 {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 10px;
}
.contact-aside .line {
  font-size: 18px;
  margin: 0 0 28px;
  color: var(--text);
}
.contact-aside .quote {
  margin-top: 36px;
  padding: 26px 28px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-soft);
}
body[dir="rtl"] .contact-aside .quote { border-left: none; border-right: 3px solid var(--accent); }
body[data-style="organic"] .contact-aside .quote {
  color: rgba(247,238,216,0.85);
  border-color: #d4e0b0;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
}

/* Quote slider */
.quote-slider {
  margin-top: 40px;
  padding: 36px 32px 24px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
body[data-style="glass"] .quote-slider {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 20px 50px -20px rgba(70,40,140,0.25);
}
body[data-style="water"] .quote-slider {
  background: #ffffff;
  border: 1px solid rgba(14,74,89,0.06);
  border-radius: 24px;
  box-shadow:
    0 22px 44px -18px var(--pc-shadow),
    inset 0 2px 3px rgba(255,255,255,0.9);
}
/* About blocks + hero lede use inline light text (for the dark organic floor) — force dark on the light Sea ground */
body[data-style="water"] .about-story-block h4 { color: #0e4a59 !important; }
body[data-style="water"] .about-story-block p  { color: rgba(14,74,89,0.78) !important; }
body[data-style="water"] .hero .lede           { color: rgba(14,74,89,0.82) !important; }
body[data-style="organic"] .quote-slider {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255,210,150,0.18) 0%, transparent 60%),
    url('assets/chiseled-stone.png') center / cover;
  background-blend-mode: overlay;
  background-color: transparent;
  border: none;
  border-radius: 0;
  clip-path: polygon(4% 6%, 22% 0%, 50% 4%, 78% 0%, 96% 8%, 100% 28%, 96% 56%, 100% 82%, 90% 96%, 64% 100%, 38% 96%, 12% 100%, 0% 86%, 4% 60%, 0% 36%, 3% 16%);
  filter: drop-shadow(0 24px 22px rgba(0,0,0,0.4)) drop-shadow(0 10px 10px rgba(0,0,0,0.3));
  color: #f7eed8;
}

.quote-marker {
  position: absolute;
  top: -18px;
  left: 22px;
  font-family: var(--display);
  font-size: 120px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.22;
  pointer-events: none;
  font-weight: 700;
}
body[data-style="organic"] .quote-marker {
  color: rgba(247,238,216,0.32);
  font-family: 'Archivo Black', sans-serif;
}

.quote-text-wrap {
  position: relative;
  min-height: 130px;
}
.quote-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
  pointer-events: none;
}
.quote-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.quote-text {
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 14px;
  color: var(--text);
}
body[data-style="organic"] .quote-text {
  color: #f7eed8;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.5), 0 1px 1px rgba(255,240,210,0.15);
}
.quote-author {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  font-weight: 700;
}
body[data-style="organic"] .quote-author {
  color: #d4e0b0;
}

.quote-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.quote-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}
.quote-arrow:hover { background: var(--text); color: var(--surface); }
body[data-style="organic"] .quote-arrow {
  background: rgba(247,238,216,0.15);
  color: #f7eed8;
  border-color: rgba(247,238,216,0.3);
}
body[data-style="organic"] .quote-arrow:hover {
  background: #f7eed8;
  color: #0a0805;
}

.quote-dots {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.quote-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-mute);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.quote-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}
body[data-style="organic"] .quote-dot { background: rgba(247,238,216,0.4); }
body[data-style="organic"] .quote-dot.active { background: #d4e0b0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  padding: 60px 8vw 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  z-index: 1;
}
.footer .heart { color: var(--accent); }

/* ============================================================
   STORY ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* RTL adjustments */
body[dir="rtl"] .kicker::before { /* keep line on right */ }
body[dir="rtl"] .stage-nav button { flex-direction: row-reverse; }

/* Picker preview logo image scaled small */
.picker-card .pc-logo svg { width: 100%; height: auto; }

/* Decorative number for service cards */
.service-card .bg-num {
  position: absolute;
  right: -10px; bottom: -30px;
  font-family: var(--display);
  font-size: 180px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.08;
  pointer-events: none;
}
body[dir="rtl"] .service-card .bg-num { right: auto; left: -10px; }

/* Cursor blob */
.cursor-blob {
  position: fixed;
  width: 280px; height: 280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.5;
  transform: translate(-50%, -50%);
  transition: transform 0.18s linear, opacity 0.5s;
  mix-blend-mode: screen;
}
body[data-style="glass"] .cursor-blob {
  background: radial-gradient(circle, #a78bfa, transparent);
  mix-blend-mode: multiply;
  opacity: 0.35;
}
body[data-style="organic"] .cursor-blob {
  background: radial-gradient(circle, #e9b890, transparent);
  mix-blend-mode: multiply;
  opacity: 0.25;
}
body[data-style="water"] .cursor-blob {
  background: radial-gradient(circle, #6ec9da, transparent 70%);
  opacity: 0.35;
}

/* Section divider shape */
.section-marker {
  font-family: var(--script);
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 12px;
}
body[data-style="glass"] .section-marker {
  background: var(--halo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
}

/* ============================================================
   LANDING SCREEN  (logo + slogan + 3 style cards)
   ============================================================ */

/* Logo layer keyframes — % based, total cycle = the 9s duration set in intro.jsx
   Four styles, each holds ~21% and crossfades over ~5% */
@keyframes logo-glass {
  0%, 21% { opacity: 1; }
  26%     { opacity: 0; }
  95%     { opacity: 0; }
  100%    { opacity: 1; }
}
@keyframes logo-organic {
  0%       { opacity: 0; }
  21%      { opacity: 0; }
  26%, 46% { opacity: 1; }
  51%      { opacity: 0; }
  100%     { opacity: 0; }
}
@keyframes logo-water {
  0%       { opacity: 0; }
  46%      { opacity: 0; }
  51%, 71% { opacity: 1; }
  76%      { opacity: 0; }
  100%     { opacity: 0; }
}
@keyframes logo-editorial {
  0%       { opacity: 0; }
  71%      { opacity: 0; }
  76%, 95% { opacity: 1; }
  100%     { opacity: 0; }
}

/* Glow behind logo — cycles colour in sync */
@keyframes landing-glow-cycle {
  0%, 21%  { background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(99,102,241,0.38) 0%, transparent 70%); }
  26%, 46% { background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(45,90,50,0.32) 0%, transparent 70%); }
  51%, 71% { background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,153,194,0.38) 0%, transparent 70%); }
  76%, 95% { background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(220,58,40,0.32) 0%, transparent 70%); }
  100%     { background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(99,102,241,0.38) 0%, transparent 70%); }
}

/* Gentle logo float */
@keyframes logo-float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}

/* Card scene animations */
@keyframes lc-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes lc-ray-sway {
  0%, 100% { opacity: 0.25; transform: skewX(-2deg); }
  50%      { opacity: 0.65; transform: skewX(2deg); }
}
@keyframes lc-bubble-rise {
  0%   { transform: translateY(0) scale(1); opacity: 0.55; }
  100% { transform: translateY(-70px) scale(0.6); opacity: 0; }
}
/* Organic landing-card leaves gently sway */
@keyframes lc-leaf-sway-top {
  0%,100% { transform: translateX(0) rotate(0deg); }
  50%     { transform: translateX(6px) rotate(0.7deg); }
}
@keyframes lc-leaf-sway-l {
  0%,100% { transform: rotate(0deg) translateY(0); }
  50%     { transform: rotate(2.2deg) translateY(2px); }
}
@keyframes lc-leaf-sway-r {
  0%,100% { transform: scaleX(-1) rotate(0deg) translateY(0); }
  50%     { transform: scaleX(-1) rotate(2.2deg) translateY(2px); }
}

/* ── Layout ─────────────────────────────────────────────── */
.landing-stage {
  position: fixed;
  inset: 0;
  z-index: 100;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(120, 95, 200, 0.22), transparent 55%),
    linear-gradient(180deg, #1f1d3a 0%, #14132a 60%, #100f22 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 4rem 1.5rem 4rem;
  gap: 0;
  overflow-y: auto;
  scroll-behavior: smooth;
  overflow-y: auto;
}

.landing-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: landing-glow-cycle 9s ease-in-out infinite;
}

/* ── Animated logo ──────────────────────────────────────── */
.landing-logo-outer {
  position: relative;
  margin-bottom: 0.4rem;
  animation: logo-float 6s ease-in-out infinite;
}

/* The glow disc sits behind the logo layers */
.landing-logo-glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  animation: landing-glow-cycle 9s ease-in-out infinite;
  opacity: 0.9;
}

.landing-logo-inner {
  position: relative;
  display: inline-block;
}

/* ── Tag + Slogan ────────────────────────────────────────── */
.landing-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.6rem;
}
.landing-greeting {
  font-family: 'Nothing You Could Do', cursive !important;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin: 0 0 0.5rem;
  line-height: 1.1;
  opacity: 0;
  animation: landing-fade-up 0.7s ease-out 0.05s forwards;
}

.landing-headline {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-align: center;
  margin: 0 0 0.7rem;
  line-height: 1.1;
  max-width: 720px;
  opacity: 0;
  animation: landing-fade-up 0.8s ease-out 0.15s forwards;
}

.landing-body {
  font-size: clamp(0.95rem, 1.4vw, 17px);
  color: rgba(255,255,255,0.78);
  text-align: center;
  margin: 0 0 22px;
  max-width: 900px;
  line-height: 1.55;
  opacity: 0;
  animation: landing-fade-up 0.8s ease-out 0.3s forwards;
}
.landing-body-highlight {
  color: #ffffff;
  font-weight: 700;
  font-family: 'Raleway', system-ui, sans-serif;
  letter-spacing: -0.005em;
  font-size: 1.05em;
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(6px) scale(0.96);
  animation: landing-highlight-reveal 1s cubic-bezier(.2,.7,.2,1) 2.6s forwards,
             landing-highlight-pulse 1.4s ease-out 3.6s;
}
@keyframes landing-highlight-reveal {
  0%   { opacity: 0; filter: blur(8px); transform: translateY(6px) scale(0.96); }
  60%  { opacity: 1; filter: blur(0);   transform: translateY(0) scale(1.04); }
  100% { opacity: 1; filter: blur(0);   transform: translateY(0) scale(1); }
}
@keyframes landing-highlight-pulse {
  0%, 100% { text-shadow: 0 0 0 rgba(196,181,253,0); }
  40%      { text-shadow: 0 0 24px rgba(196,181,253,0.55), 0 0 6px rgba(255,255,255,0.4); }
}

.landing-pick-freely {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin: 2.4rem 0 1.2rem;
  position: relative;
  opacity: 0;
  animation: landing-fade-up 0.7s ease-out 0.7s forwards;
}
.landing-pick-freely::before,
.landing-pick-freely::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.25);
  vertical-align: middle;
  margin: 0 18px;
}

.landing-slogan {
  font-size: clamp(0.95rem, 1.55vw, 1.1rem);
  font-style: normal;
  color: rgba(255,255,255,0.72);
  text-align: center;
  margin: 0 0 2.4rem;
  max-width: 620px;
  line-height: 1.55;
  opacity: 0;
  animation: landing-fade-up 0.8s ease-out 0.35s forwards;
}

@keyframes landing-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stagger card entrances (after greeting, headline, body, tour CTA, pick-freely) */
.landing-card:nth-child(1) { animation-delay: 0.85s; }
.landing-card:nth-child(2) { animation-delay: 1.00s; }
.landing-card:nth-child(3) { animation-delay: 1.15s; }
.landing-card:nth-child(4) { animation-delay: 1.30s; }
.landing-slogan strong {
  font-weight: 700;
  color: rgba(255,255,255,0.95);
}

/* ── Splash (3D logo unveiling) ──────────────────────────── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.splash.splash-fade { opacity: 0; }

/* ── Morph cross-fade + blur between styles (legacy fallback) ─ */
.app-shell {
  transition: opacity 0.28s ease, filter 0.28s ease;
}
.app-shell.style-morphing {
  opacity: 0.25;
  filter: blur(6px) saturate(80%);
}
/* Tropical (organic) — slower, warmer, more atmospheric transition */
.app-shell.style-morphing--organic {
  transition: opacity 0.48s ease, filter 0.48s ease;
  opacity: 0.15;
  filter: blur(12px) saturate(110%) sepia(0.18) hue-rotate(10deg);
}

/* ── Page-peel reveal: the OLD style sits on top and slides up off-screen,
   uncovering the new style underneath. Triggered by morphToStyle(). ── */
.style-reveal {
  position: fixed;
  inset: 0;
  z-index: 60;                /* above content, below modal notices (z 2400+) */
  pointer-events: none;
  will-change: transform;
  /* Slower + smoother — gentle ease-in-out so the panel really glides off */
  animation: style-peel-up 1.5s cubic-bezier(.5, 0, .25, 1) forwards;
  /* Soft edge shadow at the bottom — implies depth as the panel lifts away */
  box-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes style-peel-up {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

/* ── Chapter-style title that rides along with the peel ── */
.style-reveal-title {
  text-align: center;
  padding: 0 28px;
  animation: style-reveal-title-fade 1.5s ease-out forwards;
  max-width: 90vw;
}
.style-reveal-title .eyebrow {
  display: block;
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 14px;
}
.style-reveal-title .name {
  display: block;
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: clamp(44px, 9vw, 92px);
  font-weight: 300;            /* thin & elegant */
  letter-spacing: -0.02em;
  line-height: 1;
}
@keyframes style-reveal-title-fade {
  0%   { opacity: 0; transform: translateY(10px) scale(0.96); }
  35%  { opacity: 1; transform: translateY(0) scale(1); }
  70%  { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-8px) scale(0.98); }
}

/* Per-style title color so it reads against each background */
.style-reveal--glass .style-reveal-title { color: #1B3A7A; }
.style-reveal--organic .style-reveal-title { color: #f7eed8; }
.style-reveal--water .style-reveal-title { color: #1B3A7A; }
.style-reveal--editorial .style-reveal-title {
  color: #1a120e;
  font-family: 'Legalitere', 'Playfair Display', 'Fraunces', Georgia, serif !important;
}
.style-reveal--editorial .style-reveal-title .name {
  font-family: 'Legalitere', 'Playfair Display', 'Fraunces', Georgia, serif !important;
  font-weight: 500;
  font-style: italic;
}

/* Per-style background matches each body[data-style] gradient */
.style-reveal--glass {
  background:
    radial-gradient(800px 600px at 18% 12%, rgba(196,181,253,0.7), transparent 60%),
    radial-gradient(700px 500px at 82% 28%, rgba(103,232,249,0.55), transparent 60%),
    radial-gradient(700px 600px at 68% 82%, rgba(134,239,172,0.45), transparent 60%),
    radial-gradient(500px 400px at 18% 88%, rgba(251,191,36,0.35), transparent 60%),
    linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #fce7f3 100%);
}
.style-reveal--organic {
  background:
    radial-gradient(900px 700px at 50% 0%, rgba(247,200,110,0.18), transparent 60%),
    linear-gradient(180deg, #2a1f15 0%, #1d1610 60%, #120c08 100%);
}
.style-reveal--water {
  background:
    radial-gradient(1300px 820px at 50% -12%, #ffffff 0%, transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f3fafb 42%, #e8f4f6 100%);
}
.style-reveal--editorial {
  background:
    linear-gradient(180deg, #faf7f0 0%, #f4ede0 100%);
}

.morph-chip {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 2500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(20, 18, 35, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  color: rgba(255,255,255,0.94);
  cursor: pointer;
  box-shadow: 0 18px 50px -10px rgba(0,0,0,0.45);
  font-family: 'Poppins', system-ui, sans-serif;
  animation: morph-chip-in 0.5s ease-out;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.morph-chip:hover {
  transform: translateX(-50%) translateY(-3px);
  background: rgba(28, 24, 48, 0.88);
  border-color: rgba(255,255,255,0.32);
}
.morph-chip.pulse {
  animation: morph-chip-in 0.5s ease-out, morph-chip-pulse 1.2s ease-out 0.5s;
}
@keyframes morph-chip-in {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes morph-chip-pulse {
  0%, 100% { box-shadow: 0 18px 50px -10px rgba(0,0,0,0.45); }
  50%      { box-shadow: 0 18px 60px -6px rgba(255,255,255,0.18), 0 0 0 6px rgba(255,255,255,0.06); }
}

.morph-chip-swatch {
  width: 24px; height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}
.morph-sw-glass     { background: radial-gradient(circle at 25% 20%, #c4b5fd, #67e8f9 50%, #86efac); }
.morph-sw-organic   { background: linear-gradient(135deg, #f4dcc4 0%, #9eb89c 100%); }
.morph-sw-water     { background: linear-gradient(180deg, #cbe9f3 0%, #2885b5 100%); }
.morph-sw-editorial { background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 55%, #ffffff 55%, #ffffff 100%); box-shadow: inset 0 0 0 1px #1a1a1a; }

.morph-chip-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  gap: 2px;
}
.morph-chip-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}
.morph-chip-action {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.morph-chip-action svg { opacity: 0.8; }

.morph-chip-done .morph-chip-text { align-items: flex-start; }
.morph-chip-done {
  padding-left: 18px;
  border-color: rgba(255,255,255,0.32);
  background: linear-gradient(135deg, rgba(220,58,40,0.92), rgba(140,30,20,0.92));
}
.morph-chip-done:hover {
  background: linear-gradient(135deg, rgba(220,58,40,1), rgba(140,30,20,1));
}

body[dir="rtl"] .morph-chip-action svg { transform: scaleX(-1); }
body[dir="rtl"] .morph-chip-text { align-items: flex-end; }

/* ── Welcome notice — floating toast at top, non-blocking ── */
.welcome-notice-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 8, 25, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px;
  animation: welcome-backdrop-fade 0.45s ease-out;
}
@keyframes welcome-backdrop-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.welcome-notice {
  position: relative;
  width: min(480px, 92vw);
  padding: 30px 32px 28px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(248,250,252,0.94));
  border: 1px solid rgba(167,233,247,0.65);
  box-shadow:
    0 30px 70px -16px rgba(35, 172, 206, 0.45),
    0 4px 18px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #0a0820;
  font-family: 'Poppins', sans-serif;
  animation: welcome-notice-pop 0.55s cubic-bezier(.2,.7,.2,1.2);
}
.welcome-notice-interactive {
  pointer-events: auto;
}
@keyframes welcome-notice-pop {
  0%   { opacity: 0; transform: translateY(20px) scale(0.92); filter: blur(8px); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.02); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0)   scale(1);    filter: blur(0); }
}

.welcome-notice-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #1980a0;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(35, 172, 206, 0.18);
}

.welcome-notice-title {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0a0820;
  margin: 0 0 10px;
}

.welcome-notice-body {
  font-size: 16.5px;
  color: #1a1830;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 12px;
}
.welcome-choose {
  font-weight: 800;
  color: #0a0820;
}
.welcome-bold {
  font-weight: 800;
  color: #1B3A7A;
}

.welcome-notice-signoff {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1980a0;
  margin: 0 0 18px;
}

.welcome-notice-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 999px;
  border: 1.5px solid #23ACCE;
  background: linear-gradient(135deg, #6dd3e0 0%, #23ACCE 50%, #1B3A7A 100%);
  color: #ffffff;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(35, 172, 206, 0.55);
  transition: gap 0.2s, transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.welcome-notice-cta:hover {
  gap: 14px;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -8px rgba(35, 172, 206, 0.75);
  filter: brightness(1.06);
}
body[dir="rtl"] .welcome-notice-cta svg { transform: scaleX(-1); }

/* Live countdown — "Next style in 7s" */
.welcome-notice-countdown {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 24, 48, 0.62);
}
.welcome-countdown-num {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1980a0;
  line-height: 1;
  min-width: 32px;
  text-align: center;
  animation: countdown-tick 1s ease-out infinite;
}
.welcome-countdown-unit {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1980a0;
  text-transform: none;
}
@keyframes countdown-tick {
  0%   { transform: scale(1);    opacity: 1; }
  20%  { transform: scale(1.18); opacity: 1; }
  60%  { transform: scale(1);    opacity: 0.85; }
  100% { transform: scale(1);    opacity: 0.6; }
}

/* ── Demo end notice — Michal's signature closing message ──── */
.demo-end-notice {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 8, 25, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px;
  animation: welcome-notice-fade 0.5s ease-out;
}
@keyframes welcome-notice-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.demo-end-card {
  position: relative;
  max-width: 520px;
  padding: 38px 38px 32px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(248,250,252,0.94));
  border: 1px solid rgba(167,233,247,0.55);
  box-shadow:
    0 36px 80px -18px rgba(35, 172, 206, 0.55),
    0 4px 18px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #0a0820;
  font-family: 'Poppins', sans-serif;
  animation: demo-end-pop 0.7s cubic-bezier(.2,.7,.2,1.2);
}
@keyframes demo-end-pop {
  0%   { opacity: 0; transform: translateY(24px) scale(0.92); filter: blur(10px); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.02); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0)   scale(1); filter: blur(0); }
}
.demo-end-eyebrow {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 500;            /* lighter, more elegant */
  letter-spacing: -0.005em;
  text-transform: none;
  color: #1B3A7A;
  margin: 0 12px 22px;          /* side margins so it breathes */
  line-height: 1.25;
  /* removed white-space:nowrap so it wraps gracefully on narrow viewports */
  animation: demo-end-zoom 0.9s cubic-bezier(.2,.7,.2,1.3) 0.15s both;
  transform-origin: center;
}
@keyframes demo-end-zoom {
  0%   { opacity: 0; transform: scale(0.55); filter: blur(6px); }
  60%  { opacity: 1; transform: scale(1.08); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.demo-end-bold {
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.35em;
  letter-spacing: -0.01em;
  color: #1B3A7A;
}
.demo-end-choose {
  font-weight: 800;
  color: #000000;
  white-space: nowrap;     /* keep "Choose a style" on one line */
}
.demo-end-or {
  font-weight: 800;
  color: #1B3A7A;
  letter-spacing: 0.02em;
}
.demo-end-body {
  font-size: 17px;
  font-weight: 500;
  color: #1a1830;
  line-height: 1.55;
  margin: 0 0 18px;
}
.demo-end-divider {
  display: inline-flex;
  gap: 10px;
  margin: 4px 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(35, 172, 206, 0.08);
}
.demo-end-divider .ltc-dot {
  width: 9px;
  height: 9px;
}
/* Only the brand mention "Claude + imagination" gets the watercolor gradient */
.demo-end-brand {
  font-weight: 800;
  background: linear-gradient(120deg, #6dd3e0 0%, #23ACCE 50%, #1d5a8f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.demo-end-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.demo-end-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid #1a1830;
  background: #1a1830;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 26px -6px rgba(35, 172, 206, 0.45);
  transition: gap 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.demo-end-cta:hover {
  gap: 14px;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -6px rgba(35, 172, 206, 0.65);
}
.demo-end-cta-primary {
  background: linear-gradient(135deg, #6dd3e0 0%, #23ACCE 50%, #1B3A7A 100%);
  border-color: #23ACCE;
  color: #ffffff;
  box-shadow: 0 12px 30px -8px rgba(35, 172, 206, 0.55);
}
.demo-end-cta-primary:hover {
  filter: brightness(1.06);
}
.demo-end-cta-secondary {
  background: transparent;
  border-color: rgba(26, 24, 48, 0.35);
  color: #1a1830;
  box-shadow: none;
}
.demo-end-cta-secondary:hover {
  background: rgba(26, 24, 48, 0.06);
  border-color: rgba(26, 24, 48, 0.6);
  box-shadow: none;
  transform: translateY(-1px);
}
body[dir="rtl"] .demo-end-cta svg { transform: scaleX(-1); }

/* ── Demo chip — shown during the auto-cycle preview ─────── */
.demo-chip {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2300;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 16px;
  border-radius: 999px;
  background: rgba(20, 18, 35, 0.88);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 20px 50px -14px rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.94);
  font-family: 'Poppins', sans-serif;
  animation: demo-chip-in 0.55s cubic-bezier(.2,.7,.2,1);
}
@keyframes demo-chip-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.demo-chip-progress {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.demo-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  opacity: 0.35;
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.25s;
}
.demo-dot.demo-dot-glass     { background: #c4b5fd; }
.demo-dot.demo-dot-organic   { background: #9eb89c; }
.demo-dot.demo-dot-water     { background: #67c9dc; }
.demo-dot.demo-dot-editorial { background: linear-gradient(135deg, #1a1a1a 55%, #ffffff 55%); box-shadow: inset 0 0 0 1px #1a1a1a; }
.demo-dot.seen    { opacity: 1; }
.demo-dot.current { transform: scale(1.4); box-shadow: 0 0 0 2px rgba(255,255,255,0.35); }

.demo-chip-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 4px;
  padding: 0 8px;
  min-width: 160px;
}
.demo-chip-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.demo-chip-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.demo-chip-action {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.demo-chip-tour {
  background: #ffffff;
  color: #1a1830;
}
.demo-chip-tour:hover { transform: translateY(-1px); background: #d8eef6; }
.demo-chip-skip {
  background: transparent;
  color: rgba(255,255,255,0.65);
}
.demo-chip-skip:hover { color: #ffffff; }

@media (max-width: 720px) {
  .demo-chip {
    top: auto;
    bottom: 18px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 14px;
    gap: 10px;
  }
  .demo-chip-text { min-width: 0; }
}

/* ── Tour progress chip (in topbar) ──────────────────────── */
.tour-progress {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 0 4px;
  margin-right: 4px;
}
body[dir="rtl"] .tour-progress { margin-right: 0; margin-left: 4px; }
.tp-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.tp-dot.seen.tp-glass     { background: #c4b5fd; box-shadow: none; }
.tp-dot.seen.tp-organic   { background: #9eb89c; box-shadow: none; }
.tp-dot.seen.tp-water     { background: #67c9dc; box-shadow: none; }
.tp-dot.seen.tp-editorial { background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 55%, #ffffff 55%, #ffffff 100%); box-shadow: inset 0 0 0 1px #1a1a1a; }
.tp-dot.current { transform: scale(1.35); box-shadow: 0 0 0 2px rgba(255,255,255,0.35); }

/* Per-style topbar contrast tweaks */
body[data-style="water"] .tp-dot,
body[data-style="editorial"] .tp-dot {
  background: rgba(0,0,0,0.10);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
body[data-style="water"] .tp-dot.current,
body[data-style="editorial"] .tp-dot.current {
  box-shadow: 0 0 0 2px rgba(0,0,0,0.25);
}

/* ── Tour banner (between Contact and Footer) ────────────── */
.tour-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 36px max(8vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.tour-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tour-banner-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.tour-banner-title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.tour-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, gap 0.25s, transform 0.25s;
}
.tour-banner-cta:hover {
  background: var(--text);
  color: var(--surface);
  gap: 14px;
  transform: translateY(-1px);
}
.tour-banner-swatch {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
body[dir="rtl"] .tour-banner-cta svg { transform: scaleX(-1); }

/* All-seen variant — vermilion-ish CTA */
.tour-banner-done {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
}
.tour-banner-done .tour-banner-cta {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.tour-banner-done .tour-banner-cta:hover {
  filter: brightness(1.08);
}

@media (max-width: 700px) {
  .tour-banner { padding: 28px 24px; }
  .tour-banner-cta { width: 100%; justify-content: center; }
}

/* ── Landing primary tour CTA wrapper + sketchy arrow ────── */
.landing-tour-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tour-arrow {
  position: absolute;
  /* Hang above-left of the button, arcing down-right to point at it */
  left: -180px;
  top: -100px;
  width: 170px;
  height: 110px;
  pointer-events: none;
  opacity: 0;
  animation: arrow-appear 0.5s ease-out 0.9s forwards;
}
.tour-arrow-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* Tint any non-white source asset to white */
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.35));
  /* Reveal-wipe from upper-left to lower-right, as if the arrow is being drawn */
  clip-path: inset(0 100% 0 0);
  animation: tour-arrow-reveal 1.3s cubic-bezier(.55,.05,.2,1) 0.9s forwards;
}

@keyframes tour-arrow-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes arrow-appear {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes arrow-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes arrow-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-4px) rotate(-2deg); }
}

/* RTL — mirror the arrow to the right side of the button */
body[dir="rtl"] .tour-arrow {
  left: auto;
  right: -180px;
  transform: scaleX(-1);
}
body[dir="rtl"] .tour-arrow-label {
  transform: scaleX(-1) rotate(6deg);
  left: auto;
  right: 16px;
}

@media (max-width: 760px) {
  .tour-arrow { display: none; }
}

.landing-tour-primary {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 72px;
  border-radius: 999px;
  border: 2px solid rgba(167,233,247,0.95);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.85));
  color: #1a1830;
  font-family: 'Poppins', system-ui, sans-serif;
  cursor: pointer;
  transition: transform 0.25s, gap 0.25s;
  opacity: 0;
  /* Base neon halo — always on at a moderate intensity */
  box-shadow:
    0 0 5px  rgba(103,232,249,0.55),
    0 0 14px rgba(103,232,249,0.35),
    0 0 32px rgba(63,194,220,0.25),
    inset 0 0 8px rgba(207,250,254,0.40),
    inset 0 1px 0 rgba(255,255,255,0.95);
  animation: landing-fade-up 0.8s ease-out 0.45s forwards;
}
.landing-tour-primary:hover {
  transform: translateY(-2px);
  gap: 20px;
  box-shadow:
    0 22px 70px -10px rgba(140,110,220,0.65),
    inset 0 1px 0 rgba(255,255,255,0.95);
}
.landing-tour-primary-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  gap: 3px;
}
.landing-tour-primary-main {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.landing-tour-primary-hint {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 24, 48, 0.55);
}
.landing-tour-primary svg { color: #1a1830; }

.landing-tour-icon {
  display: inline-flex;
  gap: 5px;
  padding: 4px 5px;
  border-radius: 6px;
  background: rgba(26, 24, 48, 0.06);
}
.ltc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #c4b5fd;                    /* 01 — light purple (Liquid Glass) */
}
.ltc-dot:nth-child(2) { background: #9eb89c; }   /* 02 — sage (Tropical) */
.ltc-dot:nth-child(3) { background: #67c9dc; }   /* 03 — bluish (Bubbles) */
.ltc-dot:nth-child(4) {                          /* 04 — black/white split (Editorial) */
  background: linear-gradient(135deg, #1a1a1a 55%, #ffffff 55%);
  box-shadow: inset 0 0 0 1px #1a1a1a;
}
body[dir="rtl"] .landing-tour-primary svg,
body[dir="rtl"] .landing-tour-primary-text { align-items: flex-end; }
body[dir="rtl"] .landing-tour-primary svg { transform: scaleX(-1); }

/* ── Tour walkthrough — persistent step chip ─────────────── */
.tour-walk {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2400;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: rgba(20, 18, 35, 0.84);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.94);
  font-family: 'Poppins', system-ui, sans-serif;
  opacity: 0;
  animation: tour-walk-in 0.6s cubic-bezier(.2,.7,.2,1) 0s forwards;
}
@keyframes tour-walk-in {
  0%   { opacity: 0; transform: translateX(-50%) translateY(40px) scale(0.92); filter: blur(8px); }
  60%  { opacity: 1; transform: translateX(-50%) translateY(-3px) scale(1.02); filter: blur(0); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0)    scale(1);    filter: blur(0); }
}
.tour-walk-exit {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.tour-walk-exit:hover { background: rgba(255,255,255,0.20); color: #fff; }

.tour-walk-progress {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.twp-step {
  width: 10px; height: 10px;
  border-radius: 50%;
  opacity: 0.35;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.25s;
}
.twp-step.seen { opacity: 1; box-shadow: none; }
.twp-step.current { transform: scale(1.4); opacity: 1; box-shadow: 0 0 0 2px rgba(255,255,255,0.45); }

.tour-walk-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 110px;
}
.tour-walk-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 4px;
}
.tour-walk-title {
  font-size: 14px;
  font-weight: 700;
}

.tour-walk-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.85);
  background: #ffffff;
  color: #1a120e;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, gap 0.2s, transform 0.2s;
}
.tour-walk-cta:hover { gap: 12px; transform: translateY(-1px); }
.tour-walk-cta-done {
  background: linear-gradient(135deg, #1a1a1a, #000000);
  border-color: #1a1a1a;
  color: #fff;
}

body[dir="rtl"] .tour-walk-cta svg { transform: scaleX(-1); }

@media (max-width: 700px) {
  .tour-walk { gap: 10px; padding: 10px 12px; }
  .tour-walk-text { min-width: 0; }
  .tour-walk-eyebrow { display: none; }
}
.splash-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.splash-skip {
  position: absolute;
  bottom: 36px;
  right: 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border: 1.5px solid rgba(167, 233, 247, 0.65);
  border-radius: 999px;
  background: linear-gradient(135deg, #6dd3e0 0%, #23ACCE 50%, #1B3A7A 100%);
  color: #ffffff;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 12px 30px -8px rgba(35, 172, 206, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: gap 0.2s, transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.splash-skip svg {
  width: 16px;
  height: 16px;
}
.splash-skip:hover {
  gap: 16px;
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px -8px rgba(35, 172, 206, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  filter: brightness(1.06);
}
body[dir="rtl"] .splash-skip { right: auto; left: 36px; }
body[dir="rtl"] .splash-skip svg { transform: scaleX(-1); }

/* ── Cards ───────────────────────────────────────────────── */
.landing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  width: 100%;
  max-width: 1320px;
}
.landing-card { flex: 1 1 220px; max-width: 310px; }

.landing-card {
  flex: 1;
  position: relative;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  opacity: 0;
  animation: landing-fade-up 0.9s ease-out forwards;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: transform 0.28s cubic-bezier(.22,.68,0,1.2),
              border-color 0.25s,
              box-shadow 0.25s,
              background 0.25s;
}
.landing-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,0.16);
}
.landing-card[data-pc="glass"]:hover {
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 12px 40px rgba(99,102,241,0.22);
}
.landing-card[data-pc="organic"]:hover {
  border-color: rgba(158,184,156,0.5);
  box-shadow: 0 12px 40px rgba(45,90,50,0.25);
}
.landing-card[data-pc="water"]:hover {
  border-color: rgba(63,194,220,0.5);
  box-shadow: 0 12px 40px rgba(0,153,194,0.25);
}


/* Card scene strip (visual preview) */
.lc-scene-wrap {
  position: relative;
  width: 100%;
  flex-shrink: 0;
}
/* Title overlaid on the image/scene area */
.lc-scene-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  padding: 0 18px 16px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0.55;
  pointer-events: none;
  z-index: 3;
}
body[dir="rtl"] .lc-scene-title {
  justify-content: flex-end;
  text-align: right;
}
.landing-card[data-pc="glass"]     .lc-scene-title { color: #3a1f5c; text-shadow: 0 1px 10px rgba(255,255,255,0.45); }
.landing-card[data-pc="organic"]   .lc-scene-title { color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.45); }
.landing-card[data-pc="water"]     .lc-scene-title { color: #0e4a59; text-shadow: 0 1px 10px rgba(255,255,255,0.6); }
.landing-card[data-pc="editorial"] .lc-scene-title { color: #1a120e; text-shadow: 0 1px 6px rgba(245,239,229,0.6); }
.lc-scene {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.lc-scene-glass {
  background:
    radial-gradient(ellipse 55% 65% at 30% 35%, rgba(232,215,250,0.55), transparent 60%),
    radial-gradient(ellipse 50% 60% at 75% 70%, rgba(184,150,220,0.55), transparent 60%),
    linear-gradient(135deg, #e0cdf0 0%, #c4a7df 45%, #a583c8 100%);
}
.lc-scene-organic {
  background-color: #d6d3cb;   /* cool stone gray */
  background-image:
    /* Soft brightening tint — keeps the box light */
    linear-gradient(180deg, rgba(255,248,230,0.18) 0%, rgba(220,200,165,0.06) 100%),
    /* Concrete grain — more visible now */
    url('assets/concrete-wall.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: lighten, overlay;
  overflow: visible;
}

/* Real leaf photos in the organic landing card */
.lc-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
/* leaf-top.png — hangs from top edge across the card */
.lc-leaf-top {
  top: -8px; left: -5%; width: 110%; height: 104px;
  object-fit: cover; object-position: top center;
  transform-origin: top center;
  animation: lc-leaf-sway-top 7s ease-in-out infinite;
}
/* leaf-side.png — left side */
.lc-leaf-left {
  left: -5%; top: -5%; height: 115%; width: 52%;
  object-fit: cover; object-position: left top;
  transform-origin: top left;
  animation: lc-leaf-sway-l 8s ease-in-out infinite;
}
/* leaf-side.png — right side (mirrored) */
.lc-leaf-right {
  right: -5%; top: -5%; height: 115%; width: 52%;
  object-fit: cover; object-position: left top;
  transform: scaleX(-1);
  transform-origin: top right;
  animation: lc-leaf-sway-r 9s ease-in-out infinite;
}
/* extra corner leaf to cover the gap above-right */
.lc-leaf-corner-tr {
  right: -8%; top: -5%; height: 75%; width: 42%;
  object-fit: cover; object-position: left top;
  transform: scaleX(-1);
  transform-origin: top right;
  animation: lc-leaf-sway-r 11s ease-in-out -2s infinite;
}
.lc-scene-water {
  background: linear-gradient(180deg, #f3fbfc 0%, #dcf0f4 100%);
}

/* Card body */
.lc-body {
  padding: 1.5rem 1.6rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  flex: 1;
}

.lc-name {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.lc-title {
  font-family: 'Nothing You Could Do', cursive !important;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255,255,255,0.98);
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
  padding-bottom: 15px;
}

.lc-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.5;
  flex: 1;
  margin-top: 0.15rem;
}

.lc-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;  /* align to the right edge of the card body */
  gap: 0.3rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-top: auto;      /* push CTA to the bottom of every card body */
  padding: 0.38rem 0.75rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  transition: color 0.25s, gap 0.25s, text-shadow 0.25s, transform 0.25s;
}
body[dir="rtl"] .lc-cta { align-self: flex-start; }
.lc-cta svg {
  width: 9px;
  height: 9px;
  animation: cta-nudge 2s ease-in-out infinite;
}
@keyframes cta-nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}
.landing-card:hover .lc-cta {
  gap: 0.6rem;
  transform: translateY(-1px);
}
.landing-card:hover .lc-cta svg {
  animation-duration: 0.9s;
}

/* Unified CTA — no background, soft blur halo behind text, color varies per style */
.landing-card .lc-cta {
  background: transparent;
}
.landing-card:hover .lc-cta {
  transform: translateY(-1px);
}

/* Per-style text color = each card's scene-area background color */
.landing-card[data-pc="glass"] .lc-cta {
  color: #c4a7df;
  text-shadow:
    -1px -1px 0 rgba(255,255,255,0.25),
    1px 1px 1px rgba(0,0,0,0.45);
}
.landing-card[data-pc="organic"] .lc-cta {
  color: #a08458;
  text-shadow:
    -1px -1px 0 rgba(255,255,255,0.20),
    1px 1px 1px rgba(0,0,0,0.50);
}
.landing-card[data-pc="water"] .lc-cta {
  color: #cbe9f3;
  text-shadow:
    -1px -1px 0 rgba(255,255,255,0.30),
    1px 1px 1px rgba(0,0,0,0.45);
}
.landing-card[data-pc="editorial"] .lc-cta {
  color: #ffffff;
  text-shadow:
    -1px -1px 0 rgba(255,255,255,0.30),
    1px 1px 1px rgba(0,0,0,0.45);
}

/* Footer hint */
.landing-footer-hint {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.05em;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .landing-cards { flex-direction: column; max-width: 360px; }
  .landing-slogan { font-size: 0.95rem; }
  .landing-stage { padding-top: 2rem; }
}

/* ── Landing — scrolling narrative sections ─────────────── */
.landing-section {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5vh 0;
  scroll-snap-align: start;
}
.landing-section.landing-worlds { max-width: 1320px; }

.landing-kicker {
  font-family: 'Poppins', sans-serif !important;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1.4rem;
  position: relative;
  padding-bottom: 14px;
}
.landing-kicker::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.landing-section-title {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 0 0 1.6rem;
  line-height: 1.1;
  max-width: 720px;
}

.landing-headline-em {
  font-style: italic;
  background: linear-gradient(135deg, #c4b5fd 0%, #67e8f9 50%, #86efac 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.landing-lede {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 30px;
  line-height: 1.3;
  max-width: 900px;
}
.landing-lede-em strong {
  font-weight: 700;
  color: #ffffff;
  font-size: 1em;
}

.landing-emphasis {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
  margin: 1.6rem 0 2rem;
  letter-spacing: 0.01em;
}
.landing-emphasis strong {
  font-weight: 700;
  color: #ffffff;
}

/* Coffee invite line + icon */
.landing-coffee {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 500;
  max-width: 560px;
}
.landing-coffee .coffee-icon {
  flex-shrink: 0;
  opacity: 0.95;
  overflow: visible;
}
.landing-coffee .coffee-cup {
  /* keep cup steady */
}
/* Animated steam — each line rises and fades on a staggered loop */
.landing-coffee .coffee-steam {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: coffee-steam-rise 2.2s ease-in-out infinite;
  opacity: 0;
}
.landing-coffee .coffee-steam-1 { animation-delay: 0s; }
.landing-coffee .coffee-steam-2 { animation-delay: 0.35s; }
.landing-coffee .coffee-steam-3 { animation-delay: 0.7s; }
@keyframes coffee-steam-rise {
  0%   { opacity: 0; transform: translateY(0)    scaleY(0.5); }
  30%  { opacity: 1; transform: translateY(-2px) scaleY(1); }
  70%  { opacity: 0.6; transform: translateY(-4px) scaleY(1.1); }
  100% { opacity: 0; transform: translateY(-7px) scaleY(0.4); }
}

/* Welcome statement — "This isn't a typical portfolio. It's a creative experiment." */
.landing-statement {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 1.2rem 0 1.4rem;
  max-width: 900px;
  text-align: center;
}
.landing-statement-em {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(120deg,
    #6dd3e0 0%,
    #3eb8d0 18%,
    #23ACCE 35%,
    #2589b8 55%,
    #1d5a8f 70%,
    #2589b8 85%,
    #3eb8d0 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(35, 172, 206, 0.25));
  animation: sky-shimmer 6s ease-in-out infinite;
}
@keyframes sky-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.landing-body-final { margin-bottom: 0; }

/* Welcome — first section sits at center of viewport */
.landing-welcome {
  min-height: 92vh;
  justify-content: center;
  max-width: 1180px;
}

/* Staggered reveal for the header + intro line */
.landing-welcome > .landing-welcome-title,
.landing-welcome > .landing-intro-line,
.landing-welcome > .landing-tour-wrap {
  opacity: 0;
  animation: welcome-reveal 1s cubic-bezier(.2,.7,.2,1) forwards;
}
.landing-welcome > .landing-welcome-title { animation-delay: 0.15s; }
.landing-welcome > .landing-intro-line    { animation-delay: 0.35s; }
.landing-welcome > .landing-tour-wrap     { animation-delay: 1.40s; }

.landing-intro-line {
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.4rem;
}

/* ── Welcome — 4 numbered cards ──────────────────────────── */
.welcome-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  margin: 0 0 2.6rem;
}
.welcome-card {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  animation: welcome-card-in 0.8s cubic-bezier(.2,.7,.2,1) forwards;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.welcome-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(125,211,236,0.35);
}
.welcome-card-num {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #6dd3e0 0%, #23ACCE 50%, #2589b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.welcome-card-title {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.welcome-card-body {
  font-size: 13.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin: 0;
}

@keyframes welcome-card-in {
  from { opacity: 0; transform: translateY(20px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* Stack 2×2 on narrower desktops, 1 column on mobile */
@media (max-width: 980px) {
  .welcome-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .welcome-cards { grid-template-columns: 1fr; gap: 12px; }
}

/* ── Welcome — slide-by-slide walkthrough ────────────────── */
.walkthrough {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 36px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  animation: welcome-reveal 1s cubic-bezier(.2,.7,.2,1) 0.5s forwards;
}

.walkthrough-counter {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.walkthrough-slide {
  text-align: center;
  padding: 28px 12px 36px;
  animation: walkthrough-slide-in 0.55s cubic-bezier(.2,.7,.2,1);
}
@keyframes walkthrough-slide-in {
  0%   { opacity: 0; transform: translateY(14px); filter: blur(8px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.walkthrough-num {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: clamp(58px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #6dd3e0 0%, #23ACCE 50%, #2589b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(35, 172, 206, 0.25));
}

.walkthrough-title {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.walkthrough-body {
  font-size: clamp(0.98rem, 1.55vw, 1.05rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 520px;
}
.walkthrough-why {
  font-weight: 800;
  color: #ffffff;
}

/* Icon below the body — currently used for the coffee invitation on step 04 */
.walkthrough-icon {
  margin: 18px auto 0;
  color: #ffffff;
  display: inline-flex;
  opacity: 0.95;
}
.walkthrough-icon svg { overflow: visible; }
.walkthrough-icon .coffee-steam {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: coffee-steam-rise 2.2s ease-in-out infinite;
  opacity: 0;
}
.walkthrough-icon .coffee-steam-1 { animation-delay: 0s; }
.walkthrough-icon .coffee-steam-2 { animation-delay: 0.35s; }
.walkthrough-icon .coffee-steam-3 { animation-delay: 0.7s; }

.walkthrough-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
}

.walkthrough-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  background: transparent;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, opacity 0.2s;
  flex-shrink: 0;
}
.walkthrough-arrow:hover:not(:disabled) {
  background: rgba(255,255,255,0.10);
  border-color: rgba(125, 211, 236, 0.85);
  color: #ffffff;
  transform: translateY(-1px);
}
.walkthrough-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.walkthrough-dots {
  display: inline-flex;
  gap: 10px;
}
.walkthrough-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.20);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.walkthrough-dot.seen { background: rgba(125, 211, 236, 0.65); }
.walkthrough-dot.active {
  background: #23ACCE;
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(35, 172, 206, 0.20);
}

.walkthrough-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(167,233,247,0.95);
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.82));
  color: #1a1830;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: gap 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 18px -4px rgba(35, 172, 206, 0.35);
}
.walkthrough-next:hover {
  gap: 12px;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -6px rgba(35, 172, 206, 0.55);
}
.walkthrough-finish {
  padding: 14px 30px;
  font-size: 14px;
  box-shadow:
    0 0 18px rgba(103,232,249,0.55),
    0 0 50px rgba(35, 172, 206, 0.40);
  animation: walkthrough-finish-pulse 2.2s ease-in-out infinite alternate;
}
@keyframes walkthrough-finish-pulse {
  from { box-shadow: 0 0 16px rgba(103,232,249,0.45), 0 0 40px rgba(35,172,206,0.30); }
  to   { box-shadow: 0 0 24px rgba(103,232,249,0.85), 0 0 70px rgba(35,172,206,0.55); }
}

body[dir="rtl"] .walkthrough-arrow svg,
body[dir="rtl"] .walkthrough-next svg { transform: scaleX(-1); }

@media (max-width: 640px) {
  .walkthrough { padding: 26px 20px 22px; }
  .walkthrough-controls { gap: 8px; }
  .walkthrough-next { padding: 10px 16px; font-size: 12px; }
}

@keyframes welcome-reveal {
  0% {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.landing-welcome-title {
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: center;
  margin: 0 0 1.3rem;
  line-height: 1.15;
  max-width: 920px;
  opacity: 0;
  animation: landing-fade-up 0.9s ease-out 0.1s forwards;
}

/* Scroll hint at the bottom of the welcome section */
.landing-scroll-hint {
  margin-top: 3rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  animation: scroll-hint-bob 2.4s ease-in-out infinite;
}
.landing-scroll-hint svg { opacity: 0.75; }
@keyframes scroll-hint-bob {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* Why Four Versions — moderate breathing room */
.landing-why { padding: 5vh 0; }

/* Animated down arrow between sections */
.landing-down-arrow {
  display: inline-flex;
  color: rgba(255,255,255,0.55);
  margin: 1rem 0 2rem;
  animation: landing-down-bob 2.2s ease-in-out infinite;
}
@keyframes landing-down-bob {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%      { transform: translateY(10px); opacity: 1; }
}

/* Final message — quiet finale */
.landing-final {
  padding: 5vh 0 4vh;
}
.landing-final .landing-body {
  line-height: 1.3;
}
.landing-final .landing-body.landing-body-final {
  margin-bottom: 0;
}
.landing-final-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2rem;
  line-height: 1.2;
}
.landing-final-stack-em {
  font-style: italic;
  background: linear-gradient(135deg, #c4b5fd 0%, #67e8f9 50%, #86efac 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

/* ── Global font override — Poppins everywhere ───────────── */
body,
body * {
  font-family: 'Poppins', system-ui, sans-serif !important;
}

/* Editorial style — Legalitere for big display titles, Playfair for the rest */
body[data-style="editorial"] .h-display,
body[data-style="editorial"] .h-section,
body[data-style="editorial"] .h-display em,
body[data-style="editorial"] .h-section em,
body[data-style="editorial"] .about-story-block:first-of-type p::first-letter {
  font-family: 'Legalitere', 'Playfair Display', 'Fraunces', Georgia, serif !important;
}

/* Bubbles (water) style — Bobba Boots for big display titles */
body[data-style="water"] .h-display,
body[data-style="water"] .h-section,
body[data-style="water"] .h-display em,
body[data-style="water"] .h-section em {
  font-family: 'Bobba Boots', 'Poppins', system-ui, sans-serif !important;
}
body[data-style="editorial"] .service-card h3,
body[data-style="editorial"] .about-story-block h4,
body[data-style="editorial"] .work h4,
body[data-style="editorial"] .work-feature-title,
body[data-style="editorial"] .testimonial,
body[data-style="editorial"] .testimonial .t-text {
  font-family: 'Playfair Display', 'Fraunces', Georgia, serif !important;
}
body[data-style="editorial"] .lede {
  font-family: 'IM Fell English', 'Crimson Pro', Georgia, serif !important;
}
