/* ============================================
   ZENSTARS Landing Page · style.css
   Bright Commerce · White + Orange + Charcoal
   (restyled to match ziicloud.com visual language)
   ============================================ */

/* ---------- Tokens ---------- */
:root {
  --bg-cream: #FFFFFF;      /* page base & light text on dark */
  --bg-warm: #F5F7FA;       /* light blue-gray section / cards */
  --bg-warm-2: #E9EDF2;
  --ink: #17171C;           /* charcoal — buttons, dark cards, CTA, footer */
  --ink-soft: #17171C;
  --ink-mid: #262B33;
  --ink-line: #2A2E38;      /* dividers on dark surfaces */
  --gold: #F15A24;          /* brand orange (accent) */
  --gold-deep: #D94E1F;     /* orange hover */
  --gold-soft: #FA8C33;     /* light orange (gradient end) */
  --line: #E4E8EE;          /* light borders on white cards */
  --text-primary: #1F242B;
  --text-secondary: #54616E;
  --text-muted: #6B7684;
  --text-dim: #9BA1AB;      /* muted text on dark surfaces */
  --text-dimmer: #AEB4BE;

  --font-display: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1440px;
  --pad-x: 80px;
  --pad-y: 120px;
  --radius-card: 8px;
  --radius-pill: 100px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

button {
  font: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
}

/* ---------- Container ---------- */
.container,
.hero-inner,
.header-inner,
.services,
.section-head,
.services-grid,
.cases-row,
.team-grid,
.stats,
.process,
.footer-top,
.footer-bottom,
.final-cta {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-cream);
  border-bottom: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(23, 23, 28, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--bg-cream);
  font-weight: 700;
  font-size: 16px;
  border-radius: 4px;
  letter-spacing: 0;
}

.brand-mark--gold {
  background: var(--gold);
  color: var(--bg-cream);
}

.brand-name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.brand-name--cream {
  color: var(--bg-cream);
}

.primary-nav {
  display: flex;
  gap: 40px;
}

.primary-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
}

.primary-nav a:hover {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 12px 24px;
  font-size: 14px;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg-cream);
}

.btn-primary:hover {
  background: #2A2D33;
}

.btn-ghost {
  background: var(--bg-cream);
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn-ghost:hover {
  background: var(--text-primary);
  color: var(--bg-cream);
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-cream);
}

.btn-gold:hover {
  background: var(--gold-deep);
}

.btn-outline-cream {
  background: transparent;
  color: var(--bg-cream);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-cream:hover {
  border-color: var(--bg-cream);
  background: rgba(255, 255, 255, 0.06);
}

.arrow {
  color: var(--gold);
  transition: transform 0.2s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-gold .arrow {
  color: var(--bg-cream);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--bg-cream);
  padding: 80px 0 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.eyebrow {
  display: inline-block;
  padding: 8px 16px;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  border-radius: var(--radius-pill);
  margin-bottom: 36px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 76px;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-title span {
  display: block;
}

.hero-title .italic {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 660px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding-top: 8px;
}

.hero-trust {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 8px;
}

/* Hero featured card with carousel */
.hero-card {
  background: var(--ink);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--bg-cream);
  height: 660px;
}

.hero-card-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--bg-cream);
}

.hero-card-meta {
  font-size: 13px;
  color: var(--text-dim);
}

/* Carousel */
.carousel {
  position: relative;
  height: 184px;
}

.carousel-track {
  position: relative;
  height: 144px;
  overflow: hidden;
  display: flex;
}

.slide {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  width: 122px;
  height: 144px;
}

.slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Stack the 3 slides side by side when active (carousel preview look) */
.slide[data-slide="0"] { left: 0; }
.slide[data-slide="1"] { left: calc(122px + 8px); }
.slide[data-slide="2"] { left: calc((122px + 8px) * 2); }

.slide--beauty {
  background: #FFFFFF;
}

.slide--fb {
  background: #2A1810;
}

.slide--wellness {
  background: #1F2D2A;
}

.slide-art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
}

.slide-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-label {
  margin-top:-10px;
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.slide-cat {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
}

.slide-brand {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
}

.slide--fb .slide-brand,
.slide--wellness .slide-brand {
  color: var(--bg-cream);
}

/* Dots */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  transition: width 0.4s var(--ease), background 0.4s var(--ease);
}

.dot.is-active {
  width: 24px;
  height: 4px;
  background: var(--gold);
}

.dot:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.6);
}

.autoplay-tag {
  margin-left: 8px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
}

/* Divider & Metrics */
.hero-card-divider {
  height: 1px;
  background: var(--ink-line);
}

.hero-card-metrics {
  display: flex;
  justify-content: space-between;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--bg-cream);
  line-height: 1;
}

.metric--accent .metric-value {
  color: var(--gold);
}

.metric-label {
  font-size: 12px;
  color: var(--text-dim);
}

.hero-card-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--ink-line);
  color: var(--bg-cream);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--bg-warm);
  padding: 40px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.trust-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-primary);
  text-align: center;
}

.trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.trust-logo {
  font-size: 22px;
  color: var(--text-primary);
  line-height: 1;
}

.brand-bold {
  font-weight: 700;
  letter-spacing: 3px;
}

.brand-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}

.brand-wide {
  font-weight: 600;
  letter-spacing: 4px;
}

.brand-serif {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ============================================
   SECTIONS — shared header
   ============================================ */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
}

.section-head-left {
  max-width: 720px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-label--gold {
  color: var(--gold);
}

.rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-primary);
}

.section-title--light {
  color: var(--text-primary);
}

.section-head-right {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 380px;
}

.section-head-right--light {
  color: var(--text-secondary);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--bg-cream);
  padding: var(--pad-y) var(--pad-x);
  max-width: none;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.service-card {
  border-radius: 4px;
  padding: 36px 32px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.service-card--light {
  background: var(--bg-warm);
}

.service-card--dark {
  background: var(--ink);
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-num {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
}

.service-icon {
  font-size: 24px;
  color: var(--text-primary);
}

.service-card--dark .service-icon {
  color: var(--gold);
}

.service-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.service-card--dark .service-title {
  color: var(--bg-cream);
}

.service-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.service-card--dark .service-desc {
  color: var(--text-dim);
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
}

.tag--outline {
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
}

.tag--gold {
  border: 1px solid var(--gold);
  color: var(--gold);
}

/* ============================================
   CASES
   ============================================ */
.cases {
  background: var(--bg-cream);
  padding: var(--pad-y) var(--pad-x);
  max-width: none;
  margin: 0;
}

.cases .section-head {
  max-width: var(--container);
  margin: 0 auto 64px;
  padding: 0;
}

/* Featured case */
.case-featured {
  max-width: var(--container);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 640px 1fr;
  background: var(--bg-cream);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 0;
}

.case-visual {
  height: 520px;
  position: relative;
  background: linear-gradient(135deg, #1A1F29 0%, #CC4715 55%, #FA8C33 100%);
  padding: 40px;
  display: flex;
}

.case-visual-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.case-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
}

.case-bg-text {
  font-size: 160px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.28);
  align-self: center;
  margin: auto 0;
  font-weight: 400;
}

.case-brand {
  display: inline-block;
  padding: 10px 20px;
  background: var(--bg-cream);
  border-radius: 4px;
}

.case-brand-mark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-primary);
}

.case-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
}

.case-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.case-story {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
}

.story-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gold);
}

.story-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.case-metrics {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.case-metric-v {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.case-metric-v--gold {
  color: var(--gold);
}

.case-metric-l {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Compact cases */
.cases-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.case-compact {
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  height: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

.case-compact-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.case-compact-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.case-compact-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.case-compact-v {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.case-compact-l {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   TEAM
   ============================================ */
.team {
  background: var(--bg-cream);
  padding: var(--pad-y) var(--pad-x);
  max-width: none;
  margin: 0;
}

.team .section-head {
  max-width: var(--container);
  margin: 0 auto 64px;
  padding: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.member {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.member-photo {
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-photo--ink {
  background: var(--ink);
}

.member-photo--gold {
  background: var(--gold);
}

.member-photo--warm {
  background: var(--bg-warm);
}

.member-photo--slate {
  background: var(--gold-soft);
}

.member-init {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.member-init--ink {
  color: #FFFFFF;
}

.member-init--cream {
  color: #FFFFFF;
}

.member-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.member-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.member-role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
}

.member-bio {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================
   STATS
   ============================================ */
.stats {
  background: var(--gold);
  padding: 100px var(--pad-x);
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.stats-head {
  text-align: center;
}

.stats-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-style: italic;
  font-weight: 700;
  color: #FFFFFF;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-v {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
}

.stat-v--gold {
  color: #FFE4D9;
}

.stat-l {
  font-size: 14px;
  line-height: 1.5;
  color: #FFE4D9;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  background: var(--bg-cream);
  padding: var(--pad-y) var(--pad-x);
  max-width: none;
  margin: 0;
}

.process .section-head {
  max-width: var(--container);
  margin: 0 auto 64px;
  padding: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.step {
  padding: 32px 28px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-cream);
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step--warm {
  background: var(--bg-warm);
}

.step--dark {
  background: var(--ink);
  border-right: 1px solid var(--ink);
}

.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-num {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
}

.step-time {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.step--dark .step-time {
  color: var(--text-dim);
}

.step-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
}

.step--dark .step-title {
  color: var(--bg-cream);
}

.step-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.step-desc--light {
  color: var(--text-dim);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  background: var(--ink);
  padding: 140px var(--pad-x);
  text-align: center;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
}

.cta-title {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 700;
  line-height: 1.08;
  color: var(--bg-cream);
  max-width: 900px;
}

.cta-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 720px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 16px;
}

.cta-reassure {
  font-size: 13px;
  color: var(--text-dim);
  padding-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--ink);
  padding: 80px var(--pad-x) 40px;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.footer-top {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 380px;
}

.offices {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
}

.offices li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.office-dot {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--gold);
  display: inline-block;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.link-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--bg-cream);
}

.link-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.link-col a:hover {
  color: var(--gold);
}

.footer-divider {
  height: 1px;
  background: var(--ink-mid);
  max-width: var(--container);
  margin: 0 auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 0 0;
}

.copy {
  font-size: 12px;
  color: #8A94A1;
}

.social {
  display: flex;
  gap: 24px;
}

.social a {
  font-size: 12px;
  color: #8A94A1;
}

.social a:hover {
  color: var(--gold);
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1280px) {
  :root {
    --pad-x: 48px;
  }

  .hero-title {
    font-size: 64px;
  }

  .cta-title {
    font-size: 56px;
  }

  .stat-v {
    font-size: 52px;
  }

  .section-title {
    font-size: 38px;
  }
}

@media (max-width: 1024px) {
  :root {
    --pad-x: 32px;
    --pad-y: 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card {
    height: auto;
    min-height: 600px;
  }

  .services-grid,
  .cases-row {
    grid-template-columns: 1fr;
  }

  .case-featured {
    grid-template-columns: 1fr;
  }

  .case-visual {
    height: 380px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    border: 0;
    border-radius: 0;
  }

  .step {
    border: 1px solid var(--line);
  }

  .step--dark {
    border-color: var(--ink);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .primary-nav {
    display: none;
  }

  .hero-title {
    font-size: 48px;
  }

  .cta-title {
    font-size: 42px;
  }

  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  :root {
    --pad-x: 20px;
    --pad-y: 60px;
  }

  .header-inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .btn-sm {
    padding: 10px 16px;
    font-size: 12px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card-metrics {
    flex-direction: column;
    gap: 16px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

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

  .stats-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .story-row {
    grid-template-columns: 1fr;
  }

  .case-metrics {
    flex-direction: column;
    gap: 16px;
  }

  .case-compact {
    height: auto;
  }

  .service-card {
    height: auto;
  }

  .step {
    height: auto;
  }
}

/* ============================================
   MICRO-INTERACTIONS v3.1
   Top nav underline/scrollspy · Service card motion
   ============================================ */

/* --- Top nav: sliding underline --- */
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.primary-nav a.is-active {
  color: var(--gold);
}

/* --- Header: elevation on scroll --- */
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(23, 23, 28, 0.06);
}

/* --- Header CTA: glow on hover --- */
.site-header .btn-primary {
  box-shadow: 0 0 0 0 rgba(241, 90, 36, 0);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header .btn-primary:hover {
  box-shadow: 0 6px 18px rgba(241, 90, 36, 0.35);
}

/* --- What We Do: card lift + accent ring --- */
.service-card {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card--light:hover {
  box-shadow: 0 16px 40px rgba(23, 23, 28, 0.1), 0 0 0 1.5px var(--gold);
}

.service-card--dark:hover {
  box-shadow: 0 16px 40px rgba(23, 23, 28, 0.28), 0 0 0 1.5px var(--gold);
}

/* --- Service icon: spin & pop --- */
.service-icon {
  display: inline-block;
  transition: transform 0.45s var(--ease), color 0.3s var(--ease);
}

.service-card:hover .service-icon {
  transform: rotate(90deg) scale(1.15);
}

.service-card--light:hover .service-icon {
  color: var(--gold);
}

/* --- Service number: tracking shift --- */
.service-num {
  transition: letter-spacing 0.35s var(--ease), color 0.3s var(--ease);
}

.service-card:hover .service-num {
  letter-spacing: 3px;
}

/* --- Tags: staggered fill wave --- */
.tag {
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card:hover .tag--outline {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
}

.service-card:hover .tag--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
}

/* stagger only while hovering (instant reset on leave) */
.service-card:hover .tag:nth-child(1) { transition-delay: 0.04s; }
.service-card:hover .tag:nth-child(2) { transition-delay: 0.10s; }
.service-card:hover .tag:nth-child(3) { transition-delay: 0.16s; }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .primary-nav a::after,
  .service-card,
  .service-icon,
  .service-num,
  .tag,
  .site-header .btn-primary {
    transition: none;
  }

  .service-card:hover {
    transform: none;
  }

  .service-card:hover .service-icon {
    transform: none;
  }
}
