/* =====================================================================
   Brown Button home (v3). Loaded after styles.css, only on the home page.
   Premium through restraint: big type, generous space, thin rules.
   One motif runs through the page: a fine line web and a coral thread.
   Colours, type and buttons come from the design system tokens in styles.css.
   ===================================================================== */

.w-page {
  --w-gutter: clamp(20px, 4vw, 48px);
  --w-max: 1240px;
  --w-sec: clamp(96px, 11vw, 168px);
  --w-panel: #ebe5dd;            /* warm ivory panel behind device frames */
  --w-rule: rgba(77, 27, 30, 0.14);
  --w-rule-inv: rgba(244, 240, 234, 0.16);
  --w-ease: var(--ease-standard);
  background: var(--ivory);
  color: var(--ink);
}
.w-page main { overflow-x: clip; }
.w-wrap { width: min(100% - 2 * var(--w-gutter), var(--w-max)); margin-inline: auto; position: relative; }
.w-sec { padding: var(--w-sec) 0; position: relative; }
[data-theme="inverse"].w-sec, .w-hero, .w-trust, .wf { background: var(--surface-canvas); color: var(--text-primary); }
.w-arrow { width: 20px; height: 20px; flex: none; }
.w-h2 { max-width: 18ch; }
.w-accent { color: var(--coral); }
.w-head { display: grid; gap: var(--space-6); margin-bottom: clamp(48px, 6vw, 88px); }
.w-head .bb-lead { color: var(--text-secondary); }
.w-head--row { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 768px) { .w-head--row { grid-template-columns: 1fr auto; } }

/* Unconfirmed copy stays visible until approved */
.w-todo { border-bottom: 1px dashed currentColor; opacity: 0.8; }
.w-todo-note { margin: var(--space-4) 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--text-secondary); }
.w-sample { position: absolute; top: 14px; left: 14px; padding: 2px 10px; border: 1px dashed var(--muted); border-radius: 0; font-size: 0.75rem; font-weight: 500; color: var(--muted); background: var(--ivory); }

/* Eyebrow: sentence case, with the brand's short coral rule above it */
.w-eyebrow { margin: 0 0 var(--space-8); font-size: clamp(0.875rem, 0.84rem + 0.15vw, 1rem); line-height: 1.4; font-weight: 500; color: var(--text-secondary); }
.w-eyebrow::before { content: ""; display: block; width: 24px; height: 2px; background: var(--coral); margin-bottom: var(--space-4); }

/* ---------------------------------------------------------------- web + thread motif */
.w-web { display: block; width: 100%; height: auto; overflow: visible; }
.w-web__spoke, .w-web__ring { stroke: var(--ivory); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.w-web__spoke { stroke-opacity: 0.32; }
.w-web__ring { stroke-opacity: 0.22; }
.w-anchor circle { fill: var(--ivory); fill-opacity: 0.85; }
.w-thread { stroke: var(--coral); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; fill: none; }
.w-web__hub { fill: var(--coral); }

/* elements that GSAP draws in are hidden until it takes over (never without JS or with reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-w-pre], .js [data-w-in] { visibility: hidden; }
}
.reveal-failsafe [data-w-pre]:not([style]), .reveal-failsafe [data-w-in]:not([style]) { visibility: visible !important; }

/* ---------------------------------------------------------------- header */
.wh { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-overlay); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 14px var(--w-gutter); pointer-events: none; }
.wh > * { pointer-events: auto; }
.wh__logo { display: block; width: 104px; color: var(--brown); padding: 6px 0; transition: color var(--motion-standard) var(--w-ease); }
.wh__logo svg { display: block; width: 100%; height: auto; }
.wh__nav { display: none; position: absolute; left: 50%; transform: translateX(-50%); }
.wh__nav ul { display: flex; gap: 2px; margin: 0; padding: 4px; list-style: none; border-radius: 0; background: rgba(244, 240, 234, 0.78); border: 1px solid var(--w-rule); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); transition: background-color var(--motion-standard) var(--w-ease), border-color var(--motion-standard) var(--w-ease); }
.wh__nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 0; color: var(--ink); text-decoration: none; font: 500 0.875rem/1 var(--font-body); transition: background-color var(--motion-fast) var(--w-ease), color var(--motion-fast) var(--w-ease); }
.wh__nav a:hover { background: var(--brown); color: var(--ivory); }
.wh__cta { display: none; }
.wh__toggle { display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--w-rule); background: rgba(244, 240, 234, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: pointer; }
.wh__toggle i { display: block; width: 18px; height: 2px; background: var(--brown); border-radius: 0; transition: transform var(--motion-standard) var(--w-ease); }
.wh__toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.wh__toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
.wh__menu { position: absolute; top: calc(100% - 4px); left: var(--w-gutter); right: var(--w-gutter); padding: var(--space-6); border-radius: 0; background: var(--ivory); box-shadow: var(--shadow-overlay); border: 1px solid var(--w-rule); }
.wh__menu ul { list-style: none; margin: 0 0 var(--space-6); padding: 0; }
.wh__menu a:not(.bb-btn) { display: flex; align-items: center; min-height: 48px; color: var(--brown); text-decoration: none; font: var(--heading-weight) 1.5rem/1.2 var(--font-heading); letter-spacing: -0.02em; border-bottom: 1px solid var(--w-rule); }
.wh__menu .bb-btn { width: 100%; }
.wh.is-dark .wh__logo { color: var(--ivory); }
.wh.is-dark .wh__nav ul { background: rgba(24, 21, 20, 0.36); border-color: var(--w-rule-inv); }
.wh.is-dark .wh__nav a { color: var(--ivory); }
.wh.is-dark .wh__nav a:hover { background: var(--ivory); color: var(--brown); }
.wh.is-dark .wh__toggle { background: rgba(24, 21, 20, 0.36); border-color: var(--w-rule-inv); }
.wh.is-dark .wh__toggle i { background: var(--ivory); }
@media (min-width: 768px) { .wh__cta { display: inline-flex; } .wh { padding-top: 18px; } .wh__logo { width: 112px; } }
@media (min-width: 1080px) { .wh__nav { display: block; } .wh__toggle, .wh__menu { display: none !important; } }

/* ---------------------------------------------------------------- 1. hero */
.w-hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 128px 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.w-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
.w-hero__copy { position: relative; z-index: 2; max-width: 760px; }
.w-hero__title { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5rem); line-height: 1.04; letter-spacing: -0.04em; max-width: 15ch; }
.w-hero__sub { margin-top: var(--space-8); color: var(--text-primary); opacity: 0.86; max-width: 54ch; }
.w-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-8); margin-top: var(--space-10); }
.w-hero__art { position: relative; z-index: 1; width: min(118vw, 560px); margin-top: var(--space-4); justify-self: center; }
@media (min-width: 1024px) {
  .w-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .w-hero__art { position: absolute; top: 50%; right: calc(-1 * clamp(40px, 6vw, 140px)); width: clamp(560px, 50vw, 860px); margin: 0; translate: 0 -50%; }
  .w-hero__copy { max-width: 58%; }
}
@media (min-width: 1600px) { .w-hero__copy { max-width: 820px; } }
.w-appwin__frame { fill: var(--ivory); }
.w-appwin__dot { fill: var(--grey); }
.w-appwin__side { fill: var(--brown); fill-opacity: 0.12; }
.w-appwin__card { fill: var(--brown); fill-opacity: 0.1; }
.w-appwin__bar { fill: var(--brown); fill-opacity: 0.55; }
.w-appwin__bar--on { fill: var(--coral); fill-opacity: 1; }

/* ---------------------------------------------------------------- 2. trust band */
.w-trust { padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 8vw, 120px); }
.w-trust .w-wrap { border-top: 1px solid var(--w-rule-inv); padding-top: clamp(48px, 6vw, 88px); }
.w-trust__top { display: grid; gap: var(--space-10); align-items: center; }
.w-trust__line { margin: 0; font: var(--heading-weight) clamp(1.375rem, 1.1rem + 1.1vw, 2.125rem)/1.3 var(--font-heading); letter-spacing: -0.02em; color: var(--ivory); max-width: 30ch; text-wrap: balance; }
.w-map { width: 100%; max-width: 380px; height: auto; overflow: visible; }
.w-map__arc { stroke: var(--coral); stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.w-map__pt circle { fill: var(--ivory); }
.w-map__pt text { fill: var(--grey); font: 500 12px/1 var(--font-body); }
@media (min-width: 900px) { .w-trust__top { grid-template-columns: 1fr minmax(280px, 380px); gap: var(--space-16); } }
.w-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: clamp(48px, 6vw, 80px) 0 0; }
.w-stats > div { display: flex; flex-direction: column-reverse; gap: var(--space-2); padding: var(--space-6) 0; border-top: 1px solid var(--w-rule-inv); }
.w-stats dd { margin: 0; font: var(--heading-weight) clamp(2.75rem, 2rem + 3vw, 4.5rem)/1 var(--font-heading); letter-spacing: -0.04em; color: var(--ivory); font-variant-numeric: tabular-nums; }
.w-stats dt { font-size: 0.9375rem; color: var(--grey); }
@media (min-width: 768px) { .w-stats { grid-template-columns: repeat(4, 1fr); } .w-stats > div + div { padding-left: var(--space-6); border-left: 1px solid var(--w-rule-inv); } }
.w-logos { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-6); align-items: center; }
.w-logos li { display: flex; justify-content: center; align-items: center; height: 56px; }
.w-logos img { max-height: 44px; max-width: 132px; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(95%) sepia(6%) saturate(250%) hue-rotate(340deg); opacity: 0.78; transition: opacity var(--motion-standard) var(--w-ease); }
.w-logos li:hover img { opacity: 1; }
@media (min-width: 560px) and (max-width: 899px) { .w-case__media { aspect-ratio: 4 / 3; } }
@media (min-width: 640px) { .w-logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .w-logos { grid-template-columns: repeat(8, 1fr); } }

/* ---------------------------------------------------------------- 3. the problem */
.w-problem__grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
.w-problem__copy { display: grid; gap: var(--space-6); }
.w-problem__copy .w-h2 { margin-bottom: var(--space-4); }
.w-problem__turn { color: var(--brown); font-weight: 500; }
.w-problem__art { width: min(100%, 560px); margin-inline: auto; }
@media (min-width: 960px) { .w-problem__grid { grid-template-columns: 1.05fr 1fr; } }
.w-tangle { display: block; width: 100%; height: auto; overflow: visible; }
.w-sheet rect { fill: #fbf8f3; stroke: var(--line); stroke-width: 1.5; }
.w-sheet path { stroke: var(--line); stroke-width: 6; stroke-linecap: round; }
.w-sheet--grid path { stroke-width: 1.5; }
.w-note { fill: var(--coral-tint); }
.w-tile rect { fill: var(--ivory); stroke: var(--border); stroke-opacity: 0.45; stroke-width: 1.5; }
.w-tangle__thread { stroke-width: 2; }
.w-quotes { list-style: none; margin: clamp(72px, 9vw, 136px) 0 0; padding: 0; display: grid; gap: 0; }
.w-quotes li { border-top: 1px solid var(--w-rule); padding: var(--space-8) 0; }
.w-quotes blockquote { margin: 0; }
.w-quotes p { margin: 0; font: var(--heading-weight) clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem)/1.3 var(--font-heading); letter-spacing: -0.02em; color: var(--brown); text-wrap: balance; }
@media (min-width: 900px) { .w-quotes { grid-template-columns: repeat(3, 1fr); } .w-quotes li { padding: var(--space-8) var(--space-8) 0 0; } .w-quotes li + li { padding-left: var(--space-8); border-left: 1px solid var(--w-rule); } }

/* the thread that leaves the problem and runs into the next section */
.w-runner { position: absolute; left: 50%; bottom: 0; width: 2px; height: clamp(72px, 9vw, 128px); background: var(--coral); transform-origin: top; }
.w-runner--in { top: 0; bottom: auto; }

/* ---------------------------------------------------------------- 4. how we build */
.w-build__grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
.w-build__copy { display: grid; gap: var(--space-8); }
.w-build__copy .bb-lead { opacity: 0.86; }
.w-build__art { width: min(100%, 520px); margin-inline: auto; }
@media (min-width: 960px) { .w-build__grid { grid-template-columns: 1.1fr 1fr; } }
.w-web--build .w-web__ring { stroke-opacity: 0.3; }
.w-pillars { list-style: none; margin: clamp(72px, 9vw, 128px) 0 0; padding: 0; display: grid; gap: 0; }
.w-pillars li { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-8) 0; border-top: 1px solid var(--w-rule-inv); }
.w-pillars .bb-body { opacity: 0.82; }
@media (min-width: 900px) { .w-pillars { grid-template-columns: repeat(3, 1fr); } .w-pillars li { padding: var(--space-10) var(--space-8) 0 0; } .w-pillars li + li { padding-left: var(--space-8); border-left: 1px solid var(--w-rule-inv); } }
.w-icon { width: 48px; height: 48px; stroke: var(--ivory); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--space-2); }
.w-icon .w-icon__accent { stroke: var(--coral); }
.w-icon .w-icon__trace { stroke-dasharray: 2 4; }
.w-assist { display: grid; gap: var(--space-8); align-items: center; margin-top: clamp(64px, 8vw, 112px); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--w-rule-inv); border-radius: 0; }
.w-assist__line { margin: 0; font: var(--heading-weight) clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem)/1.35 var(--font-heading); letter-spacing: -0.015em; color: var(--ivory); max-width: 36ch; }
@media (min-width: 900px) { .w-assist { grid-template-columns: 1fr 340px; gap: var(--space-16); } }
.w-chat { display: grid; gap: var(--space-3); justify-items: end; }
.w-chat__q { margin: 0; padding: 12px 16px; border-radius: 0; background: var(--ivory); color: var(--ink); font-size: 0.9375rem; line-height: 1.4; }
.w-chat__a { justify-self: start; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: var(--space-4); align-items: end; width: 100%; padding: 16px; border-radius: 0; background: rgba(24, 21, 20, 0.35); border: 1px solid var(--w-rule-inv); }
.w-chat__n { grid-row: span 2; font: var(--heading-weight) 2.5rem/1 var(--font-heading); letter-spacing: -0.04em; color: var(--coral); }
.w-chat__l { font-size: 0.875rem; color: var(--grey); }
.w-chat__bars { display: flex; align-items: end; gap: 4px; height: 28px; }
.w-chat__bars i { width: 8px; height: var(--h); border-radius: 0; background: var(--ivory); opacity: 0.5; }
.w-chat__bars i:nth-child(4) { background: var(--coral); opacity: 1; }
.w-build__cta { margin-top: clamp(48px, 6vw, 72px); gap: var(--space-3); }

/* ---------------------------------------------------------------- 5. four doors */
.w-doors__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 4vw, 32px) var(--space-6); }
@media (min-width: 640px) { .w-doors__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .w-doors__list { grid-template-columns: 1.45fr 1fr 1fr 1fr; } }
.w-door { display: grid; gap: var(--space-3); align-content: start; height: 100%; color: inherit; text-decoration: none; position: relative; }
.w-door__arch { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 0; overflow: hidden; background: var(--w-panel); perspective: 1200px; margin-bottom: var(--space-4); isolation: isolate; }
.w-door--wide .w-door__arch { aspect-ratio: 4 / 4.6; }
@media (max-width: 639px) { .w-door__arch, .w-door--wide .w-door__arch { aspect-ratio: 4 / 3.6; } }
@media (min-width: 640px) and (max-width: 1099px) { .w-door--wide .w-door__arch { aspect-ratio: 3 / 4; } }
@media (min-width: 1100px) { .w-door__arch, .w-door--wide .w-door__arch { aspect-ratio: auto; height: clamp(360px, 30vw, 460px); } }
.w-door__glimpse { position: absolute; inset: 0; display: grid; place-items: center; padding: 22% 12% 10%; transform: scale(0.82); transform-origin: 50% 70%; transition: transform 700ms var(--w-ease); }
.w-door__glimpse svg { width: 100%; height: 100%; max-height: 100%; }
.w-door__leaf { position: absolute; inset: 0; z-index: 2; background: var(--brown); border-radius: inherit; transform-origin: 0 50%; transform: rotateY(-46deg); transition: transform 900ms var(--w-ease); box-shadow: inset -1px 0 0 rgba(244, 240, 234, 0.12); }
.w-door__leaf::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(244, 240, 234, 0.16); border-radius: 0; }
.w-door__leaf i { position: absolute; right: 18px; top: 58%; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.w-door:hover .w-door__leaf, .w-door:focus-visible .w-door__leaf, .w-door.is-open .w-door__leaf { transform: rotateY(-104deg); }
.w-door:hover .w-door__glimpse, .w-door:focus-visible .w-door__glimpse, .w-door.is-open .w-door__glimpse { transform: scale(1); }
.w-door .bb-h3 { color: var(--brown); }
.w-door .bb-body { color: var(--text-primary); }
.w-door__go { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: var(--space-2); border: 1px solid var(--border); border-radius: 50%; color: var(--brown); transition: background-color var(--motion-standard) var(--w-ease), color var(--motion-standard) var(--w-ease), border-color var(--motion-standard) var(--w-ease); }
.w-door:hover .w-door__go { background: var(--brown); border-color: var(--brown); color: var(--ivory); }
.w-door:focus-visible { outline: none; }
.w-door:focus-visible .w-door__arch { outline: 2px solid var(--focus-outer); outline-offset: 4px; }
.w-doors__aside { margin: clamp(48px, 6vw, 80px) 0 0; padding-top: var(--space-8); border-top: 1px solid var(--w-rule); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); color: var(--text-secondary); }
/* glimpse illustration fills */
.g-panel { fill: var(--ivory); stroke: var(--line); stroke-width: 1.5; }
.g-side { fill: var(--brown); fill-opacity: 0.08; }
.g-card { fill: var(--brown); fill-opacity: 0.08; }
.g-ink { fill: var(--brown); fill-opacity: 0.7; }
.g-soft { fill: var(--grey); }
.g-rule { stroke: var(--line); stroke-width: 1.5; }
.g-line { stroke: var(--brown); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.g-coral { fill: var(--coral); }
.g-coralfill { fill: var(--coral); fill-opacity: 0.85; }
.g-pot { fill: #b5663f; }
.g-potline { stroke: #7e3f22; stroke-opacity: 0.35; stroke-width: 6; }
.g-potband { stroke: #7e3f22; stroke-opacity: 0.6; stroke-width: 2; fill: none; }
.g-potrim { fill: #6a3219; }
.g-shadow { fill: var(--brown); fill-opacity: 0.12; }
@media (prefers-reduced-motion: no-preference) {
  .g-potspin { animation: w-pot 6s linear infinite; }
  .w-door:not(:hover):not(.is-open) .g-potspin { animation-play-state: paused; }
}
@keyframes w-pot { to { transform: translateX(24px); } }

/* ---------------------------------------------------------------- 6. featured work */
.w-work { padding-top: 0; }
.w-cases { display: grid; gap: clamp(56px, 6vw, 88px) var(--space-6); }
@media (min-width: 900px) {
  .w-cases { grid-template-columns: repeat(12, 1fr); column-gap: clamp(24px, 3vw, 48px); }
  .w-case { grid-column: span 5; }
  .w-case--wide { grid-column: span 7; }
}
.w-case { display: grid; gap: var(--space-3); align-content: start; }
.w-case__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 8% 10%; border-radius: 0; background: var(--w-panel); overflow: hidden; margin-bottom: var(--space-4); }
@media (min-width: 900px) { .w-case__media { aspect-ratio: auto; height: clamp(380px, 38vw, 560px); } }
.w-case__media img { display: block; }
.w-case__media--keeladi img { position: absolute; top: 7%; left: 50%; translate: -50% 0; height: 86%; width: auto; max-width: 90%; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(77, 27, 30, 0.18)); }
.w-case .bb-h3 { color: var(--brown); }
.w-case__client { margin: 0; font-size: 0.9375rem; color: var(--text-secondary); }
.w-case .bb-body { margin-top: var(--space-2); }
/* simple device frames */
.w-phone { position: absolute; top: 7%; left: 50%; translate: -50% 0; height: 86%; aspect-ratio: 375 / 813; padding: 8px; border-radius: 0; background: var(--ink); box-shadow: 0 24px 48px rgba(77, 27, 30, 0.18); }
.w-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.w-tablet { width: 100%; max-width: 640px; padding: 10px; border-radius: 0; background: var(--ink); box-shadow: 0 24px 48px rgba(77, 27, 30, 0.18); }
.w-tablet img { width: 100%; height: auto; border-radius: 0; }
.w-phone--mock { display: grid; }
.w-mock { height: 100%; border-radius: 0; background: #fbf8f3; padding: 12% 7%; display: grid; align-content: start; gap: 8px; font-size: clamp(0.5625rem, 0.4rem + 0.5vw, 0.75rem); white-space: nowrap; }
.w-mock__t { margin: 6px 4px 4px; font: var(--heading-weight) 1rem/1.2 var(--font-heading); color: var(--brown); }
.w-mock ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.w-mock li { display: flex; justify-content: space-between; gap: 4px; padding: 0.7em 0.8em; border-radius: 0; background: var(--ivory); color: var(--ink); }
.w-mock li b { font-weight: 600; }
.w-mock li.is-off { color: var(--muted); background: transparent; border: 1px dashed var(--line); }
.w-mock li.is-on { background: var(--brown); color: var(--ivory); }

/* ---------------------------------------------------------------- 7. how a project moves */
.w-proc { overflow: hidden; }
.w-proc__web { position: absolute; top: 50%; left: 50%; width: min(1100px, 150vw); translate: -50% -50%; pointer-events: none; opacity: 0.7; }
.w-web--proc .w-web__spoke { stroke-opacity: 0.12; }
.w-web--proc .w-web__ring { stroke-opacity: 0.3; }
.w-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: var(--space-12); padding-left: 44px; }
.w-track { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--w-rule-inv); }
.w-track__fill { position: absolute; inset: 0; background: var(--coral); transform-origin: top; }
.w-step { position: relative; display: grid; gap: var(--space-3); align-content: start; }
.w-step__node { position: absolute; left: -44px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--brown); border: 2px solid var(--coral); transition: background-color var(--motion-slow) var(--w-ease); }
.w-step.is-on .w-step__node { background: var(--coral); }
.w-step__n { font: var(--heading-weight) clamp(3rem, 2.4rem + 2.4vw, 5rem)/1 var(--font-heading); letter-spacing: -0.04em; color: var(--ivory); opacity: 0.35; transition: opacity var(--motion-slow) var(--w-ease); }
.w-step.is-on .w-step__n { opacity: 1; }
.w-step .bb-body { opacity: 0.82; max-width: 30ch; }
@media (min-width: 900px) {
  .w-steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-8); padding-left: 0; padding-top: 56px; }
  .w-track { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
  .w-track__fill { transform-origin: left; }
  .w-step__node { left: 0; top: -56px; }
}

/* ---------------------------------------------------------------- 8. founder note */
.w-founder__grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .w-founder__grid { grid-template-columns: 0.9fr 1.1fr; } }
.w-founder__art { margin: 0; }
.w-emblem { aspect-ratio: 1; border-radius: 0; background: var(--brown); display: grid; place-items: center; padding: 10%; }
.w-emblem svg { width: 100%; height: 100%; overflow: visible; }
.w-spider__legs { stroke: var(--ivory); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; vector-effect: non-scaling-stroke; }
.w-spider__head { fill: var(--ivory); }
.w-spider__body { fill: var(--ivory); }
.w-spider__body--coral { fill: var(--coral); }
.w-founder__copy { display: grid; gap: var(--space-8); }
.w-founder__body { display: grid; gap: var(--space-5); max-width: 60ch; }
.w-founder__body .bb-lead { color: var(--brown); font-weight: 500; }
.w-sign { margin: 0; padding-top: var(--space-6); border-top: 1px solid var(--w-rule); font-weight: 600; color: var(--brown); max-width: 60ch; }

/* ---------------------------------------------------------------- 9. closing call */
.w-close { text-align: center; overflow: hidden; padding-bottom: clamp(72px, 8vw, 120px); }
.w-close__head { display: grid; justify-items: center; gap: var(--space-6); }
.w-close__head .w-h2 { max-width: 16ch; }
.w-close__head .bb-lead { opacity: 0.86; max-width: 56ch; }
.w-close__stage { position: relative; width: min(860px, 130vw); margin: clamp(8px, 2vw, 32px) 0 0; left: 50%; translate: -50% 0; }
.w-web--close .w-web__ring { stroke-opacity: 0.26; }
.w-close__btn { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; z-index: 2; box-shadow: 0 0 0 10px rgba(236, 97, 64, 0.16), 0 0 0 22px rgba(236, 97, 64, 0.07); }
.w-close__below { margin: clamp(8px, 2vw, 24px) auto 0; padding: 0 var(--w-gutter); font-size: 1rem; color: var(--text-primary); opacity: 0.9; }
.w-close__below .bb-link { color: var(--ivory); }

/* ---------------------------------------------------------------- footer */
.wf { background: var(--ink); padding: clamp(64px, 8vw, 112px) 0 var(--space-8); --surface-canvas: var(--ink); }
.wf__top { display: grid; gap: var(--space-12); }
.wf__logo { display: block; width: 132px; color: var(--ivory); }
.wf__logo svg { display: block; width: 100%; height: auto; }
.wf__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-10) var(--space-6); }
.wf__h { margin: 0 0 var(--space-4); font-size: 0.875rem; color: var(--grey); }
.wf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.wf a, .wf button { color: var(--ivory); text-decoration: none; font: 400 0.9375rem/1.6 var(--font-body); background: none; border: 0; padding: 0; cursor: pointer; }
.wf__cols a { display: inline-flex; min-height: 32px; align-items: center; }
.wf a:hover, .wf button:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.wf__cols li { color: var(--grey); font-size: 0.9375rem; }
.wf__spine { margin: clamp(56px, 7vw, 96px) 0 0; padding-top: var(--space-8); border-top: 1px solid var(--w-rule-inv); font: var(--heading-weight) clamp(1.5rem, 1rem + 2vw, 2.75rem)/1.15 var(--font-heading); letter-spacing: -0.03em; color: var(--ivory); max-width: 24ch; }
.wf__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); margin-top: clamp(40px, 5vw, 72px); font-size: 0.875rem; color: var(--grey); }
.wf__bottom p { margin: 0; }
.wf__bottom ul { display: flex; gap: var(--space-6); }
.wf__bottom a, .wf__bottom button { font-size: 0.875rem; color: var(--grey); }
@media (min-width: 900px) { .wf__top { grid-template-columns: 1fr 2fr; } .wf__cols { grid-template-columns: repeat(3, 1fr); } }

/* focus rings on inverse surfaces stay visible (two-tone, per the design system) */
.w-page :focus-visible { outline: 2px solid var(--focus-outer); outline-offset: 2px; box-shadow: 0 0 0 4px var(--focus-inner); }
[data-theme="inverse"] :focus-visible { outline-color: var(--ivory); box-shadow: 0 0 0 4px var(--ink); }
