/* titan-consulting.com — design system.
   Neutral, Apple-like base (white, #f5f5f7 tiles, #1d1d1f text, #6e6e73 secondary, black keynote bands) and one
   accent: Titan coral. #c4402b for text and links (AA on white), #ff6b5a bright, a coral → amber gradient used
   sparingly (headline highlight, logo, glows, keynote numbers). Inter, self-hosted. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Neutrals */
  --bg: #ffffff;
  --bg-2: #fbfbfd;
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --line: #d2d2d7;
  --line-2: #e8e8ed;
  --hair: rgba(0, 0, 0, 0.08);
  --dark: #000000;
  --dark-2: #0b0b0f;
  --dark-3: #1d1d1f;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  /* The accent */
  --coral: #c4402b;
  --coral-600: #a8341f;
  --coral-ico: #e2412c;
  --coral-bright: #ff6b5a;
  --coral-light: #ff8a70;
  --amber: #ff9f43;
  --coral-soft: #fff1ee;
  --grad: linear-gradient(90deg, #ff6b5a, #ff9f43);
  --grad-logo: linear-gradient(135deg, #e2412c, #ff6b5a 55%, #ff9f43);
  /* Deeper stops so gradient text keeps 3:1 or more on white (large text). */
  --grad-text: linear-gradient(90deg, #c4402b 0%, #e2412c 45%, #e4610f 100%);
  /* States */
  --ok: #0b7a5c;
  --ok-soft: #e6f4ee;
  --break: #b8381f;
  --break-soft: #fdeeea;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px -8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 24px 50px -24px rgba(0, 0, 0, 0.22), 0 6px 16px -8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 60px 120px -48px rgba(40, 14, 6, 0.4), 0 24px 48px -24px rgba(0, 0, 0, 0.2);
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --bar-h: 52px;
  interpolate-size: allow-keywords;
}

/* Chinese (Hong Kong): native fonts, no negative tracking, phrase breaks only (BudouX <wbr> + keep-all). */
html[lang^='zh'] {
  --font: 'Inter', 'PingFang HK', 'Noto Sans HK', 'Microsoft JhengHei', 'Heiti TC', ui-sans-serif, system-ui, sans-serif;
}
html[lang^='zh'] body,
html[lang^='zh'] body *:not(.stat-n):not(.clock-t) {
  letter-spacing: 0 !important;
}
html[lang^='zh'] :is(h1, h2, h3) {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.22;
  /* Greedy lines: balancing would pick any phrase break, including the rare ones BudouX places inside a word. */
  text-wrap: wrap;
}
/* Widths in em, not ch (ch is a Latin digit): a whole Chinese line fits before a phrase break is needed. */
html[lang^='zh'] :is(.hero h1, .closing h2) {
  max-width: 13em;
}
html[lang^='zh'] .closing h2 {
  font-size: clamp(2.125rem, 1rem + 4vw, 4.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 20px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
.i {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: rgba(255, 107, 90, 0.22);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip:focus {
  left: 8px;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Type ───────────────────────────────────────────────────────────────── */
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.75rem, 1.4rem + 5.4vw, 6rem);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(2.125rem, 1rem + 3.6vw, 4rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.038em;
}
h3 {
  font-size: 1.3125rem;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.022em;
}
p {
  margin: 0;
  text-wrap: pretty;
}
.lead {
  font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.38;
  font-weight: 450;
  letter-spacing: -0.018em;
  color: var(--ink-3);
  max-width: 46ch;
}
.eyebrow {
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.1875rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--coral);
}
.accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ── Buttons and links ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  min-height: 44px;
  padding: 0.66em 1.3em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.012em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn .i {
  transition: transform 0.25s var(--ease);
}
.btn:hover .i:last-child {
  transform: translateX(3px);
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  min-height: 0;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
}
.btn-lg {
  min-height: 52px;
  padding: 0.8em 1.6em;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #343437;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
}
.btn-primary:hover {
  background: var(--coral-600);
}
.btn-light {
  background: var(--canvas);
  color: var(--ink);
}
.btn-light:hover {
  background: var(--line-2);
}
.sec-grey .btn-light,
.card .btn-light {
  background: #fff;
  border-color: var(--line);
}
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover {
  background: #e8e8ed;
}
.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
}
.link-more,
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: var(--coral);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.link-more:hover,
.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-more .i:last-child,
.link-arrow .i:last-child {
  transition: transform 0.25s var(--ease);
}
.link-more:hover .i:last-child,
.link-arrow:hover .i:last-child {
  transform: translateX(3px);
}
.link-more .i:first-child:not(:last-child) {
  margin-right: 4px;
}
.linklike {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}
.linklike:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ── Top bar ────────────────────────────────────────────────────────────── */
.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--bar-h);
  font-size: 14px;
}
/* The blur lives on a pseudo-element so the fixed mobile menu is never trapped inside it. */
.bar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.bar.is-scrolled::before,
.bar.is-open::before {
  border-bottom-color: var(--hair);
}
.bar.is-open::before {
  background: #fff;
}
.bar-in {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
  white-space: nowrap;
  margin-right: 12px;
}
.brand b {
  font-weight: 450;
}
.brand .mark {
  border-radius: 7px;
  box-shadow: 0 2px 6px -2px rgba(226, 65, 44, 0.45);
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
/* Centred while there is room; auto margins never push items out to the left (the fit check measures overflow). */
.nav > :first-child {
  margin-left: auto;
}
.nav > :last-child {
  margin-right: auto;
}
.bar-right {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 450;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-item:hover,
.nav-item[aria-expanded='true'] {
  color: #000;
  background: rgba(0, 0, 0, 0.045);
}
.nav-item[aria-current='page'] {
  color: #000;
  font-weight: 600;
}
.nav-item .i {
  width: 14px;
  height: 14px;
  opacity: 0.55;
  transition: transform 0.25s var(--ease);
}
.nav-item[aria-expanded='true'] .i:last-child {
  transform: rotate(180deg);
}
.lang-btn {
  gap: 5px;
}
.lang-btn .i {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}
.bar-cta {
  margin-left: 8px;
}
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border-radius: 12px;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-btn:hover {
  background: rgba(0, 0, 0, 0.045);
}

/* Dropdowns: one open at a time, close on outside click and Escape (site.js). */
.dd {
  position: relative;
}
.dd-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  z-index: 60;
  min-width: 300px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 20px;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.28), 0 8px 20px -12px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.985);
  transform-origin: top left;
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.dd.is-open .dd-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dd-wide {
  width: min(720px, 92vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
}
.dd-narrow {
  min-width: 220px;
}
.bar-right .dd-panel {
  left: auto;
  right: 0;
  transform-origin: top right;
}
.dd-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dd-panel li a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.15s;
}
.dd-panel li a:hover {
  background: var(--canvas);
}
.dd-panel li strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.012em;
}
.dd-panel li small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
  margin-top: 2px;
}
.dd-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--canvas);
  color: var(--coral-ico);
}
.dd-panel li a:hover .dd-ico {
  background: #fff;
}
.dd-h {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  padding: 8px 12px 4px;
}
.dd-simple li a {
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  font-size: 14px;
}
.dd-simple a[aria-current='true'] {
  color: var(--coral);
  font-weight: 600;
}
.dd-all {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 12px;
  border-top: 1px solid var(--line-2);
  font-weight: 500;
  font-size: 14px;
  color: var(--coral);
  text-decoration: none;
}
.dd-all:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dd-lang {
  min-width: 240px;
}

/* Mobile menu: full screen, above everything, compact, one text size. */
.mobile-menu {
  position: fixed;
  inset: var(--bar-h) 0 0 0;
  z-index: 70;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0 48px;
  font-size: 17px;
  animation: mm-in 0.3s var(--ease);
}
@keyframes mm-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0 0 0 14px;
}
.mobile-menu li a {
  display: block;
  padding: 6px 0;
  color: var(--ink-3);
  font-weight: 400;
  text-decoration: none;
}
.mm-h a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid var(--line-2);
}
.mm-h:first-child a {
  border-top: 0;
}
.mm-cta {
  margin-top: 24px;
  width: 100%;
  font-size: 17px;
}
/* Collapsed: below 1068px, or whenever the items don't fit (site.js sets .is-compact). */
@media (max-width: 1068px) {
  .nav,
  .signin,
  .bar-cta {
    display: none !important;
  }
  .menu-btn {
    display: inline-flex;
  }
}
.bar.is-compact .nav,
.bar.is-compact .signin,
.bar.is-compact .bar-cta {
  display: none !important;
}
.bar.is-compact .menu-btn {
  display: inline-flex;
}

/* ── Heroes ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: clamp(56px, 8vw, 120px) 0 clamp(56px, 7vw, 104px);
  text-align: center;
}
.hero-in {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  max-width: 16ch;
  margin-top: 14px;
  font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5rem);
}
.hero-home {
  padding-top: clamp(48px, 6.5vw, 96px);
}
.hero-home h1 {
  max-width: 21ch;
  font-size: clamp(2.75rem, 1.2rem + 4vw, 4.75rem);
}
.hero-home .lead {
  max-width: 50ch;
  font-size: clamp(1.1875rem, 1rem + 0.45vw, 1.375rem);
}
.hero-home h1 .accent {
  display: block;
}
.hero-article h1 {
  max-width: 22ch;
  font-size: clamp(2.125rem, 1rem + 3.4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.hero .lead {
  margin-top: 22px;
}
.hero .actions,
.closing .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 32px;
  margin-top: 36px;
}
.hero .link-more {
  font-size: 17px;
}
.hero-ico {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 26px;
  border-radius: 20px;
  background: var(--grad-logo);
  color: #fff;
  box-shadow: 0 18px 36px -16px rgba(226, 65, 44, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hero-ico .i {
  stroke-width: 1.6;
}
.crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
}
.crumbs a {
  color: var(--coral);
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumbs .i {
  opacity: 0.6;
}
.hero-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  font-size: 14px;
  color: var(--ink-3);
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-points .i {
  color: var(--ink-3);
}
@media (max-width: 680px) {
  .hero-points {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .hero-points li {
    display: block;
    max-width: 36ch;
  }
  .hero-points .i {
    display: inline-block;
    margin: -2px 6px 0 0;
  }
}
.article-meta {
  display: flex;
  justify-content: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--ink-3);
}
.hero-article .actions,
.hero-article .article-meta {
  margin-top: 24px;
}

/* Entrance: the hero settles in on load (CSS only; nothing is hidden without animation support). */
.hero-in > * {
  animation: rise 0.9s var(--ease) both;
}
.hero-in > :nth-child(2) {
  animation-delay: 0.06s;
}
.hero-in > :nth-child(3) {
  animation-delay: 0.14s;
}
.hero-in > :nth-child(4) {
  animation-delay: 0.22s;
}
.hero-in > :nth-child(5) {
  animation-delay: 0.3s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* ── The product shot: the ledger in an app window, on a coral / amber glow ── */
.shot {
  position: relative;
  max-width: 1040px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  perspective: 2200px;
  text-align: left;
}
.shot::before {
  content: '';
  position: absolute;
  inset: -4% -7% -12%;
  z-index: -1;
  background:
    radial-gradient(40% 55% at 22% 58%, rgba(255, 107, 90, 0.7), transparent 72%),
    radial-gradient(40% 55% at 80% 38%, rgba(255, 159, 67, 0.62), transparent 72%),
    radial-gradient(55% 45% at 50% 100%, rgba(226, 65, 44, 0.4), transparent 72%);
  filter: blur(56px);
  animation: glow-in 1.6s var(--ease) 0.3s both;
}
@keyframes glow-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
}
.shot .app {
  transform-origin: 50% 0;
  animation: shot-in 1.3s var(--ease) 0.25s both;
}
@keyframes shot-in {
  from {
    opacity: 0;
    transform: rotateX(16deg) translateY(56px) scale(0.96);
  }
}
.app {
  position: relative;
  margin: 0;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 50px 100px -50px rgba(0, 0, 0, 0.35), 0 20px 40px -24px rgba(0, 0, 0, 0.18);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.app-bar {
  font-variant-numeric: normal;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-2);
  border-radius: 22px 22px 0 0;
  background: var(--bg-2);
  font-weight: 600;
  font-size: 13px;
}
.dots {
  display: inline-flex;
  gap: 7px;
}
.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}
.app-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.app-meta {
  margin-left: auto;
  color: var(--ink-3);
  font-weight: 500;
  white-space: nowrap;
}
.live {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #1aa37a;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 163, 122, 0.45);
  }
  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(26, 163, 122, 0);
  }
}
.app-body {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
}
.app-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  padding: 18px 0;
  border-right: 1px solid var(--line-2);
  background: var(--bg-2);
  border-radius: 0 0 0 22px;
}
.app-rail span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #a1a1a6;
}
.app-rail span:first-child {
  background: var(--coral-soft);
  color: var(--coral-ico);
}
.app-main {
  min-width: 0;
}
.app-scroll {
  overflow-x: auto;
}
.app table {
  width: 100%;
  border-collapse: collapse;
}
.app th,
.app td {
  padding: 14px 22px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-2);
}
.app th:first-child,
.app td:first-child {
  text-align: left;
}
.app th {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
}
.app td:first-child {
  font-weight: 600;
}
.app td.gl,
.app td.gap {
  transition: color 0.6s, background 0.6s;
}
.app tr[data-state='break'] .gl,
.app tr[data-state='break'] .gap {
  color: var(--break);
  background: var(--break-soft);
}
.app tr[data-state='matched'] .gl,
.app tr[data-state='matched'] .gap {
  color: var(--ok);
  background: var(--ok-soft);
}
.app .ok {
  color: var(--ok);
  font-weight: 600;
}
.app-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 14px;
}
.bar-track {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: var(--line-2);
  overflow: hidden;
}
.bar-track span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
  transition: width 0.8s var(--ease);
}
.app-note {
  position: absolute;
  bottom: -32px;
  right: 6px;
  font-size: 12px;
  color: var(--ink-2);
}
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 11px 11px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), var(--shadow-md);
  font-size: 13px;
  line-height: 1.25;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.float b {
  display: block;
  font-size: 16px;
  font-weight: 700;
}
.float small {
  color: var(--ink-3);
  font-size: 12.5px;
}
.ico-ok {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ok-soft);
  color: var(--ok);
}
.float-a {
  left: 50%;
  top: -30px;
  translate: -50% 0;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  50% {
    transform: translateY(-6px);
  }
}
@media (max-width: 700px) {
  .app {
    font-size: 13px;
    border-radius: 18px;
  }
  .app-bar {
    border-radius: 18px 18px 0 0;
    padding: 12px 14px;
  }
  .app-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .app-rail {
    display: none;
  }
  .app th,
  .app td {
    padding: 11px 7px;
  }
  .app th:first-child,
  .app td:first-child {
    padding-left: 14px;
  }
  .app th:last-child,
  .app td:last-child {
    padding-right: 14px;
  }
  .app th {
    font-size: 11px;
  }
  .app-foot {
    padding: 14px;
    font-size: 13px;
  }
  .app-meta {
    display: none;
  }
  .float-a {
    display: none;
  }
  .shot::before {
    filter: blur(32px);
  }
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.sec {
  position: relative;
  padding: clamp(84px, 10vw, 152px) 0;
}
.sec-tight {
  padding: clamp(60px, 7vw, 104px) 0;
}
.sec-top0 {
  padding-top: 0;
}
.sec-grey {
  background: var(--canvas);
}
.sec-line {
  padding-top: 0;
}
.sec-line .split {
  padding-top: clamp(60px, 7vw, 104px);
  background: linear-gradient(var(--line-2), var(--line-2)) 50% 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.sec-head {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto clamp(44px, 5vw, 76px);
  text-align: center;
}
.sec-head .lead {
  max-width: 52ch;
  margin-top: 4px;
}
.hero .lead,
.sec-head .lead,
.closing p {
  text-wrap: balance;
}
.sec-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
  flex-wrap: wrap;
  max-width: none;
  text-align: left;
}
.sec-head-row > div {
  display: grid;
  gap: 12px;
}
.sec-head-row .link-more {
  margin-bottom: 8px;
}
.family-h {
  margin-bottom: clamp(24px, 3vw, 36px);
  font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem);
  letter-spacing: -0.03em;
}

/* Trust strip */
.trust {
  padding: clamp(40px, 6vw, 96px) 0 clamp(8px, 2vw, 24px);
  text-align: center;
}
.trust-h {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.trust-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(28px, 5vw, 64px);
  font-size: clamp(0.875rem, 0.8rem + 0.25vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── Tiles and the bento ────────────────────────────────────────────────── */
.tiles {
  display: grid;
  gap: 20px;
}
.tiles-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tiles-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tiles-fit {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(28px, 3vw, 40px);
  background: var(--canvas);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}
.sec-grey .tile,
.tile-white {
  background: #fff;
}
.tile h3 {
  font-size: clamp(1.5rem, 1.15rem + 0.9vw, 2rem);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.032em;
}
.tile p {
  color: var(--ink-3);
  font-size: 17px;
  line-height: 1.47;
}
.tile-link {
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.3s;
}
.tile-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.28);
}
.tile-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.tile-ico {
  display: block;
  margin-bottom: 18px;
  color: var(--coral-ico);
  transition: transform 0.5s var(--ease);
}
.tile-ico .i {
  stroke-width: 1.5;
}
.tile-link:hover .tile-ico {
  transform: scale(1.06);
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
  padding-top: 10px;
  font-weight: 500;
  font-size: 17px;
  color: var(--coral);
}
.more .i {
  transition: transform 0.25s var(--ease);
}
.tile-link:hover .more {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tile-link:hover .more .i {
  transform: translateX(3px);
}
.tile-ex:not(.tile-wide) .tile-text {
  display: contents;
}
.tile-ex .kw {
  order: 1;
}
.tile-ex .more {
  order: 2;
}

/* Keywords: hidden on plain tiles; rows, giant words or chips depending on the tile. */
.kw {
  display: none;
}
.kw .i {
  flex: none;
}
.tile-chips .kw {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}
.tile-chips .more {
  margin-top: 0;
  padding-top: 6px;
}
.tile-chips .kw span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  border-radius: 999px;
  padding: 4px 11px;
}
.tile-chips.tile-white .kw span,
.sec-grey .tile-chips .kw span {
  background: var(--canvas);
}
.tile-chips .kw .i {
  display: none;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(340px, auto);
  grid-auto-flow: dense;
  gap: 20px;
}
.tile-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(24px, 3vw, 48px);
}
.tile-wide .tile-text {
  flex: 1 1 52%;
}
.tile-tall {
  grid-row: span 2;
}
.tile-wide .kw {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1 1 48%;
  min-width: 0;
}
.tile-wide .kw span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.012em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s var(--ease);
}
.tile-wide .kw .i {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  stroke-width: 2.4;
}
.tile-link:hover .kw span:nth-child(2) {
  transform: translateX(-6px);
}
.tile-link:hover .kw span:nth-child(3) {
  transform: translateX(-12px);
}
.tile-tall .kw {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding: 32px 0 8px;
}
.tile-tall .more {
  margin-top: 0;
}
.tile-tall .kw span {
  font-size: clamp(2.75rem, 1.5rem + 3vw, 4.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
  background: linear-gradient(180deg, #1d1d1f 0%, #6e6e73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tile-tall .kw span:nth-child(2) {
  background-image: linear-gradient(180deg, #6e6e73, #a1a1a6);
}
.tile-tall .kw span:nth-child(3) {
  background-image: var(--grad-text);
}
.tile-tall .kw .i {
  display: none;
}

/* Dark tile: black, with a coral light from the corner. */
.tile-dark {
  background: var(--dark);
  color: var(--on-dark);
}
.sec-grey .tile-dark {
  background: var(--dark);
}
.tile-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 58% at 100% 100%, rgba(255, 107, 90, 0.62), transparent 74%),
    radial-gradient(30% 42% at 78% 104%, rgba(255, 159, 67, 0.42), transparent 72%),
    radial-gradient(26% 34% at 100% 70%, rgba(226, 65, 44, 0.3), transparent 72%);
  transition: opacity 0.5s;
}
.tile-dark h3 {
  color: #fff;
}
.tile-dark p {
  color: var(--on-dark-2);
}
.tile-dark .tile-ico {
  color: var(--coral-light);
}
.tile-dark .more {
  color: var(--coral-light);
}
.tile-dark .kw span {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tile-dark .kw .i {
  background: rgba(52, 199, 140, 0.18);
  color: #5fe0a8;
}
.tile-link.tile-dark:hover {
  box-shadow: 0 34px 70px -30px rgba(226, 65, 44, 0.45);
}

@media (max-width: 980px) {
  .bento,
  .tiles-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento {
    grid-auto-rows: minmax(300px, auto);
  }
  .tile-tall {
    grid-row: span 1;
  }
  .tiles-3 > .tile-sector:last-child:nth-child(odd),
  .tiles-3 > .post:last-child:nth-child(odd),
  .tiles-3 > .tile:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}
/* Tablets: a last tile alone on its row lies on its side. */
@media (min-width: 681px) and (max-width: 980px) {
  .tiles-3 > .tile-sector:last-child:nth-child(odd) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 24px;
    min-height: 320px;
  }
  .tiles-3 > .tile-sector:last-child:nth-child(odd) .tile-text {
    align-self: start;
    padding-bottom: 36px;
  }
  .tiles-3 > .tile-sector:last-child:nth-child(odd) .art {
    align-self: end;
    margin: 0 calc(-1 * clamp(28px, 3vw, 40px)) 0 0;
  }
  .tiles-3 > .post:last-child:nth-child(odd) {
    flex-direction: row;
  }
  .tiles-3 > .post:last-child:nth-child(odd) .post-thumb {
    flex: 0 0 44%;
    aspect-ratio: auto;
  }
}
@media (max-width: 680px) {
  .bento,
  .tiles-3,
  .tiles-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento {
    grid-auto-rows: auto;
  }
  .tile-wide,
  .tiles-3 > .tile-sector:last-child:nth-child(odd),
  .tiles-3 > .post:last-child:nth-child(odd),
  .tiles-3 > .tile:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .tile-wide {
    flex-direction: column;
  }
  /* Stacked wide tile: the keyword rows sit between the text and its link. */
  .tile-wide .tile-text {
    display: contents;
  }
  .tile-wide .kw {
    order: 1;
  }
  .tile-wide .more {
    order: 2;
  }
  .tile {
    border-radius: 24px;
  }
}

/* Numbered tiles (what is changing, why Titan) */
.step-n {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: var(--coral);
}
.tile-num .step-n {
  padding-bottom: 36px;
}

/* ── Keynote: black band, giant numbers in the gradient ─────────────────── */
.keynote {
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.keynote::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 42% at 50% 0%, rgba(255, 107, 90, 0.2), transparent 72%),
    radial-gradient(30% 30% at 80% 100%, rgba(255, 159, 67, 0.08), transparent 70%);
}
.keynote h2,
.keynote h3 {
  color: #fff;
}
.keynote .eyebrow {
  color: var(--coral-light);
}
.keynote-short {
  padding: clamp(72px, 9vw, 128px) 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}
.stat {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding: 8px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:first-child {
  border-left: 0;
}
.stat-n {
  display: block;
  font-size: clamp(3rem, 1.5rem + 4.2vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding: 0 0.04em 0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-size: 17px;
  line-height: 1.35;
  color: var(--on-dark-2);
  max-width: 18ch;
}
.how {
  margin-top: clamp(64px, 7vw, 104px);
  padding-top: clamp(48px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.how-h {
  font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.steps li {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.steps h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.steps p {
  font-size: 16px;
  color: var(--on-dark-2);
}
.keynote .step-n {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  justify-self: start;
}
/* The same steps as white tiles on a grey band (approach, hiring process). */
.steps-tiles {
  gap: 20px;
}
.steps-tiles li {
  padding: 30px 28px 32px;
  border: 0;
  border-radius: 24px;
  background: #fff;
}
.steps-tiles .step-n {
  margin-bottom: 18px;
}
.steps-tiles p {
  color: var(--ink-3);
}
@media (max-width: 980px) {
  .stats,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats {
    row-gap: 44px;
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat {
    padding: 4px 8px;
  }
  .stat span {
    font-size: 15px;
  }
}

/* ── Sectors: tiles with CSS-only art ───────────────────────────────────── */
.tile-sector {
  min-height: 540px;
  padding-bottom: 0;
}
.tile-sector .more {
  margin-top: 4px;
}
.art {
  position: relative;
  display: block;
  margin: auto calc(-1 * clamp(28px, 3vw, 40px)) 0;
  height: 236px;
  flex: none;
  pointer-events: none;
}
/* Corporate and investment banking: a session of rising bars. */
.art-cib {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 9px;
  padding: 0 28px 34px;
}
.art-cib i {
  width: 16px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(0deg, #e2412c, #ff6b5a 50%, #ff9f43);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease);
}
.art-cib i:nth-child(3n + 2) {
  background: #d2d2d7;
}
.art-cib i:nth-child(1) { height: 26%; }
.art-cib i:nth-child(2) { height: 34%; }
.art-cib i:nth-child(3) { height: 30%; }
.art-cib i:nth-child(4) { height: 44%; }
.art-cib i:nth-child(5) { height: 40%; }
.art-cib i:nth-child(6) { height: 52%; }
.art-cib i:nth-child(7) { height: 58%; }
.art-cib i:nth-child(8) { height: 50%; }
.art-cib i:nth-child(9) { height: 68%; }
.art-cib i:nth-child(10) { height: 76%; }
.art-cib i:nth-child(11) { height: 70%; }
.art-cib i:nth-child(12) { height: 88%; }
.tile-link:hover .art-cib i:nth-child(odd) {
  transform: scaleY(1.08);
}
.tile-link:hover .art-cib i:nth-child(even) {
  transform: scaleY(0.94);
}
/* Retail and online banking: a phone with a card and its last transactions. */
.art-retail {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}
.phone {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  width: 210px;
  height: 214px;
  padding: 22px 16px 0;
  background: #fff;
  border: 9px solid #1d1d1f;
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -10px 40px -20px rgba(0, 0, 0, 0.3);
  transform: translateY(14px);
  transition: transform 0.7s var(--ease);
}
.phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 56px;
  height: 14px;
  margin-left: -28px;
  border-radius: 999px;
  background: #1d1d1f;
}
.phone b {
  display: block;
  height: 72px;
  margin-top: 12px;
  border-radius: 14px;
  background: var(--grad-logo);
  box-shadow: 0 10px 20px -12px rgba(226, 65, 44, 0.7);
}
.phone i {
  position: relative;
  display: block;
  height: 26px;
  padding-left: 36px;
}
.phone i::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--canvas);
}
.phone i::after {
  content: '';
  display: block;
  height: 8px;
  margin-top: 9px;
  width: 70%;
  border-radius: 99px;
  background: var(--line-2);
}
.phone i:nth-of-type(2)::after {
  width: 54%;
}
.phone i:nth-of-type(3)::after {
  width: 62%;
}
.tile-link:hover .phone {
  transform: translateY(0);
}
/* Asset management: an allocation donut and its legend. */
.art-am {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding-bottom: 28px;
}
.donut {
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: conic-gradient(#e2412c 0 34%, #ff9f43 0 58%, #1d1d1f 0 76%, #d2d2d7 0);
  transition: transform 0.9s var(--ease);
}
.donut::after {
  content: '';
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: var(--canvas);
}
.sec-grey .donut::after,
.tile-white .donut::after {
  background: #fff;
}
.tile-link:hover .donut {
  transform: rotate(40deg);
}
.legend {
  display: grid;
  gap: 14px;
}
.legend i {
  display: flex;
  align-items: center;
  gap: 10px;
}
.legend i::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: #e2412c;
}
.legend i::after {
  content: '';
  width: 64px;
  height: 8px;
  border-radius: 99px;
  background: var(--line);
}
.legend i:nth-child(2)::before {
  background: #ff9f43;
}
.legend i:nth-child(2)::after {
  width: 48px;
}
.legend i:nth-child(3)::before {
  background: #1d1d1f;
}
.legend i:nth-child(3)::after {
  width: 36px;
}
/* On a sector's own page, the art sits in a wide grey panel. */
.sector-banner {
  display: grid;
  place-items: center;
  height: clamp(240px, 26vw, 320px);
  border-radius: var(--r-lg);
  background: var(--canvas);
  overflow: hidden;
}
.sector-banner .art {
  margin: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.25);
  transform-origin: 50% 100%;
}
.sector-banner .art-am {
  transform: scale(1.3);
  transform-origin: 50% 50%;
  padding: 0;
}
@media (max-width: 680px) {
  .sector-banner .art,
  .sector-banner .art-am {
    transform: none;
  }
}
@media (max-width: 980px) {
  .tile-sector {
    min-height: 480px;
  }
}

/* ── Two financial centres: live clocks ─────────────────────────────────── */
.clocks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.clock-tile {
  min-height: 400px;
  gap: 14px;
}
.clock-city {
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.clock {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: auto;
}
.clock-t {
  font-size: clamp(4rem, 2rem + 7vw, 8.5rem);
  line-height: 0.95;
  font-weight: 650;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.tile-dark .clock-t {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.04em;
}
.clock-off {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
}
.tile-dark .clock-off {
  color: var(--on-dark-2);
}
.clock-tile p {
  max-width: 42ch;
}
.clock-addr {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px !important;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .clocks-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .clock-tile {
    min-height: 300px;
  }
}

/* ── Insights ───────────────────────────────────────────────────────────── */
.post {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--r-lg);
  background: var(--canvas);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
}
.sec-grey .post {
  background: #fff;
}
.post-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  color: #fff;
  background: radial-gradient(70% 90% at 30% 20%, #ff9f43, transparent 70%), radial-gradient(80% 90% at 80% 90%, #e2412c, transparent 70%), #ff6b5a;
  overflow: hidden;
}
.post-thumb .i {
  stroke-width: 1.4;
  filter: drop-shadow(0 6px 14px rgba(120, 30, 10, 0.3));
  transition: transform 0.6s var(--ease);
}
.thumb-1 {
  color: var(--coral-light);
  background: radial-gradient(70% 90% at 100% 100%, rgba(255, 107, 90, 0.75), transparent 72%), radial-gradient(40% 60% at 75% 110%, rgba(255, 159, 67, 0.6), transparent 70%), #000;
}
.thumb-2 {
  color: var(--coral-ico);
  background: radial-gradient(60% 80% at 80% 100%, rgba(255, 159, 67, 0.4), transparent 72%), radial-gradient(60% 80% at 10% 0%, rgba(255, 107, 90, 0.3), transparent 72%), #fff4ef;
}
.thumb-2 .i {
  filter: none;
}
.post:hover .post-thumb .i {
  transform: scale(1.1);
}
.post-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 26px 28px 30px;
}
.post h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.4375rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.post p {
  font-size: 16px;
  color: var(--ink-3);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
}
.pill {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--coral);
  background: var(--coral-soft);
  border-radius: 999px;
  padding: 3px 10px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.chip-btn {
  padding: 9px 17px;
  border-radius: 999px;
  border: 0;
  background: var(--canvas);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.chip-btn:hover {
  background: var(--line-2);
}
.chip-btn[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}
[data-filter-list] .is-hidden {
  display: none;
}

/* ── Two tiles side by side (careers) ───────────────────────────────────── */
.tile-duo {
  min-height: 380px;
}
.tile-duo .tile-ico {
  margin-bottom: auto;
  padding-bottom: 40px;
}
.tile-duo h3 {
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
  letter-spacing: -0.035em;
}
.tile-duo p {
  max-width: 40ch;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-wrap {
  max-width: calc(860px + 2 * var(--gutter));
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.022em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq summary:hover {
  color: var(--coral);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .i {
  color: var(--ink-3);
  transition: transform 0.35s var(--ease), color 0.2s;
}
.faq details[open] summary .i {
  transform: rotate(45deg);
  color: var(--ink);
}
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.faq details[open]::details-content {
  block-size: auto;
}
.faq details p {
  padding: 0 40px 28px 0;
  color: var(--ink-2);
  max-width: 64ch;
}

/* ── Closing statement ──────────────────────────────────────────────────── */
.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(104px, 13vw, 200px) 0;
  background: var(--dark);
  color: var(--on-dark);
  text-align: center;
}
.closing::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1500px, 170vw);
  height: 75%;
  transform: translateX(-50%);
  z-index: -1;
  background:
    radial-gradient(40% 52% at 50% 108%, #ff6b5a 0%, rgba(255, 107, 90, 0.55) 38%, transparent 72%),
    radial-gradient(22% 40% at 67% 106%, rgba(255, 159, 67, 0.95) 0%, rgba(255, 159, 67, 0.3) 45%, transparent 74%),
    radial-gradient(22% 38% at 33% 106%, rgba(226, 65, 44, 0.95) 0%, rgba(226, 65, 44, 0.3) 45%, transparent 74%);
  filter: blur(20px);
}
.closing-in {
  display: grid;
  justify-items: center;
}
.closing h2 {
  max-width: 17ch;
  color: #fff;
  font-size: clamp(2.5rem, 1.2rem + 4.4vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.closing p {
  max-width: 44ch;
  margin-top: 22px;
  font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.38;
  color: var(--on-dark-2);
}

/* ── Inner pages: split sections, lists, values, statement, partners ───── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.split-head {
  display: grid;
  gap: 12px;
  position: sticky;
  top: calc(var(--bar-h) + 32px);
}
.split h2 {
  font-size: clamp(2rem, 1rem + 2.6vw, 3.25rem);
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .split-head {
    position: static;
  }
}
.stakes,
.checks,
.chips,
.values {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stakes li {
  position: relative;
  padding: 22px 0 22px 36px;
  border-top: 1px solid var(--line-2);
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.stakes li:last-child {
  border-bottom: 1px solid var(--line-2);
}
.stakes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(22px + 0.7em - 1px);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.checks .i {
  margin-top: 1px;
  color: var(--coral-ico);
  stroke-width: 2.2;
}
aside .checks,
.start-aside .checks {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .checks {
    grid-template-columns: minmax(0, 1fr);
  }
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips li {
  font-size: 16px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink);
}
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.values .tile {
  min-height: 280px;
  justify-content: space-between;
}
.value {
  font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
@media (max-width: 760px) {
  .values {
    grid-template-columns: minmax(0, 1fr);
  }
  .values .tile {
    min-height: 200px;
  }
}
.statement-wrap {
  display: grid;
  gap: 22px;
  max-width: calc(1000px + 2 * var(--gutter));
  text-align: center;
  justify-items: center;
}
.statement {
  font-size: clamp(1.625rem, 1rem + 2vw, 2.75rem);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.partner {
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
}
.partner img {
  flex: none;
  width: 160px;
  height: 190px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  background: var(--canvas);
  filter: grayscale(1);
  transition: filter 0.6s;
}
.partner:hover img {
  filter: none;
}
.partner > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.partner h3 {
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem);
}
.partner .role {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.partner .link-more {
  margin-top: 6px;
}
@media (max-width: 1100px) {
  .partner {
    flex-direction: column;
  }
}

/* Article */
.article-wrap {
  max-width: calc(720px + 2 * var(--gutter));
}
.article .standfirst {
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-2);
}
.article h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 52px 0 16px;
}
.article h2:first-child {
  margin-top: 0;
}
.article p,
.article ul {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.65;
  letter-spacing: -0.014em;
}
.article ul {
  padding-left: 22px;
}
.article li + li {
  margin-top: 6px;
}
.article li::marker {
  color: var(--coral-ico);
}
.article a:not(.btn) {
  color: var(--coral);
  text-underline-offset: 3px;
}
.kv {
  margin: 0 0 40px;
  display: grid;
  border-top: 1px solid var(--line-2);
}
.kv div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}
.kv dt {
  font-weight: 600;
}
.kv dd {
  margin: 0;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .kv div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* ── Cards and forms ────────────────────────────────────────────────────── */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--hair);
}
.card h3 {
  font-size: 1.25rem;
}
.card p {
  color: var(--ink-3);
  font-size: 16px;
}
.card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.card .tags span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--canvas);
  border-radius: 999px;
  padding: 4px 11px;
}
.openings > .card:only-child {
  grid-column: 1 / -1;
  align-items: center;
  text-align: center;
  background: var(--canvas);
  box-shadow: none;
  padding: 40px 28px;
}
.openings > .card:only-child p {
  font-size: 17px;
}
.skeleton {
  min-height: 180px;
  background: linear-gradient(90deg, #f0f0f3 0%, #fafafc 50%, #f0f0f3 100%);
  background-size: 200% 100%;
  box-shadow: none;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.form-wrap,
.start-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.form-intro {
  display: grid;
  gap: 16px;
}
.form-intro h2 {
  font-size: clamp(2rem, 1rem + 2.6vw, 3.25rem);
}
.start-wrap {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
}
.start-aside {
  display: grid;
  gap: 20px;
}
@media (max-width: 900px) {
  .form-wrap,
  .start-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}
.form {
  display: grid;
  gap: 18px;
  align-content: start;
}
.form label {
  display: grid;
  gap: 7px;
  align-content: start;
  font-size: 14px;
  font-weight: 600;
}
.form .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 640px) {
  .form .row {
    grid-template-columns: minmax(0, 1fr);
  }
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.012em;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form input,
.form select {
  height: 54px;
}
.form textarea {
  min-height: 140px;
  resize: vertical;
}
.form input::placeholder,
.form textarea::placeholder {
  color: #8e8e93;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(196, 64, 43, 0.14);
}
.form .btn {
  justify-self: start;
}
.hp {
  position: absolute;
  left: -9999px;
}
.form-status {
  font-size: 15px;
  font-weight: 500;
  min-height: 1.4em;
}
.form-status.ok {
  color: var(--ok);
}
.form-status.err {
  color: var(--break);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.foot {
  background: var(--canvas);
  border-top: 1px solid var(--line-2);
  color: var(--ink-3);
  padding: 56px 0 28px;
  font-size: 13px;
  line-height: 1.5;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.foot h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: var(--ink);
  margin: 2px 0 12px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.foot a {
  text-decoration: none;
  color: var(--ink-3);
}
.foot a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.foot-brand {
  display: grid;
  gap: 14px;
  align-content: start;
}
.foot-brand .brand {
  font-size: 15px;
  color: var(--ink);
}
.foot-brand .brand:hover {
  text-decoration: none;
}
.foot-brand p {
  max-width: 34ch;
  overflow-wrap: anywhere;
}
.clocks {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.clocks b {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.foot-bottom a,
.foot-bottom .linklike {
  color: var(--ink-3);
  font-size: 12.5px;
}
@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}

/* ── Motion ─────────────────────────────────────────────────────────────── */
/* Only once site.js has run (html.motion): without it, everything stays visible. */
.motion .reveal:not(.in) {
  opacity: 0;
  transform: translateY(28px);
}
.motion .reveal.revealing {
  transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .motion .reveal:not(.in) {
    opacity: 1;
    transform: none;
  }
  .live,
  .float-a,
  .skeleton,
  .hero-in > *,
  .shot .app,
  .shot::before,
  .mobile-menu {
    animation: none;
  }
  .tile-link,
  .tile-link *,
  .faq details::details-content {
    transition: none !important;
  }
  .tile-link:hover,
  .tile-link:hover * {
    transform: none !important;
  }
}
