/* =====================================================
   DC GROUPS — DREAM COMMUNITY
   Main Stylesheet v1.0 | dcgroups.com.au
   Design: Japanese Minimal × Australian Spirit
   ===================================================== */

/* === 1. DESIGN TOKENS ======================================== */
:root {
  --bg:       #FCFCF4;
  --bg-dark:  #232428;
  --text:     #232428;
  --muted:    #B3AAA3;
  --accent:   #FF5623;
  --blue:     #5C88EE;
  --yellow:   #FFBF33;
  --green:    #67C56B;
  --cream:    #ECE9E4;
  --tan:      #EBD2AB;
  --white:    #FFFFFF;
  --border:   rgba(35,36,40,0.1);

  --font: 'Space Grotesk', 'Helvetica Neue', ui-sans-serif, system-ui, sans-serif;

  --ease-1: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-2: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-3: cubic-bezier(0.87, 0, 0.13, 1);

  --nav-h: 68px;
  --max:   1400px;
  --pad:   clamp(20px, 5.5vw, 88px);
  --pv:    clamp(72px, 10vw, 148px);
}

/* === 2. RESET ================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { border: none; background: none; font-family: inherit; cursor: none; }
body.is-loading { overflow: hidden; }

/* Grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9997;
}

/* Scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* === 3. PRELOADER ============================================= */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pre-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
}

.pre-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  overflow: hidden;
}

.pre-dream {
  display: block;
  font-size: clamp(52px, 14vw, 180px);
  font-weight: 200;
  color: var(--white);
  letter-spacing: 0.35em;
  line-height: 1;
  transform: translateY(110%);
  opacity: 0;
  transition: none;
  text-transform: uppercase;
}

.pre-community {
  display: block;
  font-size: clamp(18px, 4.5vw, 64px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.28em;
  line-height: 1;
  transform: translateY(-110%);
  opacity: 0;
  transition: none;
  text-transform: uppercase;
}

.pre-divider {
  width: 1px;
  height: 0;
  background: rgba(255,255,255,0.15);
  margin: 20px auto;
}

.pre-tagline {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  opacity: 0;
}

.pre-bottom {
  position: absolute;
  bottom: var(--pad);
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.pre-location {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  opacity: 0;
}

.pre-counter {
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 700;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.pre-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
}

.pre-progress {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.05s linear;
}

/* === 4. CUSTOM CURSOR ========================================= */
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  mix-blend-mode: difference;
  transition-property: width, height, opacity;
  transition-timing-function: var(--ease-1);
  transition-duration: 0.25s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  transition-duration: 0.1s;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid #fff;
  background: transparent;
}

.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
}

/* === 5. NAVIGATION ============================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.5s var(--ease-1), border-color 0.5s;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(252,252,244,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

#nav.nav-dark {
  background: transparent;
}

#nav.nav-dark.scrolled {
  background: rgba(35,36,40,0.92);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
  color: var(--text);
  transition: color 0.3s;
}

.nav-logo svg { width: 160px; height: auto; }
#nav.nav-dark .nav-logo { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  position: relative;
  transition: color 0.3s;
}

#nav.nav-dark .nav-link { color: rgba(255,255,255,0.8); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease-2);
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--accent); }

.nav-cta {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--bg-dark);
  padding: 10px 24px;
  border-radius: 2px;
  transition: background 0.3s;
}
.nav-cta:hover { background: var(--accent); }
#nav.nav-dark .nav-cta { background: rgba(255,255,255,0.12); }
#nav.nav-dark .nav-cta:hover { background: var(--accent); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5.5px;
  padding: 4px;
  z-index: 1001;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease-2), opacity 0.3s;
}
#nav.nav-dark .nav-burger span { background: var(--white); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
#mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-2);
}
#mobile-nav.open { clip-path: inset(0 0 0% 0); }

.mob-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mob-link {
  font-size: clamp(36px, 10vw, 60px);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  transition: color 0.3s;
  padding: 8px 0;
}
.mob-link:hover { color: var(--accent); }

.mob-footer {
  position: absolute;
  bottom: var(--pad);
  left: var(--pad); right: var(--pad);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

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

.section { padding: var(--pv) 0; }
.section-sm { padding: calc(var(--pv) * 0.65) 0; }

.s-dark { background: var(--bg-dark); color: var(--white); }
.s-accent { background: var(--accent); color: var(--white); }
.s-cream { background: var(--cream); }

/* === 7. TYPOGRAPHY UTILITIES ================================== */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.label-num {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.s-dark .label { color: rgba(255,255,255,0.35); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--border);
}
.s-dark .section-head { border-bottom-color: rgba(255,255,255,0.08); }

/* === 8. BUTTONS =============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
  cursor: none;
}
.btn-solid {
  background: var(--accent);
  color: var(--white);
}
.btn-solid:hover { background: #d94d1e; transform: translateY(-1px); }

.btn-outline {
  border: 1px solid var(--text);
  color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--bg); }

.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--accent); background: var(--accent); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.3s, gap 0.3s var(--ease-2);
}
.link-arrow::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease-2);
}
.link-arrow:hover { gap: 14px; color: var(--accent); }
.link-arrow:hover::after { width: 100%; }

.arrow-icon { display: inline-block; transition: transform 0.3s var(--ease-2); }
.link-arrow:hover .arrow-icon { transform: translateX(4px); }

/* === 9. HERO ================================================== */
#hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 120px) var(--pad);
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 52px);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-2) 1.8s forwards;
}

.pulse-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero-eyebrow-text {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-h1 {
  font-size: clamp(38px, 6.8vw, 104px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: clamp(40px, 6vw, 88px);
  overflow: hidden;
}

.h1-line {
  display: block;
  overflow: hidden;
}

.h1-inner {
  display: block;
  transform: translateY(110%);
  opacity: 0;
}

.h1-line.indent .h1-inner { padding-left: clamp(48px, 8vw, 160px); }
.h1-line.orange .h1-inner { color: var(--accent); font-style: italic; }

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-2) 2.2s forwards;
}

.hero-meta { max-width: 360px; }

.hero-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-bar {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  41%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Hero collage layers */
.hero-collage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Left-side gradient shield keeps text readable */
.hero-collage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #fcfcf4 0%,
    #fcfcf4 22%,
    rgba(252,252,244,0.82) 38%,
    rgba(252,252,244,0.25) 55%,
    transparent 70%
  );
  z-index: 10;
}

.hero-collage__bg,
.hero-collage__img,
.hero-collage__dot1,
.hero-collage__dot2 {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}

.hero-collage__bg   { z-index: 1; opacity: 0.9; }
.hero-collage__img  { z-index: 2; }
.hero-collage__dot1 { z-index: 3; mix-blend-mode: multiply; opacity: 0.6; }
.hero-collage__dot2 { z-index: 4; mix-blend-mode: multiply; opacity: 0.6; }

/* === 10. MARQUEE ============================================== */
.marquee-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
  background: var(--bg);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  gap: 0;
}

.marquee-track span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 20px;
  white-space: nowrap;
}

.marquee-track .dot-sep {
  color: var(--accent);
  padding: 0 6px;
  font-size: 8px;
}

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

/* === 11. INTRO / ABOUT STRIP ================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.sticky-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  flex-direction: column;
}
.sticky-label .label { flex-direction: column; align-items: flex-start; gap: 4px; }

.intro-body {}

.intro-statement {
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 300;
  line-height: 1.38;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
}

.intro-statement em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.intro-rule {
  width: 56px; height: 1px;
  background: var(--border);
  margin-bottom: 40px;
}

.intro-statement-2 {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1.75;
  color: #555;
  margin-bottom: 56px;
}

.intro-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.intro-kpi { text-align: right; }
.kpi-num {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}
.kpi-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* === 12. SERVICES PREVIEW ===================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.svc-card {
  background: var(--bg-dark);
  padding: clamp(28px, 3.5vw, 52px);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease-2);
}
.svc-card:hover::before { width: 100%; }
.svc-card:hover { background: #2c2d32; }

.svc-num {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.2);
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}

.svc-title {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.25;
}

.svc-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 28px;
}

.svc-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* === 13. WORKS PREVIEW ======================================== */
.works-list { display: flex; flex-direction: column; }

.work-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(32px, 4vw, 64px) 0;
  border-bottom: 1px solid var(--border);
  transition: gap 0.5s var(--ease-2);
}
.work-row:first-child { border-top: 1px solid var(--border); }
.work-row:hover { gap: clamp(36px, 5vw, 80px); }

.work-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream);
}

.work-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 900;
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.05em;
  transition: transform 0.7s var(--ease-2);
}
.work-row:hover .work-thumb { transform: scale(1.04); }

.work-info { padding: 16px 0; }

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.work-cat {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.work-yr { font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); }

.work-title {
  font-size: clamp(20px, 2.8vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.result-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 2px;
}

/* === 13b. WORKS FEATURED TABS ================================= */
.wf-section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.wf-tabs {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.wf-tabs::-webkit-scrollbar { display: none; }

.wf-tab {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: inherit;
  padding: 18px clamp(16px, 2.5vw, 36px);
  background: none;
  border: none;
  border-right: 1px solid var(--border);
  cursor: pointer;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.wf-tab.active              { background: var(--accent); color: var(--white); }
.wf-tab:hover:not(.active)  { background: var(--dark); color: var(--white); }

.wf-tab-all {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 18px clamp(16px, 2.5vw, 36px);
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255,255,255,0.1);
  transition: opacity 0.25s;
}
.wf-tab-all:hover { opacity: 0.7; }

.wf-panel         { display: none; }
.wf-panel.active  { display: block; }

.wf-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(24px, 4vw, 52px) 0 clamp(16px, 2.5vw, 28px);
}

.wf-title {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 60%;
}

.wf-meta { text-align: right; }
.wf-yr {
  display: block;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.wf-cat {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.wf-rule {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 0;
}

.wf-body {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(24px, 4vw, 44px) 0 clamp(32px, 5vw, 60px);
  align-items: start;
}

.wf-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

.wf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.wf-tag {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 10px;
}

.wf-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1.5px solid var(--dark);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.wf-link:hover { color: var(--accent); border-color: var(--accent); }

.wf-visual {
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
}

.wf-thumb-main {
  width: 100%;
  height: 100%;
}

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

.wf-side-stat {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 300;
}
.wf-side-stat strong {
  display: block;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .wf-body { grid-template-columns: 1fr; }
  .wf-title { max-width: 100%; }
}

/* === 14. RESULTS / STATS ====================================== */
.results-header {
  margin-bottom: clamp(48px, 6vw, 88px);
}

.results-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.results-h2 {
  font-size: clamp(52px, 9vw, 128px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.stat-box {
  background: rgba(255,255,255,0.04);
  padding: clamp(24px, 3vw, 44px);
}

.stat-top {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}

.stat-n {
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.stat-sfx {
  font-size: clamp(22px, 3.5vw, 48px);
  font-weight: 700;
  opacity: 0.35;
}

.stat-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  font-weight: 300;
}

/* === 15. SOCIAL SECTION ======================================= */
.social-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.social-h2 {
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin-bottom: 44px;
}
.social-h2 em { font-style: italic; color: var(--accent); font-weight: 400; }

.platforms-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.3s, color 0.3s;
}
.platform-chip:hover { border-color: var(--accent); color: var(--accent); }
.platform-chip::before {
  content: '◆';
  font-size: 7px;
  color: var(--accent);
}

/* === 16. CTA STRIP ============================================ */
.cta-strip {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}

.cta-h2 {
  font-size: clamp(36px, 6.5vw, 88px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
}
.cta-h2 em { font-style: italic; color: var(--accent); }

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* === 17. FOOTER =============================================== */
#footer {
  background: var(--bg-dark);
  color: var(--white);
  overflow: hidden;
}

/* Top nav row */
.footer-top {
  display: flex;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(36px, 4.5vw, 56px) var(--pad) clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-col-end { margin-left: auto; }

.footer-col-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  transition: color 0.25s;
  line-height: 1.35;
}
.footer-col a:hover { color: var(--accent); }

/* Wordmark row */
.footer-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.18em;
  padding: clamp(14px, 2.5vw, 28px) var(--pad) 0;
  white-space: nowrap;
}

.footer-wordmark span {
  font-size: clamp(44px, 8.4vw, 152px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: var(--white);
  font-family: 'Space Grotesk', 'Helvetica Neue', sans-serif;
}

/* Animated smiley face */
.footer-face {
  width: clamp(36px, 7vw, 128px);
  height: clamp(36px, 7vw, 128px);
  flex-shrink: 0;
  animation: face-spin 12s linear infinite;
}

.footer-face svg {
  width: 100%;
  height: 100%;
  color: var(--white);
}

.footer-face .eye {
  animation: eye-blink 4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes face-spin {
  to { transform: rotate(360deg); }
}

@keyframes eye-blink {
  0%, 88%, 100% { transform: scaleY(1); }
  93%            { transform: scaleY(0.08); }
}

/* Copyright bar */
.footer-copy-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(12px, 1.8vw, 20px) var(--pad);
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* === 18. CTA TALK SECTION ===================================== */
.cta-talk-section {
  position: relative;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 10vw, 130px) 0;
  overflow: hidden;
}

.cta-talk-words {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  user-select: none;
}

.cta-talk-word {
  font-size: clamp(96px, 18vw, 320px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--dark);
  opacity: 0.055;
  font-family: 'Space Grotesk', 'Helvetica Neue', sans-serif;
}

.cta-talk-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid rgba(35,36,40,0.1);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.5vw, 38px);
  width: min(500px, 86vw);
  box-shadow: 0 6px 40px rgba(0,0,0,0.09), 0 1px 3px rgba(0,0,0,0.04);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.cta-talk-avatar {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}

.cta-talk-avatar svg { width: 100%; height: 100%; display: block; }

.cta-talk-body { flex: 1; min-width: 0; }

.cta-talk-greeting {
  font-size: 13px;
  font-weight: 400;
  color: rgba(35,36,40,0.45);
  margin-bottom: 12px;
}

.cta-talk-fields { display: flex; flex-direction: column; gap: 10px; }

.cta-talk-field { display: flex; align-items: center; gap: 8px; }

.cta-talk-field-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.cta-talk-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.cta-talk-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(35,36,40,0.18);
  outline: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--dark);
  padding: 2px 0 3px;
  min-width: 0;
  transition: border-color 0.2s;
}

.cta-talk-input:focus { border-color: var(--accent); }

.cta-talk-cursor {
  width: 1.5px;
  height: 15px;
  background: var(--dark);
  flex-shrink: 0;
  margin-left: 2px;
  animation: cursor-blink 1s step-end infinite;
}

.cta-talk-cursor.hidden { display: none; }

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.cta-talk-extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.cta-talk-extra.open { max-height: 200px; opacity: 1; }

.cta-talk-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(35,36,40,0.12);
  outline: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--dark);
  resize: none;
  padding: 8px 0 4px;
  line-height: 1.5;
  margin-top: 2px;
}

.cta-talk-textarea:focus { border-color: var(--accent); }
.cta-talk-textarea::placeholder { color: rgba(35,36,40,0.3); }

.cta-talk-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(35,36,40,0.07);
}

.cta-talk-reset {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 17px;
  color: rgba(35,36,40,0.35);
  padding: 4px 6px;
  line-height: 1;
  transition: color 0.2s, transform 0.4s cubic-bezier(.34,1.56,.64,1);
}

.cta-talk-reset:hover { color: var(--dark); transform: rotate(-180deg); }

.cta-talk-send {
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s;
}

.cta-talk-send:hover { background: var(--dark); }
.cta-talk-send:disabled { opacity: 0.35; cursor: default; }

.cta-talk-sent {
  display: none;
  font-size: 13px;
  color: #67C56B;
  font-weight: 500;
  padding: 8px 0 2px;
  text-align: right;
}

/* === 19. WORKS PAGE =========================================== */
.page-hero {
  min-height: 52vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--border);
}

.page-h1 {
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.page-intro {
  max-width: 500px;
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 24px;
}

.page-hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.page-hero-count {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Works Filter */
.filter-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: clamp(24px, 3vw, 40px) 0;
}

.filter-btn {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted);
  transition: all 0.3s;
  cursor: none;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
}

/* Works Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  padding: clamp(24px, 3vw, 48px) 0;
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: none;
}

.work-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.work-card-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  letter-spacing: -0.05em;
  transition: transform 0.7s var(--ease-2);
}
.work-card:hover .work-card-thumb { transform: scale(1.06); }

.work-card-info {
  padding: 20px 0 8px;
}

.work-card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.work-card-cat {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-card-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Work card large (featured) */
.work-card.featured { grid-column: span 2; }
.work-card.featured .work-card-img { aspect-ratio: 21/9; }
.work-card.featured .work-card-title { font-size: clamp(24px, 3.5vw, 44px); }

/* === 19. SERVICES PAGE ======================================== */
.svc-list { display: flex; flex-direction: column; }

.svc-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 5vw, 80px) 0;
  border-bottom: 1px solid var(--border);
  transition: gap 0.4s var(--ease-2);
}
.svc-row:first-child { border-top: 1px solid var(--border); }

.svc-row-left {}

.svc-row-num {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.svc-row-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.svc-row-right { padding-top: 8px; }

.svc-row-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #555;
  margin-bottom: 32px;
}

.svc-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.svc-feat {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
}

/* Process section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.process-step {
  background: var(--bg);
  padding: clamp(28px, 3.5vw, 48px);
}

.process-step-num {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.process-step-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.25;
}

.process-step-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* === 20. ABOUT PAGE =========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about-statement {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.about-statement em { font-style: italic; color: var(--accent); font-weight: 400; }

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
}

.value-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.value-item:first-child { border-top: 1px solid var(--border); }

.value-num {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 4px;
}

.value-title {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  margin-bottom: 8px;
}

.value-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.team-card { }

.team-photo {
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--cream);
}

.team-photo-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 700;
  color: rgba(35,36,40,0.12);
  transition: transform 0.6s var(--ease-2);
}
.team-card:hover .team-photo-inner { transform: scale(1.04); }

.team-name {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}

.contact-info-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 32px;
}
.contact-info-title em { font-style: italic; color: var(--accent); }

.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-detail-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-detail-value {
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
}
.contact-detail-value a:hover { color: var(--accent); }

/* Form */
.form-row { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  cursor: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-bottom-color: var(--accent); }

.form-textarea { resize: none; min-height: 120px; }

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--bg-dark);
  color: var(--white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s;
  margin-top: 8px;
  cursor: none;
}
.form-submit:hover { background: var(--accent); transform: translateY(-1px); }

/* === 21. SCROLL ANIMATIONS ==================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.85s var(--ease-2),
    transform 0.85s var(--ease-2);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-x {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.8s var(--ease-2),
    transform 0.8s var(--ease-2);
  transition-delay: var(--d, 0s);
}
.reveal-x.in { opacity: 1; transform: translateX(0); }

/* === 21b. GENERATED TYPOGRAPHIC THUMBNAILS =================== */
/* Shared styles for auto-generated editorial cards (no image)   */
.gen-thumb {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  align-items: flex-start !important; /* reset after override below */
  align-items: center !important;
}

/* Brand label — absolute top-center */
.gen-brand {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(35, 36, 40, 0.32);
  font-family: var(--font);
  pointer-events: none;
}

/* Text block — centered */
.gen-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 36px 20px 0;
  width: 100%;
}

/* Eyebrow — italic category / pre-colon fragment */
.gen-eyebrow {
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  color: rgba(35, 36, 40, 0.52);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* Main headline */
.gen-title-inner {
  font-size: clamp(19px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #232428;
  margin: 0;
}

/* === 22. INSIGHTS SECTION (homepage blog preview) ============= */
.insights-section {
  padding: clamp(44px, 5.5vw, 76px) 0;
}

/* Header row — headline + pill button */
.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(28px, 3.5vw, 48px);
  gap: 24px;
}

.insights-h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.1;
}

.insights-h2 em {
  font-style: normal;
  color: var(--accent);
}

.insights-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 11px 20px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}
.insights-pill-btn:hover { background: rgba(255,255,255,0.13); color: var(--white); }

/* 3-column card grid */
.insights-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}

/* Individual insight card */
.insight-card {
  display: flex;
  flex-direction: column;
  cursor: none;
  transition: transform 0.35s var(--ease-2);
}
.insight-card:hover { transform: translateY(-4px); }

/* Card image / color block */
.insight-card-thumb {
  border-radius: 10px;
  aspect-ratio: 3/2;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
  background-size: cover !important;
  background-position: center !important;
  text-align: center;
}

/* Real thumbnail images: anchor left so left-aligned editorial content isn't cropped */
.insight-card-thumb.has-thumb {
  background-position: left center !important;
}

/* Dark overlay for thumbnail cards */
.insight-card-thumb.has-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
  border-radius: 10px;
  pointer-events: none;
}

/* Below-card footer */
.insight-card-foot { padding: 0 2px; }

.insight-card-full-title {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.45;
  margin-bottom: 8px;
}

.insight-card-cat {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}

/* === 23. RESPONSIVE =========================================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .sticky-label { position: static; }
  .insights-cards { grid-template-columns: repeat(2, 1fr); }
  .insights-header { flex-direction: column; align-items: flex-start; }
  .svc-row { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card.featured { grid-column: span 1; }
  .work-card.featured .work-card-img { aspect-ratio: 4/3; }
  .work-card.featured .work-card-title { font-size: clamp(20px, 3vw, 32px); }
  .hero-collage { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .work-row { grid-template-columns: 1fr; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 36px; }
  .hero-scroll { display: none; }
  .intro-foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .intro-kpi { text-align: left; }
  .page-hero-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 520px) {
  .insights-cards { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-top { flex-wrap: wrap; gap: 24px; }
  .footer-col-end { margin-left: 0; }
  .footer-wordmark { gap: 0.12em; }
  .cta-buttons { flex-direction: column; gap: 16px; }
}

/* === 24. FEATURED WORKS — RIPPLE CARDS ======================= */
.wp-section {
  background: var(--bg);
}

.wp-head {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.wp-h2 {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--text);
}
.wp-h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}

/* 55 / 45 asymmetric grid */
.wp-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 12px;
}

/* ── Individual card ── */
.fp-card {
  position: relative;
  display: block;
  height: clamp(300px, 36vw, 480px);
  border-radius: 14px;
  overflow: hidden;
  background: #161820;
  text-decoration: none;
  cursor: none;
}

/* Canvas covers whole card — renders gradient/image + ripple */
.fp-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
  /* CSS upscale from half-resolution — slight softness looks cinematic */
  image-rendering: auto;
}

/* Video element — invisible, used as pixel source by canvas */
.fp-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

/* Content overlay — sits above canvas */
.fp-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

/* Giant ghosted index number — top-left decorative */
.fp-idx {
  display: block;
  padding: 20px 24px;
  font-size: clamp(64px, 9vw, 108px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  user-select: none;
  transition: color 0.5s ease;
}
.fp-card:hover .fp-idx {
  color: rgba(255, 255, 255, 0.08);
}

/* Bottom info bar with gradient scrim */
.fp-bottom {
  padding: 44px 24px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 100%);
  transform: translateY(6px);
  transition: transform 0.45s var(--ease-2);
}
.fp-card:hover .fp-bottom {
  transform: translateY(0);
}

.fp-cat {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}

.fp-title {
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: #fff;
  margin: 0;
}

/* Arrow link button — top right */
.fp-arrow-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition:
    background   0.3s ease,
    border-color 0.3s ease,
    color        0.3s ease,
    transform    0.4s var(--ease-2);
}
.fp-card:hover .fp-arrow-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.12);
}

/* View All button */
.wp-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.wp-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1.5px solid rgba(35, 36, 40, 0.25);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.wp-more-btn:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .wp-grid {
    grid-template-columns: 1fr;
  }
  .fp-card {
    height: clamp(240px, 60vw, 320px);
  }
  .fp-idx {
    font-size: 56px;
  }
}
