/* ══════════════════════════════════════════════════════
   VISUALAURA STUDIO — Website Design (Modern Luxury Agency)
   A self-contained premium redesign layer for website-design.html
   ══════════════════════════════════════════════════════ */

/* ── Shared reveal stagger (works with main.js .visible) ── */
.wd .reveal-up.visible { transition-delay: var(--delay, 0s); }

/* ── Reusable browser & device chrome ─────────────────── */
.wd-browser {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.wd-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #faf6f1, #f3ece3);
  border-bottom: 1px solid rgba(110,20,35,.08);
}
.wd-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(110,20,35,.22); }
.wd-bar i:nth-child(2) { background: rgba(201,169,110,.4); }
.wd-bar i:nth-child(3) { background: rgba(110,20,35,.16); }
.wd-bar .wd-url {
  flex: 1; height: 18px; max-width: 280px; margin-left: 10px;
  background: #fff; border: 1px solid rgba(110,20,35,.1);
  border-radius: 100px;
  display: flex; align-items: center; padding: 0 12px;
  font-size: .56rem; letter-spacing: .04em; color: var(--text-l);
}

/* ── Reusable mini website preview (themeable) ────────── */
.wdv {
  --v1: var(--primary);
  --v2: var(--accent);
  background: #fff;
  display: block;
}
.wdv-nav {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
}
.wdv-logo {
  font-family: var(--font-head); font-size: .95rem; font-weight: 600;
  letter-spacing: -.01em; color: var(--v1);
}
.wdv-links { display: flex; gap: 12px; margin-left: auto; }
.wdv-links span {
  font-size: .55rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-l); font-weight: 500;
}
.wdv-pill {
  font-size: .54rem; letter-spacing: .05em; color: #fff;
  background: var(--v1); padding: 5px 12px; border-radius: 100px;
  font-weight: 500;
}
.wdv-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 8px 18px 18px; align-items: center;
}
.wdv-eyebrow {
  font-size: .52rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--v2); font-weight: 600; margin-bottom: 8px;
}
.wdv-h {
  font-family: var(--font-head); font-size: 1.45rem; line-height: 1.05;
  color: var(--text); font-weight: 500; letter-spacing: -.02em;
  margin-bottom: 8px;
}
.wdv-h em { color: var(--v1); font-style: italic; }
.wdv-sub {
  font-size: .58rem; line-height: 1.7; color: var(--text-m);
  margin-bottom: 12px; max-width: 92%;
}
.wdv-btns { display: flex; gap: 7px; }
.wdv-btns span {
  height: 20px; border-radius: 6px; display: block;
}
.wdv-btns span:first-child { width: 64px; background: var(--v1); }
.wdv-btns span:last-child { width: 50px; background: transparent; border: 1px solid rgba(110,20,35,.25); }
.wdv-img {
  aspect-ratio: 4/3; border-radius: 12px;
  background:
    radial-gradient(120% 120% at 80% 10%, var(--v2) 0%, transparent 55%),
    linear-gradient(135deg, var(--v1), var(--v2));
  position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.wdv-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 45%, rgba(0,0,0,.18));
}
.wdv-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 0 18px 20px;
}
.wdv-strip div {
  height: 40px; border-radius: 9px;
  background: rgba(110,20,35,.06);
  border: 1px solid rgba(110,20,35,.07);
}
.wdv-strip div::before {
  content: ''; display: block; width: 16px; height: 16px; margin: 8px 0 0 8px;
  border-radius: 5px; background: var(--v1); opacity: .35;
}

/* Dark theme variant for restaurant / luxury */
.wdv.dark { background: #1d1814; }
.wdv.dark .wdv-h { color: #f6efe6; }
.wdv.dark .wdv-sub { color: rgba(246,239,230,.6); }
.wdv.dark .wdv-links span { color: rgba(246,239,230,.55); }
.wdv.dark .wdv-strip div { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.07); }
.wdv.dark .wdv-btns span:last-child { border-color: rgba(255,255,255,.25); }

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.wd-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 64px) 0 90px;
  text-align: center;
}
.wd-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.wd-hero-bg .orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
}
.wd-hero-bg .o1 { width: 540px; height: 540px; top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(201,169,110,.3), transparent 70%); }
.wd-hero-bg .o2 { width: 420px; height: 420px; bottom: -140px; left: -120px;
  background: radial-gradient(circle, rgba(110,20,35,.18), transparent 70%); }
.wd-hero-bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(110,20,35,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,20,35,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
}
.wd-hero .container { position: relative; z-index: 1; }
.wd-hero-back {
  display: flex; width: fit-content; align-items: center; gap: 6px;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-l); margin: 0 auto 28px; transition: color .25s;
}
.wd-hero-back:hover { color: var(--primary); }
.wd-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  font-weight: 400; line-height: 1.04; letter-spacing: -.02em;
  color: var(--text); margin: 14px auto 22px; max-width: 16ch;
}
.wd-hero h1 em { color: var(--primary); font-style: italic; }
.wd-hero-sub {
  font-size: 1.06rem; line-height: 1.85; color: var(--text-m);
  font-weight: 300; max-width: 600px; margin: 0 auto 36px;
}
.wd-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Device family showcase */
.wd-devices {
  position: relative; margin: 76px auto 0; max-width: 940px;
  height: clamp(360px, 46vw, 540px);
}
.wd-dev {
  position: absolute;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.wd-dev-desktop {
  width: 70%; left: 15%; top: 0;
  border: 1px solid var(--border);
  z-index: 2;
  animation: floatA 7s ease-in-out infinite;
}
.wd-dev-tablet {
  width: 27%; left: 0; bottom: 0;
  border: 6px solid #221d18; border-radius: 22px;
  background: #221d18;
  z-index: 3;
  animation: floatC 6.4s ease-in-out infinite .5s;
}
.wd-dev-tablet .wdv { border-radius: 14px; overflow: hidden; }
.wd-dev-phone {
  width: 17%; right: 2%; bottom: 6%;
  border: 6px solid #221d18; border-radius: 26px;
  background: #221d18;
  z-index: 4;
  animation: floatD 5.6s ease-in-out infinite .25s;
}
.wd-dev-phone .wdv { border-radius: 18px; overflow: hidden; }
.wd-dev-phone .wdv-hero { grid-template-columns: 1fr; }
.wd-dev-phone .wdv-img { aspect-ratio: 3/2; }
.wd-dev-phone .wdv-links,
.wd-dev-phone .wdv-strip { display: none; }
.wd-dev-tablet .wdv-strip { grid-template-columns: 1fr 1fr; }

/* ══════════════════════════════════════════════════════
   SELECTED WORK
   ══════════════════════════════════════════════════════ */
.wd-work { background: var(--white); }
.wd-work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.wd-work-card {
  border-radius: var(--radius-lg);
  background: var(--beige);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.wd-work-card.visible { transition-delay: var(--delay, 0s); }
.wd-work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.wd-work-shot { padding: 22px 22px 0; }
.wd-work-shot .wd-browser { transition: transform .6s var(--ease); }
.wd-work-card:hover .wd-work-shot .wd-browser { transform: scale(1.015); }
.wd-work-info {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; padding: 22px 26px 26px;
}
.wd-work-meta .cat {
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary); font-weight: 600; margin-bottom: 6px;
}
.wd-work-meta h3 {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 500;
  color: var(--text); letter-spacing: -.01em; line-height: 1.1; margin-bottom: 8px;
}
.wd-work-result {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; color: var(--text-m); font-weight: 400;
}
.wd-work-result b { color: var(--primary); font-weight: 600; }
.wd-work-link {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary); font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, gap .3s;
}
.wd-work-link svg { width: 14px; height: 14px; }
.wd-work-card:hover .wd-work-link { gap: 11px; border-color: rgba(110,20,35,.4); }

/* ══════════════════════════════════════════════════════
   WEBSITE TYPES
   ══════════════════════════════════════════════════════ */
.wd-types { background: var(--beige); }
.wd-types-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.wd-type {
  position: relative; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.wd-type.visible { transition-delay: var(--delay, 0s); }
.wd-type::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(120% 100% at 0% 0%, rgba(201,169,110,.14), transparent 60%);
  transition: opacity .45s var(--ease);
}
.wd-type:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(201,169,110,.4); }
.wd-type:hover::before { opacity: 1; }
.wd-type-ic {
  position: relative;
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(110,20,35,.1), rgba(201,169,110,.14));
  border: 1px solid rgba(110,20,35,.12);
  transition: transform .5s var(--ease);
}
.wd-type:hover .wd-type-ic { transform: translateY(-3px) rotate(-4deg); }
.wd-type-ic svg { width: 30px; height: 30px; }
.wd-type h3 {
  position: relative;
  font-family: var(--font-head); font-size: 1.45rem; font-weight: 500;
  color: var(--text); letter-spacing: -.01em; margin-bottom: 10px;
}
.wd-type p {
  position: relative;
  font-size: .9rem; line-height: 1.8; color: var(--text-m); font-weight: 300;
}

/* ══════════════════════════════════════════════════════
   WHY VISUALAURA
   ══════════════════════════════════════════════════════ */
.wd-why {
  background:
    radial-gradient(120% 80% at 50% 0%, #221d18 0%, #2c241d 55%, #1c1713 100%);
  color: #f6efe6;
}
.wd-why .section-title { color: #f8f2ea; }
.wd-why .section-title em { color: var(--accent-l); }
.wd-why .section-desc { color: rgba(246,239,230,.62); }
.wd-why .section-badge {
  color: var(--accent-l);
  background: rgba(201,169,110,.12);
  border-color: rgba(201,169,110,.28);
}
.wd-why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(201,169,110,.16);
  border: 1px solid rgba(201,169,110,.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.wd-feat {
  background: #211b16;
  padding: 38px 34px;
  transition: background .4s var(--ease);
}
.wd-feat:hover { background: #2a221b; }
.wd-feat-ic {
  width: 46px; height: 46px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-l);
}
.wd-feat-ic svg { width: 30px; height: 30px; }
.wd-feat h3 {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 500;
  color: #f6efe6; letter-spacing: -.01em; margin-bottom: 10px;
}
.wd-feat p { font-size: .88rem; line-height: 1.8; color: rgba(246,239,230,.6); font-weight: 300; }

/* ══════════════════════════════════════════════════════
   TRANSFORMATION
   ══════════════════════════════════════════════════════ */
.wd-transform { background: var(--white); }
.wd-tf-stage {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px;
  align-items: center;
}
.wd-tf-col { position: relative; }
.wd-tf-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 16px;
}
.wd-tf-before .wd-tf-label { color: var(--text-l); }
.wd-tf-after .wd-tf-label { color: var(--primary); }
.wd-tf-label .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Before mock — dull, generic */
.wd-tf-before .wd-browser { box-shadow: var(--shadow-sm); filter: saturate(.35) brightness(.99); opacity: .92; }
.wd-tf-before .wdv-logo { color: #8a8a8a; font-family: var(--font-body); font-weight: 700; font-size: .8rem; }
.wd-tf-before .wdv-h { color: #6a6a6a; font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.wd-tf-before .wdv-eyebrow { color: #aaa; }
.wd-tf-before .wdv-img { background: repeating-linear-gradient(45deg, #e6e3df, #e6e3df 10px, #ddd9d4 10px, #ddd9d4 20px); }
.wd-tf-before .wdv-img::after { display: none; }
.wd-tf-before .wdv-btns span:first-child { background: #9a9a9a; }
.wd-tf-before .wdv-strip div::before { background: #b0b0b0; }

/* After mock — vibrant */
.wd-tf-after .wd-browser { box-shadow: var(--shadow-lg); position: relative; }
.wd-tf-after .wd-browser::after {
  content: ''; position: absolute; inset: -1px; border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(201,169,110,.5), 0 30px 70px rgba(110,20,35,.25);
}

.wd-tf-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  color: #fff; box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.wd-tf-arrow svg { width: 26px; height: 26px; }
.wd-tf-caption {
  text-align: center; margin-top: 22px;
  font-size: .9rem; color: var(--text-m); font-weight: 300;
}
.wd-tf-caption b { color: var(--text); font-weight: 600; }

/* ══════════════════════════════════════════════════════
   PROCESS — luxury vertical timeline
   ══════════════════════════════════════════════════════ */
.wd-process { background: var(--beige); }
.wd-timeline {
  position: relative; max-width: 760px; margin: 0 auto;
  padding-left: 8px;
}
.wd-tl-line {
  position: absolute; left: 31px; top: 12px; bottom: 12px; width: 2px;
  background: rgba(110,20,35,.14); border-radius: 2px; overflow: hidden;
}
.wd-tl-fill {
  position: absolute; inset: 0 0 auto 0; height: 0%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.wd-tl-step {
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  align-items: flex-start;
  padding: 22px 0;
}
.wd-tl-node {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 500;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), background .5s, color .5s, box-shadow .5s;
}
.wd-tl-step.is-on .wd-tl-node {
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  color: #fff; transform: scale(1.04); box-shadow: var(--shadow-md);
}
.wd-tl-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  flex: 1;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.wd-tl-step:hover .wd-tl-body { transform: translateX(4px); box-shadow: var(--shadow-md); }
.wd-tl-body h3 {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 500;
  color: var(--text); letter-spacing: -.01em; margin-bottom: 6px;
}
.wd-tl-tag {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 10px; display: block;
}
.wd-tl-body p { font-size: .9rem; line-height: 1.8; color: var(--text-m); font-weight: 300; }

/* ══════════════════════════════════════════════════════
   CLIENT RESULTS
   ══════════════════════════════════════════════════════ */
.wd-stats {
  background:
    radial-gradient(120% 90% at 50% 0%, #2c241d, #1c1713);
  color: #f6efe6;
}
.wd-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.wd-stat { text-align: center; position: relative; }
.wd-stat + .wd-stat::before {
  content: ''; position: absolute; left: -15px; top: 14%; bottom: 14%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201,169,110,.3), transparent);
}
.wd-stat-num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 400; line-height: 1;
  color: #f8f2ea; letter-spacing: -.02em; margin-bottom: 12px;
  display: inline-flex; align-items: baseline;
}
.wd-stat-num .suf { color: var(--accent-l); font-size: .55em; margin-left: 2px; }
.wd-stat-label {
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(246,239,230,.6); font-weight: 400;
}

/* ══════════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════════ */
.wd-pricing { background: var(--white); }
.wd-price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  align-items: stretch;
}
.wd-price {
  position: relative; display: flex; flex-direction: column;
  background: var(--beige);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 42px 34px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.wd-price.visible { transition-delay: var(--delay, 0s); }
.wd-price:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.wd-price-tier {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.wd-price h3 {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 500;
  color: var(--text); letter-spacing: -.01em; margin-bottom: 6px;
}
.wd-price-desc { font-size: .82rem; color: var(--text-l); margin-bottom: 22px; font-weight: 300; }
.wd-price-amt {
  font-family: var(--font-head); font-weight: 400; color: var(--primary);
  font-size: 2.9rem; line-height: 1; letter-spacing: -.02em;
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px;
}
.wd-price-amt .cur { font-family: var(--font-body); font-size: 1rem; font-weight: 400; }
.wd-price-from { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-l); margin-bottom: 26px; }
.wd-price ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }
.wd-price li {
  position: relative; padding-left: 26px;
  font-size: .88rem; line-height: 1.55; color: var(--text-m); font-weight: 300;
}
.wd-price li svg {
  position: absolute; left: 0; top: 3px; width: 15px; height: 15px; color: var(--primary);
}
.wd-price .btn { margin-top: auto; }

/* Featured */
.wd-price-feat {
  background: linear-gradient(150deg, var(--primary), #5e3d24);
  border-color: transparent; color: #fff;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.wd-price-feat:hover { transform: scale(1.03) translateY(-8px); }
.wd-price-feat .wd-price-tier { color: var(--accent-l); }
.wd-price-feat h3 { color: #fff; }
.wd-price-feat .wd-price-desc { color: rgba(255,255,255,.7); }
.wd-price-feat .wd-price-amt { color: #fff; }
.wd-price-feat .wd-price-from { color: rgba(255,255,255,.6); }
.wd-price-feat li { color: rgba(255,255,255,.88); }
.wd-price-feat li svg { color: var(--accent-l); }
.wd-price-feat .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.wd-price-feat .btn-primary:hover { background: var(--accent-l); color: var(--primary-d); }
.wd-price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 6px 18px; border-radius: 100px; white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS — floating cards
   ══════════════════════════════════════════════════════ */
.wd-testi { background: var(--beige); }
.wd-testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.wd-tcard {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.wd-tcard.visible { transition-delay: var(--delay, 0s); }
.wd-tcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.wd-tcard-q {
  position: absolute; top: 18px; right: 26px;
  font-family: var(--font-head); font-size: 4.5rem; line-height: 1;
  color: rgba(110,20,35,.1); font-style: italic; pointer-events: none;
}
.wd-tcard .stars { color: var(--accent); letter-spacing: 3px; font-size: .9rem; margin-bottom: 16px; }
.wd-tcard blockquote {
  font-family: var(--font-head); font-size: 1.18rem; line-height: 1.6;
  color: var(--text); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; margin-bottom: 26px; position: relative;
}
.wd-tcard-author { display: flex; align-items: center; gap: 14px; }
.wd-tcard-av {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.3rem; color: #fff; font-weight: 500;
  background: linear-gradient(135deg, var(--c1, var(--primary)), var(--c2, var(--accent)));
  box-shadow: var(--shadow-sm);
}
.wd-tcard-name { font-weight: 600; font-size: .92rem; color: var(--text); }
.wd-tcard-role { font-size: .78rem; color: var(--text-l); margin-top: 2px; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .wd-types-grid, .wd-why-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .wd-stat:nth-child(3)::before { display: none; }
  .wd-price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .wd-price-feat { transform: none; }
  .wd-price-feat:hover { transform: translateY(-8px); }
  .wd-testi-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .wd-work-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .wd-devices { max-width: 560px; height: clamp(300px, 70vw, 420px); }
}

@media (max-width: 640px) {
  .wd-hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 64px; }
  .wd-hero-ctas { flex-direction: column; align-items: center; }
  .wd-hero-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
  .wd-types-grid, .wd-why-grid { grid-template-columns: 1fr; }
  .wd-why-grid { gap: 1px; }
  .wd-tf-stage { grid-template-columns: 1fr; gap: 20px; }
  .wd-tf-arrow { transform: rotate(90deg); margin: 0 auto; }
  .wd-work-info { flex-direction: column; align-items: flex-start; gap: 14px; }
  .wd-tl-step { grid-template-columns: 50px 1fr; gap: 16px; }
  .wd-tl-node { width: 50px; height: 50px; font-size: 1.2rem; }
  .wd-tl-line { left: 24px; }
  .wd-devices { height: clamp(260px, 80vw, 360px); }
  .wd-stat-num { font-size: clamp(2.6rem, 13vw, 3.4rem); }
}

@media (max-width: 420px) {
  .wd-stats-grid { grid-template-columns: 1fr; gap: 36px; }
  .wd-stat::before { display: none !important; }
  .wd-type, .wd-feat { padding: 30px 24px; }
  .wd-price { padding: 34px 24px; }
}

/* ══════════════════════════════════════════════════════
   PREMIUM MOTION LAYER  (GSAP-driven; degrades gracefully)
   ══════════════════════════════════════════════════════ */

/* Pre-hide animated targets to prevent FOUC; the motion script
   reveals them. If JS/GSAP is unavailable the .wd-motion class is
   removed and everything is shown. */
html.wd-motion .wd-hero h1,
html.wd-motion .wd-hero-back,
html.wd-motion .wd-hero .section-badge,
html.wd-motion .wd-hero-sub,
html.wd-motion .wd-hero-ctas,
html.wd-motion .wd-dev,
html.wd-motion .wd .section-head,
html.wd-motion .wd-story-intro,
html.wd-motion .wd-work-card,
html.wd-motion .wd-type,
html.wd-motion .wd-feat,
html.wd-motion .wd-story-step,
html.wd-motion .wd-story-visual,
html.wd-motion .wd-tf-col,
html.wd-motion .wd-tf-arrow,
html.wd-motion .wd-tl-step,
html.wd-motion .wd-stat,
html.wd-motion .wd-price,
html.wd-motion .wd-tcard,
html.wd-motion .cta-content > * { opacity: 0; }

/* Split-text headline masks */
.wd-hero h1 .wd-w { display: inline-block; overflow: hidden; vertical-align: top;
  padding-bottom: .12em; margin-bottom: -.12em; }
.wd-hero h1 .wd-w-i { display: inline-block; will-change: transform; }

.wd-magnetic { will-change: transform; }

/* ── Horizontal project showcase ──────────────────────── */
.wd-horizon { background: var(--beige); position: relative; overflow: hidden; }
.wd-horizon-inner {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; gap: 50px; padding: 90px 0;
}
.wd-horizon-viewport { overflow: hidden; }
.wd-horizon-viewport::-webkit-scrollbar { height: 0; display: none; }
.wd-horizon-track {
  display: flex; gap: 30px; padding: 0 40px;
  width: max-content; will-change: transform;
}
.wd-hpanel { flex: 0 0 auto; width: clamp(320px, 42vw, 560px); }
.wd-hpanel-cap {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding: 20px 4px 0;
}
.wd-hpanel-cap .cat {
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary); font-weight: 600;
}
.wd-hpanel-cap h3 {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 500;
  color: var(--text); letter-spacing: -.01em;
}
.wd-horizon-hint {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-l); margin-top: 4px;
}
.wd-horizon-hint .ln { width: 40px; height: 1px; background: rgba(110,20,35,.3); display: block; }

@media (max-width: 860px) {
  .wd-horizon-inner { min-height: auto; padding: 80px 0; }
  .wd-horizon-viewport {
    overflow-x: auto; scrollbar-width: none;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .wd-hpanel { width: 80vw; scroll-snap-align: center; }
  .wd-horizon-hint { display: none; }
}

/* ── Sticky storytelling ──────────────────────────────── */
.wd-story { background: var(--white); }
.wd-story-grid {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 64px;
  align-items: start;
}
.wd-story-left { position: sticky; top: 130px; }
.wd-story-title {
  font-family: var(--font-head); font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 400; line-height: 1.1; letter-spacing: -.02em;
  color: var(--text); margin: 16px 0 14px;
}
.wd-story-title em { color: var(--primary); font-style: italic; }
.wd-story-lead { font-size: .98rem; line-height: 1.85; color: var(--text-m); font-weight: 300; }
.wd-story-steps { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.wd-story-step {
  padding: 22px 24px; border-radius: var(--radius);
  background: var(--beige); border: 1px solid var(--border);
  transition: background .5s var(--ease), box-shadow .5s var(--ease),
              transform .5s var(--ease), border-color .5s var(--ease);
}
.wd-story-step .num {
  font-family: var(--font-head); font-size: .9rem; letter-spacing: .12em;
  color: var(--text-l); transition: color .5s;
}
.wd-story-step h3 {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 500;
  color: var(--text-l); letter-spacing: -.01em; margin: 4px 0 6px;
  transition: color .5s;
}
.wd-story-step p { font-size: .88rem; line-height: 1.75; color: var(--text-m); font-weight: 300; }
.wd-story-step.active {
  background: var(--white); box-shadow: var(--shadow-md);
  transform: translateX(8px); border-color: rgba(201,169,110,.4);
}
.wd-story-step.active .num { color: var(--accent); }
.wd-story-step.active h3 { color: var(--text); }
.wd-story-right { display: flex; flex-direction: column; gap: 12vh; padding: 4vh 0 8vh; }
.wd-story-visual .wd-browser { box-shadow: var(--shadow-lg); }

@media (max-width: 860px) {
  /* Promote the two columns' children into one flow and pair each
     step directly above its own mockup. */
  .wd-story-left, .wd-story-steps, .wd-story-right { display: contents; }
  .wd-story-grid { display: flex; flex-direction: column; gap: 18px; }
  .wd-story-intro { order: 0; margin-bottom: 6px; }
  .wd-story-step { margin-top: 14px; }
  .wd-story-step.s1 { order: 1; } .wd-story-visual.v1 { order: 2; }
  .wd-story-step.s2 { order: 3; } .wd-story-visual.v2 { order: 4; }
  .wd-story-step.s3 { order: 5; } .wd-story-visual.v3 { order: 6; }
  .wd-story-step:first-of-type { margin-top: 0; }
  .wd-story-visual { margin-bottom: 10px; }
}
