/* Touko Banix website system — base
   Uses tokens.css variables only (--surface, --text, --orange, --space-*, --radius-*, --ease-*, --dur-*). */

.tb, .tb *, .tb *::before, .tb *::after { box-sizing: border-box; }

html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

body { font-family: var(--font-sans); color: var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

.tb {
  --tb-gutter: clamp(20px, 4.2vw, 64px);
  --tb-max: 1320px;
  --tb-vh: 100vh;
  --tb-pad: clamp(88px, 12vw, 176px);
  --tb-nav-h: 60px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

/* Scroller: the page scrolls inside this fixed layer so sticky + scroll-linked motion work in a frame */
.tb-scroll {
  position: fixed; inset: 0; overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain; scroll-behavior: auto;
  scrollbar-width: thin; scrollbar-color: var(--orange) #0d0d0d;
  background: var(--surface);
}
.tb-scroll::-webkit-scrollbar { width: 10px; }
.tb-scroll::-webkit-scrollbar-track { background: #0d0d0d; }
.tb-scroll::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 999px; border: 2px solid #0d0d0d; }

/* Browser surfaces */
.tb ::selection { background: var(--orange); color: var(--ink); }
.tb :focus { outline: none; }
.tb :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
:where(.tb) a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:where(.tb) :is(input, select, textarea, button) { font: inherit; color: inherit; }
:where(.tb) :is(input, textarea) { caret-color: var(--orange); }
:where(.tb) button { cursor: pointer; }
:where(.tb) img { display: block; max-width: 100%; }
:where(.tb) :is(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
:where(.tb) :is(ul, ol) { list-style: none; }
.tb [hidden] { display: none !important; }

.tb-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.tb-skip { position: fixed; left: 16px; top: 16px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--orange); color: var(--ink); font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform var(--dur-ui) var(--ease-out); }
.tb-skip:focus-visible { transform: none; outline-color: var(--ink); }

/* Layout */
.tb-wrap { width: 100%; max-width: calc(var(--tb-max) + 2 * var(--tb-gutter)); margin-inline: auto; padding-inline: var(--tb-gutter); }
.tb-sec { position: relative; background: var(--surface); color: var(--text); padding-block: var(--tb-pad); }
.tb-sec--sunken { background: var(--surface-sunken); }
.tb-sec--tint { background: var(--surface-tint); }
.tb-sec--orange { background: var(--orange); color: var(--ink); }
.tb-sec--tight { padding-block: clamp(56px, 8vw, 112px); }

/* Type */
.tb-display { font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; font-size: clamp(2.75rem, 8.4vw, 6rem); text-wrap: balance; }
.tb-h2 { font-weight: 800; letter-spacing: -0.033em; line-height: 1.02; font-size: clamp(2.25rem, 5.4vw, 4.5rem); text-wrap: balance; }
.tb-h3 { font-weight: 700; letter-spacing: -0.022em; line-height: 1.1; font-size: clamp(1.75rem, 3.2vw, 2.5rem); text-wrap: balance; }
.tb-h4 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; font-size: clamp(1.25rem, 2vw, 1.75rem); }
.tb-lead { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.6; max-width: 62ch; color: var(--text-muted); text-wrap: pretty; }
.tb-p { max-width: 66ch; text-wrap: pretty; }
.tb-muted { color: var(--text-muted); }
.tb-accent { color: var(--text-accent); }
.tb-orange { color: var(--orange); }
.tb-strong { font-weight: 600; }
.tb-num { font-variant-numeric: tabular-nums lining-nums; }

/* Word-mask reveal (h2 etc.). Hidden state only applies once JS has armed the page. */
.tb-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.tb-w > span { display: inline-block; will-change: transform; }
.tb-js [data-r="words"] .tb-w > span { transform: translateY(112%); }
.tb-js [data-r="words"].is-in .tb-w > span { transform: none; transition: transform var(--dur-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 34ms); }

.tb-js [data-r="fade"] { opacity: 0; transform: translateY(16px); }
.tb-js [data-r="fade"].is-in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }

.tb-js [data-r="clip"] { clip-path: inset(0 0 100% 0); }
.tb-js [data-r="clip"] > img, .tb-js [data-r="clip"] > .tb-clip-in { transform: scale(1.18); }
.tb-js [data-r="clip"].is-in { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--ease-drawer); transition-delay: var(--d, 0ms); }
.tb-js [data-r="clip"].is-in > img, .tb-js [data-r="clip"].is-in > .tb-clip-in { transform: none; transition: transform 1400ms var(--ease-out); transition-delay: var(--d, 0ms); }

.tb-js [data-r="stagger"] > * { opacity: 0; transform: translateY(18px); }
.tb-js [data-r="stagger"].is-in > * { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }

/* Duotone photography: shadows stay black, highlights turn brand orange */
.tb-duo { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; }
.tb-duo > img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(1.02); transition: filter 700ms var(--ease-out), transform 1400ms var(--ease-out); }
.tb-duo::after { content: ""; position: absolute; inset: 0; background: var(--orange); mix-blend-mode: multiply; transition: opacity 700ms var(--ease-out); pointer-events: none; }
.tb-duo--natural::after { display: none; }
.tb-duo--natural > img { filter: none; }
@media (hover: hover) and (pointer: fine) {
  .tb-duo:hover > img { filter: grayscale(0) contrast(1); }
  .tb-duo:hover::after { opacity: 0; }
}

/* Buttons */
.tb-btn {
  --fill: #fff; --bg: var(--orange); --fg: var(--ink); --bd: transparent; --fg-hover: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 600; font-size: 15px; letter-spacing: 0.005em; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-press) var(--ease-out), color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.tb-btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--fill); border-radius: inherit; transform: translateY(101%); transition: transform 420ms var(--ease-drawer); }
.tb-btn:active { transform: scale(0.97); }
.tb-btn__arrow { width: 18px; height: 18px; flex: none; transition: transform 420ms var(--ease-out); }
.tb-btn--dark { --bg: var(--ink); --fg: #fff; --fill: var(--orange); --fg-hover: var(--ink); }
.tb-btn--ghost { --bg: transparent; --fg: var(--text); --bd: var(--line-strong); --fill: var(--text); --fg-hover: var(--surface); }
.tb-btn--ghost-on-orange { --bg: transparent; --fg: var(--ink); --bd: rgba(13,13,13,.5); --fill: var(--ink); --fg-hover: var(--orange); }
.tb-btn--white { --bg: #fff; --fg: var(--ink); --fill: var(--ink); --fg-hover: #fff; }
.tb-btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.tb-btn[disabled] { opacity: .6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .tb-btn:hover { color: var(--fg-hover); }
  .tb-btn:hover::before { transform: none; }
  .tb-btn:hover .tb-btn__arrow { transform: translateX(4px); }
}

.tb-link { position: relative; display: inline-block; font-weight: 600; text-decoration: none; padding-block: 2px; }
.tb-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform-origin: right; transition: transform 420ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tb-link:hover::after { transform: scaleX(0); transform-origin: left; } }

/* Orange dot: the signature */
.tb-dot { display: inline-block; width: 0.22em; height: 0.22em; border-radius: 50%; background: var(--orange); vertical-align: baseline; margin-left: 0.04em; }

/* NAV -------------------------------------------------------------- */
.tb-nav {
  position: fixed; z-index: 60; top: 14px; left: 50%;
  width: min(1180px, calc(100% - 28px)); height: var(--tb-nav-h);
  transform: translate(-50%, 0); transition: transform 520ms var(--ease-drawer);
  display: flex; align-items: center; gap: 24px; padding: 0 10px 0 22px;
  border-radius: 999px; color: #f2f2f2;
  background: rgba(13,13,13,.66); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 40px -24px rgba(0,0,0,.6);
}
.tb-nav.is-hidden { transform: translate(-50%, -140%); }
.tb-nav__logo { display: block; flex: none; height: 30px; }
.tb-nav__logo img { height: 100%; width: auto; }
.tb-nav__links { display: flex; align-items: center; gap: 4px; margin-inline: auto; position: relative; }
.tb-nav__links a { position: relative; display: block; white-space: nowrap; padding: 10px 14px; font-size: 14px; font-weight: 500; color: #d8d8d8; text-decoration: none; border-radius: 999px; transition: color var(--dur-ui) var(--ease-out); }
.tb-nav__links a[aria-current="true"] { color: #fff; }
.tb-nav__pip { position: absolute; left: 0; bottom: 1px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--orange); opacity: 0; transform: translateX(0); transition: transform 520ms var(--ease-drawer), opacity 220ms var(--ease-out); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .tb-nav__links a:hover { color: #fff; } }
.tb-nav .tb-btn { flex: none; }
.tb-nav__burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); flex: none; margin-left: auto; transition: transform var(--dur-press) var(--ease-out); }
.tb-nav__burger:active { transform: scale(0.94); }
.tb-nav__burger i { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform 420ms var(--ease-drawer), top 420ms var(--ease-drawer); }
.tb-nav__burger i:nth-child(1) { top: 18px; } .tb-nav__burger i:nth-child(2) { top: 24px; }
.tb-nav__burger[aria-expanded="true"] i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.tb-nav__burger[aria-expanded="true"] i:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.tb-menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: #f2f2f2; padding: calc(var(--tb-nav-h) + 48px) var(--tb-gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0px at calc(100% - 44px) 44px); visibility: hidden; transition: clip-path 700ms var(--ease-drawer), visibility 0s linear 700ms; }
.tb-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path 800ms var(--ease-drawer), visibility 0s; }
.tb-menu nav { display: grid; gap: 4px; }
.tb-menu nav a { display: block; font-size: clamp(2.25rem, 10vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; text-decoration: none; opacity: 0; transform: translateY(24px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.tb-menu.is-open nav a { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(240ms + var(--i, 0) * 55ms); }
.tb-menu__foot { display: grid; gap: 6px; color: #a6a6a6; font-size: 14px; }
.tb-menu__foot a { color: #f2f2f2; }

@media (max-width: 900px) {
  .tb-nav__links, .tb-nav > .tb-btn { display: none; }
  .tb-nav__burger { display: block; }
  .tb-nav { padding-left: 18px; }
}

/* HERO ------------------------------------------------------------- */
.tb-hero { position: relative; height: calc(var(--tb-vh) + 170vh); height: calc(var(--tb-vh) + var(--tb-flood-run, 170vh)); background: var(--ink); color: var(--text); }
.tb-hero__stage { position: sticky; top: 0; height: var(--tb-vh); overflow: hidden; background: var(--ink); }
.tb-hero__mark { position: absolute; right: max(2vw, calc(50% - 720px)); top: 50%; width: min(48vw, 720px); aspect-ratio: 286 / 264; transform: translateY(-58%); pointer-events: none; }
.tb-hero__mk { position: absolute; inset: 0; }
.tb-hero__mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tb-hero__mark .tb-mark-body { fill: #1e1e1e; }
.tb-hero__mark .tb-mark-line { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 0.8; }
.tb-hero__seed { position: absolute; left: 89.9%; top: 21.2%; width: 19.6%; aspect-ratio: 1; margin: -9.8% 0 0 -9.8%; border-radius: 50%; background: var(--orange); will-change: transform; }
.tb-hero__copy { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(32px, 6vh, 72px); }
.tb-hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr); align-items: end; gap: clamp(24px, 5vw, 80px); }
.tb-hero__title { font-size: clamp(2.75rem, 9.6vw, 6rem); font-weight: 800; letter-spacing: -0.038em; line-height: 0.96; }
.tb-hero__title .tb-l { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.tb-hero__title .tb-l > span { display: inline-block; will-change: transform; }
.tb-hero__stop { color: var(--orange); }
.tb-hero__side { display: grid; gap: 28px; max-width: 440px; padding-bottom: 8px; }
.tb-hero__side p { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; color: #cfcfcf; text-wrap: pretty; }
.tb-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.tb-hero__cue { position: absolute; left: var(--tb-gutter); top: calc(var(--tb-nav-h) + 56px); display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: #a6a6a6; transition: opacity 400ms var(--ease-out); }
.tb-hero__cue i { position: relative; display: block; width: 1px; height: 56px; background: rgba(255,255,255,.2); overflow: hidden; }
.tb-hero__cue i::after { content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); animation: tb-cue 2200ms var(--ease-in-out) infinite; }
@keyframes tb-cue { 0% { transform: translateY(-6px); } 100% { transform: translateY(58px); } }

/* Flood: the orange grows out of the seed dot and becomes the page */
.tb-flood { position: absolute; inset: 0; background: var(--orange); color: var(--ink); clip-path: circle(0px at var(--fx, 80%) var(--fy, 30%)); display: flex; align-items: center; z-index: 2; }
.tb-flood__in { width: 100%; padding-block: calc(var(--tb-nav-h) + 40px) 48px; }
.tb-flood__statement { font-size: clamp(1.625rem, 3.7vw, 3.25rem); font-weight: 700; letter-spacing: -0.028em; line-height: 1.1; max-width: 22em; text-wrap: balance; }
.tb-flood__facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(28px, 5vh, 56px); border-top: 1px solid rgba(13,13,13,.4); }
.tb-flood__facts li { flex: 1 1 200px; padding: 20px 24px 0 0; font-size: clamp(0.9375rem, 1.3vw, 1.125rem); font-weight: 500; line-height: 1.35; }
.tb-flood__facts b { font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .tb-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .tb-hero__mark { width: 80vw; right: 2vw; top: 30%; }
  .tb-hero__cue { display: none; }
  .tb-flood__in { padding-top: calc(var(--tb-nav-h) + 24px); }
  .tb-hero__side p { font-size: 1rem; }
}
@media (max-height: 640px) and (min-width: 901px) { .tb-hero__side p { display: none; } }

/* MARQUEE ---------------------------------------------------------- */
.tb-marquee { background: var(--ink); color: #f2f2f2; padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4vw, 56px); overflow: hidden; position: relative; }
.tb-marquee__lead { color: #a6a6a6; font-size: 15px; margin-bottom: 18px; max-width: 60ch; }
.tb-marquee__track { display: flex; width: max-content; will-change: transform; animation: tb-marquee 90s linear infinite; }
.tb-marquee:hover .tb-marquee__track { animation-play-state: paused; }
.tb-marquee__set { display: flex; align-items: center; flex: none; }
.tb-marquee__set li { display: flex; align-items: center; font-size: clamp(1.75rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.tb-marquee__set li::after { content: ""; width: 0.28em; height: 0.28em; border-radius: 50%; background: var(--orange); margin-inline: clamp(24px, 3.2vw, 48px); flex: none; }
.tb-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
@keyframes tb-marquee { to { transform: translateX(-50%); } }

/* WHY -------------------------------------------------------------- */
.tb-why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.tb-why__head { position: sticky; top: calc(var(--tb-nav-h) + 48px); display: grid; gap: 28px; }
.tb-why__body { display: grid; gap: 22px; }
.tb-why__list { margin-top: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.tb-why__list li { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.tb-why__list li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); padding-right: 0; }
.tb-why__list h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 10px; }
.tb-why__list p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.tb-offices { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 10px; }
.tb-offices span { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--surface-sunken); font-size: 14px; font-weight: 500; }
.tb-offices span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
@media (max-width: 900px) {
  .tb-why__grid { grid-template-columns: 1fr; }
  .tb-why__head { position: static; }
  .tb-why__list { grid-template-columns: 1fr; }
  .tb-why__list li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* SERVICES --------------------------------------------------------- */
.tb-svc__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tb-svc__head { position: sticky; top: calc(var(--tb-nav-h) + 48px); display: grid; gap: 28px; }
.tb-svc__area { margin-top: clamp(40px, 6vw, 72px); }
.tb-svc__area:first-child { margin-top: 0; }
.tb-svc__area h3 { font-size: 15px; font-weight: 600; color: var(--text-accent); padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.tb-svc__item { border-bottom: 1px solid var(--line); }
.tb-svc__btn { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: clamp(20px, 2.4vw, 30px) 0; background: none; border: 0; text-align: left; isolation: isolate; }
.tb-svc__btn::before { content: ""; position: absolute; inset: 0 calc(-1 * clamp(12px, 1.6vw, 24px)); z-index: -1; background: var(--surface-raised); border-radius: var(--radius-md); opacity: 0; transform: scale(0.985); transition: opacity var(--dur-ui) var(--ease-out), transform 420ms var(--ease-out); }
.tb-svc__name { display: flex; align-items: center; gap: 0; font-size: clamp(1.375rem, 2.6vw, 2.125rem); font-weight: 700; letter-spacing: -0.024em; line-height: 1.15; transition: transform 420ms var(--ease-out); }
.tb-svc__name::before { content: ""; flex: none; width: 0; height: 0.3em; aspect-ratio: 1; border-radius: 50%; background: var(--orange); transform: scale(0); transition: width 420ms var(--ease-out), margin 420ms var(--ease-out), transform 420ms var(--ease-out); }
.tb-svc__plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform 420ms var(--ease-out), background var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out); }
.tb-svc__plus::before, .tb-svc__plus::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; border-radius: 2px; }
.tb-svc__plus::after { transform: rotate(90deg); transition: transform 420ms var(--ease-out); }
.tb-svc__btn[aria-expanded="true"] .tb-svc__plus { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: rotate(180deg); }
.tb-svc__btn[aria-expanded="true"] .tb-svc__plus::after { transform: rotate(0); }
.tb-svc__btn[aria-expanded="true"] .tb-svc__name::before { width: 0.3em; margin-right: 0.4em; transform: scale(1); }
.tb-svc__btn:active .tb-svc__name { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .tb-svc__btn:hover::before { opacity: 1; transform: none; }
  .tb-svc__btn:hover .tb-svc__name::before { width: 0.3em; margin-right: 0.4em; transform: scale(1); }
}
.tb-svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 520ms var(--ease-drawer); }
.tb-svc__panel > div { overflow: hidden; min-height: 0; }
.tb-svc__btn[aria-expanded="true"] + .tb-svc__panel { grid-template-rows: 1fr; }
.tb-svc__inner { padding: 0 0 clamp(24px, 3vw, 36px); display: grid; gap: 22px; max-width: 60ch; opacity: 0; transform: translateY(-6px); transition: opacity 260ms var(--ease-out), transform 420ms var(--ease-out); }
.tb-svc__btn[aria-expanded="true"] + .tb-svc__panel .tb-svc__inner { opacity: 1; transform: none; transition-delay: 90ms; }
.tb-svc__inner p { color: var(--text-muted); text-wrap: pretty; }
@media (max-width: 900px) {
  .tb-svc__grid { grid-template-columns: 1fr; }
  .tb-svc__head { position: static; }
}

/* APPROACH --------------------------------------------------------- */
.tb-app__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.tb-stack { position: relative; }
.tb-step { position: sticky; top: calc(var(--tb-nav-h) + 32px + var(--i, 0) * 22px); height: clamp(420px, 66vh, 560px); margin-bottom: clamp(16px, 4vh, 40px); border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); overflow: hidden; transform-origin: 50% 0; will-change: transform; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
.tb-step::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; z-index: 3; border-radius: inherit; }
.tb-step__text { position: relative; padding: clamp(28px, 3.6vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tb-step__n { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.9; color: var(--orange); font-variant-numeric: tabular-nums; }
.tb-step h3 { font-size: clamp(1.75rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 14px; text-wrap: balance; }
.tb-step p { color: var(--text-muted); max-width: 44ch; text-wrap: pretty; }
.tb-step__img { position: relative; margin: 12px 12px 12px 0; border-radius: calc(var(--radius-lg) - 8px); }
.tb-step__img img { object-position: var(--pos, 50% 50%); }
.tb-principles { margin-top: clamp(48px, 7vw, 96px); display: flex; flex-wrap: wrap; gap: 10px 12px; }
.tb-principles li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 15px; }
.tb-principles li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
@media (max-width: 900px) {
  .tb-app__head { grid-template-columns: 1fr; }
  .tb-step { position: relative; top: auto; height: auto; grid-template-columns: 1fr; will-change: auto; }
  .tb-step__img { order: -1; margin: 10px 10px 0; aspect-ratio: 16 / 10; }
  .tb-step__text { gap: 32px; }
}

/* WORK ------------------------------------------------------------- */
.tb-work__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.tb-rail { position: relative; }
.tb-rail__scroll { display: flex; gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; overflow-y: hidden; padding: 4px var(--tb-gutter) 28px; scroll-snap-type: x proximity; scroll-padding-inline: var(--tb-gutter); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; -webkit-user-select: none; user-select: none; }
.tb-rail__scroll::-webkit-scrollbar { display: none; }
.tb-rail__scroll.is-drag { cursor: grabbing; scroll-snap-type: none; }
.tb-rail.has-cur, .tb-rail.has-cur * { cursor: none !important; }
.tb-rail__scroll.is-drag a { pointer-events: none; }
.tb-rail__lead { flex: none; width: max(0px, calc((100% - var(--tb-max)) / 2 - var(--tb-gutter))); }
.tb-tile { position: relative; flex: none; width: clamp(280px, 34vw, 460px); aspect-ratio: 4 / 5; min-height: min-content; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; isolation: isolate; background: var(--bg, var(--ink)); color: var(--fg, #fff); transition: transform 520ms var(--ease-out); }
.tb-tile:active { transform: scale(0.985); }
@media (max-width: 720px) { .tb-tile { aspect-ratio: auto; } }
.tb-tile__shot { flex: none; display: block; position: relative; aspect-ratio: 7 / 4; margin: clamp(14px, 1.6vw, 22px) 0 auto; border-radius: var(--radius-md); overflow: hidden; }
.tb-tile__shot + span { padding-top: clamp(14px, 1.6vw, 22px); }
.tb-tile__shot > img { display: block; transition: transform 900ms var(--ease-out); }
.tb-tile__shot--wide { box-shadow: 0 22px 44px -22px rgba(0,0,0,.5); }
.tb-tile__shot--wide > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.tb-tile__shot--phone { display: grid; justify-items: center; align-items: start; background: rgba(127,127,127,.16); }
.tb-tile__shot--phone > img { width: 50%; height: auto; margin-top: 12px; border-radius: 12px 12px 0 0; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.tb-tile svg.tb-tile__art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; transition: transform 1100ms var(--ease-out); }
.tb-tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font-size: 14px; font-weight: 600; }
.tb-tile__go { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--bg); transition: transform 520ms var(--ease-out); }
.tb-tile__go svg { width: 18px; height: 18px; }
.tb-tile__name { font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 12px; }
.tb-tile__desc { font-size: 15px; line-height: 1.5; max-width: 30ch; opacity: .92; }
.tb-tile__url { display: block; margin-top: 16px; font-size: 13px; font-weight: 600; opacity: .8; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .tb-tile:hover svg.tb-tile__art { transform: scale(1.06); }
  .tb-tile:hover .tb-tile__shot > img { transform: scale(1.04); }
  .tb-tile:hover .tb-tile__go { transform: rotate(-45deg); }
}
.tb-rail__ctl { display: flex; gap: 10px; }
.tb-circ { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; transition: transform var(--dur-press) var(--ease-out), background var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out); }
.tb-circ:active { transform: scale(0.94); }
.tb-circ svg { width: 20px; height: 20px; }
.tb-circ[disabled] { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .tb-circ:not([disabled]):hover { background: var(--text); color: var(--surface); border-color: var(--text); } }

.tb-cursor { position: absolute; z-index: 20; left: 0; top: 0; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; pointer-events: none; opacity: 0; transform: translate3d(-100px,-100px,0) scale(.4); will-change: transform, opacity; transition: opacity 220ms var(--ease-out); }
.tb-cursor.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .tb-cursor { display: none; } }

.tb-index { margin-top: clamp(56px, 8vw, 112px); }
.tb-index__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.tb-chips { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.tb-chip { position: relative; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-weight: 600; font-size: 14px; transition: transform var(--dur-press) var(--ease-out), background var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out); }
.tb-chip:active { transform: scale(0.97); }
.tb-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-theme="dark"] .tb-chip[aria-pressed="true"] { background: var(--orange); color: var(--ink); border-color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .tb-chip[aria-pressed="false"]:hover { background: var(--surface-sunken); } }
.tb-index__count { color: var(--text-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.tb-rows { border-top: 1px solid var(--line-strong); }
.tb-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr) 36px; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; isolation: isolate; }
.tb-row::before { content: ""; position: absolute; inset: 0 -20px; z-index: -1; background: var(--surface-raised); border-radius: var(--radius-md); opacity: 0; transform: scale(.985); transition: opacity var(--dur-ui) var(--ease-out), transform 420ms var(--ease-out); }
.tb-row__name { font-size: clamp(1.125rem, 2vw, 1.625rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.tb-row__type { color: var(--text-muted); font-size: 15px; }
.tb-row__url { font-size: 14px; font-weight: 500; color: var(--text-accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-row__go { width: 28px; height: 28px; color: var(--text-accent); opacity: 0; transform: translateX(-8px); transition: opacity var(--dur-ui) var(--ease-out), transform 420ms var(--ease-out); }
a.tb-row:focus-visible .tb-row__go { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  a.tb-row:hover::before { opacity: 1; transform: none; }
  a.tb-row:hover .tb-row__go { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .tb-work__head { grid-template-columns: 1fr; }
  .tb-row { grid-template-columns: 1fr 28px; row-gap: 4px; }
  .tb-row__type { grid-column: 1; grid-row: 2; }
  .tb-row__url { grid-column: 1; grid-row: 3; }
  .tb-row__go { grid-column: 2; grid-row: 1; opacity: 1; transform: none; }
}

/* STORIES ---------------------------------------------------------- */
.tb-story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.tb-story__tabs { position: relative; display: grid; gap: 4px; }
.tb-story__tab { position: relative; z-index: 1; display: block; width: 100%; text-align: left; padding: 18px 22px; border: 0; background: none; border-radius: var(--radius-md); font-weight: 700; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); letter-spacing: -0.015em; line-height: 1.25; color: var(--text-muted); transition: color var(--dur-ui) var(--ease-out), transform var(--dur-press) var(--ease-out); }
.tb-story__tab small { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.tb-story__tab:active { transform: scale(0.98); }
.tb-story__tab[aria-selected="true"] { color: var(--ink); }
.tb-story__pill { position: absolute; z-index: 0; left: 0; top: 0; width: 100%; height: 0; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-1); transform: translateY(0); transition: transform 520ms var(--ease-drawer), height 520ms var(--ease-drawer), width 520ms var(--ease-drawer); }
.tb-story__stage { display: grid; }
.tb-story__panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; filter: blur(4px); transform: translateY(10px); transition: opacity 320ms var(--ease-out), filter 320ms var(--ease-out), transform 520ms var(--ease-out), visibility 0s linear 320ms; }
.tb-story__panel.is-on { opacity: 1; visibility: visible; filter: none; transform: none; transition-delay: 80ms, 80ms, 80ms, 0s; }
.tb-story__title { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin-bottom: 14px; text-wrap: balance; }
.tb-story__client { font-weight: 600; margin-bottom: clamp(28px, 4vw, 48px); color: var(--text-accent); }
.tb-story dl { display: grid; border-top: 1px solid var(--line-strong); }
.tb-story dl > div { display: grid; grid-template-columns: minmax(96px, 1fr) minmax(0, 5fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tb-story dt { font-weight: 700; font-size: 15px; }
.tb-story dd { max-width: 60ch; text-wrap: pretty; }
.tb-story dd.is-result { font-weight: 600; font-size: clamp(1.125rem, 1.8vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.35; }
@media (max-width: 900px) {
  .tb-story { grid-template-columns: 1fr; }
  .tb-story__tabs { display: flex; overflow-x: auto; gap: 8px; margin-inline: calc(-1 * var(--tb-gutter)); padding-inline: var(--tb-gutter); scrollbar-width: none; }
  .tb-story__tabs::-webkit-scrollbar { display: none; }
  .tb-story__tab { flex: none; width: auto; padding: 14px 18px; white-space: nowrap; }
  .tb-story dl > div { grid-template-columns: 1fr; gap: 6px; }
}

/* TRAINING --------------------------------------------------------- */
.tb-train__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tb-train__media { position: sticky; top: calc(var(--tb-nav-h) + 48px); display: grid; gap: 24px; }
.tb-train__media .tb-duo { aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg); }
.tb-train__intro { display: grid; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); }
.tb-tracks { border-top: 1px solid var(--line-strong); }
.tb-tracks li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding-left 420ms var(--ease-out); }
.tb-tracks b { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.3; }
.tb-tracks span { color: var(--text-muted); font-size: 15px; line-height: 1.55; }
@media (hover: hover) and (pointer: fine) { .tb-tracks li:hover { padding-left: 14px; } .tb-tracks li:hover b { color: var(--orange); } }
.tb-train__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: clamp(32px, 5vw, 56px); }
.tb-train__meta h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; }
.tb-train__meta p { color: var(--text-muted); font-size: 15px; }
.tb-train__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
@media (max-width: 900px) {
  .tb-train__grid { grid-template-columns: 1fr; }
  .tb-train__media { position: static; }
  .tb-tracks li, .tb-train__meta { grid-template-columns: 1fr; gap: 6px; }
}

/* Branding galleries + lightbox */
.tb-sec--brand { background: var(--surface); color: var(--text); }
.tb-brand__head { display: grid; gap: 24px; max-width: 46rem; margin-bottom: clamp(40px, 6vw, 88px); }
.tb-brand { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); padding-block: clamp(40px, 6vw, 96px); border-top: 1px solid var(--line-strong); }
.tb-brand__info { position: sticky; top: calc(var(--tb-nav-h) + 48px); align-self: start; display: grid; gap: 18px; }
.tb-brand__name { font-size: clamp(2.25rem, 4.2vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: .94; overflow-wrap: break-word; }
.tb-brand__type { font-size: 1.125rem; font-weight: 600; color: var(--text-accent); }
.tb-brand__desc { color: var(--text-muted); max-width: 30rem; }
.tb-brand__hint { font-size: 14px; color: var(--text-muted); }
.tb-brand__site { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); padding-block: 10px; border-bottom: 1px solid var(--line-strong); transition: color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out); }
.tb-brand__site svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .tb-brand__site:hover { color: var(--text-accent); border-color: var(--text-accent); } }
.tb-brand__gal { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 12px; align-items: start; }
.tb-brand__gal[style*="--cols:1"] { max-width: 34rem; }
.tb-brand__col { display: grid; gap: 12px; align-content: start; }
.tb-shot { position: relative; display: block; width: 100%; aspect-ratio: var(--ar); padding: 0; border: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-raised); cursor: zoom-in; isolation: isolate; text-align: left; transition: transform var(--dur-press) var(--ease-out); }
.tb-shot:active { transform: scale(.985); }
.tb-shot > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tb-shot::after { content: ""; position: absolute; inset: 0; background: rgba(13,13,13,.28); opacity: 0; transition: opacity var(--dur-ui) var(--ease-out); pointer-events: none; }
.tb-shot::before { content: ""; position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; opacity: 0; transform: scale(.7); transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .tb-shot:hover::after { opacity: 1; } .tb-shot:hover::before { opacity: 1; transform: none; } }
.tb-shot:focus-visible::after { opacity: 1; } .tb-shot:focus-visible::before { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .tb-brand { grid-template-columns: 1fr; }
  .tb-brand__info { position: static; }
}
/* Phones: each gallery becomes a touch rail in the original order */
@media (max-width: 720px) {
  .tb-brand__gal { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--tb-gutter)); padding-inline: var(--tb-gutter); scroll-padding-inline: var(--tb-gutter); scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px; }
  .tb-brand__gal::-webkit-scrollbar { display: none; }
  .tb-brand__col { display: contents; }
  .tb-shot { flex: none; width: auto; height: min(62vh, 480px); order: var(--o); scroll-snap-align: start; }
  .tb-shot > img { width: auto; height: 100%; aspect-ratio: var(--ar); }
  .tb-brand__gal[style*="--cols:1"] { max-width: none; }
  .tb-brand__gal[style*="--cols:1"] .tb-shot { width: 100%; height: auto; aspect-ratio: var(--ar); }
  .tb-brand__gal[style*="--cols:1"] .tb-shot > img { width: 100%; height: 100%; }
}

/* Lightbox */
.tb-lb { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, 2vw, 24px); padding: clamp(16px, 3vw, 40px); background: rgba(7,7,7,.94); color: #f2f2f2; visibility: hidden; opacity: 0; transition: opacity 220ms var(--ease-out), visibility 0s linear 220ms; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tb-lb.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.tb-lb .tb-circ { border-color: rgba(242,242,242,.38); color: #f2f2f2; background: rgba(13,13,13,.5); }
@media (hover: hover) and (pointer: fine) { .tb-lb .tb-circ:not([disabled]):hover { background: var(--orange); border-color: var(--orange); color: var(--ink); } }
.tb-lb__x { position: absolute; top: clamp(12px, 2vw, 28px); right: clamp(12px, 2vw, 28px); z-index: 2; }
.tb-lb__fig { grid-column: 2; margin: 0; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; justify-items: center; min-height: 0; touch-action: pan-y; }
.tb-lb__fig img { align-self: center; max-width: 100%; max-height: 100%; min-height: 0; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.tb-lb__fig figcaption { display: flex; gap: 20px; align-items: baseline; justify-content: center; font-size: 14px; color: #c9c9c9; text-align: center; }
.tb-lb__count { color: #a6a6a6; font-variant-numeric: tabular-nums; }
.tb-lb__nav--prev { grid-column: 1; grid-row: 1; } .tb-lb__nav--next { grid-column: 3; grid-row: 1; }
@media (max-width: 720px) {
  .tb-lb { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; padding: 56px 14px 20px; }
  .tb-lb__fig { grid-column: 1 / -1; grid-row: 1; }
  .tb-lb__nav--prev { grid-column: 1; grid-row: 2; justify-self: start; } .tb-lb__nav--next { grid-column: 2; grid-row: 2; justify-self: end; }
}
@media (prefers-reduced-motion: reduce) { .tb-lb { transition-duration: 1ms; } }

/* PAGES ------------------------------------------------------------- */
/* Each menu item is its own page. Without JS every page shows, so content is never lost. */
.tb-page { display: block; }
.tb-page:focus, .tb-page:focus-visible { outline: none; }
.tb-js .tb-page:not(.is-active) { display: none; }
/* Pages other than Home start under the floating nav */
.tb-page:not([data-page="home"]) > section:first-of-type { padding-top: calc(var(--tb-pad) * 0.62 + var(--tb-nav-h)); }
.tb-page[data-page="work"] > section:first-of-type { padding-top: calc(var(--tb-nav-h) + clamp(56px, 8vw, 112px)); }

/* Home: find your way around */
.tb-explore { background: var(--surface); }
.tb-explore .tb-h2 { margin-bottom: clamp(32px, 5vw, 64px); max-width: 12em; }
.tb-explore__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.tb-go { position: relative; display: grid; align-content: space-between; gap: 28px; min-height: clamp(200px, 22vw, 268px); padding: clamp(20px, 2.2vw, 28px); border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: var(--surface); text-decoration: none; color: var(--text); overflow: hidden; transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out), border-color 240ms var(--ease-out), transform 160ms var(--ease-out); }
.tb-go:active { transform: scale(0.98); }
.tb-go__t { display: block; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.tb-go__d { display: block; margin-top: 10px; max-width: 24ch; color: var(--text-muted); font-size: 15px; line-height: 1.5; transition: color 240ms var(--ease-out); }
.tb-go__ar, .tb-next__ar { position: relative; justify-self: end; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); flex: none; transition: transform 320ms var(--ease-out); }
.tb-go__ar::before, .tb-next__ar::before { content: ""; position: absolute; right: 30%; top: 50%; width: 28%; height: 28%; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translateY(-50%) rotate(45deg); transform-origin: 50% 50%; }
.tb-go__ar::after, .tb-next__ar::after { content: ""; position: absolute; left: 30%; right: 31%; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .tb-go:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
  .tb-go:hover .tb-go__d { color: #bdbdbd; }
  .tb-go:hover .tb-go__ar { transform: rotate(-45deg); }
}
.tb-go:focus-visible { outline-offset: 3px; border-radius: var(--radius-lg); }
@media (max-width: 1000px) { .tb-explore__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .tb-explore__grid { grid-template-columns: 1fr; }
  .tb-go { min-height: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; }
  .tb-go__ar { width: 40px; height: 40px; }
}

/* Bottom of every page: the next page */
.tb-next { background: var(--orange); color: var(--ink); }
.tb-next__a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k ar" "t ar" "d ar"; align-items: end; column-gap: 24px; max-width: calc(var(--tb-max) + 2 * var(--tb-gutter)); margin-inline: auto; padding: clamp(40px, 6vw, 88px) var(--tb-gutter); text-decoration: none; color: var(--ink); }
.tb-next__k { grid-area: k; font-size: 14px; font-weight: 600; opacity: 0.7; }
.tb-next__t { grid-area: t; font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; font-size: clamp(2.75rem, 9vw, 7rem); }
.tb-next__d { grid-area: d; margin-top: 12px; max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.5; }
.tb-next__ar { grid-area: ar; align-self: center; width: clamp(56px, 7vw, 96px); height: clamp(56px, 7vw, 96px); background: var(--ink); transition: transform 320ms var(--ease-out); }
.tb-next__ar::before { border-color: var(--orange); }
.tb-next__ar::after { background: var(--orange); }
.tb-next__a:focus-visible { outline-color: var(--ink); outline-offset: -6px; }
@media (hover: hover) and (pointer: fine) { .tb-next__a:hover .tb-next__ar { transform: translateX(6px); } }
.tb-next__a:active .tb-next__ar { transform: scale(0.95); }

/* COMPANY DROPDOWN ------------------------------------------------- */
.tb-dd { display: block; }
.tb-dd__btn { display: flex; align-items: center; gap: 7px; white-space: nowrap; padding: 10px 12px 10px 14px; font-size: 14px; font-weight: 500; line-height: inherit; color: #d8d8d8; background: none; border: 0; border-radius: 999px; transition: color var(--dur-ui) var(--ease-out); }
.tb-dd__btn[aria-current="true"], .tb-dd__btn[aria-expanded="true"] { color: #fff; }
@media (hover: hover) and (pointer: fine) { .tb-dd__btn:hover { color: #fff; } }
.tb-dd__caret { flex: none; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 240ms var(--ease-out); }
.tb-dd__btn[aria-expanded="true"] .tb-dd__caret { transform: translateY(1px) rotate(225deg); }
.tb-dd__panel { position: absolute; top: calc(100% + 18px); left: var(--dd-x, 0px); z-index: 2; min-width: 272px; padding: 10px; border-radius: 22px; background: rgba(13,13,13,.94); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 32px 64px -28px rgba(0,0,0,.75); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: 32px -12px; transition: opacity 160ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms; }
.tb-dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
.tb-dd.is-open .tb-dd__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tb-dd__list { display: grid; gap: 2px; }
.tb-nav__links .tb-dd__panel a { display: block; padding: 11px 14px; border-radius: 14px; font-size: 15px; font-weight: 500; color: #f2f2f2; white-space: nowrap; transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out); }
.tb-nav__links .tb-dd__panel a[aria-current="page"] { color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .tb-nav__links .tb-dd__panel a:hover { background: rgba(255,255,255,.08); color: #fff; } .tb-nav__links .tb-dd__panel a[aria-current="page"]:hover { color: var(--orange); } }
.tb-nav__links .tb-dd__panel a:focus-visible { background: rgba(255,255,255,.08); outline-offset: -2px; border-radius: 14px; }
.tb-dd__pol { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.1); }
.tb-dd__label { padding: 6px 14px 4px; font-size: 12px; font-weight: 600; color: #a6a6a6; }
.tb-nav__links .tb-dd__pol a { padding-left: 26px; }
@media (max-width: 1080px) { .tb-nav__links a, .tb-dd__btn { padding-inline: 10px; } .tb-dd__btn { padding-right: 8px; } .tb-nav { gap: 12px; } }

/* Mobile menu: Company group */
.tb-menu { overflow-y: auto; overscroll-behavior: contain; justify-content: flex-start; gap: 32px; }
.tb-menu__foot { margin-top: auto; padding-top: 8px; }
.tb-menu__grp { display: grid; }
.tb-menu__dd { display: flex; align-items: center; gap: 16px; width: 100%; padding: 0; text-align: left; color: inherit; background: none; border: 0; font: inherit; font-size: clamp(2.25rem, 10vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; opacity: 0; transform: translateY(24px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.tb-menu.is-open .tb-menu__dd { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(240ms + var(--i, 0) * 55ms); }
.tb-menu__dd .tb-dd__caret { width: 0.22em; height: 0.22em; border-width: 3px; margin-top: 0.1em; }
.tb-menu__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.tb-menu__sub.is-open { grid-template-rows: 1fr; }
.tb-menu__sub > div { min-height: 0; overflow: hidden; }
.tb-menu__sub ul { display: grid; gap: 2px; padding: 8px 0 8px 4px; }
.tb-menu .tb-menu__sub a { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; padding: 6px 0; color: #d8d8d8; opacity: 1; transform: none; }
.tb-menu .tb-menu__sub a[aria-current="page"] { color: var(--orange); }
.tb-menu__pol > span { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; color: #a6a6a6; }
.tb-menu__pol ul { padding: 4px 0 0 14px; }

/* FOOTER additions */
.tb-foot__pol { display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* POLICY PAGES ----------------------------------------------------- */
.tb-policy { background: var(--surface); }
.tb-policy__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.tb-policy .tb-h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); }
.tb-policy__side { position: sticky; top: calc(var(--tb-nav-h) + 40px); display: grid; gap: 18px; grid-template-rows: auto auto minmax(0, 1fr); max-height: calc(var(--tb-vh) - var(--tb-nav-h) - 64px); }
.tb-policy__meta { font-size: 14px; color: var(--text-muted); }
.tb-policy__toc { min-height: 0; overflow-y: auto; padding: 16px 8px 8px 0; border-top: 1px solid var(--line-strong); scrollbar-width: thin; overscroll-behavior: contain; }
.tb-policy__tochead { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.tb-policy__toc ol { display: grid; gap: 1px; }
.tb-policy__toc a { display: grid; grid-template-columns: 2.2ch minmax(0, 1fr); gap: 10px; padding: 6px 0; font-size: 14px; line-height: 1.35; color: var(--text-muted); text-decoration: none; transition: color var(--dur-ui) var(--ease-out); }
.tb-policy__toc a span { font-variant-numeric: tabular-nums; color: var(--text-accent); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .tb-policy__toc a:hover { color: var(--text); } }
.tb-policy__intro { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 52px); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }
.tb-policy__intro:empty { display: none; }
.tb-clauses { display: grid; border-bottom: 1px solid var(--line-strong); }
.tb-clause { position: relative; padding: clamp(22px, 3vw, 34px) 0 clamp(22px, 3vw, 34px) 3.25rem; border-top: 1px solid var(--line-strong); }
.tb-clause__n { position: absolute; left: 0; top: calc(clamp(22px, 3vw, 34px) + 0.4rem); font-size: 14px; font-weight: 600; color: var(--text-accent); font-variant-numeric: tabular-nums; }
.tb-clause__h { margin-bottom: 12px; font-size: clamp(1.25rem, 1.9vw, 1.625rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.tb-clause__b { display: grid; gap: 12px; max-width: 68ch; line-height: 1.7; text-wrap: pretty; }
.tb-clause__sub { display: grid; gap: 10px; margin-top: 2px; padding-left: 16px; border-left: 2px solid var(--line-strong); }
.tb-ph { padding: 0 0.22em; border-radius: 4px; background: rgba(255,90,0,.16); color: inherit; font-weight: 600; }
.tb-tablewrap { margin-top: 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); overflow: hidden; }
.tb-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; text-align: left; }
.tb-table th, .tb-table td { padding: 14px 18px; vertical-align: top; border-top: 1px solid var(--line); }
.tb-table thead th { border-top: 0; background: var(--surface-sunken); font-size: 13px; font-weight: 600; color: var(--text-muted); }
.tb-table tbody th { width: 40%; font-weight: 600; }
@media (max-width: 960px) {
  .tb-policy__grid { grid-template-columns: 1fr; }
  .tb-policy__side { position: static; max-height: none; }
  .tb-policy__toc { display: none; }
}
@media (max-width: 640px) {
  .tb-clause { padding-left: 0; }
  .tb-clause__n { position: static; display: block; margin-bottom: 6px; }
  .tb-table thead { display: none; }
  .tb-table, .tb-table tbody, .tb-table tr, .tb-table th, .tb-table td { display: block; }
  .tb-table tbody th { width: auto; padding-bottom: 2px; border-top: 1px solid var(--line); }
  .tb-table tbody tr:first-child th { border-top: 0; }
  .tb-table td { padding-top: 0; border-top: 0; color: var(--text-muted); }
}

/* WHATSAPP FLOATING BUTTON ------------------------------------------ */
.tb-wa {
  --wa: #25d366; --wa-deep: #128c4a; --wa-size: 60px;
  position: fixed; z-index: 50; display: block; width: var(--wa-size); height: var(--wa-size);
  right: calc(clamp(16px, 2.2vw, 32px) + 10px);
  bottom: calc(clamp(16px, 2.2vw, 32px) + env(safe-area-inset-bottom, 0px));
  border-radius: 50%; color: #fff; text-decoration: none; -webkit-tap-highlight-color: transparent;
  animation: tb-wa-in 640ms var(--ease-out) 1.1s both;
}
.tb-wa__ic {
  position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(120% 120% at 28% 18%, #5cf08f 0%, var(--wa) 46%, #19b85a 100%);
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7), 0 3px 10px rgba(0, 0, 0, .28), inset 0 1.5px 0 rgba(255, 255, 255, .45), inset 0 -3px 6px rgba(9, 96, 44, .35);
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}
.tb-wa__ic svg { width: 32px; height: 32px; display: block; filter: drop-shadow(0 1px 1px rgba(9, 96, 44, .35)); }
.tb-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); opacity: 0; pointer-events: none;
  animation: tb-wa-pulse 2.6s var(--ease-out) 2.4s 3;
}
.tb-wa__label {
  position: absolute; z-index: 0; right: calc(100% + 12px); top: 50%; padding: 11px 18px; border-radius: 999px; white-space: nowrap;
  background: rgba(13, 13, 13, .95); color: #f2f2f2; font-size: 14px; font-weight: 600; letter-spacing: -.005em;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  opacity: 0; transform: translate(10px, -50%) scale(.96); transform-origin: right center; pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 240ms var(--ease-out);
}
.tb-wa:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--wa-deep); }
.tb-wa:focus-visible .tb-wa__label { opacity: 1; transform: translate(0, -50%); }
.tb-wa:active .tb-wa__ic { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .tb-wa:hover .tb-wa__ic { transform: translateY(-3px) scale(1.05); box-shadow: 0 20px 36px -10px rgba(37, 211, 102, .8), 0 4px 12px rgba(0, 0, 0, .3), inset 0 1.5px 0 rgba(255, 255, 255, .5), inset 0 -3px 6px rgba(9, 96, 44, .35); }
  .tb-wa:hover .tb-wa__label { opacity: 1; transform: translate(0, -50%); }
}
@keyframes tb-wa-in { from { opacity: 0; transform: translateY(18px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes tb-wa-pulse { 0% { opacity: .5; transform: scale(1); } 100% { opacity: 0; transform: scale(1.75); } }
@media (max-width: 640px) { .tb-wa { --wa-size: 56px; right: calc(14px + 10px); } .tb-wa__ic svg { width: 30px; height: 30px; } }
@media (prefers-reduced-motion: reduce) { .tb-wa { animation: none; } .tb-wa::before { animation: none; display: none; } .tb-wa__ic, .tb-wa__label { transition-duration: .01ms; } }
/* inline form status */
.tb-form__err { flex-basis: 100%; margin: 0; padding: 14px 16px; border-radius: var(--radius-md, 12px); border: 1px solid rgba(255, 138, 92, .5); background: rgba(255, 90, 0, .1); color: #ffcdb8; font-size: 14px; font-weight: 500; line-height: 1.5; }
.tb-form__err a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
/* keep the footer's last link clear of the floating button */
.tb-foot .tb-foot__legal { padding-right: 88px; }
@media (max-width: 640px) { .tb-foot .tb-foot__legal { padding-right: 76px; } }

/* MISSION ---------------------------------------------------------- */
.tb-mission { padding-block: clamp(96px, 14vw, 200px); }
.tb-mission__text { font-size: clamp(1.75rem, 4.4vw, 3.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; max-width: 20em; }
.tb-mission__text .tb-sw { display: inline; opacity: var(--o, 1); }
.tb-js .tb-mission__text .tb-sw { opacity: 0.22; transition: opacity 180ms linear; }
.tb-mission__vision { margin-top: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(16px, 4vw, 64px); align-items: start; padding-top: 28px; border-top: 1px solid rgba(13,13,13,.4); }
.tb-mission__vision h3 { font-size: 1.125rem; font-weight: 700; }
.tb-mission__vision p { font-size: clamp(1.25rem, 2.2vw, 1.875rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; max-width: 26em; text-wrap: balance; }
.tb-values { margin-top: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(13,13,13,.4); }
.tb-values li { padding: 24px 20px 0 0; }
.tb-values b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.tb-values span { font-size: 15px; line-height: 1.5; display: block; }
@media (max-width: 900px) {
  .tb-mission__vision { grid-template-columns: 1fr; }
  .tb-values { grid-template-columns: 1fr 1fr; }
  .tb-values li { padding-bottom: 20px; }
}
@media (max-width: 520px) { .tb-values { grid-template-columns: 1fr; } }

/* FOUNDER ---------------------------------------------------------- */
.tb-founder__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.tb-founder__copy { display: grid; gap: clamp(20px, 3vw, 32px); }
.tb-facts { border-top: 1px solid var(--line-strong); margin-top: 8px; }
.tb-facts li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: baseline; text-wrap: pretty; }
.tb-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); transform: translateY(-1px); }
.tb-founder__photos { position: relative; display: grid; gap: 16px; }
.tb-founder__photos .tb-duo { border-radius: var(--radius-lg); }
.tb-founder__photos .a { aspect-ratio: 4 / 5; }
.tb-founder__photos .b { aspect-ratio: 4 / 3; width: 72%; justify-self: end; margin-top: -18%; border: 6px solid var(--surface); }
.tb-founder__cap { font-size: 13px; color: var(--text-muted); max-width: 32ch; }
.tb-quote-wrap { margin-top: clamp(64px, 9vw, 128px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line-strong); }
.tb-quote { font-size: clamp(2rem, 5.2vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; max-width: 17em; text-wrap: balance; }
@media (max-width: 900px) { .tb-founder__grid { grid-template-columns: 1fr; } }

/* AWARDS ----------------------------------------------------------- */
.tb-awards__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.tb-award { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 220px); gap: 24px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line); position: relative; isolation: isolate; }
.tb-award:last-child { border-bottom: 1px solid var(--line); }
.tb-award::before { content: ""; position: absolute; inset: 0 -20px; z-index: -1; background: var(--surface-raised); border-radius: var(--radius-md); opacity: 0; transition: opacity var(--dur-ui) var(--ease-out); }
.tb-award__y { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--orange); font-variant-numeric: tabular-nums; line-height: 1; }
.tb-award__t { font-size: clamp(1.0625rem, 1.7vw, 1.375rem); font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; text-wrap: balance; }
.tb-award__w { color: var(--text-muted); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .tb-award:hover::before { opacity: 1; } }
.tb-awards__also { margin-top: clamp(28px, 4vw, 48px); color: var(--text-muted); max-width: 70ch; text-wrap: pretty; }
@media (max-width: 900px) {
  .tb-awards__head { grid-template-columns: 1fr; }
  .tb-award { grid-template-columns: 1fr; gap: 6px; }
}

/* TEAM ------------------------------------------------------------- */
.tb-team__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.tb-person { display: grid; grid-template-columns: clamp(104px, 17vw, 248px) minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(16px, 4vw, 64px); padding: clamp(28px, 3.4vw, 44px) 0; border-top: 1px solid var(--line-strong); position: relative; }
.tb-person:last-of-type { border-bottom: 1px solid var(--line-strong); }
.tb-person__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-md); }
.tb-person__photo > img { object-position: 50% 18%; }
.tb-person__name { display: flex; align-items: center; font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.tb-person__name::before { content: ""; flex: none; width: 0; height: 0.22em; aspect-ratio: 1; border-radius: 50%; background: var(--orange); transform: scale(0); transition: width 520ms var(--ease-out), margin 520ms var(--ease-out), transform 520ms var(--ease-out); }
.tb-person__role { color: var(--text-accent); font-weight: 600; margin-top: 12px; }
.tb-person__bio { color: var(--text-muted); max-width: 58ch; align-self: center; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .tb-person:hover .tb-person__name::before { width: 0.22em; margin-right: 0.26em; transform: scale(1); } }
.tb-team__more { margin-top: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
@media (max-width: 900px) { .tb-team__head { grid-template-columns: 1fr; } .tb-person { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; } .tb-person__bio { grid-column: 1 / -1; } .tb-person__name { font-size: clamp(1.75rem, 7vw, 2.5rem); } }

/* PARTNER / CAREERS ------------------------------------------------ */
.tb-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.tb-panel { position: relative; border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 28px; min-height: 560px; overflow: hidden; isolation: isolate; }
.tb-panel--ink { background: var(--ink); color: #f2f2f2; }
.tb-panel--orange { background: var(--orange); color: var(--ink); }
.tb-panel h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -0.033em; line-height: 1.02; text-wrap: balance; }
.tb-panel p { max-width: 46ch; text-wrap: pretty; }
.tb-panel--ink p { color: #cfcfcf; }
.tb-panel ul.tb-plist { display: grid; border-top: 1px solid currentColor; border-color: rgba(242,242,242,.22); }
.tb-panel--orange ul.tb-plist { border-color: rgba(13,13,13,.4); }
.tb-plist li { padding: 14px 0; border-bottom: 1px solid rgba(242,242,242,.16); font-size: 15px; line-height: 1.5; }
.tb-panel--orange .tb-plist li { border-color: rgba(13,13,13,.28); }
.tb-plist b { font-weight: 700; }
.tb-panel .tb-btn { align-self: flex-start; margin-top: auto; }
.tb-panel__mark { position: absolute; z-index: -1; right: -12%; bottom: -14%; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(242,242,242,.1); box-shadow: 0 0 0 44px rgba(242,242,242,.03), 0 0 0 88px rgba(242,242,242,.02); }
.tb-panel--orange .tb-panel__mark { border-color: rgba(13,13,13,.16); box-shadow: 0 0 0 44px rgba(13,13,13,.05), 0 0 0 88px rgba(13,13,13,.035); }
@media (max-width: 900px) { .tb-pair { grid-template-columns: 1fr; } .tb-panel { min-height: 0; } }

/* FAQ -------------------------------------------------------------- */
.tb-faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tb-faq__head { position: sticky; top: calc(var(--tb-nav-h) + 48px); display: grid; gap: 24px; }
.tb-qa { border-bottom: 1px solid var(--line); }
.tb-qa:first-child { border-top: 1px solid var(--line-strong); }
.tb-qa__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 24px 0; background: none; border: 0; text-align: left; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
.tb-qa__ic { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out), transform 420ms var(--ease-out); }
.tb-qa__ic::before, .tb-qa__ic::after { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; border-radius: 2px; }
.tb-qa__ic::after { transform: rotate(90deg); transition: transform 420ms var(--ease-out); }
.tb-qa__q[aria-expanded="true"] .tb-qa__ic { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: rotate(180deg); }
.tb-qa__q[aria-expanded="true"] .tb-qa__ic::after { transform: rotate(0); }
.tb-qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 520ms var(--ease-drawer); }
.tb-qa__a > div { overflow: hidden; min-height: 0; }
.tb-qa:has(.tb-qa__q[aria-expanded="true"]) > .tb-qa__a { grid-template-rows: 1fr; }
.tb-qa__a p { padding: 0 56px 26px 0; color: var(--text-muted); max-width: 64ch; opacity: 0; transform: translateY(-6px); transition: opacity 260ms var(--ease-out), transform 420ms var(--ease-out); text-wrap: pretty; }
.tb-qa:has(.tb-qa__q[aria-expanded="true"]) > .tb-qa__a p { opacity: 1; transform: none; transition-delay: 90ms; }
@media (hover: hover) and (pointer: fine) { .tb-qa__q:hover .tb-qa__ic { border-color: var(--text); } }
@media (max-width: 900px) { .tb-faq__grid { grid-template-columns: 1fr; } .tb-faq__head { position: static; } }

/* CONTACT ---------------------------------------------------------- */
.tb-contact { color-scheme: dark; }
.tb-contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.tb-contact__aside { display: grid; gap: clamp(28px, 4vw, 48px); }
.tb-channels { display: grid; border-top: 1px solid var(--line-strong); }
.tb-channels a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(1.0625rem, 1.6vw, 1.375rem); font-weight: 600; letter-spacing: -0.01em; transition: color var(--dur-ui) var(--ease-out); }
.tb-channels small { font-size: 13px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
@media (hover: hover) and (pointer: fine) { .tb-channels a:hover { color: var(--orange); } }
.tb-office { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tb-office:first-child { border-top: 1px solid var(--line-strong); }
.tb-office b { font-weight: 700; font-size: 1.0625rem; }
.tb-office span { color: var(--text-muted); font-size: 15px; grid-column: 1; }
.tb-office time { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.tb-office time small { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }

.tb-form { position: relative; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 20px; }
.tb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tb-field { display: grid; gap: 8px; }
.tb-field > label { font-size: 14px; font-weight: 600; }
.tb-field > label i { font-style: normal; font-weight: 500; color: var(--text-muted); }
.tb-input { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: var(--text); font-size: 16px; line-height: 1.4; transition: border-color var(--dur-ui) var(--ease-out), background var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out); }
.tb-input::placeholder { color: #8b8b8b; }
textarea.tb-input { min-height: 140px; resize: vertical; }
select.tb-input { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F2F2F2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
select.tb-input option { background: #1a1a1a; color: #f2f2f2; }
.tb-input:focus { outline: none; border-color: var(--orange); background: rgba(255,90,0,.06); box-shadow: 0 0 0 3px rgba(255,90,0,.28); }
.tb-input[aria-invalid="true"] { border-color: #ff8a5c; }
.tb-err { display: none; font-size: 13px; font-weight: 500; color: #ffb090; }
.tb-field.has-err .tb-err { display: block; }
.tb-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.tb-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--orange); }
.tb-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.tb-form__note { font-size: 13px; color: var(--text-muted); }
.tb-done { position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: var(--orange); color: var(--ink); display: grid; align-content: center; gap: 16px; padding: clamp(28px, 4vw, 56px); clip-path: circle(0px at 50% 100%); visibility: hidden; transition: clip-path 800ms var(--ease-drawer), visibility 0s linear 800ms; }
.tb-done.is-on { clip-path: circle(150% at 50% 100%); visibility: visible; transition: clip-path 900ms var(--ease-drawer), visibility 0s; }
.tb-done h3 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -0.033em; line-height: 1.02; }
.tb-done p { max-width: 40ch; font-weight: 500; }
@media (max-width: 900px) { .tb-contact__grid { grid-template-columns: 1fr; } .tb-form__row { grid-template-columns: 1fr; } }

/* FOOTER ----------------------------------------------------------- */
.tb-foot { background: var(--ink); color: #f2f2f2; padding-top: clamp(64px, 8vw, 112px); overflow: hidden; }
.tb-foot__cols { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: clamp(24px, 4vw, 64px); padding-bottom: clamp(48px, 7vw, 96px); }
.tb-foot__logo img { height: 56px; width: auto; }
.tb-foot__tag { margin-top: 20px; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; max-width: 14em; }
.tb-foot h3 { font-size: 14px; font-weight: 600; color: #a6a6a6; margin-bottom: 16px; }
.tb-foot ul { display: grid; gap: 10px; font-size: 15px; }
.tb-foot a { text-decoration: none; transition: color var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tb-foot a:hover { color: var(--orange); } }
.tb-foot__word { position: relative; font-size: clamp(3rem, 14vw, 15rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.82; white-space: nowrap; padding-bottom: 0.06em; text-align: center; user-select: none; will-change: transform; }
.tb-foot__word .tb-orange { color: var(--orange); }
.tb-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 24px 0 32px; font-size: 13px; color: #a6a6a6; border-top: 1px solid rgba(242,242,242,.12); }
@media (max-width: 900px) { .tb-foot__cols { grid-template-columns: 1fr 1fr; } .tb-foot__cols > :first-child { grid-column: 1 / -1; } }

/* Flood arms only when the engine runs; otherwise the statement simply shows. */
.tb-flood { clip-path: none; }
.tb-js .tb-flood { clip-path: circle(0px at var(--fx, 80%) var(--fy, 30%)); }
.tb-js .tb-flood__in { opacity: 0; }

/* Hero entrance (armed by the engine, released by .is-ready) */
.tb-js .tb-hero__title .tb-l > span { transform: translateY(110%); }
.tb-js .tb-hero__side, .tb-js .tb-nav { opacity: 0; }
.tb-js .tb-hero__seed { transform: translateY(-140%) scale(.7); opacity: 0; }
.tb-js .tb-hero__mark .tb-mark-body { opacity: 0; }
.tb-js.is-ready .tb-hero__title .tb-l > span { transform: none; transition: transform 1100ms var(--ease-out); transition-delay: calc(120ms + var(--i, 0) * 110ms); }
.tb-js.is-ready .tb-hero__side { opacity: 1; transition: opacity 900ms var(--ease-out) 720ms; }
.tb-js.is-ready .tb-nav { opacity: 1; transition: opacity 900ms var(--ease-out) 900ms, transform 520ms var(--ease-drawer); }
.tb-js.is-ready .tb-hero__mark .tb-mark-body { opacity: 1; transition: opacity 1400ms var(--ease-out) 200ms; }
.tb-js .tb-hero__side > * { transform: translateY(14px); }
.tb-js.is-ready .tb-hero__side > * { transform: none; transition: transform 1000ms var(--ease-out) 780ms; }

@media (prefers-reduced-motion: reduce) {
  .tb *, .tb *::before, .tb *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .tb-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .tb-marquee__set[aria-hidden="true"] { display: none; }
  .tb-marquee__set { flex-wrap: wrap; }
  .tb-hero { height: auto; }
  .tb-hero__stage { position: relative; height: auto; overflow: visible; }
  .tb-hero__copy { position: relative; min-height: var(--tb-vh); display: flex; align-items: flex-end; }
  .tb-hero__copy .tb-wrap { padding-top: 140px; }
  .tb-hero__cue { display: none; }
  .tb-flood { position: relative; inset: auto; }
  .tb-js .tb-flood { clip-path: none; }
  .tb-js .tb-flood__in { opacity: 1; }
  .tb-js [data-r], .tb-js [data-r] *, .tb-js .tb-hero__title .tb-l > span, .tb-js .tb-hero__side, .tb-js .tb-hero__side > *, .tb-js .tb-nav, .tb-js .tb-hero__seed, .tb-js .tb-hero__mark .tb-mark-body { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .tb-js .tb-mission__text .tb-sw { opacity: 1; transition: none; }
  .tb-step { position: relative; top: auto; will-change: auto; }
  .tb-story__panel, .tb-svc__panel, .tb-qa__a { transition-duration: .01ms; }
  .tb-menu, .tb-done { transition-duration: 1ms !important; }
}
