/* ============================================================
   ux.ui.dan — Design System
   Aesthetic reference: landonorris.com
   ============================================================ */

:root {
  --dark:    #131F14;
  --dark-2:  #192519;
  --dark-3:  #0E1810;
  --cream:   #F2EEE3;
  --cream-2: #E8E3D3;
  --lime:    #C8FF57;
  --lime-2:  #A8D93E;
  --lime-dk: #2E6B00; /* lime on light bg */

  --t-dk:    #EDE9DC;  /* text on dark  */
  --t-lt:    #0D1A0F;  /* text on light */
  --m-dk:    rgba(237,233,220,0.45);  /* muted on dark  */
  --m-lt:    rgba(13,26,15,0.45);     /* muted on light */

  --f-disp:  'DM Serif Display', Georgia, serif;
  --f-body:  'DM Sans', system-ui, -apple-system, sans-serif;

  --max:  1440px;
  --pad:  clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--t-dk);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ── SECTION TYPES ───────────────────────────────────────── */
.s-dark  { background: var(--dark);  color: var(--t-dk); }
.s-light { background: var(--cream); color: var(--t-lt); }

/* ── DISPLAY TYPE SCALE ──────────────────────────────────── */
.d {
  font-family: var(--f-disp);
  font-weight: 400;
  text-transform: none;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.d-2xl { font-size: clamp(3rem, 7vw, 9rem); }
.d-xl  { font-size: clamp(2.5rem, 5.5vw, 7rem); }
.d-lg  { font-size: clamp(2rem, 4vw, 5rem); }
.d-md  { font-size: clamp(1.5rem, 2.5vw, 3.25rem); }
.d-sm  { font-size: clamp(1.125rem, 1.5vw, 1.875rem); }

/* ── COLOUR UTILITIES ────────────────────────────────────── */
.lime    { color: var(--lime); }
.lime-dk { color: var(--lime-dk); }
.muted   { color: var(--m-dk); }
.muted-lt{ color: var(--m-lt); }

/* ── EYEBROW ─────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-lime    { background: var(--lime); color: var(--dark); border: 1.5px solid var(--lime); }
.btn-lime:hover { background: var(--lime-2); border-color: var(--lime-2); transform: translateY(-2px); }
.btn-ghost-dk{ border: 1.5px solid rgba(237,233,220,0.2); color: var(--t-dk); background: rgba(237,233,220,0.06); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost-dk:hover { border-color: var(--lime); color: var(--lime); background: rgba(237,233,220,0.1); }
.btn-ghost-lt{ border: 1.5px solid rgba(13,26,15,0.15); color: var(--t-lt); }
.btn-ghost-lt:hover { border-color: var(--lime-dk); color: var(--lime-dk); }
.btn .arr { transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

/* ── DIVIDERS ────────────────────────────────────────────── */
.rule-dk { border: none; border-top: 1px solid rgba(237,233,220,0.08); }
.rule-lt { border: none; border-top: 1px solid rgba(13,26,15,0.08); }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.1s; }
.reveal[data-d="2"] { transition-delay: 0.2s; }
.reveal[data-d="3"] { transition-delay: 0.3s; }
.reveal[data-d="4"] { transition-delay: 0.4s; }
.reveal[data-d="5"] { transition-delay: 0.5s; }


/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.75rem 0;
  transition: background 0.45s var(--ease), padding 0.35s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(19,31,20,0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 1.125rem 0;
  border-bottom-color: rgba(237,233,220,0.07);
}

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

.nav-logo {
  font-family: var(--f-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  color: var(--t-dk);
  line-height: 1;
}
.nav-logo .hl { color: var(--lime); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--m-dk);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--t-dk); }

.nav-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 0.5rem 1.25rem;
  border: 1.5px solid rgba(200,255,87,0.3);
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--lime); color: var(--dark); border-color: var(--lime); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--t-dk);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: transparent;
  border-top: 1px solid transparent;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav-mobile.open {
  max-height: 360px;
  background: var(--dark-3);
  border-top-color: rgba(237,233,220,0.07);
}
.nav-mobile a {
  padding: 1rem var(--pad);
  font-size: 1rem;
  font-weight: 500;
  color: var(--m-dk);
  border-bottom: 1px solid rgba(237,233,220,0.06);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-mobile a:hover { color: var(--lime); padding-left: calc(var(--pad) + 8px); }


/* ============================================================
   HERO
   ============================================================ */
#hero {
  height: 900px;
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
#hero > .wrap { width: 100%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: stretch;
  width: 100%;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  max-width: min(62vw, 900px);
}

/* ============================================================
   HERO SCREENS — FULL BACKGROUND SCROLLING
   ============================================================ */

/* Screens fill the entire hero */
.screens-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.75;
}

/* Gradient overlay: dark on left for text readability → fades to visible on right
   Also fades top and bottom edges */
.screens-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right,
      rgba(19,31,20,0.97)        0%,
      rgba(19,31,20,0.93)       22%,
      rgba(19,31,20,0.70)       40%,
      rgba(19,31,20,0.35)       60%,
      rgba(19,31,20,0.08)       80%,
      transparent              100%
    ),
    linear-gradient(to bottom,
      var(--dark)               0%,
      transparent              18%,
      transparent              82%,
      var(--dark)              100%
    );
}

/* Ensure hero glow and text sit above everything */
.hero-glow  { z-index: 2; }
#hero > .wrap { position: relative; z-index: 3; }

/* Columns fill full hero width */
.screens-cols {
  display: flex;
  gap: 10px;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.screens-col {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.screens-col.sc-desktop { flex: 2; }
.screens-col.sc-mobile  { flex: 1; }

/* Scrolling track */
.sc-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  will-change: transform;
}

/* Speeds */
.sc-up-slow  { animation: scUp   70s linear infinite; }
.sc-up-med   { animation: scUp   52s linear infinite; }
.sc-up-fast  { animation: scUp   38s linear infinite; }
.sc-down-slow { animation: scDown 75s linear infinite; }
.sc-down-med  { animation: scDown 58s linear infinite; }

.sc-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  flex-shrink: 0;
}

/* Mobile screens sit side-by-side so they don't dominate */
.sc-mobile-row {
  display: flex;
  flex-direction: row;
  gap: 6px;
}
.sc-mobile-row .sc-img {
  flex: 1;
  min-width: 0;
  width: 0;
}

@keyframes scUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes scDown {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* legacy .hero-screens kept for CSS compatibility */
.hero-screens {
  position: absolute;
  inset: 0;
}

/* ── Base card ───────────────────────────────────────────── */
.hs-card {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.07) inset;
}

/* ── Browser chrome bar ──────────────────────────────────── */
.hs-bar {
  display: flex; align-items: center; gap: 4px;
  padding: 5px 8px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.hs-bar-light {
  background: rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.hs-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hs-dot:nth-child(1) { background: rgba(255,95,87,0.85); }
.hs-dot:nth-child(2) { background: rgba(255,189,46,0.85); }
.hs-dot:nth-child(3) { background: rgba(40,202,65,0.85); }
.hs-url-bar {
  margin-left: 4px; font-size: 0.45rem;
  color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06);
  border-radius: 3px; padding: 2px 6px; font-family: var(--f-body);
}
.hs-url-dark { color: rgba(0,0,0,0.35); background: rgba(0,0,0,0.06); }

/* ── Body themes ─────────────────────────────────────────── */
.hs-dark  { background: #0D1117; }
.hs-light { background: #F4F3EF; }
.hs-body  { display: flex; }
.hs-body-row { flex-direction: row; }
.hs-body-col { flex-direction: column; }

/* ── Dashboard sidebar ───────────────────────────────────── */
.hs-sidebar-sm {
  width: 24px; flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 0; gap: 5px;
}
.hs-sb-logo { width: 14px; height: 14px; border-radius: 3px; background: var(--lime); margin-bottom: 4px; }
.hs-sb-nav  { width: 14px; height: 5px; border-radius: 2px; background: rgba(255,255,255,0.1); }
.hs-sb-active { background: rgba(200,255,87,0.55); }

.hs-main-area { flex: 1; padding: 6px; display: flex; flex-direction: column; gap: 6px; }

.hs-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.hs-kpi-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px; padding: 4px;
}
.hs-kpi-n { width: 50%; height: 6px; border-radius: 2px; background: rgba(255,255,255,0.5); margin-bottom: 3px; }
.hs-kpi-l { width: 75%; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.15); margin-bottom: 3px; }
.hs-kpi-chg { width: 35%; height: 3px; border-radius: 2px; }
.hs-up   { background: rgba(200,255,87,0.5); }
.hs-down { background: rgba(255,100,100,0.4); }

.hs-chart {
  flex: 1; position: relative; min-height: 55px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px; overflow: hidden;
}
.hs-chart-lines { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-evenly; padding: 4px 0; }
.hs-cl { width: 100%; height: 1px; background: rgba(255,255,255,0.05); }
.hs-line-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hs-table-sm { display: flex; flex-direction: column; gap: 3px; }
.hs-row      { height: 6px; border-radius: 2px; background: rgba(255,255,255,0.05); }
.hs-row-h    { background: rgba(255,255,255,0.1); }

/* ── Phone frame ─────────────────────────────────────────── */
.hs-phone-frame { border-radius: 18px; }
.hs-phone-body  { padding: 7px; gap: 6px; }
.hs-p-status    { display: flex; justify-content: space-between; font-size: 0.45rem; color: rgba(255,255,255,0.5); font-family: var(--f-body); padding: 0 2px; }
.hs-dk-text     { color: rgba(0,0,0,0.55) !important; }
.hs-p-head      { display: flex; align-items: center; gap: 5px; }
.hs-p-av        { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--lime), var(--lime-2)); flex-shrink: 0; }
.hs-line-sm     { width: 50px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.4); margin-bottom: 3px; }
.hs-line-xs     { width: 35px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.15); }
.hs-p-card      { background: rgba(200,255,87,0.1); border: 1px solid rgba(200,255,87,0.15); border-radius: 8px; padding: 7px; }
.hs-p-bal-l     { width: 40px; height: 3px; background: rgba(255,255,255,0.3); border-radius: 2px; margin-bottom: 3px; }
.hs-p-bal-n     { width: 65px; height: 8px; background: rgba(255,255,255,0.75); border-radius: 2px; margin-bottom: 3px; }
.hs-p-bal-chg   { width: 45px; height: 3px; background: rgba(200,255,87,0.5); border-radius: 2px; }
.hs-p-actions   { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; }
.hs-p-btn       { height: 22px; border-radius: 5px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.hs-p-bars-wrap { display: flex; gap: 3px; align-items: flex-end; height: 38px; }
.hs-b           { flex: 1; border-radius: 2px; background: rgba(255,255,255,0.08); }
.hs-b-active    { background: var(--lime); }

/* ── Health rings ────────────────────────────────────────── */
.hs-rings { position: relative; width: 64px; height: 64px; margin: 2px auto; }
.hs-ring  { position: absolute; border-radius: 50%; border: 5px solid transparent; }
.hs-ring-1 { inset: 0;    border-top-color: rgba(255,60,60,0.8); transform: rotate(-90deg); }
.hs-ring-2 { inset: 9px;  border-top-color: rgba(0,210,150,0.8); transform: rotate(-90deg); }
.hs-ring-3 { inset: 18px; border-top-color: rgba(60,150,255,0.8); transform: rotate(-90deg); }
.hs-health-stats { display: flex; gap: 6px; }
.hs-h-stat { flex: 1; }
.hs-h-val  { width: 40px; height: 6px; border-radius: 2px; background: rgba(0,0,0,0.2); margin-bottom: 3px; }
.hs-h-lbl  { width: 30px; height: 3px; border-radius: 2px; background: rgba(0,0,0,0.1); }
.hs-progress-list { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; }
.hs-prog-bar  { height: 5px; background: rgba(0,0,0,0.08); border-radius: 3px; overflow: hidden; }
.hs-prog-fill { height: 100%; border-radius: 3px; background: rgba(255,60,60,0.6); }
.hs-fill-2    { background: rgba(0,210,150,0.6); }
.hs-fill-3    { background: rgba(60,150,255,0.6); }

/* ── SaaS light dashboard ────────────────────────────────── */
.hs-lt-header { display: flex; justify-content: space-between; align-items: center; padding: 6px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.hs-lt-title  { width: 55px; height: 6px; background: rgba(0,0,0,0.2); border-radius: 2px; }
.hs-lt-actions { display: flex; gap: 3px; }
.hs-lt-btn     { width: 28px; height: 16px; border-radius: 3px; background: rgba(0,0,0,0.07); }
.hs-lt-btn-p   { background: var(--dark); }
.hs-lt-filters { display: flex; gap: 4px; padding: 5px 6px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.hs-filter     { height: 14px; width: 36px; border-radius: 10px; background: rgba(0,0,0,0.07); }
.hs-filter-active { background: var(--dark); width: 48px; }
.hs-lt-table   { display: flex; flex-direction: column; }
.hs-lt-row     { height: 18px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.hs-lt-head    { background: rgba(0,0,0,0.04); }

/* ── Social feed ─────────────────────────────────────────── */
.hs-feed      { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.hs-feed-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 7px; overflow: hidden; }
.hs-fc-head   { display: flex; align-items: center; gap: 5px; padding: 5px; }
.hs-fc-av     { width: 14px; height: 14px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.hs-fc-av2    { background: rgba(255,110,200,0.85); }
.hs-fc-meta   { flex: 1; }
.hs-fc-name   { width: 40px; height: 3px; background: rgba(255,255,255,0.4); border-radius: 2px; margin-bottom: 2px; }
.hs-fc-time   { width: 28px; height: 2px; background: rgba(255,255,255,0.15); border-radius: 2px; }
.hs-fc-img    { height: 38px; background: linear-gradient(135deg, rgba(200,255,87,0.2) 0%, rgba(200,255,87,0.05) 100%); }
.hs-fc-img2   { background: linear-gradient(135deg, rgba(255,110,200,0.2) 0%, rgba(100,100,255,0.12) 100%); height: 32px; }

/* ── Floating chips ──────────────────────────────────────── */
.hs-chip {
  position: absolute;
  background: rgba(13,17,23,0.92);
  border: 1px solid rgba(200,255,87,0.2);
  border-radius: 20px; padding: 7px 12px;
  display: flex; align-items: center; gap: 7px;
  font-size: 0.62rem; font-weight: 600; color: var(--cream);
  font-family: var(--f-body); white-space: nowrap;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}
.hs-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 7px var(--lime); flex-shrink: 0; }
.hs-chip-avs { display: flex; }
.hs-cav  { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(13,17,23,0.9); background: var(--lime); margin-left: -5px; }
.hs-cav:first-child { margin-left: 0; }
.hs-cav2 { background: rgba(100,170,255,0.9); }
.hs-cav3 { background: rgba(255,140,90,0.9); }

/* ── Card positions, sizes & individual animations ───────── */
.hs-c1 {
  top: 30px; left: 0; width: 290px;
  animation: hsFadeIn 0.9s 0.1s both, hsFloat1 9s ease-in-out infinite;
}
.hs-c1 .hs-body { height: 190px; }

.hs-c2 {
  top: 15px; right: 25px; width: 138px;
  animation: hsFadeIn 0.9s 0.35s both, hsFloat2 6s ease-in-out infinite;
}
.hs-c2 .hs-phone-body { min-height: 288px; }

.hs-c3 {
  top: 300px; left: 22px; width: 118px;
  animation: hsFadeIn 0.9s 0.55s both, hsFloat3 7.5s 0.8s ease-in-out infinite;
}
.hs-c3 .hs-phone-body { min-height: 238px; }

.hs-c4 {
  top: 325px; right: 5px; width: 258px;
  animation: hsFadeIn 0.9s 0.2s both, hsFloat4 10s 0.4s ease-in-out infinite;
}

.hs-c5 {
  bottom: 30px; left: calc(50% - 58px); width: 116px;
  animation: hsFadeIn 0.9s 0.7s both, hsFloat5 5.5s 1.2s ease-in-out infinite;
}
.hs-c5 .hs-phone-body { min-height: 230px; }

.hs-chip1 { top: 235px; left: 228px; animation: hsFadeIn 0.8s 1s both, hsChip1 5s 1.5s ease-in-out infinite; }
.hs-chip2 { bottom: 185px; left: 155px; animation: hsFadeIn 0.8s 1.2s both, hsChip2 6.5s 2s ease-in-out infinite; }

/* ── Float keyframes ─────────────────────────────────────── */
@keyframes hsFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hsFloat1 {
  0%,100% { transform: rotate(-2deg) translateY(0);    }
  50%     { transform: rotate(-2deg) translateY(-10px); }
}
@keyframes hsFloat2 {
  0%,100% { transform: rotate(4deg)  translateY(0);    }
  50%     { transform: rotate(4deg)  translateY(-14px); }
}
@keyframes hsFloat3 {
  0%,100% { transform: rotate(-5deg) translateY(0);   }
  50%     { transform: rotate(-5deg) translateY(-8px); }
}
@keyframes hsFloat4 {
  0%,100% { transform: rotate(2deg) translateY(0);    }
  50%     { transform: rotate(2deg) translateY(-12px); }
}
@keyframes hsFloat5 {
  0%,100% { transform: rotate(-3deg) translateY(0);   }
  50%     { transform: rotate(-3deg) translateY(-9px); }
}
@keyframes hsChip1 {
  0%,100% { transform: translateY(0);   }
  50%     { transform: translateY(-7px); }
}
@keyframes hsChip2 {
  0%,100% { transform: translateY(0);   }
  50%     { transform: translateY(-5px); }
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow::before {
  content: '';
  position: absolute;
  top: 8%; right: -8%;
  width: 55%; height: 65%;
  background: radial-gradient(ellipse, rgba(200,255,87,0.07) 0%, transparent 65%);
  animation: glow 14s ease-in-out infinite alternate;
}
.hero-glow::after {
  content: '';
  position: absolute;
  bottom: 10%; left: -5%;
  width: 40%; height: 50%;
  background: radial-gradient(ellipse, rgba(200,255,87,0.04) 0%, transparent 65%);
  animation: glow 18s ease-in-out infinite alternate-reverse;
}
@keyframes glow {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-4%, 6%) scale(1.1); }
}

.hero-eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--lime);
  flex-shrink: 0;
}

.hero-name {
  font-family: var(--f-body);
  font-weight: 700;
  text-transform: none;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-size: clamp(3rem, 4.8vw, 6.5rem);
  color: var(--t-dk);
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

/* Serif italic accent words — DM Serif Display italic + lime */
.hero-name .hero-serif {
  font-family: var(--f-disp);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
  letter-spacing: -0.05em;
  font-size: 1.08em;
}

.hero-foot { display: none; }

.hero-desc {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--m-dk);
  max-width: 480px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; flex-shrink: 0; }

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-dk);
  flex-shrink: 0;
}
.scroll-bar {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--lime), transparent);
  animation: scrollAnim 2.2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  55%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ============================================================
   HERO UI MOCKUP
   ============================================================ */
.ui-stage {
  position: relative;
  display: inline-block;
  animation: stageFloat 7s ease-in-out infinite;
}
@keyframes stageFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.ui-phone {
  width: 280px;
  border-radius: 42px;
  background: #0C0C0E;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  box-shadow:
    0 70px 140px rgba(0,0,0,0.65),
    0 20px 40px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}
.ui-phone-screen { padding: 1.375rem 1.125rem 1.5rem; }

.ui-sb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.125rem;
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.ui-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ui-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--lime-2));
  flex-shrink: 0;
}
.ui-name {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.ui-sub-name {
  font-family: var(--f-body);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1px;
}
.ui-notif-btn {
  margin-left: auto;
  width: 26px; height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
}

.ui-balance-card {
  background: linear-gradient(140deg, rgba(200,255,87,0.12) 0%, rgba(200,255,87,0.03) 100%);
  border: 1px solid rgba(200,255,87,0.14);
  border-radius: 16px;
  padding: 0.875rem 1rem;
  margin-bottom: 0.875rem;
}
.ui-bal-label {
  font-family: var(--f-body);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.3rem;
}
.ui-bal-amount {
  font-family: var(--f-body);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.2rem;
}
.ui-bal-change {
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--lime);
}

.ui-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.ui-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  padding: 0.5rem 0.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
}
.ui-action-icon {
  font-size: 0.8rem;
  color: var(--lime);
  line-height: 1;
}
.ui-action-btn span {
  font-family: var(--f-body);
  font-size: 0.47rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ui-chart { margin-bottom: 0.875rem; }
.ui-chart-label {
  font-family: var(--f-body);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 0.5rem;
}
.ui-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 44px;
}
.ui-bar {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
}
.ui-bar-active { background: var(--lime); }

.ui-txns { display: flex; flex-direction: column; gap: 0.6rem; }
.ui-txn { display: flex; align-items: center; gap: 0.5rem; }
.ui-txn-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  flex-shrink: 0;
}
.ui-txn-icon-1 { background: rgba(255,90,90,0.15); }
.ui-txn-icon-2 { background: rgba(200,255,87,0.12); }
.ui-txn-info { flex: 1; min-width: 0; }
.ui-txn-name {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.ui-txn-date {
  font-family: var(--f-body);
  font-size: 0.54rem;
  color: rgba(255,255,255,0.28);
  margin-top: 1px;
}
.ui-txn-amount {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.ui-txn-neg { color: rgba(255,255,255,0.4); }
.ui-txn-pos { color: var(--lime); }

.ui-badge {
  position: absolute;
  background: rgba(19,31,20,0.94);
  border: 1px solid rgba(237,233,220,0.1);
  border-radius: 12px;
  padding: 0.625rem 0.875rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 2;
}
.ui-badge-top {
  top: 0.5rem;
  right: -3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--t-dk);
  animation: badgeFloat 5s ease-in-out infinite;
}
.ui-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(200,255,87,0.8);
  flex-shrink: 0;
}
.ui-badge-bottom {
  bottom: 0.5rem;
  left: -3rem;
  animation: badgeFloat 4.5s ease-in-out 0.8s infinite;
}
.ui-badge-stars {
  font-size: 0.58rem;
  color: var(--lime);
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
}
.ui-badge-text {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--t-dk);
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}


/* ============================================================
   LOGOS / CLIENTS STRIP
   ============================================================ */
#logos {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(237,233,220,0.07);
  border-bottom: 1px solid rgba(237,233,220,0.07);
}

.logos-headline {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.logos-headline p {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(237,233,220,0.4);
  letter-spacing: 0.02em;
  font-family: var(--f-body);
}

.logos-track-wrap {
  position: relative;
  overflow: hidden;
}

/* Left & right fade masks */
.logos-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 12rem;
  z-index: 2;
  pointer-events: none;
}
.logos-fade-l { left: 0;  background: linear-gradient(to right, var(--dark), transparent); }
.logos-fade-r { right: 0; background: linear-gradient(to left,  var(--dark), transparent); }

.logos-track { overflow: hidden; }

.logos-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 0;
  animation: logoScroll 30s linear infinite;
}

.logo-item {
  flex-shrink: 0;
  padding: 0 clamp(1.5rem, 3vw, 2.75rem);
  color: rgba(237,233,220,0.35);
  transition: color 0.3s ease, opacity 0.3s ease;
  cursor: default;
  border-right: 1px solid rgba(237,233,220,0.08);
  display: flex;
  align-items: center;
}
.logo-item:hover { color: rgba(237,233,220,0.75); opacity: 1; }

.logo-item img {
  display: block;
  height: 20px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.logo-item:hover img { opacity: 0.85; }

/* Per-logo overrides to equalise visual weight */
.logo-item.logo-wide img  { max-width: 110px; height: 18px; }
.logo-item.logo-tall img  { height: 20px; max-width: 80px; }
.logo-item.logo-xl img    { height: 30px; max-width: 130px; }

/* Logo style variants — simulate brand diversity */
.logo-sans-bold {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}
.logo-condensed {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logo-spaced {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.logo-rounded {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

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


/* ============================================================
   MANIFESTO
   ============================================================ */
#manifesto {
  background: var(--dark);
  padding: clamp(4rem, 10vw, 8rem) 0;
  overflow: hidden;
}
.manifesto-copy {
  font-family: var(--f-disp);
  font-weight: 400;
  text-transform: none;
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-size: clamp(3rem, 9vw, 12rem);
  color: var(--t-dk);
}
.manifesto-copy .hl { color: var(--lime); }

/* Scroll-driven word reveal */
.manifesto-copy .m-word,
.manifesto-copy .m-hl {
  display: inline;
  opacity: 0.1;
  will-change: opacity;
}


/* ============================================================
   ABOUT / STUDIO
   ============================================================ */
#about {
  background: var(--cream);
  color: var(--t-lt);
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.studio-intro-block {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.studio-meet {
  font-family: var(--f-disp);
  font-size: clamp(2.5rem, 5vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--t-lt);
  margin: 0.75rem 0 1.25rem;
}
.studio-intro-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--m-lt);
  max-width: 560px;
}

/* --- Pillar grid with lines --- */
.studio-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.pillar-cell {
  border-right: 1px solid rgba(13,26,15,0.08);
  border-bottom: 1px solid rgba(13,26,15,0.08);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
/* Remove outer borders — only inner lines remain */
.pillar-cell:nth-child(3n)      { border-right: none; }
.pillar-cell:nth-last-child(-n+3) { border-bottom: none; }

.pillar-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--m-lt);
  opacity: 0.45;
  margin-bottom: 0.25rem;
}
.pillar-title {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--t-lt);
  letter-spacing: -0.01em;
}
.pillar-desc {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--m-lt);
}

/* --- Instagram section --- */
.ig-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(13,26,15,0.08);
}
.ig-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}
.ig-title {
  font-family: var(--f-disp);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--t-lt);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ig-handle {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--m-lt);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.ig-handle:hover { color: var(--lime-dk); }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}
.ig-cell {
  aspect-ratio: 9 / 16;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: var(--cream-2);
  position: relative;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ig-cell:hover { opacity: 0.8; }
.ig-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ig-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}
.ig-loading {
  padding: 2rem;
  font-size: 0.8125rem;
  color: var(--m-lt);
  opacity: 0.5;
}
.ig-fallback {
  padding: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t-lt);
  text-decoration: none;
}



/* ============================================================
   CASE STUDIES / WORK
   ============================================================ */
#work {
  background: var(--dark);
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.text-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lime);
  transition: gap 0.2s var(--ease);
  flex-shrink: 0;
}
.text-link:hover { gap: 0.75rem; }
.text-link-lt { color: var(--lime-dk); }
.text-link-lt:hover { color: var(--lime-dk); }

.work-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* ---- Case Study Card ---- */
.cs-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  background: var(--dark-2);
  border-radius: 16px;
  overflow: hidden;
  min-height: 540px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}

.cs-info {
  padding: clamp(2.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cs-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.5rem;
}

.cs-title {
  font-family: var(--f-disp);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.cs-desc {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: rgba(237,233,220,0.62);
  margin-bottom: 2rem;
}

.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.cs-tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(237,233,220,0.18);
  border-radius: 100px;
  color: rgba(237,233,220,0.5);
}

.cs-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  transition: gap 0.2s var(--ease);
}
.cs-cta:hover { gap: 0.85rem; }

.cs-visual {
  position: relative;
  overflow: hidden;
  background: #060f1e;
}

.cs-screen {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.05);
  object-fit: cover;
}

.cs-screen-main {
  width: 72%;
  top: 8%;
  left: 5%;
  z-index: 2;
}

.cs-screen-2 {
  width: 60%;
  bottom: 5%;
  right: 3%;
  z-index: 3;
}


/* ============================================================
   SERVICES LIST
   ============================================================ */
#services {
  background: var(--cream);
  color: var(--t-lt);
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.services-desc { font-size: 0.9375rem; color: var(--m-lt); line-height: 1.75; }

.service-rows { border-top: 1px solid rgba(13,26,15,0.08); }

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.375rem 0;
  border-bottom: 1px solid rgba(13,26,15,0.08);
  transition: padding-left 0.25s var(--ease);
  cursor: default;
}
.service-row:hover { padding-left: 0.625rem; }

.service-left { display: flex; align-items: center; gap: 1.5rem; }
.service-n {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--m-lt);
  width: 24px;
  flex-shrink: 0;
}
.service-name {
  font-family: var(--f-disp);
  font-size: clamp(1.25rem, 2.5vw, 2.75rem);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--t-lt);
  transition: color 0.2s;
}
.service-row:hover .service-name { color: var(--lime-dk); }
.service-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--m-lt);
  max-width: 240px;
  text-align: right;
  line-height: 1.5;
}


/* ============================================================
   PROCESS
   ============================================================ */
#process {
  background: var(--dark);
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(237,233,220,0.07);
  border-radius: 10px;
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  gap: 0;
}

.process-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(237,233,220,0.07);
  transition: background 0.3s;
}
.process-item:last-child { border-right: none; }
.process-item:hover { background: var(--dark-2); }

.process-n {
  font-family: var(--f-body);
  font-size: 3rem;
  font-weight: 700;
  text-transform: none;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0.2;
  transition: opacity 0.3s;
}
.process-item:hover .process-n { opacity: 1; }

.process-title {
  font-family: var(--f-disp);
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: none;
  color: var(--t-dk);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.process-desc { font-size: 0.875rem; color: var(--m-dk); line-height: 1.65; }



/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials {
  background: var(--dark);
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(237,233,220,0.07);
  border-radius: 10px;
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 5rem);
}

.testi-card {
  background: var(--dark-2);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testi-stars { color: var(--lime); font-size: 0.875rem; letter-spacing: 2px; }
.testi-quote { font-size: 0.9375rem; color: var(--t-dk); line-height: 1.75; font-style: italic; flex: 1; }
.testi-foot {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(237,233,220,0.07);
}
.testi-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(200,255,87,0.1);
  border: 1px solid rgba(200,255,87,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--lime);
  flex-shrink: 0;
}
.testi-name { font-size: 0.875rem; font-weight: 600; color: var(--t-dk); }
.testi-role { font-size: 0.72rem; color: var(--m-dk); }


/* ============================================================
   PRICING
   ============================================================ */
#pricing {
  background: var(--cream);
  color: var(--t-lt);
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(13,26,15,0.07);
  border: 1px solid rgba(13,26,15,0.07);
  border-radius: 12px;
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 5rem);
}

.price-card {
  background: var(--cream);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.3s;
}
.price-card:not(.featured):hover { background: var(--cream-2); }
.price-card.featured { background: var(--dark); color: var(--t-dk); }

.price-tier {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime-dk);
  margin-bottom: 0.625rem;
}
.price-card.featured .price-tier { color: var(--lime); }

.price-name {
  font-family: var(--f-disp);
  font-size: clamp(1.75rem, 3vw, 3.25rem);
  font-weight: 400;
  text-transform: none;
  line-height: 1.1;
  color: var(--t-lt);
  margin-bottom: 0.75rem;
}
.price-card.featured .price-name { color: var(--t-dk); }

.price-desc {
  font-size: 0.875rem;
  color: var(--m-lt);
  line-height: 1.65;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(13,26,15,0.08);
}
.price-card.featured .price-desc { color: var(--m-dk); border-bottom-color: rgba(237,233,220,0.08); }

.price-amount {
  font-family: var(--f-body);
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  font-weight: 700;
  text-transform: none;
  line-height: 1;
  color: var(--t-lt);
  letter-spacing: 0.01em;
}
.price-card.featured .price-amount { color: var(--lime); }
.price-line { display: flex; align-items: flex-end; gap: 0.5rem; margin-bottom: 2rem; }
.price-period { font-size: 0.75rem; color: var(--m-lt); padding-bottom: 0.35em; }
.price-card.featured .price-period { color: var(--m-dk); }

.price-features { display: flex; flex-direction: column; gap: 0.75rem; flex: 1; margin-bottom: 2rem; }
.price-feat {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--m-lt);
  line-height: 1.4;
  align-items: flex-start;
}
.price-card.featured .price-feat { color: var(--m-dk); }
.feat-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(46,107,0,0.1);
  border: 1px solid rgba(46,107,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: var(--lime-dk);
  flex-shrink: 0;
  margin-top: 2px;
}
.price-card.featured .feat-check {
  background: rgba(200,255,87,0.1);
  border-color: rgba(200,255,87,0.25);
  color: var(--lime);
}
.price-cta { width: 100%; justify-content: center; }
.pricing-note { text-align: center; margin-top: 2rem; font-size: 0.875rem; color: var(--m-lt); }
.pricing-note a { color: var(--lime-dk); font-weight: 500; }


/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--dark);
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.contact-desc { font-size: 0.9375rem; color: var(--m-dk); line-height: 1.75; margin-bottom: 2rem; }

.contact-email-link {
  font-family: var(--f-disp);
  font-size: clamp(1.125rem, 2vw, 2.125rem);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
  transition: gap 0.2s;
}
.contact-email-link:hover { gap: 0.875rem; }

.contact-socials { display: flex; gap: 0.625rem; }
.s-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(237,233,220,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m-dk);
  transition: all 0.2s;
}
.s-icon:hover { border-color: var(--lime); color: var(--lime); }

.form-box {
  background: var(--dark-2);
  border: 1px solid rgba(237,233,220,0.07);
  border-radius: 12px;
  padding: 2.5rem;
}
.fg { margin-bottom: 1.25rem; }
.fl {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-dk);
  margin-bottom: 0.5rem;
}
.fi {
  width: 100%;
  background: var(--dark);
  border: 1px solid rgba(237,233,220,0.09);
  border-radius: 6px;
  padding: 0.875rem 1rem;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: var(--t-dk);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fi::placeholder { color: var(--m-dk); opacity: 0.6; }
.fi:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200,255,87,0.07); }
textarea.fi { min-height: 130px; resize: vertical; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Form validation */
.fi.is-invalid {
  border-color: #ff5a5a;
  box-shadow: 0 0 0 3px rgba(255,90,90,0.08);
}
.field-error {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #ff6b6b;
  margin-top: 0.45rem;
  letter-spacing: 0.01em;
  min-height: 1.1em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.field-error.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.field-error::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%23ff6b6b' stroke-width='1.5'/%3E%3Cpath d='M8 4.5v4' stroke='%23ff6b6b' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11' r='0.75' fill='%23ff6b6b'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.form-btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
.form-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

.form-ok { display: none; text-align: center; padding: 3rem 1rem; }
.form-ok.show { display: block; }
.ok-icon { font-size: 2rem; color: var(--lime); margin-bottom: 1rem; }
.form-ok h3 {
  font-family: var(--f-disp);
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--t-dk);
  margin-bottom: 0.5rem;
}
.form-ok p { font-size: 0.9375rem; color: var(--m-dk); }


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark-3);
  border-top: 1px solid rgba(237,233,220,0.06);
  overflow: hidden;
}

.footer-statement {
  padding: clamp(3rem, 7vw, 7rem) 0 2rem;
  border-bottom: 1px solid rgba(237,233,220,0.06);
}

.footer-closer {
  font-family: var(--f-disp);
  font-weight: 400;
  text-transform: none;
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-size: clamp(2.5rem, 7.5vw, 9rem);
  color: var(--t-dk);
}
.footer-closer .hl { color: var(--lime); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo-text {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  color: var(--t-dk);
}
.footer-logo-text .hl { color: var(--lime); }

.f-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.f-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m-dk);
  transition: color 0.2s;
}
.f-nav a:hover { color: var(--t-dk); }

.f-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.f-legal a { font-size: 0.68rem; color: var(--m-dk); opacity: 0.5; transition: opacity 0.2s; }
.f-legal a:hover { opacity: 1; }
.f-copy { font-size: 0.68rem; color: var(--m-dk); opacity: 0.45; }


/* ============================================================
   CASE STUDY MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 2000;
  background: var(--dark);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-nav-bar {
  position: sticky; top: 0;
  background: rgba(19,31,20,0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(237,233,220,0.07);
  z-index: 10;
  padding: 1.125rem 0;
}
.modal-nav-inner { display: flex; align-items: center; justify-content: space-between; }
.modal-back-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; font-weight: 500;
  color: var(--m-dk);
  transition: color 0.2s, gap 0.2s;
}
.modal-back-btn:hover { color: var(--t-dk); gap: 0.75rem; }
.modal-cat-pill {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lime); padding: 0.3rem 0.875rem;
  border: 1px solid rgba(200,255,87,0.2); border-radius: 100px;
}

.modal-content { padding: clamp(3rem, 6vw, 6rem) 0; }
.modal-title {
  font-family: var(--f-disp);
  font-size: clamp(2.5rem, 7vw, 7rem);
  font-weight: 400; text-transform: none;
  letter-spacing: -0.025em; line-height: 1.0;
  color: var(--t-dk); margin-bottom: 1rem;
}
.modal-sub { font-size: 1.0625rem; color: var(--m-dk); max-width: 580px; line-height: 1.75; margin-bottom: 3rem; }

.modal-cover {
  width: 100%; height: 480px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--m-dk); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: clamp(3rem, 6vw, 6rem);
  border: 1px solid rgba(237,233,220,0.07);
}

.modal-meta-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(237,233,220,0.07);
  border-bottom: 1px solid rgba(237,233,220,0.07);
  margin-bottom: clamp(3rem, 6vw, 6rem);
}
.m-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--m-dk); margin-bottom: 0.375rem; }
.m-val { font-size: 0.9375rem; font-weight: 600; color: var(--t-dk); }

.cs-sec { margin-bottom: clamp(3rem, 5vw, 5rem); padding-bottom: clamp(3rem, 5vw, 5rem); border-bottom: 1px solid rgba(237,233,220,0.07); }
.cs-sec:last-child { border-bottom: none; }

.cs-tag-label { margin-bottom: 1.25rem; }
.cs-pill { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); padding: 0.28rem 0.75rem; border: 1px solid rgba(200,255,87,0.2); border-radius: 100px; }
.cs-title { font-family: var(--f-disp); font-size: clamp(1.75rem, 3.5vw, 3.25rem); font-weight: 400; text-transform: none; letter-spacing: -0.02em; line-height: 1.05; color: var(--t-dk); }
.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 1.5rem; }
.cs-body { font-size: 1rem; color: var(--m-dk); line-height: 1.85; }
.cs-body p + p { margin-top: 1rem; }
.cs-img-ph { width: 100%; aspect-ratio: 4/3; background: var(--dark-2); border: 1px solid rgba(237,233,220,0.07); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--m-dk); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }
.cs-quote-block { background: var(--dark-2); border-left: 2px solid var(--lime); padding: 1.5rem; margin-top: 1.5rem; border-radius: 0 6px 6px 0; }
.cs-quote-block p { font-size: 1rem; color: var(--t-dk); font-style: italic; line-height: 1.75; }
.cs-tags-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.cs-tag-chip { padding: 0.28rem 0.875rem; background: rgba(237,233,220,0.05); border: 1px solid rgba(237,233,220,0.09); border-radius: 100px; font-size: 0.72rem; font-weight: 500; color: var(--m-dk); }
.cs-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.cs-stat-box { text-align: center; padding: 2rem; background: var(--dark-2); border: 1px solid rgba(237,233,220,0.07); border-radius: 8px; }
.cs-stat-n { font-family: var(--f-disp); font-size: 2.75rem; font-weight: 700; text-transform: uppercase; color: var(--lime); line-height: 1; margin-bottom: 0.5rem; }
.cs-stat-l { font-size: 0.875rem; color: var(--m-dk); line-height: 1.4; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger  { display: flex; }
  .nav-mobile  { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }

  .studio-pillars { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }

  .split-wrap  { grid-template-columns: 1fr; }
  .split-panel { min-height: 50vh; }
  .split-panel:first-child { border-right: none; border-bottom: 1px solid rgba(13,26,15,0.08); }

  .services-intro { grid-template-columns: 1fr; gap: 2rem; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-item:nth-child(2) { border-right: none; }
  .process-item:nth-child(3),
  .process-item:nth-child(4) { border-top: 1px solid rgba(237,233,220,0.07); }


  .testi-grid  { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  .contact-grid { grid-template-columns: 1fr; }

  .cs-cols { grid-template-columns: 1fr; }
  .cs-stats-row { grid-template-columns: 1fr; }
  .modal-meta-row { grid-template-columns: 1fr 1fr; }
  .modal-cover { height: 260px; }
}

@media (max-width: 767px) {
  /* ---- Hero mobile fix ---- */
  #hero {
    height: auto;
    min-height: 100svh;
    padding: 0 0 3.5rem;
    align-items: flex-end;   /* text sits at the bottom */
  }

  #hero > .wrap {
    display: flex;
    align-items: flex-end;
    width: 100%;
  }

  .hero-left {
    max-width: 100%;
    gap: 1.25rem;
    position: relative;
    z-index: 4;
  }

  /* Hide eyebrow on mobile */
  .hero-eyebrow { display: none; }

  /* Show only 3 columns on mobile (hide 1st and 5th) */
  .screens-col:nth-child(1),
  .screens-col:nth-child(5) { display: none; }

  /* Make the 3 remaining columns equal and fill full width */
  .screens-col { flex: 1 !important; }

  /* Slow down animations slightly for seamless look on smaller screens */
  .sc-up-slow  { animation-duration: 55s; }
  .sc-up-med   { animation-duration: 42s; }
  .sc-down-slow { animation-duration: 60s; }
  .sc-down-med  { animation-duration: 45s; }

  /* Flip gradient: dark at bottom (text area) → transparent at top (screens) */
  .screens-overlay {
    background:
      linear-gradient(to top,
        rgba(19,31,20,1.00)  0%,
        rgba(19,31,20,0.97) 28%,
        rgba(19,31,20,0.60) 52%,
        rgba(19,31,20,0.15) 72%,
        rgba(19,31,20,0.00) 100%
      );
  }

  /* Screens brighter since they're now the hero visual */
  .screens-stage { opacity: 0.70; }

  /* Remove gaps between images — prevents dark lines on mobile */
  .screens-cols { gap: 2px; }
  .sc-track { gap: 2px; }
  .sc-img { border-radius: 4px; }

  /* ---- Everything else ---- */
  .cs-card {
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto;
    min-height: auto;
    background: rgba(30,44,31,0.95);
    border: 1px solid rgba(237,233,220,0.1);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    border-radius: 20px;
  }
  /* Image on top */
  .cs-visual {
    order: -1;
    height: 260px;
    border-radius: 0;
    border-bottom: 1px solid rgba(237,233,220,0.07);
  }
  .cs-info { padding: 1.75rem; }
  .cs-screen-main { width: 80%; top: 5%; left: 5%; }
  .cs-screen-2 { width: 62%; bottom: 4%; right: 3%; }
  .cs-title { font-size: 2.5rem; margin-bottom: 1rem; }
  .cs-desc { font-size: 0.875rem; margin-bottom: 1.5rem; }
  .cs-tags { margin-bottom: 1.5rem; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .studio-pillars { grid-template-columns: 1fr; }
  .pillar-cell { border-right: none; border-bottom: 1px solid rgba(13,26,15,0.08); }
  .pillar-cell:last-child { border-bottom: none; }
  .fr { grid-template-columns: 1fr; }
  .form-box { padding: 1.5rem; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .hero-scroll { display: none; }
  .section-top { flex-direction: column; align-items: flex-start; }
  .process-grid { grid-template-columns: 1fr; }
  .process-item {
    border-right: none;
    border-bottom: 1px solid rgba(237,233,220,0.07);
    transition: background 0.4s ease;
  }
  .process-item:last-child { border-bottom: none; }

  /* Scroll-highlight effect — mobile only */
  .process-n {
    transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  }
  .process-item.is-active {
    background: rgba(200,255,87,0.04);
  }
  .process-item.is-active .process-n {
    color: var(--lime);
    opacity: 1;
    transform: scale(1.08);
    transform-origin: left center;
  }
  .process-item.is-active .process-title {
    color: var(--cream);
  }
  .modal-meta-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .f-nav { gap: 1rem; }
}

@media (min-width: 1440px) {
  :root { --max: 1440px; }
}
