/* ============================================================
   OPEN SPIRITS DESIGN — 2026
   Strategic Creative Partner · single-page portfolio + offer
   Plain CSS, no build. Brand-continuous (warm tricolor + rounded
   gradient triangles), symbio-grade motion. Author: Jörg + Claude
   ============================================================ */

/* ---------- 1. Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Economica:wght@400;700&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ---------- 2. Design tokens ---------- */
:root {
  /* type */
  --font-display: 'Economica', 'Archivo Narrow', system-ui, sans-serif; /* old-site headline font (Economica Medium) */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  /* warm neutral base */
  --ink: #17130E;
  --ink-2: #524A40;
  --ink-3: #8A8076;
  --paper: #FBF8F2;
  --paper-2: #F3ECDF;
  --paper-3: #ECE2D1;
  --line: #E3D9C8;
  --card: #FFFFFF;

  /* brand tricolor */
  --sun: #F4A81D;
  --flame: #E8542B;
  --sky: #3DA9C5;

  /* triangle accents */
  --green: #7FD66F;
  --violet: #6E4BE0;
  --coral: #E8654E;

  /* gradients (match the rounded triangles) */
  --grad-green: linear-gradient(155deg, #8FE98A 0%, #3DA9C5 100%);
  --grad-violet: linear-gradient(155deg, #7B4FE0 0%, #F2AB7D 100%);
  --grad-coral: linear-gradient(155deg, #E8654E 0%, #F4A85E 100%);
  --grad-tri: linear-gradient(90deg, #F4A81D 0%, #E8542B 50%, #3DA9C5 100%);
  --grad-warm: linear-gradient(100deg, #F4A81D 0%, #E8542B 55%, #D8321A 100%);

  /* ui */
  --radius: 12px;
  --radius-lg: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23,19,14,.04), 0 8px 30px rgba(23,19,14,.06);
  --shadow-lg: 0 2px 6px rgba(23,19,14,.05), 0 30px 70px rgba(23,19,14,.12);
  --maxw: 1180px;
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-out: cubic-bezier(.22,1,.36,1);
}

/* ---------- 3. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--flame); color: #fff; }

/* ---------- 4. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 110px) 0; }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad-tri);
  border-radius: 2px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: 0; }
.h-hero { font-size: clamp(3rem, 8.2vw, 7rem); font-weight: 700; line-height: 1.02; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }

.ink-flame { color: var(--flame); }
.ink-sky { color: var(--sky); }
.ink-sun { color: var(--sun); }
.grad-text {
  background: var(--grad-tri);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-warm-text {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- 5. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.02rem;
  padding: 16px 28px;
  border-radius: var(--radius);
  background: var(--ink); color: var(--paper);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translate(4px, -4px); }
.btn--flame { background: var(--flame); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 19px 34px; font-size: 1.1rem; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: border-color .3s, gap .3s var(--ease);
}
.textlink:hover { border-color: var(--flame); gap: 12px; }

/* ---------- 6. Rounded gradient triangle (brand mark) ---------- */
.tri { display: block; }
.tri polygon { stroke-linejoin: round; }
.tri--green polygon { fill: url(#gGreen); stroke: url(#gGreen); }
.tri--violet polygon { fill: url(#gViolet); stroke: url(#gViolet); }
.tri--coral polygon { fill: url(#gCoral); stroke: url(#gCoral); }
.tri--gv polygon { fill: url(#gGreenViolet); stroke: url(#gGreenViolet); }

/* floating decor triangles */
.decor-tri { position: absolute; z-index: 0; pointer-events: none; opacity: .9; will-change: transform; }
.float { animation: float 9s ease-in-out infinite; }
.float--slow { animation-duration: 13s; }
.float--rev { animation-direction: reverse; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(var(--r,0deg)); }
  50% { transform: translateY(-26px) rotate(calc(var(--r,0deg) + 6deg)); }
}
/* big soft-blurred hero blobs: slow ambient drift */
@keyframes drift {
  0%   { transform: translate(0,0)        rotate(var(--r,0deg)); }
  25%  { transform: translate(46px,-34px) rotate(calc(var(--r,0deg) + 8deg)); }
  50%  { transform: translate(78px,22px)  rotate(calc(var(--r,0deg) - 5deg)); }
  75%  { transform: translate(24px,44px)  rotate(calc(var(--r,0deg) + 4deg)); }
  100% { transform: translate(0,0)        rotate(var(--r,0deg)); }
}

/* ---------- 7. Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  background: rgba(251,248,242,.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  transition: padding .4s var(--ease), box-shadow .4s, background .4s;
}
.site-header.scrolled {
  background: rgba(251,248,242,.94);
  padding: 11px 24px;
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(23,19,14,.05);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.brand img { height: 26px; width: auto; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad-tri); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 500; font-size: .98rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--flame); transition: width .35s var(--ease);
}
.nav a:hover::after { width: 100%; }
.nav .btn { padding: 11px 20px; font-size: .95rem; }
.nav-toggle { display: none; }

/* ---------- 8. Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 96px; position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
/* dark-hero contrast colors */
.hero h1 { color: var(--paper); }
.hero .kicker { color: #D2C9BC; }
.hero .btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(251,248,242,.32); }
.hero .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
.hero .wrap { position: relative; z-index: 2; }
.hero .kicker { margin-bottom: 26px; }
.hero h1 { max-width: 16ch; margin-bottom: 28px; }
.hero h1 .reveal-line { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.12em; }
.hero h1 .reveal-line > span { display: block; transform: translateY(135%); }
.hero-sub { font-family: var(--font-mono); font-size: clamp(.78rem,1.4vw,.95rem); letter-spacing: .12em; text-transform: uppercase; color: #C9C0B4; margin-bottom: 38px; }
.hero-sub b { color: var(--flame); font-weight: 700; }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; left: 24px; bottom: 30px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #B8AE9F;
  display: flex; align-items: center; gap: 10px;
}
.hero-scroll .line { width: 1px; height: 40px; background: rgba(184,174,159,.5); position: relative; overflow: hidden; }
.hero-scroll .line::after { content:""; position:absolute; inset:0; background: var(--flame); animation: scrolldown 2.2s var(--ease) infinite; }
@keyframes scrolldown { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(100%)} }

/* animated tricolor underline */
.tricolor {
  height: 8px; width: 0; border-radius: 6px; margin-top: 4px;
  background: var(--grad-tri); background-size: 200% 100%;
  transition: width 1.1s var(--ease) .3s;
  animation: triShift 6s linear infinite;
}
.tricolor.in { width: clamp(180px, 30vw, 360px); }
@keyframes triShift { to { background-position: 200% 0; } }

/* ---------- 9. Marquee (clients / capabilities) ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--paper); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--flame); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 10. Generic reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* ---------- 11. How it works ---------- */
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 720px; }
#how { position: relative; overflow: hidden;
  background: linear-gradient(150deg, #E4F2E8 0%, #E6F0F2 45%, #ECEAF4 100%); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; isolation: isolate; background: var(--ink); color: var(--paper);
  border-radius: var(--radius); padding: 34px 30px 30px; box-shadow: var(--shadow-lg); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.step:hover { transform: translateY(-6px); }
.step__no { font-family: var(--font-mono); font-size: 13px; color: #B8AE9F; letter-spacing: .15em; position: relative; z-index: 1; }
.step h3 { margin: 16px 0 10px; position: relative; z-index: 1;
  background: var(--grad-tri); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; }
.step p { color: #CFC7BB; font-size: .98rem; position: relative; z-index: 1; }
/* big soft-blurred gradient triangle filling the card background */
.step__tri { position: absolute; bottom: -24%; right: -16%; width: 80%; height: auto; opacity: .95; filter: blur(28px) brightness(.6); z-index: 0; }

/* ---------- 12. Work carousel ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 24px 30px; margin: 0 -24px; cursor: grab;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.dragging { cursor: grabbing; scroll-snap-type: none; }
.card-work {
  scroll-snap-align: start; flex: 0 0 clamp(280px, 42vw, 460px);
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: var(--paper-2); aspect-ratio: 4/5; box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card-work:hover { box-shadow: var(--shadow-lg); }
.card-work__media { position: absolute; inset: 0; border-radius: inherit; }
.card-work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease);
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(229,225,216,.9); -webkit-user-drag: none; user-select: none; }
.card-work:hover .card-work__media img { transform: scale(1.06); }
.card-work__fallback { position: absolute; inset: 0; }
.card-work__body {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 26px;
  background: linear-gradient(to top, rgba(20,16,12,.78), rgba(20,16,12,0));
  color: #fff;
}
.card-work__cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.card-work__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-top: 6px; display: flex; align-items: center; justify-content: space-between; }
.card-work__title .arrow { transition: transform .45s var(--ease); }
.card-work:hover .card-work__title .arrow { transform: translate(5px,-5px); }
/* no dedicated case study exists for this card — don't invite a click that goes nowhere */
.card-work--static { cursor: default; }
.card-work--static:hover { box-shadow: var(--shadow); }
.card-work--static:hover .card-work__media img { transform: none; }
.carousel__nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }
.cbtn { width: 52px; height: 52px; border-radius: var(--radius); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.cbtn:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

/* work showcase: JS auto-scroll + mouse drag + native touch scroll, infinite */
.work-scroller { overflow-x: auto; overflow-y: hidden; scroll-behavior: auto;
  scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch;
  cursor: grab; padding: 8px 0 16px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.work-scroller::-webkit-scrollbar { display: none; }
.work-scroller.dragging { cursor: grabbing; }
.work-track { display: flex; width: max-content; }
.work-track .card-work { margin-right: 22px; -webkit-user-drag: none; user-select: none; }

/* clear prev/next affordance overlaid on the rail — the row auto-glides AND is clickable */
.work-rail { position: relative; }
.work-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(23,19,14,.6); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(23,19,14,.22);
  transition: background .3s, transform .3s var(--ease), box-shadow .3s;
}
.work-arrow:hover { background: var(--flame); transform: translateY(-50%) scale(1.08); }
.work-arrow--prev { left: 10px; }
.work-arrow--next { right: 10px; }
@media (max-width: 640px) {
  .work-arrow { width: 38px; height: 38px; }
  .work-arrow--prev { left: 4px; }
  .work-arrow--next { right: 4px; }
}

/* ---------- 13. Membership / pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; background: var(--card); border-radius: var(--radius-lg);
  padding: 36px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.plan__target { color: var(--ink-2); font-size: .92rem; margin: 8px 0 22px; min-height: 2.6em; }
.plan__price { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; }
.plan__price small { font-size: .9rem; font-weight: 500; color: var(--ink-3); font-family: var(--font-body); }
.plan__list { list-style: none; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.plan__list li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; color: var(--ink-2); }
.plan__list li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--grad-green); }
.plan .btn { margin-top: auto; }

/* highlighted launchpad */
.plan--feature {
  background: var(--ink); color: var(--paper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.plan--feature::before {
  content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit;
  background: var(--grad-tri); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.plan--feature .plan__tag { color: var(--sun); }
.plan--feature .plan__target { color: #C9C0B4; }
.plan--feature .plan__list li { color: #E7E0D5; }
.plan--feature .plan__list li::before { background: var(--grad-tri); }
.plan--feature .plan__price small { color: #B5ABA0; }
.plan--feature .glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(232,84,43,.35), transparent 70%); top: -80px; right: -80px; pointer-events: none; }
/* slim full-width header band on the Launchpad card (no longer overlaps content) */
.plan__ribbon {
  margin: -36px -30px 24px; z-index: 2; position: relative;
  background: var(--flame); color: #fff; font-family: var(--font-mono);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-align: center; padding: 11px 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
@keyframes pulse { 0%,100%{ transform: scale(1);} 50%{ transform: scale(1.05);} }
.pricing-note { margin-top: 28px; text-align: center; color: var(--ink-2); font-size: .98rem; }
.pricing-note b { color: var(--ink); }

/* ---------- 13b. OFFER — Mindset to Brand (dark / night-blue) ---------- */
.offer2 { position: relative; overflow: hidden; color: var(--paper);
  background: radial-gradient(120% 95% at 18% -5%, #1C2233 0%, #13141E 55%, #0E0F16 100%); }
.offer2 .kicker { color: #C7C4D6; }
.offer2 .kicker::before { background: var(--grad-warm); }
.offer2__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(34px,5vw,74px); align-items: start; }
.offer2__headline { color: var(--paper); font-size: clamp(2.4rem,5.4vw,4.4rem); }
.offer2__tagline { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem,2vw,1.5rem); color: var(--sun); margin: 14px 0 30px; }
.offer2__p { color: #C1BDCE; max-width: 55ch; margin-bottom: 18px; }
.offer2__reframe { color: #E9E5F0; font-size: 1.06rem; max-width: 55ch; }
.offer2__reframe b { color: var(--sun); font-weight: 600; }
.offer2__proof { margin-top: 34px; border-left: 2px solid rgba(244,168,29,.5); padding-left: 22px; }
.offer2__proof blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem,1.7vw,1.3rem); line-height: 1.35; color: #F0ECF4; }
.offer2__proof figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9C98A8; }
.offer2__video { margin-top: 20px; position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius);
  overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.offer2__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.offer2__card { position: relative; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(28px,3vw,40px);
  background: rgba(255,255,255,.045); overflow: hidden; box-shadow: var(--shadow-lg); }
.offer2__card::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit;
  background: linear-gradient(160deg, rgba(244,168,29,.75), rgba(232,84,43,.5) 55%, rgba(255,255,255,.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; }
.offer2__glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(244,168,29,.30), transparent 70%); top: -90px; right: -70px; pointer-events: none; }
.offer2__card > *:not(.offer2__glow) { position: relative; z-index: 1; }
.offer2__what-title { font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #B9B5C4; }
.offer2__list { list-style: none; margin: 18px 0 26px; display: flex; flex-direction: column; gap: 16px; }
.offer2__list li { position: relative; padding-left: 30px; color: #D0CCD9; font-size: .98rem; line-height: 1.5; }
.offer2__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad-warm); }
.offer2__list b { color: var(--paper); font-weight: 600; }
.offer2__price { display: flex; flex-direction: column; gap: 3px; margin-bottom: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.offer2__price-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9C98A8; }
.offer2__price-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem,6vw,4rem); line-height: 1;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.offer2__price-sub { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9C98A8; }
.offer2__cta { background: var(--grad-warm); color: #fff; }
@media (max-width: 900px) { .offer2__grid { grid-template-columns: 1fr; } }

/* ---------- 14. Recent work grid ---------- */
.grid-work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gw { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); aspect-ratio: 1/1; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.gw:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gw--wide { grid-column: span 8; aspect-ratio: 16/10; }
.gw--tall { grid-column: span 4; }
.gw--half { grid-column: span 6; aspect-ratio: 16/11; }
.gw--third { grid-column: span 4; }
.gw__fallback { position: absolute; inset: 0; }
img.gw__fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
/* solid dark panel behind the caption — a gradient alone isn't reliable
   against busy or light-toned source photos, so guarantee contrast instead
   of hoping the image is dark enough underneath */
.gw__label { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: #fff;
  background: rgba(13,13,13,.72); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  border-radius: var(--radius-sm); padding: 12px 16px; }
.gw__label .c { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; line-height: 1.4; }
.gw__label .t { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.25; margin-top: 3px; }
.gw::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(20,16,12,.35), transparent 40%); z-index:1; }

/* ---------- 15. Expertise ---------- */
.expertise { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
.exp-list { list-style: none; display: flex; flex-direction: column; }
.exp-list li { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 18px; transition: padding-left .4s var(--ease); }
.exp-list li:hover { padding-left: 10px; }
.exp-list li:first-child { border-top: 1px solid var(--line); }
.exp-list .n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.exp-list .t { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem,2.4vw,2rem); }
.exp-list .d { margin-left: auto; color: var(--ink-2); font-size: .92rem; max-width: 30ch; text-align: right; }
.stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 36px; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem,5vw,3.4rem); line-height: 1; }
.stat .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.about-card { background: var(--ink); color: var(--paper); isolation: isolate; border-radius: var(--radius-lg); padding: clamp(30px,4vw,46px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.about-card > * { position: relative; z-index: 1; }
.about-card .quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem,2.4vw,1.9rem); line-height: 1.25; color: var(--paper); }
.about-card .muted { color: #CFC7BB; }
.about-card .who { margin-top: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #B8AE9F; }
.about-card__tri { position: absolute; bottom: -22%; right: -16%; width: 70%; height: auto; opacity: .95; filter: blur(30px) brightness(.6); z-index: 0; }

/* ---------- 16. FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem,1.8vw,1.35rem); color: var(--ink); }
.qa__icon { flex: 0 0 28px; height: 28px; position: relative; }
.qa__icon::before, .qa__icon::after { content:""; position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); background: var(--ink); border-radius:2px; transition: transform .4s var(--ease); }
.qa__icon::before { width: 16px; height: 2px; }
.qa__icon::after { width: 2px; height: 16px; }
.qa.open .qa__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.qa.open .qa__q { color: var(--flame); }
.qa__a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.qa__a p { padding: 0 0 26px; color: var(--ink-2); max-width: 65ch; }

/* ---------- 17. CTA band ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: var(--ink); color: var(--paper); border-radius: var(--radius-lg);
  padding: clamp(60px,9vw,120px) 24px; margin: 0 24px;
}
.cta h2 { max-width: 18ch; margin: 0 auto 18px; color: var(--paper); }
.cta .lead { color: #C9C0B4; margin: 0 auto 36px; text-align: center; }
.cta .decor-tri { opacity: .85; }
.cta .glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(232,84,43,.28), transparent 70%); left: 50%; top: 50%; transform: translate(-50%,-50%); pointer-events: none; }

/* ---------- 18. Footer ---------- */
.footer { padding: clamp(60px,8vw,100px) 0 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 30px; margin-bottom: 18px; }
.footer__brand p { color: var(--ink-2); max-width: 34ch; font-size: .96rem; }
.footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { color: var(--ink-2); font-size: .96rem; transition: color .3s, padding-left .3s var(--ease); }
.footer ul a:hover { color: var(--flame); padding-left: 4px; }
.footer__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.tricolor-bar { height: 6px; border-radius: 6px; background: var(--grad-tri); margin-top: 24px; }
.footer__bar .legal-link { color: var(--ink-3); border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.footer__bar .legal-link:hover { color: var(--flame); border-color: var(--flame); }

/* ---------- 18b. Project detail page ---------- */
.proj { padding-top: var(--header-h, 68px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); transition: gap .3s var(--ease), color .3s; }
.back-link:hover { gap: 14px; color: var(--flame); }
.proj-head { display: flex; flex-direction: column; gap: 18px; margin: 30px 0 40px; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 30px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.proj-meta b { display: block; color: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: 14px; text-transform: none; letter-spacing: 0; margin-top: 4px; }
.proj-cover { height: clamp(280px, 52vw, 620px); border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.proj-cover > div { position: absolute; inset: 0; }
.proj-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px,5vw,70px); align-items: start; }
.proj-intro .big { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem,3vw,2.6rem); line-height: 1.1; }
.proj-facts { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.proj-facts li { border-top: 1px solid var(--line); padding-top: 14px; }
.proj-facts .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.proj-facts .v { font-weight: 600; margin-top: 4px; }
.proj-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.proj-fig { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; position: relative; box-shadow: var(--shadow); }
.proj-fig > div { position: absolute; inset: 0; }
.proj-fig--full { grid-column: span 2; aspect-ratio: 16/8; }
.proj-step { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); }
.proj-step .num { font-family: var(--font-mono); color: var(--flame); font-size: 13px; }
.proj-step h3 { margin-bottom: 8px; }
.proj-next { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(34px,5vw,60px); box-sizing: border-box; width: calc(100% - 48px); max-width: var(--maxw); margin: 0 auto; }
.proj-next .big { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem,3.5vw,3rem); }
.proj-next .arrow { font-size: 2rem; transition: transform .45s var(--ease); }
.proj-next:hover .arrow { transform: translate(8px,-8px); }
@media (max-width: 800px) { .proj-intro { grid-template-columns: 1fr; } .proj-figs { grid-template-columns: 1fr; } .proj-fig--full { grid-column: span 1; } .proj-step { grid-template-columns: 1fr; gap: 6px; } }

/* make it obvious the grid tiles open a case study */
/* solid, unmistakable CTA button — same visual language as .btn--flame used everywhere
   else on the site, so low-attention users immediately read it as "click here" rather
   than as a decorative label floating on the photo */
.gw__cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  background: var(--flame); color: #fff;
  padding: 11px 18px; border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(232,84,43,.5);
  transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s, gap .3s var(--ease); }
.gw:hover .gw__cta { background: #fff; color: var(--ink); gap: 13px; transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.gw__cta .arrow { transition: transform .4s var(--ease); }
.gw:hover .gw__cta .arrow { transform: translate(3px,-3px); }

/* same solid button, sized for the smaller carousel cards */
.card-work__cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  background: var(--flame); color: #fff;
  padding: 9px 14px; border-radius: var(--radius-sm);
  box-shadow: 0 6px 16px rgba(232,84,43,.5);
  transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s, gap .3s var(--ease); }
.card-work:hover .card-work__cta { background: #fff; color: var(--ink); gap: 10px; transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.card-work__cta .arrow { transition: transform .4s var(--ease); }
.card-work:hover .card-work__cta .arrow { transform: translate(3px,-3px); }

/* ---------- 18c. Case study pages, image placeholders, logo grid ---------- */
/* sticky mini menu across the case studies */
.cs-nav-bar { position: sticky; top: var(--header-h, 68px); z-index: 50; border-bottom: 1px solid var(--line);
  background: rgba(251,248,242,.93);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.cs-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; }
.cs-nav a { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase;
  padding: 9px 15px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-2); white-space: nowrap;
  transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.cs-nav a:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.cs-nav a[aria-current="page"] { background: var(--sun); color: var(--ink); box-shadow: none; }

.cs-head { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 34px; }
.cs-title { font-size: clamp(2.6rem,7vw,5rem); }
.cs-sub { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem,2.4vw,1.9rem);
  color: var(--flame); line-height: 1.15; max-width: 22ch; }
.cs-intro { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(30px,5vw,70px);
  align-items: start; margin-bottom: clamp(34px,5vw,58px); }
.cs-text { color: var(--ink-2); font-size: 1.04rem; line-height: 1.72; max-width: 62ch; }
.cs-text b { color: var(--ink); font-weight: 600; }

/* image placeholders — swap for real images later */
.ph { position: relative; border-radius: 0; overflow: hidden; display: grid; place-items: center;
  background: var(--g, var(--paper-2)); box-shadow: var(--shadow); aspect-ratio: 4/3; }
.ph::after { content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(255,255,255,.5);
  pointer-events: none; }
.ph__label { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; background: rgba(23,19,14,.45); padding: 9px 15px; border-radius: 100px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); text-align: center; }
.ph--cover { aspect-ratio: 16/9; border-radius: 0; }
.ph--wide { aspect-ratio: 16/7; }
.ph--tall { aspect-ratio: 3/4; }
.ph--square { aspect-ratio: 1/1; }
/* a real image fills the box and hides the dashed placeholder chrome */
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(229,225,216,.9); }
.ph.has-img::after, .ph.has-img .ph__label { display: none; }
.logo-cell img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.logo-cell.has-img::after, .logo-cell.has-img .logo-cell__label { display: none; }

/* 6-col grid so each case study can replicate its own Affinity rhythm:
   full-width stacks (span-6), photo pairs (span-3), mockup trios (span-2) */
.cs-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cs-fig { margin: 0; }
.cs-icon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cs-icon-row .ph { position: relative; aspect-ratio: 1/1; }
@media (max-width: 560px) { .cs-icon-row { grid-template-columns: repeat(2, 1fr); } }
/* narrow vertical stack of 4 icon cards, sitting at natural height beside the tall
   website screenshot (NOT stretched to match its height — stays compact at the top,
   matching Xelo's own Affinity composition) */
.cs-icon-col { display: flex; flex-direction: column; gap: 14px; align-self: start; }
.cs-icon-col .ph { position: relative; aspect-ratio: 1/1; }
@media (max-width: 860px) { .cs-icon-col { flex-direction: row; flex-wrap: wrap; } .cs-icon-col .ph { flex: 1 1 calc(25% - 11px); } }
@media (max-width: 560px) { .cs-icon-col .ph { flex: 1 1 calc(50% - 7px); } }

/* two images stacked in a compact column, paired beside a taller image */
.cs-stack-2 { display: flex; flex-direction: column; gap: 14px; }
.cs-stack-2 .ph { position: relative; }
.cs-fig.span-6 { grid-column: span 6; }
.cs-fig.span-4 { grid-column: span 4; }
.cs-fig.span-3 { grid-column: span 3; }
.cs-fig.span-2 { grid-column: span 2; }
.cs-caption { margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); }

/* logo showcase */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.logo-cell { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.logo-cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.logo-cell::after { content: ""; position: absolute; inset: 14px; border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm); pointer-events: none; }
.logo-cell__label { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); text-align: center; padding: 0 14px; }

@media (max-width: 860px) {
  .cs-intro { grid-template-columns: 1fr; }
  .cs-gallery { grid-template-columns: repeat(2, 1fr); }
  .cs-fig.span-6 { grid-column: span 2; }
  .cs-fig.span-4 { grid-column: span 2; }
  .cs-fig.span-3 { grid-column: span 2; }
  .cs-fig.span-2 { grid-column: span 1; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .logo-grid { grid-template-columns: 1fr; } }

/* ---------- 18d. Legal / prose pages ---------- */
.legal { max-width: 800px; }
.legal .updated { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 34px; }
.legal h2 { font-size: clamp(1.25rem,2.1vw,1.6rem); margin: 42px 0 12px; }
.legal h2 .n { color: var(--flame); margin-right: 10px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 9px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal address { font-style: normal; color: var(--ink-2); line-height: 1.8; }
/* highlights the blanks only Xelo can fill in */
.fill { background: rgba(244,168,29,.22); box-shadow: inset 0 0 0 1px rgba(244,168,29,.65);
  border-radius: 4px; padding: 1px 7px; color: var(--ink); font-weight: 600; }
.legal-note { background: var(--paper-2); border-left: 3px solid var(--sun);
  border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 34px; }
.legal-note p { margin: 0; font-size: .95rem; }

/* ---------- 19. Custom cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cursor-dot { width: 7px; height: 7px; background: #fff; transform: translate(-50%,-50%); }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid #fff; transform: translate(-50%,-50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s; }
.cursor-ring.hover { width: 56px; height: 56px; background: rgba(255,255,255,.15); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- 20. Responsive ---------- */
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .expertise { grid-template-columns: 1fr; }
  .exp-list .d { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gw--wide, .gw--tall, .gw--half, .gw--third { grid-column: span 6; aspect-ratio: 1/1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { display: none; position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px; background: var(--paper); z-index: 99; font-size: 1.4rem; }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; z-index: 101; padding: 8px; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .gw--wide, .gw--tall, .gw--half, .gw--third { grid-column: span 12; }
  .hero-cta { gap: 14px; }
  .stats { gap: 26px; }
}

/* ---------- 21. Situation / Inside-Out ---------- */
.hero .lead { color: #C9C0B4; max-width: 50ch; margin-bottom: 18px; }
.hero .lead:last-of-type { margin-bottom: 38px; }
/* the new hero carries two lead paragraphs instead of one short line, so the
   vertically-centered content now runs taller — give it clearance from the
   absolutely-positioned .hero-scroll indicator instead of letting them collide */
#top .hero { padding-bottom: 100px; }
#situation > .wrap > .lead, #inside-out > .wrap > .lead { margin-top: 22px; }
.inside-out__questions { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 34px 0; }
.inside-out__questions li { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem,2.4vw,1.8rem); padding-left: 30px; position: relative; }
.inside-out__questions li::before { content: ""; position: absolute; left: 0; top: .65em; width: 16px; height: 2px; background: var(--flame); }

/* ---------- 22. How We Work — 5 stages, shown as 6 square-ish tiles ---------- */
/* 5 narrow columns made the sentence-length copy unreadable — a 3x2 grid of
   near-square tiles gives each stage real width, with a 6th "stat" tile
   carrying the subhead so it isn't lost above the grid. */
.steps--6 { grid-template-columns: repeat(3, 1fr); gap: 20px; grid-auto-rows: 1fr; }
.steps--6 .step { display: flex; flex-direction: column; min-height: 260px; }
.steps--6 .step p:last-child { margin-top: auto; }
/* the rainbow gradient-clip on .step h3 was tuned for short 3-5 word headlines;
   these steps carry a full sentence, so the same clip reads as noisy rainbow text —
   fall back to a plain warm accent colour instead */
.steps--6 .step h3 { background: none; -webkit-text-fill-color: var(--sun); color: var(--sun); font-size: 1.15rem; }
.step--intro {
  background: var(--grad-warm); justify-content: flex-end;
}
.step__bignum {
  position: absolute; top: -.28em; right: -.05em; font-size: 13rem; font-weight: 800;
  line-height: 1; color: rgba(23,19,14,.16); z-index: 0; pointer-events: none; user-select: none;
}
.step--intro .step__intro-text {
  position: relative; z-index: 1; margin: 0; color: #000; text-align: left;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.1;
}
@media (max-width: 1180px) { .steps--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps--6 { grid-template-columns: 1fr; } .steps--6 .step { min-height: 0; } }

/* ---------- 23. XELO section ---------- */
.xelo__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px,6vw,90px); align-items: start; }
.xelo__portrait { position: sticky; top: calc(var(--header-h, 68px) + 24px); }
.xelo__portrait-frame {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(155deg, #2A2E3D 0%, #1A1B24 60%, #100F14 100%);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
}
.xelo__portrait-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 32%; }
.xelo__portrait-placeholder { position: relative; z-index: 1; text-align: center; padding: 30px; color: #8B87A0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.7; }
.xelo__content p { color: var(--ink-2); margin-bottom: 16px; max-width: 62ch; }
.xelo__content .lead { margin-bottom: 20px; }
.xelo__emphasis {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem,3.2vw,2.6rem);
  line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); margin: 42px 0 38px !important; max-width: none !important;
}
.xelo__experience { margin-top: 8px; padding-top: 30px; border-top: 1px solid var(--line); }
.xelo__exp-places { font-family: var(--font-mono); font-size: clamp(.78rem,1.3vw,.92rem); letter-spacing: .06em; color: var(--ink-3); margin-bottom: 14px; }
@media (max-width: 980px) { .xelo__grid { grid-template-columns: 1fr; } .xelo__portrait { position: static; max-width: 420px; } }

/* ---------- 24. Ways to work together — 4 tiers ---------- */
/* reuses the exact dark-glass / gold-border card language from .offer2__card
   (the original "Mindset to Brand" card) rather than a separate light-card
   component, so the four tiers keep the same visual identity as the rest
   of the site instead of introducing a new, clashing style */
.pricing--4 { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
@media (max-width: 1180px) { .pricing--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing--4 { grid-template-columns: 1fr; } }
.offer2__card--compact { padding: 30px 26px; display: flex; flex-direction: column; }
.offer2__card--compact .offer2__glow { width: 170px; height: 170px; top: -50px; right: -40px; }
.offer2__plan-title { color: var(--paper); margin-top: 12px; font-size: 1.3rem; }
.offer2__plan-desc { color: #C1BDCE; font-size: .92rem; line-height: 1.55; margin: 10px 0 24px; flex-grow: 1; }
.offer2__card--compact .offer2__price { margin-bottom: 20px; padding-top: 18px; }
.offer2__price-num--sm { font-size: clamp(1.5rem,2.4vw,2rem); }


/* ---------- 2026-08 homepage rhythm refinement ---------- */
/* Show visual proof earlier and keep the mobile experience from becoming text-heavy. */
@media (max-width: 700px) {
  #work.section--tight { padding-top: 42px; padding-bottom: 54px; }
  #work .section-head { margin-bottom: 24px !important; }
  #situation.section, #inside-out.section, #how.section, #recent.section, #xelo.section, #faq.section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  #offer.section { padding-top: 76px; padding-bottom: 76px; }
  .offer2__plan-desc { min-height: 0; }
}

/* ---------- 25. Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--ink); color: var(--paper); border-radius: var(--radius-lg);
  padding: clamp(28px,3.4vw,38px); box-shadow: var(--shadow-lg); position: relative; isolation: isolate;
}
.testimonial__top { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 4px; }
.testimonial__photo { width: 30%; min-width: 120px; max-width: 180px; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.testimonial__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1); }
.testimonial__name { font-size: 1.4rem; color: var(--sun); margin: 0; }
.testimonial__role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #B8AE9F; margin-top: 4px; }
.testimonial__body { color: #CFC7BB; font-size: .96rem; line-height: 1.65; margin: 16px 0 0; }
.testimonial__quote {
  margin: 16px 0 0; padding-left: 16px; border-left: 3px solid var(--flame);
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.3; color: var(--sun);
}
.testimonial__video { margin-top: 20px; position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; }
.testimonial__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.testimonial__body--clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden; }
.testimonial__body--clamp.is-expanded { -webkit-line-clamp: unset; overflow: visible; }
.testimonial__more {
  margin-top: 10px; background: none; border: 0; padding: 0; display: block;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sun); cursor: pointer;
}
.testimonial__more:hover { color: var(--flame); }
/* single-testimonial variant used on individual case-study pages */
.testimonial--solo { max-width: 720px; margin: 0 auto; }

/* ---------- 26. Operations add-on — 4 cards, 2x2 ---------- */
.steps--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .steps--2 { grid-template-columns: 1fr; } }
