/* ==========================================================================
   DA DIGITAL WORKS, core stylesheet
   Creative studio theme (default). Consulting page loads consulting.css
   after this file to re-point the tokens and add one-pager sections.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200;300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* ---- brand tokens (creative) ---- */
  --ink: #15150e;
  --ink-soft: #43423a;
  --paper: #faf7ef;
  --paper-dim: #f0ead9;
  --paper-line: rgba(21,21,14,.13);
  --paper-line-strong: rgba(21,21,14,.28);
  --yellow: #fad02c;
  --yellow-deep: #e8b600;
  --clay: #d6401f;
  --clay-deep: #a92c11;
  --teal: #0ea8ac;
  --teal-deep: #0a7f82;
  --white: #fffdf8;

  --accent: var(--yellow);
  --accent-deep: var(--yellow-deep);
  --on-accent: var(--ink);

  /* ---- type ---- */
  --f-display: 'Unbounded', sans-serif;
  --f-body: 'Inter', sans-serif;

  --fs-hero: clamp(2.4rem, 5.4vw, 4.8rem);
  --fs-xxl: clamp(1.8rem, 3.6vw, 3rem);
  --fs-xl: clamp(1.5rem, 2.6vw, 2.2rem);
  --fs-lg: clamp(1.3rem, 2vw, 1.65rem);
  --fs-md: 1.18rem;
  --fs-base: 1.03rem;
  --fs-sm: .89rem;
  --fs-xs: .76rem;

  /* ---- layout ---- */
  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --ease: cubic-bezier(.22,.85,.32,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --dur: .6s;

  --nav-h: 108px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote{ margin: 0; }
ul{ list-style: none; margin: 0; padding: 0; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea{ font: inherit; color: inherit; }
svg{ display: block; }

body{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* has-loader locks scroll while preloader is up */
body.is-loading{ overflow: hidden; height: 100vh; }

h1,h2,h3,h4{
  font-family: var(--f-display);
  line-height: 1.04;
  letter-spacing: -.01em;
  font-weight: 600;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section{ position: relative; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--clay);
  margin-bottom: 1.1em;
}
.eyebrow::before{
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* film grain, sits above everything, ignores pointer */
.grain{
  position: fixed; inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Custom cursor
   ========================================================================== */
.cursor-dot, .cursor-ring{
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  will-change: transform;
}
.cursor-dot{
  width: 8px; height: 8px;
  background: var(--ink);
  transition: background .25s var(--ease-soft), opacity .2s;
}
.cursor-ring{
  width: 42px; height: 42px;
  border: 1.5px solid var(--paper-line-strong);
  transition: width .3s var(--ease-soft), height .3s var(--ease-soft), border-color .3s, background .3s, opacity .2s;
  display: flex; align-items: center; justify-content: center;
}
.cursor-ring span{
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: 0;
  transition: opacity .2s;
  font-family: var(--f-body);
}
html.has-cursor{ cursor: none; }
html.has-cursor a, html.has-cursor button, html.has-cursor .cursor-link{ cursor: none; }
body.cursor-hover .cursor-ring{
  width: 64px; height: 64px;
  background: var(--ink);
  border-color: var(--ink);
}
body.cursor-hover .cursor-dot{ opacity: 0; }
body.cursor-hover .cursor-ring span{ opacity: 1; color: var(--paper); }
body.cursor-hidden .cursor-dot, body.cursor-hidden .cursor-ring{ opacity: 0; }
@media (hover: none), (pointer: coarse){
  .cursor-dot, .cursor-ring{ display: none; }
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader{
  position: fixed; inset: 0;
  z-index: 10000;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  transition: transform .9s var(--ease), opacity .6s ease .1s;
}
.preloader.is-hidden{
  transform: translateY(-102%);
}
.preloader__mark{
  width: 96px; height: 96px;
  opacity: 0;
  transform: scale(.7);
  animation: markIn 1s var(--ease) .1s forwards;
}
.preloader__mark img{ width: 100%; height: 100%; }
.preloader__bar{
  width: min(240px, 60vw);
  height: 2px;
  background: rgba(250,247,239,.18);
  border-radius: 2px;
  overflow: hidden;
}
.preloader__bar i{
  display: block; height: 100%; width: 0%;
  background: var(--yellow);
  transition: width .25s linear;
}
.preloader__label{
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  color: rgba(250,247,239,.6);
  font-weight: 600;
  min-height: 1.2em;
}
@keyframes markIn{ to{ opacity: 1; transform: scale(1); } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 1.05em 1.9em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::after{
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--yellow);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::after{ transform: translateY(0); }
.btn:hover{ color: var(--ink); box-shadow: 0 14px 30px -12px rgba(21,21,14,.35); }
.btn:active{ transform: scale(.96); }
.btn svg{ width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover svg{ transform: rotate(45deg); }

.btn--ghost{
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1.5px solid var(--paper-line-strong);
}
.btn--ghost::after{ background: var(--ink); }
.btn--ghost:hover{ color: var(--paper); border-color: var(--ink); }

.btn--light{
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
}
.btn--light::after{ background: var(--ink); }
.btn--light:hover{ color: var(--paper); }

.btn--sm{ padding: .8em 1.4em; font-size: var(--fs-xs); }

/* magnetic wrapper just needs relative positioning; JS supplies transform */
.magnetic{ display: inline-block; }

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav{
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .4s var(--ease);
}
.site-nav .container{
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.site-nav__logo{ display: flex; align-items: center; gap: .6em; position: relative; z-index: 2; }
.site-nav__logo img{ height: 76px; width: auto; transition: filter .4s, height .4s var(--ease); }
.site-nav.is-scrolled .site-nav__logo img{ height: 56px; }

.site-nav__links{
  display: flex; align-items: center; gap: 2.4rem;
}
.site-nav__links > li{ position: relative; }
.site-nav__links a.nav-link{
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: .4em 0;
  position: relative;
}
.site-nav__links a.nav-link::after{
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.site-nav__links a.nav-link:hover::after,
.site-nav__links li.is-open a.nav-link::after{ transform: scaleX(1); }

.nav-link__caret{
  display: inline-block; margin-left: .35em;
  transition: transform .35s var(--ease);
}
.site-nav__links li.has-dropdown.is-open .nav-link__caret{ transform: rotate(180deg); }

.site-nav__cta{ display: flex; align-items: center; gap: 1rem; }

.site-nav.is-scrolled{
  background: rgba(250,247,239,.86);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--paper-line);
  height: calc(var(--nav-h) - 16px);
}

.site-nav.on-dark .site-nav__logo img.logo-dark{ display: none; }
.site-nav.on-dark .site-nav__logo img.logo-light{ display: block; }
.site-nav .site-nav__logo img.logo-light{ display: none; }
.site-nav.on-dark:not(.is-scrolled){ color: var(--paper); }
.site-nav.is-scrolled .site-nav__logo img.logo-light{ display: none; }
.site-nav.is-scrolled .site-nav__logo img.logo-dark{ display: block; }
.site-nav.is-scrolled{ color: var(--ink); }

/* mega dropdown */
.mega{
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(-50%, 12px);
  width: min(640px, 86vw);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(21,21,14,.28);
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  color: var(--ink);
}
li.is-open .mega{
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega__item{
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  transition: background .3s;
}
.mega__item:hover{ background: var(--paper-dim); }
.mega__icon{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.mega__icon svg{ width: 20px; height: 20px; }
.mega__item h4{ font-family: var(--f-body); font-size: 1rem; font-weight: 800; }
.mega__item p{ font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.5; }

.nav-burger{
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  position: relative; z-index: 2;
}
.nav-burger span{
  width: 20px; height: 2px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s;
}
body.menu-open .nav-burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2){ opacity: 0; }
body.menu-open .nav-burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 850;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  clip-path: circle(2% at calc(100% - 40px) 40px);
  transition: clip-path .7s var(--ease);
}
body.menu-open .mobile-menu{ clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu__links{ display: flex; flex-direction: column; gap: .2rem; }
.mobile-menu__links > li > a, .mobile-menu__links .mm-row > a{
  font-family: var(--f-display);
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 600;
  display: inline-block;
  padding: .18em 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
body.menu-open .mobile-menu__links > li > a,
body.menu-open .mobile-menu__links .mm-row > a{ opacity: 1; transform: translateY(0); }
.mobile-menu__links .mm-row{ display: flex; align-items: center; gap: 1rem; }
.mm-toggle{
  width: 40px; height: 40px; flex: none;
  border-radius: 50%; border: 1px solid rgba(250,247,239,.25);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(30px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s;
}
body.menu-open .mm-toggle{ opacity: 1; transform: translateY(0); }
.mm-toggle span{
  width: 12px; height: 12px; position: relative;
}
.mm-toggle span::before, .mm-toggle span::after{
  content: ''; position: absolute; background: var(--paper);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.mm-toggle span::before{ width: 12px; height: 1.5px; }
.mm-toggle span::after{ width: 1.5px; height: 12px; transition: transform .35s var(--ease); }
li.mm-open .mm-toggle span::after{ transform: translate(-50%,-50%) scaleY(0); }
li.mm-open .mm-toggle{ background: rgba(250,247,239,.12); }
.mobile-menu__sub{
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease);
  padding-left: 1.2rem;
}
.mobile-menu__sub a{
  display: block; font-size: var(--fs-md); padding: .5em 0;
  color: rgba(250,247,239,.7);
}
li.mm-open .mobile-menu__sub{ max-height: 200px; }
.mobile-menu__foot{
  margin-top: 2.4rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  font-size: var(--fs-sm); color: rgba(250,247,239,.65);
}
.nav-burger{ color: var(--ink); }
.site-nav.on-dark:not(.is-scrolled) .nav-burger{ color: var(--paper); }

@media (max-width: 940px){
  .site-nav__links, .site-nav__cta .btn{ display: none; }
  .nav-burger{ display: flex; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee{
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  user-select: none;
}
.marquee__track{
  display: flex; align-items: center;
  flex: none;
  animation: marquee 34s linear infinite;
  gap: 3rem;
  padding-inline: 1.5rem;
}
.marquee--reverse .marquee__track{ animation-direction: reverse; animation-duration: 42s; }
.marquee:hover .marquee__track{ animation-play-state: paused; }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.marquee__item{
  display: flex; align-items: center; gap: 3rem;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 500;
  flex: none;
}
.marquee__item svg{ width: 22px; height: 22px; color: var(--clay); flex: none; }
.marquee--logos .marquee__item{ gap: 3.5rem; }
.marquee--logos img{ height: 60px; width: auto; filter: grayscale(1); opacity: .65; transition: opacity .4s, filter .4s; }
.marquee--logos img:hover{ filter: grayscale(0); opacity: 1; }

/* ==========================================================================
   Reveal utility (JS adds .is-visible)
   ========================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
[data-reveal-scale]{
  opacity: 0; transform: scale(.92);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal-scale].is-visible{ opacity: 1; transform: scale(1); }
[data-reveal-group] [data-reveal]{ transition-delay: calc(var(--i, 0) * 90ms); }

/* split text lines */
.split-line{ overflow: hidden; display: inline-block; vertical-align: top; }
.split-line > span{
  display: inline-block;
  transform: translateY(115%) rotate(3deg);
  transition: transform .95s var(--ease);
  transition-delay: calc(var(--i,0) * .07s);
}
.is-visible .split-line > span{ transform: translateY(0) rotate(0deg); }

/* marker highlight under emphasized phrase */
.mark{ position: relative; white-space: nowrap; }
.mark svg{
  position: absolute; left: -2%; right: -2%; bottom: -.08em; top: -.05em;
  width: 104%; height: 1.15em;
  z-index: -1;
  overflow: visible;
}
.mark svg path{
  stroke: var(--yellow);
  stroke-width: 22;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1s var(--ease) .3s;
}
.is-visible .mark svg path{ stroke-dashoffset: 0; }

/* ==========================================================================
   Page transition wipe
   ========================================================================== */
.page-wipe{
  position: fixed; inset: 0; z-index: 10001;
  background: var(--ink);
  transform: translateY(101%);
  pointer-events: none;
}
.page-wipe.is-active{
  transition: transform .55s var(--ease);
  transform: translateY(0);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero__media{
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__media img{
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns{
  from{ transform: scale(1.12) translate3d(0,0,0); }
  to{ transform: scale(1.24) translate3d(-1%,-2%,0); }
}
.hero__media::after{
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,21,14,.35) 0%, rgba(21,21,14,.55) 55%, rgba(21,21,14,.92) 100%);
}
.hero__blob{
  position: absolute;
  width: min(46vw, 620px); aspect-ratio: 1;
  right: -8%; top: 14%;
  background: var(--yellow);
  z-index: 1;
  opacity: .9;
  filter: blur(2px);
  animation: blobMove 16s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes blobMove{
  0%, 100%{ border-radius: 42% 58% 64% 36% / 45% 45% 55% 55%; transform: translate(0,0) rotate(0deg); }
  33%{ border-radius: 62% 38% 45% 55% / 60% 40% 60% 40%; transform: translate(-3%,4%) rotate(8deg); }
  66%{ border-radius: 40% 60% 56% 44% / 38% 62% 38% 62%; transform: translate(2%,-3%) rotate(-6deg); }
}
.hero__content{
  position: relative; z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.hero__kicker{
  display: flex; align-items: center; gap: .7em;
  font-weight: 700; font-size: var(--fs-sm);
  color: var(--yellow);
  margin-bottom: 1.4rem;
}
.hero__kicker svg{ width: 16px; height: 16px; }
.hero h1{
  font-size: var(--fs-hero);
  max-width: 15ch;
  color: var(--paper);
}
.hero__sub{
  margin-top: 1.8rem;
  max-width: 46ch;
  font-size: var(--fs-md);
  color: rgba(250,247,239,.78);
}
.hero__actions{
  margin-top: 2.6rem;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.hero__scroll{
  position: absolute; right: var(--gutter); bottom: 2.4rem;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: rgba(250,247,239,.7);
  font-size: var(--fs-xs); font-weight: 700;
}
.hero__scroll i{
  width: 1px; height: 46px;
  background: linear-gradient(rgba(250,247,239,.7), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll i::after{
  content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--yellow);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine{ to{ top: 100%; } }

@media (max-width: 720px){
  .hero{ align-items: center; }
  .hero__scroll{ display: none; }
}

/* ==========================================================================
   Section headers
   ========================================================================== */
.section{ padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section-head{
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.section-head h2{ font-size: var(--fs-xxl); max-width: 14ch; }
.section-head p{ max-width: 34ch; font-size: var(--fs-base); color: var(--ink-soft); }
@media (max-width: 760px){
  .section-head{ flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}

/* ==========================================================================
   Two engines split
   ========================================================================== */
.engines{
  display: flex; flex-wrap: wrap;
  min-height: 78vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.engine-panel{
  position: relative;
  padding: clamp(2.4rem,4vw,4.5rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px;
  overflow: hidden;
  flex: 1 1 320px;
  min-width: 0;
  transition: flex-grow .6s var(--ease);
  color: var(--paper);
}
.engine-panel::before{
  content: ''; position: absolute; inset: 0; z-index: 0;
}
.engine-panel--creative::before{ background: linear-gradient(160deg, #1c1c13, var(--ink) 60%); }
.engine-panel--consulting::before{ background: linear-gradient(160deg, #0b2a2c, #0a1c1e 65%); }
.engine-panel__glow{
  position: absolute; inset: -20%;
  z-index: 0;
  opacity: 0;
  transition: opacity .6s var(--ease);
  background: radial-gradient(circle at 70% 20%, var(--glow-color, var(--yellow)) 0%, transparent 60%);
  filter: blur(40px);
}
.engine-panel:hover .engine-panel__glow{ opacity: .35; }
.engine-panel--consulting{ --glow-color: var(--teal); }
.engine-panel__num{
  position: relative; z-index: 1;
  font-family: var(--f-display);
  font-size: var(--fs-sm); font-weight: 700;
  color: rgba(250,247,239,.5);
  margin-bottom: auto;
}
.engine-panel h3{
  position: relative; z-index: 1;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  margin-top: 2rem;
}
.engine-panel p{
  position: relative; z-index: 1;
  margin-top: 1rem; max-width: 34ch;
  color: rgba(250,247,239,.72);
}
.engine-panel .btn{ position: relative; z-index: 1; margin-top: 1.8rem; }
.engine-panel--creative .btn{ --btn-bg: var(--yellow); --btn-fg: var(--ink); }
.engine-panel--creative .btn::after{ background: var(--paper); }
.engine-panel--consulting .btn{ --btn-bg: var(--teal); --btn-fg: #06181a; }
.engine-panel--consulting .btn::after{ background: var(--paper); }

@media (max-width: 820px){
  .engine-panel{ min-height: 320px; flex-basis: 100%; }
}

/* ==========================================================================
   Work / case study cards
   ========================================================================== */
.work-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}
.work-card{
  position: relative;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--paper-line);
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  display: flex; flex-direction: column; gap: 1.2rem;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.work-card:hover{ transform: translateY(-8px); box-shadow: 0 30px 50px -24px rgba(21,21,14,.3); }
.work-card__media{
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
}
.work-card__media img{
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .7s var(--ease);
}
.work-card:hover .work-card__media img{ transform: scale(1.06); }
.work-card__tag{
  align-self: flex-start;
  font-size: var(--fs-xs); font-weight: 700;
  padding: .35em .9em; border-radius: 999px;
  background: var(--paper-dim); color: var(--ink-soft);
}
.work-card h3{ font-family: var(--f-body); font-size: 1.3rem; font-weight: 800; }
.work-card p{ color: var(--ink-soft); font-size: var(--fs-sm); }

@media (max-width: 760px){ .work-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi{
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.4rem, 6vw, 5rem);
  overflow: hidden;
}
.testi__quote{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  line-height: 1.35;
  max-width: 26ch;
}
.testi__track{ position: relative; display: grid; }
.testi__slide{
  grid-column: 1 / -1; grid-row: 1 / -1;
  opacity: 0; visibility: hidden;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
  align-self: start;
}
.testi__slide.is-active{ opacity: 1; visibility: visible; transform: translateY(0); }
.testi__meta{
  margin-top: 2rem;
  display: flex; align-items: center; gap: .9rem;
  font-size: var(--fs-sm); color: rgba(250,247,239,.7);
}
.testi__meta b{ color: var(--paper); font-weight: 700; }
.testi__stars{ color: var(--yellow); display: flex; gap: .15em; }
.testi__nav{
  display: flex; gap: .8rem; margin-top: 2.4rem;
}
.testi__dot{
  width: 34px; height: 4px; border-radius: 2px;
  background: rgba(250,247,239,.25);
  transition: background .4s;
}
.testi__dot.is-active{ background: var(--yellow); }

/* ==========================================================================
   Joburg story sticky notes
   ========================================================================== */
.story-strip{
  display: flex; gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 1rem;
  margin: 0 calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.story-strip::-webkit-scrollbar{ height: 6px; }
.story-strip::-webkit-scrollbar-thumb{ background: var(--paper-line-strong); border-radius: 4px; }
.story-card{
  flex: none;
  width: min(340px, 78vw);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--paper-line);
  display: flex; flex-direction: column; gap: 1.4rem;
  transform: rotate(var(--r, 0deg));
}
.story-card:nth-child(3n+1){ --r: -1.4deg; }
.story-card:nth-child(3n+2){ --r: 1.1deg; }
.story-card:nth-child(3n){ --r: -.6deg; }
.story-card q{
  font-family: var(--f-display);
  font-size: 1.25rem;
  quotes: none;
  line-height: 1.35;
  color: var(--ink);
}
.story-card__reply{
  display: flex; align-items: flex-start; gap: .5em;
  font-size: var(--fs-sm); color: var(--ink);
}
.story-card__reply b{
  font-weight: 700; color: var(--clay);
  flex: none;
}
.story-card__reply img{ width: 26px; height: 26px; border-radius: 50%; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band{
  border-radius: var(--radius-lg);
  background: var(--yellow);
  color: var(--ink);
  padding: clamp(2.6rem, 7vw, 5.5rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band h2{ font-size: var(--fs-xxl); max-width: 16ch; }
.cta-band .btn{ --btn-bg: var(--ink); --btn-fg: var(--paper); }
.cta-band .btn::after{ background: var(--paper); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--ink);
  color: rgba(250,247,239,.75);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
}
.footer-top{
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(250,247,239,.12);
  flex-wrap: wrap;
}
.footer-top h2{
  color: var(--paper);
  font-size: clamp(1.9rem, 5.5vw, 3.6rem);
  max-width: 12ch;
}
.footer-cols{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-block: clamp(2rem, 5vw, 3rem);
}
.footer-col h5{
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em;
  color: var(--paper); margin-bottom: 1.1rem;
}
.footer-col li{ margin-bottom: .6rem; }
.footer-col a{ font-size: var(--fs-sm); transition: color .3s; }
.footer-col a:hover{ color: var(--yellow); }
.footer-social{ display: flex; gap: .8rem; margin-top: 1.2rem; }
.footer-social a, .footer-social span{
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(250,247,239,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s, transform .3s;
}
.footer-social a:hover, .footer-social span:hover{ background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: translateY(-3px); }
.footer-social svg{ width: 16px; height: 16px; }
.footer-bottom{
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: var(--fs-xs); color: rgba(250,247,239,.45);
  padding-top: 1.6rem;
}
.footer-bottom a:hover{ color: var(--paper); }

@media (max-width: 900px){
  .footer-cols{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .footer-cols{ grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
}

/* ==========================================================================
   Utility
   ========================================================================== */
.text-clay{ color: var(--clay); }
.text-teal{ color: var(--teal); }
.stack{ display: flex; flex-direction: column; }
.center{ text-align: center; }
.hide-mobile{ }
@media (max-width: 760px){ .hide-mobile{ display: none !important; } }
