/* =========================================================
   MIBC — Affordable WooCommerce Website Design
   Modern & Bold rebuild — warm brand palette
   Palette: #ffffff #1c130a #f4772b #f27b33 #5e4022 #7a5730
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --bg:            #1c130a;
  --bg-2:          #241811;
  --bg-3:          #33231a;
  --surface:       rgba(255, 255, 255, 0.04);
  --surface-2:     rgba(255, 255, 255, 0.06);
  --border:        rgba(122, 87, 48, 0.34);
  --border-strong: rgba(244, 119, 43, 0.40);

  /* Brand (names kept for compatibility; values are the warm palette) */
  --violet:        #f4772b;
  --violet-bright: #f89a5e;
  --indigo:        #b5521a;
  --fuchsia:       #f27b33;
  --pink:          #e2600f;
  --gold:          #f9a75f;
  --gold-deep:     #f4772b;
  --mint:          #f4772b;
  --brown:         #5e4022;
  --brown-2:       #7a5730;

  /* Text */
  --text:          #fdf6ee;
  --muted:         #cbb6a3;
  --muted-2:       #9c8069;

  /* Gradients */
  --grad-brand:    linear-gradient(115deg, #f9a75f 0%, #f4772b 55%, #e2600f 100%);
  --grad-gold:     linear-gradient(120deg, #ffdca8 0%, #f89a5e 45%, #f4772b 100%);
  --grad-cta:      linear-gradient(120deg, #f89a5e 0%, #ef6a1c 100%);
  --grad-surface:  linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));

  /* Type */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-lg: 0 40px 80px -30px rgba(0,0,0,0.78);
  --shadow-glow: 0 0 60px -12px rgba(244, 119, 43, 0.45);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--orange, #f4772b); color: #1c130a; }

/* ---------- Ambient page background ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.bg-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
  animation: float 22s ease-in-out infinite;
}
.bg-orbs span:nth-child(1){ width:560px;height:560px;left:-160px;top:-120px;background:radial-gradient(circle,#f4772b,transparent 68%);}
.bg-orbs span:nth-child(2){ width:620px;height:620px;right:-200px;top:16%;background:radial-gradient(circle,#b5521a,transparent 66%);animation-delay:-7s;}
.bg-orbs span:nth-child(3){ width:520px;height:520px;left:8%;bottom:-160px;background:radial-gradient(circle,#5e4022,transparent 68%);animation-delay:-13s;}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(122,87,48,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,87,48,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 78%);
}
@keyframes float {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(30px,-40px,0) scale(1.08); }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-bright);
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: var(--surface);
  backdrop-filter: blur(6px);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fuchsia);
  box-shadow: 0 0 12px var(--fuchsia);
}

.section-head { max-width: 720px; margin-bottom: 58px; }
.section-head.center { margin-inline: auto; text-align: center; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }

.h-display {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h2.title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: var(--pad-y) 28px;
  border-radius: 100px;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad-cta);
  color: #1c130a;
  box-shadow: 0 14px 34px -12px rgba(239, 106, 28, 0.62);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -12px rgba(239, 106, 28, 0.8); }
.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,0.1); border-color: var(--violet-bright); }
.btn-violet {
  background: var(--grad-brand);
  color: #1c130a;
  box-shadow: 0 14px 34px -12px rgba(242, 123, 51, 0.55);
}
.btn-violet:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -12px rgba(242, 123, 51, 0.72); }
.btn-lg { --pad-y: 18px; padding-inline: 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Promo bar ---------- */
.promo {
  background: var(--grad-cta);
  color: #1c130a;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  padding: 9px 16px;
  position: relative;
  z-index: 60;
}
.promo b { font-weight: 700; }
.promo .spark { display: inline-block; animation: spark 2.4s ease-in-out infinite; }
@keyframes spark { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.25);opacity:.7;} }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  transition: box-shadow .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid rgba(28, 19, 10, 0.08);
}
.header.scrolled {
  background: #ffffff;
  border-bottom-color: rgba(28, 19, 10, 0.10);
  box-shadow: 0 8px 28px -14px rgba(28, 19, 10, 0.35);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 58px; width: auto; }
.brand .brand-fallback {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.95rem;
  color: #4a3320;
  font-weight: 600;
  position: relative;
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: var(--grad-brand);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--violet); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #1c130a; border-radius: 2px; transition: .3s; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 360px);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-left: 1px solid var(--border);
  z-index: 70;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  padding: 90px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 22px; }
.menu-close { position: absolute; top: 24px; right: 24px; font-size: 1.8rem; line-height: 1; color: var(--muted); }
.backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  backdrop-filter: blur(3px); z-index: 65; opacity: 0; visibility: hidden; transition: .3s;
}
.backdrop.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(60px, 8vw, 100px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.86rem; font-weight: 600;
  padding: 9px 15px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--mint); }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust img { height: 42px; opacity: .95; border-radius: 8px; }
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.hero-trust small { color: var(--muted-2); font-size: .82rem; display: block; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  border-radius: 28px;
  padding: 12px;
  background: var(--grad-surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
}
.hero-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(244,119,43,.30), transparent 30%);
  animation: spin 8s linear infinite;
  z-index: 0;
}
.hero-frame img, .hero-frame video {
  position: relative; z-index: 1;
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-3);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-float {
  position: absolute;
  background: rgba(38, 25, 14, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: bob 5s ease-in-out infinite;
}
.hero-float .k { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.hero-float .l { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.hero-float.one { left: -22px; top: 22%; animation-delay: -1s; }
.hero-float.two { right: -18px; bottom: 16%; animation-delay: -3s; }
@keyframes bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }

/* ---------- Logo marquee ---------- */
.marquee-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee { display: flex; width: max-content; gap: 64px; animation: marquee 34s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee img { height: 40px; width: auto; opacity: .62; filter: grayscale(1) brightness(1.7); transition: .3s; }
.marquee img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.trust-label { text-align: center; color: var(--muted-2); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 30px; font-weight: 600; }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  padding: 30px 24px;
  border-radius: var(--radius);
  background: var(--grad-surface);
  border: 1px solid var(--border);
  text-align: center;
}
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem,4vw,3rem); line-height: 1; }
.stat .lbl { color: var(--muted); font-size: .92rem; margin-top: 10px; }

/* ---------- Portfolio columns ---------- */
.portfolio-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  height: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.pf-col { display: flex; flex-direction: column; gap: 18px; animation: scrollUp 34s linear infinite; }
.pf-col.down { animation-direction: reverse; }
.pf-col:hover { animation-play-state: paused; }
.pf-col img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 5;
  object-fit: cover;
  background: var(--bg-3);
}
@keyframes scrollUp { to { transform: translateY(-50%); } }
.pf-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.pf-tag {
  font-size: .84rem; font-weight: 600; color: var(--muted);
  padding: 8px 16px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
}

/* ---------- Cards / features grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(244,119,43,0.16), transparent 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.card:hover::after { opacity: 1; }
.card .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  color: var(--violet-bright);
  font-size: 26px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }

/* Two-column media rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--grad-surface);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split-media img, .split-media video { width: 100%; display: block; }
.feature-list { display: grid; gap: 14px; margin-top: 26px; }
.feature-list li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 1rem; color: var(--text);
}
.feature-list .tick {
  flex: none;
  width: 26px; height: 26px; margin-top: 1px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(244, 119, 43, 0.16);
  color: var(--orange, #f4772b);
}
.feature-list .tick svg { width: 15px; height: 15px; }

/* ---------- Case studies ---------- */
.case {
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.case:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.case-media { background: var(--bg-3); position: relative; overflow: hidden; }
.case-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case-media img { transform: scale(1.05); }
.case-body { padding: 26px 28px 30px; }
.case-tag { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fuchsia); font-weight: 700; }
.case-body h3 { font-size: 1.35rem; margin: 8px 0 12px; }
.case-body p { color: var(--muted); font-size: .95rem; }
.case-body .result { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: .9rem; color: var(--muted); }
.case-body .result b { color: var(--mint); display:block; font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:6px; font-family:var(--font-display); }

/* ---------- Steps / eligibility ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--grad-surface);
  border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
}
.step:hover { border-color: var(--border-strong); transform: translateX(6px); }
.step .n {
  counter-increment: step;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #1c130a;
}
.step .n::before { content: counter(step); }
.step h4 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 32px;
  padding: clamp(44px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(900px circle at 12% 0%, rgba(244,119,43,.32), transparent 55%),
    radial-gradient(800px circle at 100% 100%, rgba(122,87,48,.55), transparent 55%),
    linear-gradient(160deg, #2a1a0e, #170f07);
  text-align: center;
}
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 18px; }
.cta-band p { color: var(--muted); max-width: 620px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.price-flag {
  display: inline-flex; align-items: baseline; gap: 10px;
  margin-bottom: 22px;
  font-family: var(--font-display);
}
.price-flag .from { color: var(--muted); font-size: .95rem; }
.price-flag .amt { font-size: clamp(2.6rem,5vw,3.6rem); font-weight: 700; }
.price-flag .note { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq-item.open { border-color: var(--border-strong); background: var(--surface-2); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  text-align: left;
  color: var(--text);
}
.faq-q .ic { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-strong); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--grad-brand); border-color: transparent; color: #1c130a; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: .97rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-info .row { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .ci-ico {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--violet-bright);
}
.contact-info .ci-ico svg { width: 22px; height: 22px; }
.contact-info h4 { font-size: 1rem; margin-bottom: 3px; }
.contact-info p, .contact-info a { color: var(--muted); font-size: .96rem; }
.contact-info a:hover { color: var(--violet-bright); }

.form {
  background: var(--grad-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0,0,0,0.28);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: .98rem;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(244,119,43,.2);
}
.field select option { background: var(--bg-2); }
.form-note { font-size: .82rem; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  padding: 16px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(244,119,43,.12); border: 1px solid rgba(244,119,43,.4);
  color: var(--violet-bright); font-size: .92rem;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  padding: 16px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(220,60,60,.14); border: 1px solid rgba(220,60,60,.45);
  color: #ffb4b4; font-size: .92rem;
}
.form-error.show { display: block; }
.form-error a { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 36px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .brand img { height: 42px; }
.footer p { color: var(--muted); font-size: .93rem; margin-top: 16px; max-width: 320px; }
.footer h5 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer ul a { color: var(--muted); font-size: .93rem; transition: color .2s; }
.footer ul a:hover { color: var(--violet-bright); }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); transition: .25s; }
.socials a:hover { color: #fff; border-color: var(--violet); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .85rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 80; background: var(--grad-brand); transition: width .1s linear; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-cols { grid-template-columns: repeat(4, 1fr); height: 480px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .portfolio-cols { grid-template-columns: repeat(3, 1fr); height: 420px; }
  .hero-float { display: none; }
  body { font-size: 16px; }
}
@media (max-width: 520px) {
  .container { padding-inline: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-cols { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee, .pf-col { animation: none !important; }
}

/* =========================================================
   CINEMATIC HERO (device mockup + wordmark + toast cards)
   ========================================================= */
.hero-cine { position: relative; padding: clamp(40px,6vw,84px) 0 clamp(60px,8vw,110px); overflow: hidden; }
.hero-cine-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(680px circle at 78% 34%, rgba(244,119,43,0.30), transparent 60%),
    radial-gradient(560px circle at 92% 78%, rgba(122,87,48,0.40), transparent 62%),
    linear-gradient(160deg, #241811 0%, #1c130a 48%, #150d05 100%);
}
.hero-cine-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(122,87,48,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,87,48,0.10) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 75% 45%, #000 20%, transparent 75%);
}
.hero-cine .container { position: relative; z-index: 2; }
.hero-cine-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px,4vw,56px); align-items: center;
}

/* Stage: wordmark behind, phone in front, toasts overlapping */
.hero-stage {
  position: relative;
  min-height: 620px;
  display: grid; place-items: center;
}
.wordmark {
  position: absolute; z-index: 0;
  top: 50%; left: 50%; transform: translate(-46%, -52%);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(7rem, 17vw, 15rem);
  letter-spacing: -0.04em; line-height: 0.8;
  color: rgba(255,255,255,0.03);
  -webkit-text-stroke: 1.5px rgba(244,119,43,0.28);
  user-select: none; white-space: nowrap;
}

/* Phone */
.phone {
  position: relative; z-index: 2;
  width: clamp(248px, 27vw, 300px);
  aspect-ratio: 300 / 620;
  border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #2a1c10, #120c06);
  border: 1px solid var(--border-strong);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.85), 0 0 70px -20px rgba(244,119,43,0.4);
  animation: bob 6s ease-in-out infinite;
}
.phone-notch {
  position: absolute; z-index: 4; top: 20px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 26px; border-radius: 16px; background: #0c0804;
}
.phone-screen {
  height: 100%; border-radius: 36px; overflow: hidden;
  background: #fdf7f1; color: #1c130a;
  display: flex; flex-direction: column;
  font-family: var(--font-body);
}

/* Store UI inside phone */
.ps-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px 4px; font-size: 11px; font-weight: 700; color: #1c130a; }
.ps-dots { display: inline-flex; gap: 3px; }
.ps-dots i { width: 5px; height: 5px; border-radius: 50%; background: #1c130a; opacity: .8; }
.ps-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 10px; }
.ps-brand { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.ps-brand b { color: var(--brand, #f4772b); }
.ps-burger { display: inline-grid; gap: 3px; }
.ps-burger span { width: 16px; height: 2px; background: #1c130a; border-radius: 2px; }
.ps-cart { position: relative; font-size: 15px; }
.ps-badge { position: absolute; top: -6px; right: -7px; background: #f4772b; color: #fff; font-size: 9px; font-weight: 700; font-style: normal; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; }
.ps-search { margin: 0 18px 12px; padding: 9px 14px; border-radius: 100px; background: #efe4d9; color: #9c8069; font-size: 11.5px; }
.ps-hero { position: relative; margin: 0 18px; border-radius: 18px; overflow: hidden; aspect-ratio: 1/1; background: linear-gradient(160deg,#f0e6db,#e4d5c6); }
.ps-hero img { width: 100%; height: 100%; object-fit: cover; }
.ps-tag { position: absolute; top: 10px; left: 10px; background: #1c130a; color: #fdf7f1; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 100px; letter-spacing: .04em; }
.ps-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin: 13px 18px 4px; }
.ps-rating { display: flex; align-items: center; gap: 6px; margin: 0 18px 8px; }
.ps-stars { color: #f4772b; font-size: 12px; letter-spacing: 1px; }
.ps-rating small { color: #9c8069; font-size: 11px; }
.ps-price { display: flex; align-items: baseline; gap: 8px; margin: 0 18px 12px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #1c130a; }
.ps-price s { font-size: 12px; font-weight: 500; color: #b7a794; }
.ps-swatches { display: flex; gap: 8px; margin: 0 18px 14px; }
.ps-swatches i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.ps-add { margin: 0 18px; padding: 12px; border-radius: 14px; background: var(--grad-cta); color: #1c130a; font-family: var(--font-display); font-weight: 700; font-size: 13px; text-align: center; box-shadow: 0 10px 22px -10px rgba(239,106,28,0.7); }

/* Toast cards */
.toast {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(30,20,11,0.82); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7);
  animation: bob 5s ease-in-out infinite;
}
.toast-ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; font-size: 17px; }
.toast-ico.o { background: rgba(244,119,43,0.18); }
.toast-ico.g { background: rgba(52,211,153,0.16); }
.toast-t { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text); line-height: 1.1; }
.toast-s { font-size: 11px; color: var(--muted); margin-top: 3px; }
.toast-a { top: 12%; left: -6%; animation-delay: -1.2s; }
.toast-b { bottom: 14%; right: -8%; animation-delay: -3s; }

@media (max-width: 1024px) {
  .hero-cine-grid { grid-template-columns: 1fr; }
  .hero-stage { order: -1; min-height: 560px; margin-bottom: 8px; }
  .hero-cine-bg::after { -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 40%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 80% 55% at 50% 40%, #000 20%, transparent 78%); }
}
@media (max-width: 520px) {
  .wordmark { font-size: clamp(5rem, 26vw, 8rem); transform: translate(-50%, -54%); }
  .toast { padding: 10px 13px 10px 10px; }
  .toast-a { left: -2%; top: 6%; }
  .toast-b { right: -2%; bottom: 8%; }
  .toast-s { display: none; }
  .hero-stage { min-height: 500px; }
}

/* =========================================================
   CINEMATIC TAKEOVER HERO  (GSAP scroll-scrub, warm palette)
   ========================================================= */
.cine {
  position: relative; width: 100%; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--text); perspective: 1500px;
}
/* Reveal elements are hidden only once GSAP is active (graceful fallback) */
body.gsap-on .cine .gsap-reveal { visibility: hidden; }

.cine-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 50;
  opacity: 0.05; mix-blend-mode: overlay;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
}
.cine-gridbg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(253,246,238,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(253,246,238,0.05) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}

/* Background layer 1: hero taglines */
.cine-herotext {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 16px; will-change: transform;
}
.cine-t1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -0.02em; margin-bottom: 8px;
  color: var(--text);
  text-shadow: 0 10px 30px rgba(253,246,238,0.2), 0 2px 4px rgba(253,246,238,0.1);
}
.cine-t2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fdf6ee 0%, rgba(253,246,238,0.4) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Background layer 2: CTA (revealed late) */
.cine-cta {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 16px; opacity: 0; will-change: transform;
}
.cine-cta h2 {
  font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 700; margin-bottom: 22px;
  background: linear-gradient(180deg, #fdf6ee, rgba(253,246,238,.5));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cine-cta p { color: var(--muted); font-size: clamp(1rem,1.5vw,1.25rem); max-width: 36rem; margin: 0 auto 40px; }
.cine-cta-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Foreground: the premium card */
.cine-cardlayer {
  position: absolute; inset: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; perspective: 1500px;
}
.cine-card {
  position: relative; overflow: hidden; pointer-events: auto;
  display: flex; align-items: center; justify-content: center;
  width: 85vw; height: 85vh; border-radius: 40px;
  background: linear-gradient(145deg, #3d2713 0%, #150d06 100%);
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,.9),
    0 20px 40px -20px rgba(0,0,0,.8),
    inset 0 1px 2px rgba(255,255,255,.14),
    inset 0 -2px 4px rgba(0,0,0,.8);
  border: 1px solid rgba(244,119,43,.16);
}
.cine-sheen {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 50;
  background: radial-gradient(800px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(255,255,255,.06) 0%, transparent 40%);
  mix-blend-mode: screen;
}
.cine-inner {
  position: relative; width: 100%; height: 100%; max-width: 80rem; margin: 0 auto;
  padding: 24px 16px; z-index: 10;
  display: flex; flex-direction: column; justify-content: space-evenly; align-items: center;
}
@media (min-width: 1024px) {
  .cine-inner { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; padding: 0 48px; align-items: center; }
}

/* Brand wordmark (right on desktop / top on mobile) */
.cine-right { order: 1; display: flex; justify-content: center; z-index: 20; width: 100%; }
@media (min-width: 1024px) { .cine-right { order: 3; justify-content: flex-end; } }
.cine-right h2 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.04em; font-size: clamp(3.5rem, 10vw, 8rem);
  background: linear-gradient(180deg, #ffffff 0%, #c8a582 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.8)) drop-shadow(0 4px 8px rgba(0,0,0,.6));
}

/* Heading + description (left on desktop / bottom on mobile) */
.cine-left { order: 3; display: flex; flex-direction: column; justify-content: center; text-align: center; z-index: 20; width: 100%; padding: 0 16px; }
@media (min-width: 1024px) { .cine-left { order: 1; text-align: left; padding: 0; } }
.cine-left h3 { color: #fff; font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 1024px) { .cine-left h3 { margin-bottom: 20px; } }
.cine-left p { color: rgba(253,246,238,.72); font-size: clamp(.9rem,1.2vw,1.1rem); line-height: 1.6; max-width: 24rem; margin: 0 auto; }
@media (min-width: 1024px) { .cine-left p { margin: 0; max-width: none; } }
@media (max-width: 767px) { .cine-left p { display: none; } }

/* Phone mockup */
.cine-mockup { order: 2; position: relative; width: 100%; height: 380px; display: flex; align-items: center; justify-content: center; z-index: 10; perspective: 1000px; }
@media (min-width: 1024px) { .cine-mockup { height: 600px; } }
.cine-mockup-scale { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transform: scale(.62); }
@media (min-width: 768px) { .cine-mockup-scale { transform: scale(.85); } }
@media (min-width: 1024px) { .cine-mockup-scale { transform: scale(1); } }

.cine-phone {
  position: relative; width: 280px; height: 580px; border-radius: 3rem; background: #111;
  box-shadow: inset 0 0 0 2px #52525B, inset 0 0 0 7px #000, 0 40px 80px -15px rgba(0,0,0,.9), 0 15px 25px -5px rgba(0,0,0,.7);
  transform-style: preserve-3d; will-change: transform;
}
.cine-hw { position: absolute; background: linear-gradient(90deg,#404040,#171717); box-shadow: -2px 0 5px rgba(0,0,0,.8), inset -1px 0 1px rgba(255,255,255,.15), inset 1px 0 2px rgba(0,0,0,.8); z-index: 0; }
.cine-hw.a { top: 120px; left: -3px; width: 3px; height: 25px; border-radius: 3px 0 0 3px; }
.cine-hw.b { top: 160px; left: -3px; width: 3px; height: 45px; border-radius: 3px 0 0 3px; }
.cine-hw.c { top: 220px; left: -3px; width: 3px; height: 45px; border-radius: 3px 0 0 3px; }
.cine-hw.d { top: 170px; right: -3px; width: 3px; height: 70px; border-radius: 0 3px 3px 0; }
.cine-screen { position: absolute; inset: 7px; background: #fdf7f1; border-radius: 2.5rem; overflow: hidden; z-index: 10; color: #1c130a; }
.cine-glare { position: absolute; inset: 0; z-index: 40; pointer-events: none; background: linear-gradient(110deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 45%); }
.cine-island { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 100px; height: 28px; background: #000; border-radius: 9999px; z-index: 50; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; }
.cine-island i { width: 6px; height: 6px; border-radius: 50%; background: #f4772b; box-shadow: 0 0 8px rgba(244,119,43,.8); animation: spark 2s ease-in-out infinite; }

/* Store screen content */
.cine-store { position: relative; height: 100%; padding: 42px 16px 14px; display: flex; flex-direction: column; }
.cs-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cs-brand { font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.cs-brand b { color: #f4772b; }
.cs-burger { display: inline-grid; gap: 3px; }
.cs-burger span { width: 15px; height: 2px; background: #1c130a; border-radius: 2px; }
.cs-cart { position: relative; font-size: 15px; }
.cs-cart i { position: absolute; top: -6px; right: -7px; width: 15px; height: 15px; border-radius: 50%; background: #f4772b; color: #fff; font-size: 9px; font-style: normal; font-weight: 700; display: grid; place-items: center; }
.cs-search { padding: 8px 13px; border-radius: 100px; background: #efe4d9; color: #9c8069; font-size: 11px; margin-bottom: 12px; }
.cs-hero { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1/1; background: linear-gradient(160deg,#f0e6db,#e4d5c6); }
.cs-hero img { width: 100%; height: 100%; object-fit: cover; }
.cs-tag { position: absolute; top: 9px; left: 9px; background: #1c130a; color: #fdf7f1; font-size: 9px; font-weight: 700; padding: 4px 10px; border-radius: 100px; letter-spacing: .04em; }
.cs-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin: 12px 0 4px; }
.cs-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.cs-stars { color: #f4772b; font-size: 11px; letter-spacing: 1px; }
.cs-rating small { color: #9c8069; font-size: 10px; }
.cs-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cs-price { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #1c130a; }
.cs-price s { font-size: 11px; font-weight: 500; color: #b7a794; margin-left: 6px; }
.cs-swatches { display: flex; gap: 6px; }
.cs-swatches i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.cs-add { margin-top: 12px; padding: 11px; border-radius: 13px; background: var(--grad-cta); color: #1c130a; font-family: var(--font-display); font-weight: 700; font-size: 13px; text-align: center; box-shadow: 0 10px 22px -10px rgba(239,106,28,.7); }

/* Floating glass badges */
.cine-badge {
  position: absolute; z-index: 30; display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.01) 100%);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 25px 50px -12px rgba(0,0,0,.8), inset 0 1px 1px rgba(255,255,255,.2), inset 0 -1px 1px rgba(0,0,0,.5);
}
.cine-badge .bi { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 18px; border: 1px solid; }
.cine-badge .bi.o { background: linear-gradient(180deg, rgba(244,119,43,.2), rgba(180,80,20,.1)); border-color: rgba(244,119,43,.35); }
.cine-badge .bi.g { background: linear-gradient(180deg, rgba(52,211,153,.2), rgba(16,120,90,.1)); border-color: rgba(52,211,153,.35); }
.cine-badge .bt { color: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 700; line-height: 1.1; }
.cine-badge .bs { color: rgba(253,246,238,.55); font-size: 11px; margin-top: 3px; }
.cine-badge.a { top: 8%; left: -15px; }
.cine-badge.b { bottom: 12%; right: -15px; }
@media (min-width: 1024px) { .cine-badge.a { left: -80px; } .cine-badge.b { right: -80px; } }

/* =========================================================
   CINEMATIC SCENE  — white card on orange (e-commerce hero)
   Overrides the dark card with a bright product scene.
   ========================================================= */
.cine { background: linear-gradient(155deg, #f6832f 0%, #ec6a1a 55%, #d85f14 100%); }
.cine-gridbg {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.12) 1px, transparent 1px);
}
/* Hero taglines + CTA sit on orange now */
.cine-t1 { color: #fff; text-shadow: 0 10px 30px rgba(120,50,10,.35), 0 2px 4px rgba(120,50,10,.25); }
.cine-t2 { background-image: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,.62) 100%); }
.cine-cta h2 { background-image: linear-gradient(180deg, #ffffff, rgba(255,255,255,.7)); }
.cine-cta p { color: rgba(255,255,255,.92); }
.cine-cta-btns .btn-primary { background: #fff; color: #b1490c; box-shadow: 0 14px 34px -12px rgba(120,50,10,.5); }
.cine-cta-btns .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.12); }

/* The card is now white */
.cine-card {
  background: #ffffff;
  border: 1px solid rgba(28,19,10,.06);
  box-shadow: 0 60px 120px -30px rgba(120,50,10,.55), inset 0 1px 2px rgba(255,255,255,.6);
  color: #1c130a;
}
.cine-sheen { background: radial-gradient(700px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(244,119,43,.10) 0%, transparent 45%); mix-blend-mode: normal; }

/* Scene layout */
.cine-inner.scene { max-width: 88rem; }
@media (min-width: 1024px) {
  .cine-inner.scene { grid-template-columns: 0.82fr 1.25fr 0.95fr; gap: 12px; }
}

/* ---- LEFT: phone store + bag + new order ---- */
.scene-left { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; order: 2; }
@media (min-width: 1024px) { .scene-left { order: 1; } }
.scene-phone-wrap { position: relative; transform: scale(.66); }
.scene-bag {
  position: absolute; right: 2%; bottom: 20%; width: 60px; height: 68px;
  background: linear-gradient(160deg, #f4802f, #d85f14); border-radius: 3px 3px 7px 7px;
  box-shadow: 0 20px 34px -12px rgba(200,80,20,.55), inset 0 2px 3px rgba(255,255,255,.25); z-index: 4;
}
.scene-bag::before {
  content: ""; position: absolute; top: -12px; left: 12px; right: 12px; height: 20px;
  border: 3px solid #cf590f; border-bottom: none; border-radius: 20px 20px 0 0;
}
.scene-neworder {
  position: absolute; bottom: 14%; left: -6%; z-index: 5;
}

/* ---- Floating shirt "TRY THIS ITEM" cards (reuse .cine-badge hook) ---- */
.cine-badge { background: #fff; box-shadow: 0 22px 44px -14px rgba(120,50,10,.35), 0 0 0 1px rgba(28,19,10,.05); backdrop-filter: none; }
.cine-badge .bt { color: #1c130a; }
.cine-badge .bs { color: #9c8069; }
.tryitem {
  position: absolute; z-index: 6; flex-direction: column; gap: 8px; align-items: center;
  padding: 10px 10px 12px; border-radius: 16px; width: 104px;
}
.tryitem img { width: 66px; height: 66px; object-fit: contain; }
.tryitem span { background: #1c130a; color: #fff; font-family: var(--font-display); font-size: 8.5px; font-weight: 700; letter-spacing: .06em; padding: 4px 9px; border-radius: 7px; white-space: nowrap; }
.tryitem.tl { top: 25%; left: 3%; }
.tryitem.tr { top: 21%; right: 3%; }
.tryitem.bl { bottom: 6%; left: -4%; }
.tryitem.br { bottom: 10%; right: -6%; }

/* ---- CENTER: analytics dashboard ---- */
.scene-dash { order: 1; }
@media (min-width: 1024px) { .scene-dash { order: 2; } }
.dash {
  width: 100%; max-width: 470px; margin: 0 auto; background: #fff; border-radius: 18px; overflow: hidden;
  display: grid; grid-template-columns: 96px 1fr; color: #1c130a;
  box-shadow: 0 40px 80px -24px rgba(120,50,10,.35), 0 0 0 1px rgba(28,19,10,.06);
}
.dash-side { background: #faf6f2; border-right: 1px solid rgba(28,19,10,.06); padding: 14px 10px; }
.dash-logo { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.dash-logo i { width: 20px; height: 20px; border-radius: 6px; background: var(--grad-cta); flex: none; }
.dash-nav a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: #7a6650; font-weight: 600; font-size: 10.5px; margin-bottom: 2px; }
.dash-nav a i { width: 13px; height: 13px; border-radius: 4px; background: currentColor; opacity: .55; flex: none; }
.dash-nav a.active { background: #fff; color: #f4772b; box-shadow: 0 6px 14px -6px rgba(244,119,43,.5); }
.dash-nav a.active i { opacity: 1; }
.dash-main { padding: 14px 16px 16px; min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dash-search { flex: 1; background: #f2ece6; border-radius: 8px; padding: 7px 11px; color: #9c8069; font-size: 10px; }
.dash-top .db-ico { width: 26px; height: 26px; border-radius: 8px; background: #f2ece6; display: grid; place-items: center; font-size: 12px; flex: none; }
.dash-top .db-ava { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-brand); flex: none; }
.dash-welcome h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.dash-welcome p { color: #9c8069; font-size: 10px; margin: 2px 0 12px; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.dstat { border: 1px solid rgba(28,19,10,.08); border-radius: 11px; padding: 8px 9px; }
.dstat .lbl { color: #9c8069; font-size: 7.5px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.dstat .val { font-family: var(--font-display); font-weight: 700; font-size: 13px; margin: 3px 0; letter-spacing: -.02em; }
.dstat .chg { color: #16a34a; font-size: 8px; font-weight: 700; }
.dstat svg { width: 100%; height: 18px; display: block; margin-top: 4px; }
.dash-orders h5 { font-family: var(--font-display); font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.dorder { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-top: 1px solid rgba(28,19,10,.06); font-size: 10px; }
.dorder .oav { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 700; color: #fff; flex: none; }
.dorder .oinfo { flex: 1; min-width: 0; }
.dorder .oinfo b { font-weight: 600; display: block; }
.dorder .oinfo small { color: #9c8069; font-size: 8.5px; }
.dorder .oamt { font-family: var(--font-display); font-weight: 700; font-size: 10.5px; }
.dorder .opaid { font-size: 8px; color: #16a34a; font-weight: 700; }

/* ---- RIGHT: model + shirts ---- */
.scene-right { order: 3; position: relative; display: flex; align-items: flex-end; justify-content: center; height: 100%; min-height: 300px; }
.scene-model { max-height: 62vh; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(120,50,10,.28)); }

@media (max-width: 1023px) {
  /* Mobile hero: show the model + shirt cards (the wide dashboard/phone are desktop-only) */
  .cine-inner.scene { display: flex; gap: 0; padding: 12px; }
  .scene-dash, .scene-left { display: none; }
  .scene-right { order: 0; width: 100%; height: 100%; min-height: 0; }
  .scene-model { max-height: 58vh; }
  .tryitem { width: 90px; padding: 8px; }
  .tryitem img { width: 58px; height: 58px; }
  .tryitem.tl { top: 30%; left: 1%; }
  .tryitem.tr { top: 26%; right: 1%; }
  .tryitem.bl { bottom: 12%; left: 1%; }
  .tryitem.br { bottom: 16%; right: 1%; }
}

/* =========================================================
   TRY-ON: hover a shirt -> model changes with a circular reveal
   ========================================================= */
.model-stage { position: relative; width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.model-base, .model-ov {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  max-height: 62vh; width: auto; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(120,50,10,.28));
}
.model-base { z-index: 1; transition: opacity .35s ease; }
#tryScene.swapped .model-base { opacity: 0; }
.model-ov {
  z-index: 2;
  clip-path: circle(0% at 50% 38%);
  -webkit-clip-path: circle(0% at 50% 38%);
  transition: -webkit-clip-path .6s cubic-bezier(.22,1,.36,1), clip-path .6s cubic-bezier(.22,1,.36,1);
  will-change: clip-path;
}
.model-ov.active { clip-path: circle(130% at 50% 40%); -webkit-clip-path: circle(130% at 50% 40%); }

/* shirt cards become interactive buttons */
.tryitem { border: none; cursor: pointer; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease), outline-color .3s; }
.tryitem:hover { transform: translateY(-4px) scale(1.04); }
.tryitem.on {
  outline: 2px solid #f4772b; outline-offset: 3px;
  box-shadow: 0 26px 50px -12px rgba(244,119,43,.55), 0 0 0 1px rgba(244,119,43,.4);
}
.tryitem:focus-visible { outline: 2px solid #f4772b; outline-offset: 3px; }
@media (max-width: 1023px) { .model-base, .model-ov { max-height: 58vh; } }

/* =========================================================
   EXPANDABLE GALLERY — client storefront accordion
   ========================================================= */
.xgallery { display: flex; gap: 12px; height: 400px; margin-top: 30px; }
.xg-panel {
  position: relative; flex: 1 1 0%; min-width: 0; padding: 0;
  border-radius: 20px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--border); background: var(--bg-3);
  transition: flex-grow .65s cubic-bezier(.22,1,.36,1), border-color .4s;
  -webkit-tap-highlight-color: transparent;
}
.xg-panel.active { flex-grow: 5.5; border-color: var(--border-strong); }
.xg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); filter: saturate(.85) brightness(.8);
  transition: transform .9s cubic-bezier(.22,1,.36,1), filter .5s;
}
.xg-panel.active .xg-img { transform: scale(1); filter: saturate(1) brightness(1); }
.xg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,19,10,.15) 0%, rgba(28,19,10,.55) 55%, rgba(28,19,10,.92) 100%);
  transition: opacity .5s;
}
.xg-panel.active .xg-overlay { background: linear-gradient(180deg, rgba(28,19,10,0) 35%, rgba(28,19,10,.55) 75%, rgba(28,19,10,.9) 100%); }
.xg-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 22px; text-align: left;
}
.xg-name {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(1rem, 1.3vw, 1.4rem); letter-spacing: -0.01em; line-height: 1.1;
  white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg);
  transition: color .3s;
}
.xg-panel.active .xg-name { writing-mode: horizontal-tb; transform: none; }
.xg-sub {
  color: var(--muted); font-size: .82rem; white-space: nowrap;
  opacity: 0; max-height: 0; transition: opacity .45s .1s, max-height .45s;
}
.xg-panel.active .xg-sub { opacity: 1; max-height: 40px; }
.xg-name::after {
  content: "↗"; margin-left: 10px; color: var(--brand, #f4772b);
  opacity: 0; display: none;
}
.xg-panel.active .xg-name::after { display: inline; opacity: 1; }
.xg-panel:focus-visible { outline: 2px solid #f4772b; outline-offset: 3px; }

@media (max-width: 900px) { .xgallery { height: 340px; } }
@media (max-width: 640px) {
  .xgallery { flex-direction: column; height: auto; gap: 10px; }
  .xg-panel { flex: none; height: 68px; }
  .xg-panel.active { height: 240px; }
  .xg-name { writing-mode: horizontal-tb; transform: none; }
  .xg-img { filter: saturate(.9) brightness(.85); }
}

/* Brand logo chip on each gallery panel */
.xg-logo {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 42px; height: 42px; padding: 7px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 11px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
  transition: left .55s cubic-bezier(.22,1,.36,1), width .55s cubic-bezier(.22,1,.36,1), transform .3s;
  overflow: hidden;
}
.xg-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.xg-panel.active .xg-logo { left: 16px; transform: none; width: auto; min-width: 42px; padding: 7px 13px; }
@media (max-width: 640px) {
  .xg-logo { left: 14px; transform: none; }
  .xg-panel.active .xg-logo { left: 14px; }
}

/* =========================================================
   STACKED LOGO GALLERY — pile of cards that expands to a grid
   ========================================================= */
.xstack { position: relative; margin-top: 20px; }
.xstack-cards { position: relative; display: flex; align-items: center; justify-content: center; height: 420px; }
.xcard {
  width: 200px; height: 200px; padding: 0; border: none; background: transparent;
  cursor: pointer; z-index: 1; -webkit-tap-highlight-color: transparent;
}
.xcard-in {
  display: grid; place-items: center; width: 100%; height: 100%;
  border-radius: 34px; background: #fff; border: 6px solid var(--bg);
  box-shadow: 0 24px 55px rgba(0,0,0,.42); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .35s;
}
.xcard-in img { max-width: 62%; max-height: 62%; width: auto; height: auto; object-fit: contain; }

/* ---- collapsed: centered pile (position via margins so transform stays free for FLIP) ---- */
.xstack:not(.open) .xcard { position: absolute; top: 50%; left: 50%; }
.xstack:not(.open) .xcard[data-i="0"] { margin: -88px 0 0 -200px; z-index: 10; }
.xstack:not(.open) .xcard[data-i="0"] .xcard-in { transform: rotate(-15deg); }
.xstack:not(.open) .xcard[data-i="1"] { margin: -116px 0 0 -108px; z-index: 20; }
.xstack:not(.open) .xcard[data-i="1"] .xcard-in { transform: rotate(-3deg); }
.xstack:not(.open) .xcard[data-i="2"] { margin: -94px 0 0 -14px; z-index: 30; }
.xstack:not(.open) .xcard[data-i="2"] .xcard-in { transform: rotate(12deg); }
.xstack:not(.open) .xcard[data-i="3"],
.xstack:not(.open) .xcard[data-i="4"],
.xstack:not(.open) .xcard[data-i="5"] { margin: -100px 0 0 -100px; opacity: 0; pointer-events: none; }
.xstack:not(.open) .xcard[data-i="3"] .xcard-in,
.xstack:not(.open) .xcard[data-i="4"] .xcard-in,
.xstack:not(.open) .xcard[data-i="5"] .xcard-in { transform: scale(.7); }

/* hover lift (collapsed) — rotation kept, applied on the inner */
.xstack:not(.open) .xcard:hover { z-index: 50; }
.xstack:not(.open) .xcard[data-i="0"]:hover .xcard-in { transform: rotate(-12deg) translateY(-16px) scale(1.06); box-shadow: 0 36px 72px rgba(0,0,0,.5); }
.xstack:not(.open) .xcard[data-i="1"]:hover .xcard-in { transform: rotate(-2deg) translateY(-16px) scale(1.06); box-shadow: 0 36px 72px rgba(0,0,0,.5); }
.xstack:not(.open) .xcard[data-i="2"]:hover .xcard-in { transform: rotate(9deg) translateY(-16px) scale(1.06); box-shadow: 0 36px 72px rgba(0,0,0,.5); }

/* ---- expanded: grid ---- */
.xstack.open .xstack-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; height: auto; }
.xstack.open .xcard { position: relative; top: auto; left: auto; margin: 0; width: 100%; height: auto; aspect-ratio: 1 / 1; opacity: 1; pointer-events: auto; }
.xstack.open .xcard-in { transform: none; }
.xstack.open .xcard:hover .xcard-in { transform: scale(1.03); box-shadow: 0 30px 60px rgba(0,0,0,.45); }

/* ---- info + back ---- */
.xstack-info { text-align: center; margin-top: 12px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.xstack.open .xstack-info { display: none; }
.xstack-hint { color: var(--muted); font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 34rem; margin: 0 auto; }
.xstack-back {
  display: none; align-items: center; gap: 8px; margin: 0 auto 18px;
  padding: 10px 20px; border-radius: 100px; background: var(--surface-2);
  border: 1px solid var(--border-strong); color: var(--text);
  font-family: var(--font-display); font-weight: 600; cursor: pointer; transition: background .25s;
}
.xstack.open .xstack-back { display: inline-flex; }
.xstack-back:hover { background: rgba(255,255,255,.1); }

@media (max-width: 640px) {
  .xstack-cards { height: 340px; }
  .xcard { width: 150px; height: 150px; }
  .xstack:not(.open) .xcard[data-i="0"] { margin: -66px 0 0 -150px; }
  .xstack:not(.open) .xcard[data-i="1"] { margin: -90px 0 0 -82px; }
  .xstack:not(.open) .xcard[data-i="2"] { margin: -70px 0 0 -12px; }
  .xstack.open .xstack-cards { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   PORTFOLIO LIGHTBOX
   ========================================================= */
.pf-col img { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 40px;
  background: rgba(10, 7, 4, 0.92); backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; animation: lbFade .3s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-img {
  max-width: min(92vw, 620px); max-height: 84vh; width: auto; height: auto;
  border-radius: 18px; border: 1px solid rgba(244, 119, 43, 0.35);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  animation: lbZoom .35s cubic-bezier(.22,1,.36,1);
}
@keyframes lbZoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.lb-count { font-family: var(--font-display); font-size: .85rem; color: rgba(255,255,255,.65); letter-spacing: .05em; }
.lb-btn {
  position: absolute; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  color: #fff; border-radius: 50%; transition: background .25s, transform .25s;
  -webkit-tap-highlight-color: transparent;
}
.lb-btn:hover { background: var(--grad-cta); color: #1c130a; transform: scale(1.06); }
.lb-close { top: 22px; right: 26px; width: 48px; height: 48px; font-size: 26px; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 30px; line-height: 1; }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
@media (max-width: 640px) {
  .lb-close { top: 14px; right: 16px; width: 42px; height: 42px; }
  .lb-nav { width: 44px; height: 44px; font-size: 24px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lightbox { padding: 20px; }
}
