/* =========================================================================
   Top by Ten: design tokens, base, layout and shared components.
   Layout, scale and motion follow the reference site (see docs/interactions.md).
   Breakpoints: md 768 · lg 1024 · xl 1280 · 2xl 1536 · 3xl 1920
   Hover effects are gated to (pointer: fine), like the reference.
   ========================================================================= */

:root {
  --black: #000;
  --white: #fff;
  --grey-50: #f7f7f7;
  --grey-100: #efeeec;
  --grey-150: #e9e9e9;
  --grey-200: #bebebe;
  --grey-300: #6a6a6a;
  --grey-400: #282828;
  --grey-500: #1f1f1f;
  --grey-600: #1a1a1a;
  --grey-800: #121212;
  --grey-900: #111212;
  --mint: #b2f6e3;
  --mask-colour: #b2f6e3;

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --tracking-tight: -0.035em;
  --tracking-tightish: -0.025em;

  --ease-smooth: cubic-bezier(.135, .9, .15, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);

  --r-sm: .25rem; --r-md: .375rem; --r-lg: .5rem; --r-xl: .75rem;
  --r-2xl: 1rem; --r-3xl: 1.5rem; --r-4xl: 2rem;

  --gutter: 1rem;           /* px-4 */
  --gap: .75rem;            /* gap-x-3 */
  --vh: 1vh;
}
@media (min-width: 768px) { :root { --gutter: 1.75rem; --gap: 1.25rem; } } /* md:px-7, md:gap-x-5 */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--grey-100); color: var(--grey-900);
  font: 400 1rem/1.5 var(--font); letter-spacing: 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.overflow-hidden { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select { font: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; z-index: 200; top: 12px; left: 12px; background: var(--white); padding: 10px 16px; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--grey-900); outline-offset: 3px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--mint); }
.hide-cursor, .hide-cursor * { cursor: none !important; }

/* ---------- Layout ---------- */
/* Carousels let slides run past the edge (like the reference); each top-level section clips
   horizontally. overflow-x: clip keeps position: sticky working inside. */
html { overflow-x: clip; }
.page > *, .footer { overflow-x: clip; }
.wrap { width: 100%; padding-inline: var(--gutter); }
.section { padding-block: 3rem; }
.section-pb { padding-bottom: 3rem; }
.section-pt { padding-top: 3rem; }
@media (min-width: 1280px) { .section { padding-block: 6rem; } .section-pb { padding-bottom: 6rem; } .section-pt { padding-top: 6rem; } }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.dark { background: var(--grey-900); color: var(--white); }
.panel-dark { background: var(--grey-900); color: var(--white); border-radius: var(--r-3xl); }
.mint { background: var(--mint); color: var(--grey-900); }

/* ---------- Type (Tailwind-like scale from the reference, tracking -0.035em) ---------- */
.t { font-weight: 500; letter-spacing: var(--tracking-tight); text-wrap: balance; }
.t-xs { font-size: .75rem; line-height: 1.25; }
.t-sm { font-size: .875rem; line-height: 1.25; }
.t-md { font-size: 1.063rem; line-height: 1.25; }
.t-lg { font-size: 1.125rem; line-height: 1.25; }
.t-xl { font-size: 1.375rem; line-height: 1.25; }
.t-2xl { font-size: 1.5rem; line-height: 1; }
.t-3xl { font-size: 1.875rem; line-height: 1; }
/* Responsive steps used by the reference */
.t-label { font-size: 1.063rem; line-height: 1.25; }                       /* text-md → lg → xl → 2xl */
.t-display { font-size: 3.125rem; line-height: .9; }                       /* hero h1: 50 → 60 → 75 → 100 */
.t-h2 { font-size: 3.125rem; line-height: 1; }                             /* 50 → 60 → 75/0.9 → 90 */
.t-h3 { font-size: 1.875rem; line-height: 1; }                             /* 30 → 36 → 50 → 60 */
.t-intro { font-size: 1.125rem; line-height: 1.25; }                       /* 18 → 24/1 → 30/1 */
.t-sub { font-size: 1.125rem; line-height: 1.25; }                         /* hero sub: 18 → 22 → 24 → 30 */
.t-mega { font-size: 4.6875rem; line-height: .9; }                         /* marquee: 75 → 100 → 220 */
@media (min-width: 768px) { .t-display { font-size: 3.75rem; } .t-sub { font-size: 1.375rem; } .t-mega { font-size: 4.6875rem; } }
@media (min-width: 1024px) {
  .t-label { font-size: 1.125rem; } .t-display { font-size: 4.6875rem; } .t-h2 { font-size: 3.75rem; }
  .t-h3 { font-size: 2.25rem; } .t-mega { font-size: 6.25rem; }
}
@media (min-width: 1280px) {
  .t-label { font-size: 1.375rem; } .t-display { font-size: 6.25rem; } .t-h2 { font-size: 4.6875rem; line-height: .9; }
  .t-h3 { font-size: 3.125rem; } .t-intro { font-size: 1.5rem; line-height: 1; } .t-sub { font-size: 1.875rem; line-height: 1; }
  .t-mega { font-size: 13.75rem; }
}
@media (min-width: 1920px) {
  .t-label { font-size: 1.5rem; line-height: 1; } .t-display { font-size: 7.5rem; } .t-h2 { font-size: 5.625rem; }
  .t-h3 { font-size: 3.75rem; } .t-intro { font-size: 1.875rem; }
}
.muted { color: var(--grey-300); }
.prose p + p { margin-top: 1em; }

/* Inline image inside a heading: square, one line-height tall, 15% radius (reference js-image-wrapper) */
.hi {
  display: inline-block; position: relative; overflow: hidden; vertical-align: top;
  width: 1lh; height: 1lh; border-radius: 15%; background: rgba(0,0,0,.08);
  margin-inline: .04em; transform: translateY(.02em);
}
.hi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* SplitText line masks need a little room for descenders */
[data-c~="heading"] .split-line { padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Icons (CSS masks, no icon font) ---------- */
.ic { display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ic-arrow { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E"); }
.ic-arrow-right { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.ic-arrow-left { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M20 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E"); }
.ic-plus { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.ic-down { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.ic-x { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.ic-play { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E"); }
.ic-pause { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h4v16H6zM14 4h4v16h-4z'/%3E%3C/svg%3E"); }
.ic-sound { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M16 9a4 4 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11'/%3E%3C/svg%3E"); }
.ic-mute { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='m16 9 5 6M21 9l-5 6'/%3E%3C/svg%3E"); }
.ic-search { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E"); }
.ic-chart { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 15 4-4 3 3 6-7'/%3E%3C/svg%3E"); }
.ic-clock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ic-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.3-7-12a7 7 0 0 1 14 0c0 5.7-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.ic-linkedin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3.5a2 2 0 1 1 0 4 2 2 0 0 1 0-4zM2.3 9h3.4v12H2.3zM8.8 9h3.3v1.7c.5-.9 1.7-2 3.6-2 3.8 0 4.5 2.4 4.5 5.6V21h-3.4v-6c0-1.4 0-3.3-2-3.3s-2.4 1.6-2.4 3.2V21H8.8z'/%3E%3C/svg%3E"); }
.ic-xlogo { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.6 3h3.2l-7 8 8.2 10h-6.4l-5-6.3L5 21H1.8l7.5-8.6L1.5 3H8l4.5 5.8zm-1.1 16.2h1.8L7.5 4.7H5.6z'/%3E%3C/svg%3E"); }
.ic-instagram { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6'/%3E%3C/svg%3E"); }
.ic-youtube { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23 7.2a3 3 0 0 0-2.1-2.1C19 4.6 12 4.6 12 4.6s-7 0-8.9.5A3 3 0 0 0 1 7.2 31 31 0 0 0 .5 12a31 31 0 0 0 .5 4.8 3 3 0 0 0 2.1 2.1c1.9.5 8.9.5 8.9.5s7 0 8.9-.5a3 3 0 0 0 2.1-2.1 31 31 0 0 0 .5-4.8 31 31 0 0 0-.5-4.8zM9.7 15V9l5.8 3z'/%3E%3C/svg%3E"); }
.ic-tiktok { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.6 2h-3.3v13.3a2.9 2.9 0 1 1-2.9-2.9c.3 0 .6 0 .9.1V9.1a6.3 6.3 0 1 0 5.3 6.2V8.6a8 8 0 0 0 4.7 1.5V6.8a4.7 4.7 0 0 1-4.7-4.8z'/%3E%3C/svg%3E"); }

/* ---------- Roll text (hover: text slides up, a copy rises from below) ---------- */
.roll { position: relative; display: inline-flex; overflow: hidden; vertical-align: top; }
.roll__a, .roll__b { display: inline-flex; align-items: center; gap: .5rem; transition: transform .5s var(--ease-smooth); }
.roll__b { position: absolute; inset: 0; transform: translateY(110%); }
@media (pointer: fine) {
  :is(a, button, .roll-trigger):hover > .roll .roll__a,
  :is(a, button, .roll-trigger):hover .roll-host > .roll .roll__a { transform: translateY(-110%); }
  :is(a, button, .roll-trigger):hover > .roll .roll__b,
  :is(a, button, .roll-trigger):hover .roll-host > .roll .roll__b { transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; flex: none; align-items: center; justify-content: center; gap: .5rem;
  padding: 10px 20px; min-height: 42px; border-radius: 24px; border: 1px solid transparent;
  background: var(--white); color: var(--grey-900);
  font-weight: 500; font-size: 1rem; line-height: 1.25; letter-spacing: var(--tracking-tightish); text-transform: capitalize;
  transition: background-color .3s, color .3s, border-radius .3s var(--ease-smooth);
  white-space: nowrap;
}
.btn .ic { font-size: .75rem; margin-top: 1px; }
.btn--dark { background: var(--grey-900); color: var(--white); }
.btn--mint { background: var(--mint); color: var(--grey-900); }
.btn--line { background: transparent; border-color: currentColor; }
.btn--sm { padding: 6px 12px; min-height: 32px; font-size: .875rem; }
@media (pointer: fine) {
  .btn:hover { border-radius: var(--r-xl); }
  .btn--dark:hover { background: var(--grey-400); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Chips (tag pills on cards, meta pills on blog cards) */
.chip {
  display: inline-flex; flex: none; align-items: center; gap: .75rem; border-radius: 999px;
  padding: .625rem .875rem; font-size: .875rem; font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1;
  background: rgba(255,255,255,.2); color: var(--white); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.chip--light { background: var(--white); color: var(--grey-900); backdrop-filter: none; }
.chip--grey { background: var(--grey-150); color: var(--grey-900); backdrop-filter: none; }
.chip--sm { padding: .25rem .75rem; min-height: 1.75rem; gap: .5rem; }
.avatar { width: 1.25rem; height: 1.25rem; border-radius: 999px; overflow: hidden; margin-right: -.25rem; background: var(--grey-900); color: var(--mint); display: grid; place-items: center; font-size: .5rem; font-weight: 700; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Announcement bar + header ---------- */
.ann { position: relative; z-index: 60; padding: 10px 10px 0; transition: opacity .3s; }
.ann a {
  display: flex; justify-content: center; align-items: center; width: 100%; padding: 8px 20px; border-radius: 16px;
  background: var(--mint); color: var(--grey-900); font-size: .75rem; font-weight: 600; letter-spacing: var(--tracking-tight); line-height: 1; text-align: center;
}
@media (min-width: 1024px) { .ann a { font-size: .875rem; } }
.mobile-open .ann { opacity: 0; pointer-events: none; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 4.5rem; padding: 0;
  transition: transform .7s var(--ease-smooth);
}
@media (min-width: 1024px) { .site-header { height: 5.5rem; padding: .75rem; } }
.site-header.is-hidden { transform: translateY(-150%); }
.site-header__inner { position: relative; z-index: 30; transform: translateY(3rem); transition: transform .5s var(--ease-smooth); }
.site-header.ann-hidden .site-header__inner { transform: translateY(0); }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; padding: .5rem; color: var(--grey-900);
  transition: background-color .5s, color .5s, backdrop-filter .5s;
}
@media (min-width: 1024px) { .site-header__bar { border-radius: 999px; } }
[data-header="dark"] .site-header:not(.has-bg) .site-header__bar { color: var(--white); }
.site-header.has-bg .site-header__bar { background: rgba(255,255,255,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.logo { display: inline-flex; align-items: center; gap: .5rem; margin-left: .5rem; font-weight: 600; font-size: 1.25rem; letter-spacing: -.04em; line-height: 1; color: inherit; white-space: nowrap; }
/* Logo: a small rounded square in the text colour with "10" knocked out in the page colour */
.logo { --logo-ink: var(--grey-100); }
.logo__mark { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: .45rem; background: currentColor; transition: background-color .5s; }
.logo__mark b { color: var(--logo-ink); font-size: .72rem; font-weight: 700; letter-spacing: -.04em; transition: color .5s; }
[data-header="dark"] .site-header:not(.has-bg) .logo,
.mobile-menu .logo, .footer .logo { --logo-ink: var(--grey-900); }

.nav { position: relative; margin-left: 2.5rem; display: none; }
@media (min-width: 1024px) { .nav { display: inline-flex; } }
.nav__pill { position: absolute; top: 0; left: 0; height: 100%; border-radius: 999px; background: var(--grey-50); opacity: 0; pointer-events: none; transition: all .3s; display: none; }
@media (pointer: fine) { .nav__pill { display: block; } }
.nav.is-hovering .nav__pill { opacity: 1; }
.nav__item { position: relative; z-index: 1; }
.nav__link { display: inline-flex; padding: .25rem 1rem; font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1.25; transition: color .3s; }
.nav__link .plus { margin-left: .25rem; display: none; }
@media (pointer: fine) { .nav__link .plus { display: inline; } .nav__link:hover, .nav__link.is-active { color: var(--grey-900); } }
.nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav__badge { position: absolute; top: 0; right: 0; transform: translateY(-.625rem); padding: .125rem .375rem; border-radius: 999px; font-size: .5rem; background: var(--mint); color: var(--grey-900); font-weight: 600; pointer-events: none; }
.header-actions { display: inline-flex; align-items: center; gap: .5rem; }
.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }
.site-header.has-bg .header-cta .btn, [data-header="light"] .site-header .header-cta .btn { background: var(--grey-900); color: var(--white); }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 2rem; }
@media (min-width: 1024px) { .burger { display: none; } }
.burger > span:not(.sr) { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 1.25rem; height: .5rem; }
.burger i { display: block; width: 100%; height: 2px; background: currentColor; transition: transform .5s; }
.mobile-open .burger i:first-child { transform: translateY(3px) rotate(45deg); }
.mobile-open .burger i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Mega menus */
.mega-backdrop { position: fixed; inset: 0; z-index: 10; pointer-events: none; transition: backdrop-filter .4s, background-color .4s; }
.mega-open .mega-backdrop { pointer-events: auto; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.mega {
  position: absolute; z-index: 20; left: 50%; bottom: 0; padding-top: 2.5rem; display: none;
  transform: translate(-50%, 100%); pointer-events: none;
}
@media (pointer: fine) and (min-width: 1024px) { .mega { display: flex; } }
.site-header.ann-hidden .mega { bottom: 2.5rem; }
.mega.is-open { pointer-events: auto; }
.mega__card { display: flex; flex: none; background: var(--white); color: var(--grey-900); border-radius: var(--r-3xl); opacity: 0; transform-origin: top center; }
.mega__cols { display: inline-flex; align-items: center; justify-content: center; padding-inline: 3rem; }
.mega__cols > div { display: flex; gap: 3rem; }
.mega__col { margin-top: -.75rem; display: flex; flex-direction: column; gap: .125rem; }
.mega__head { height: 2rem; color: var(--grey-300); font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1.25; }
.mega__link { display: inline-flex; font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1.25; font-size: 1.125rem; }
.mega__link--lg { font-size: 1.5rem; }
.mega__media { position: relative; flex: none; width: 18rem; padding: .75rem; }
.mega__media--wide { width: 20rem; }
.mega__img { position: relative; aspect-ratio: 1; border-radius: var(--r-2xl); overflow: hidden; background: var(--grey-900); }
.mega__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: opacity .5s, filter .5s; }
.mega__img img:not(.is-active) { opacity: 0; filter: blur(16px); }
.mega__media .btn { position: absolute; z-index: 2; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 55; height: 100svh; padding: .5rem; opacity: 0; pointer-events: none; transition: opacity 1s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu__panel { height: 100%; overflow-y: auto; background: rgba(17,18,18,.9); color: var(--white); border-radius: var(--r-3xl); padding: .625rem 1rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__top .logo__mark { background: var(--white); } .mobile-menu__top .logo__mark b { color: var(--grey-900); }
.mm-group { border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: .75rem; }
.mm-group:first-child { border-top: 1px solid rgba(255,255,255,.2); padding-top: .75rem; }
.mm-group__head { display: flex; align-items: center; justify-content: space-between; }
.mm-group__head a { font-size: 1.875rem; font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1; }
@media (min-width: 768px) { .mm-group__head a { font-size: 3.125rem; } }
.mm-toggle { width: 1.5rem; height: 1.5rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; font-size: .75rem; transition: transform .3s; }
.mm-group.is-open .mm-toggle { transform: rotate(180deg); }
.mm-group__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-smooth); }
.mm-group.is-open .mm-group__body { grid-template-rows: 1fr; }
.mm-group__body > div { overflow: hidden; }
.mm-group__body ul { display: grid; gap: .25rem; padding-block: 1rem; }
.mm-group__body a { font-size: 1.375rem; font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1.25; }
.mobile-menu .btn { width: 100%; }

/* ---------- Cursor ---------- */
.cursor-icon, .cursor-text { position: fixed; z-index: 90; top: 0; left: 0; pointer-events: none; display: none; transform: scale(0); transition: transform .3s var(--ease-smooth); will-change: left, top; }
@media (pointer: fine) { .cursor-icon, .cursor-text { display: flex; } }
.cursor-icon { width: 6rem; height: 6rem; border-radius: 999px; background: var(--mint); color: var(--grey-900); align-items: center; justify-content: center; font-size: 1.5rem; overflow: hidden; isolation: isolate; }
@media (min-width: 1024px) { .cursor-icon { width: 8rem; height: 8rem; font-size: 2.25rem; } }
.cursor-text { padding: 10px 20px; border-radius: 24px; background: var(--mint); color: var(--grey-900); font-weight: 500; letter-spacing: var(--tracking-tightish); line-height: 1.25; gap: .5rem; align-items: center; white-space: nowrap; }
.cursor-text .ic { font-size: .75rem; }
.cursor-icon.is-active, .cursor-text.is-active { transform: scale(1); }

/* ---------- Page transition masks ---------- */
.tmask { position: fixed; inset: 0; z-index: 100; width: 100vw; height: 100svh; pointer-events: none; display: none; }
.tmask svg { display: block; width: 100vw; height: 100svh; }
.motion .tmask { display: block; }

/* ---------- Circle-mask hover (work cards, blog cards) ---------- */
.cm-card { display: grid; position: relative; overflow: hidden; border-radius: var(--r-2xl); }
.cm-card > * { grid-area: 1 / 1; }
.circle-mask { clip-path: circle(0% at 50% 120%); transition: clip-path .7s var(--ease-smooth); z-index: 40; }
@media (pointer: fine) { .cm-card:hover .circle-mask, .cm-card.is-active .circle-mask { clip-path: circle(85% at 50% 70%); } }

/* ---------- Media helpers ---------- */
.media { position: relative; overflow: hidden; background: var(--grey-150); }
.media > img, .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-1 { aspect-ratio: 1; } .ratio-43 { aspect-ratio: 4/3; } .ratio-32 { aspect-ratio: 3/2; } .ratio-169 { aspect-ratio: 16/9; } .ratio-45 { aspect-ratio: 4/5; }
.rounded-2xl { border-radius: var(--r-2xl); } .rounded-3xl { border-radius: var(--r-3xl); }

/* Edge blur used beside sliding logo rows (reference .section-blur) */
.edge-blur { position: absolute; top: 0; z-index: 20; height: 100%; width: 7rem; pointer-events: none; }
@media (min-width: 1024px) { .edge-blur { width: 15rem; } }
.edge-blur--left { left: -2.5rem; background: linear-gradient(90deg, var(--grey-100) 20%, rgba(239,238,236,0)); }
.edge-blur--right { right: -2.5rem; background: linear-gradient(270deg, var(--grey-100) 20%, rgba(239,238,236,0)); }

/* ---------- Swiper tweaks ---------- */
.swiper { overflow: visible; width: 100%; min-width: 0; }
.swiper-clip { overflow: hidden; }
.is-linear .swiper-wrapper { transition-timing-function: linear !important; }
.ease-smooth .swiper-wrapper { transition-timing-function: var(--ease-smooth) !important; }
.progress { position: relative; height: 2px; background: var(--grey-200); margin-top: 1.5rem; overflow: hidden; }
.progress .swiper-pagination-progressbar-fill, .progress__fill { position: absolute; inset: 0; background: var(--grey-900); transform-origin: left; }
.dark .progress, .on-dark .progress { background: rgba(255,255,255,.2); }
.dark .progress .swiper-pagination-progressbar-fill, .on-dark .progress .swiper-pagination-progressbar-fill { background: var(--white); }
.swiper-pagination-progressbar.progress { position: relative; top: auto; left: auto; width: 100%; }

/* ---------- Statistic (rolling digits) ---------- */
.stat { display: inline-flex; overflow: hidden; height: 1lh; filter: blur(6px); }
.stat__col { display: flex; flex-direction: column; }
.stat__col span { display: block; height: 1lh; }

/* ---------- Footer ---------- */
.footer { position: relative; display: grid; padding: .5rem; margin-top: 2rem; }
@media (min-width: 1024px) { .footer { margin-top: 0; } }
.footer__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: .5rem; display: flex; }
.footer__bg > div { width: 100%; height: 100%; background: var(--grey-900); border-radius: var(--r-3xl); }
.footer__content { grid-area: 1 / 1; position: relative; z-index: 2; color: var(--white); padding: 3.5rem var(--gutter) 1.5rem; row-gap: .75rem; }
@media (min-width: 768px) { .footer__content { row-gap: 1.75rem; } }
@media (min-width: 1024px) { .footer__content { padding-block: 2.5rem; } }
.footer__news { grid-column: span 12; display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer__news { gap: 1.25rem; } }
@media (min-width: 1024px) { .footer__news { grid-column: span 4; margin-bottom: 0; } }
.footer__news h2 { font-size: 1.5rem; line-height: 1; font-weight: 500; letter-spacing: var(--tracking-tight); }
@media (min-width: 1280px) { .footer__news h2 { font-size: 1.875rem; } }
.news-form { position: relative; width: 100%; }
.news-form input { appearance: none; width: 100%; border: 0; border-radius: 999px; background: var(--grey-400); color: var(--white); font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1; font-size: 1.125rem; padding: 1rem 1.25rem; transition: background-color .3s; }
@media (min-width: 1024px) { .news-form input { font-size: 1.375rem; padding: 1.25rem 1.5rem; } }
.news-form input::placeholder { color: var(--grey-200); }
.news-form button { position: absolute; top: .5rem; right: .5rem; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--mint); color: var(--grey-900); display: grid; place-items: center; font-size: 1rem; transition: transform .3s var(--ease-smooth); }
@media (min-width: 1024px) { .news-form button { width: 3.25rem; height: 3.25rem; font-size: 1.125rem; } }
@media (pointer: fine) { .news-form button:hover { transform: rotate(45deg); } }
.news-form__msg { min-height: 1.25rem; font-size: .875rem; color: var(--grey-200); margin-top: .5rem; }
.socials { display: flex; flex-wrap: wrap; gap: .25rem; }
.social { display: inline-flex; align-items: center; gap: .625rem; padding: .25rem .5rem; border-radius: var(--r-xl); background: var(--white); color: var(--grey-900); font-size: .75rem; transition: border-radius .3s; }
@media (pointer: fine) { .social:hover { border-radius: var(--r-sm); } }
.footer__links { grid-column: span 12; display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 2.5rem; }
@media (min-width: 768px) { .footer__links { grid-column: span 11; } }
@media (min-width: 1024px) { .footer__links { grid-column: 6 / span 6; } }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: .375rem; border-left: 1px solid rgba(255,255,255,.2); padding-left: .75rem; width: 50%; }
@media (min-width: 768px) { .footer__col { width: auto; } }
.footer__col a { font-size: 1.125rem; font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1.25; transition: color .3s; }
@media (min-width: 1024px) { .footer__col a { font-size: 1.375rem; } }
@media (pointer: fine) { .footer__col a:hover { color: var(--mint); } }
.footer__mark { grid-column: span 12; margin-top: 2.5rem; padding-bottom: .19em; color: var(--white); font-size: calc((100vw - 2 * var(--gutter) - 1rem) * .225); }
.footer__mark .wordmark { font-size: 1em; }
@media (min-width: 1024px) { .footer__mark { margin-top: 8rem; } }
.wordmark { font-weight: 500; letter-spacing: -.055em; line-height: .8; font-size: 21.6vw; white-space: nowrap; display: flex; align-items: flex-start; }
.wordmark sup { font-size: .12em; letter-spacing: 0; margin-left: .15em; margin-top: .1em; }
.footer__legal { grid-column: span 12; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: .5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .footer__legal { flex-direction: row; } }
@media (min-width: 1024px) { .footer__legal { align-items: center; margin-top: 0; } }
.footer__legal > div { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.footer__legal span, .footer__legal a { font-size: .675rem; font-weight: 300; line-height: 1.25; }
@media (min-width: 768px) { .footer__legal span, .footer__legal a { font-size: .75rem; } }
.footer__legal i { width: 4px; height: 4px; border-radius: 999px; background: var(--white); display: inline-flex; }
.footer__legal a:hover { text-decoration: underline; }

/* ---------- Forms (shared) ---------- */
.field { display: grid; gap: .5rem; }
.field label { font-size: .875rem; font-weight: 500; letter-spacing: var(--tracking-tight); }
.input { width: 100%; border: 1px solid var(--grey-200); border-radius: var(--r-xl); background: var(--white); padding: .875rem 1rem; font-size: 1rem; color: var(--grey-900); }
.input:focus { outline: none; border-color: var(--grey-900); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; background: rgba(17,18,18,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__panel { position: relative; width: min(100%, 44rem); max-height: 90svh; overflow-y: auto; background: var(--white); border-radius: var(--r-3xl); padding: 2rem; transform: translateY(2rem); transition: transform .6s var(--ease-smooth); }
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--grey-100); display: grid; place-items: center; }

/* ---------- Video player ---------- */
.vplayer { position: relative; overflow: hidden; border-radius: var(--r-3xl); background: var(--grey-900); }
.vplayer video { width: 100%; height: 100%; object-fit: cover; }
.vplayer__ui { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .75rem; opacity: 0; transition: opacity .3s; }
.vplayer.is-playing .vplayer__ui { opacity: 1; }
.vplayer__btn { width: 2.5rem; height: 2.5rem; border-radius: 999px; background: rgba(255,255,255,.2); color: var(--white); display: grid; place-items: center; backdrop-filter: blur(4px); }
.vplayer__bar { flex: 1; height: 3px; background: rgba(255,255,255,.3); border-radius: 3px; overflow: hidden; }
.vplayer__bar span { display: block; height: 100%; width: 0; background: var(--mint); }
.vplayer__start { position: absolute; inset: 0; display: grid; place-items: center; }
.vplayer.is-playing .vplayer__start { display: none; }
@media (pointer: fine) { .vplayer__start .btn { display: none; } }

/* ---------- Reading progress ---------- */
.read-progress { position: fixed; top: 0; left: 0; z-index: 70; height: 3px; width: 0; background: var(--mint); }

/* ---------- FAQ / accordion (details) ---------- */
.acc { border-top: 1px solid var(--grey-200); }
.acc details { border-bottom: 1px solid var(--grey-200); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.25rem; font-size: 1.375rem; font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1.2; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { transition: transform .3s; font-size: 1rem; }
.acc details[open] summary .ic { transform: rotate(45deg); }
.acc .acc__body { padding-bottom: 1.5rem; max-width: 48rem; color: var(--grey-300); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .stat { filter: none; }
}
