@font-face { font-family: "Geist"; src: url("/assets/fonts/geist.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

/* Dart Design — studio layer (2026-10-22 redesign; owner chose white and Geist). Loaded after site.css: new tokens for every page, the dark
   studio header and footer, and the components of the home, themes and theme pages. Motion uses transform and
   opacity only and stops for prefers-reduced-motion. */

:root {
  --paper: #ffffff;
  --paper-2: #f4f4f4;
  --white: #ffffff;
  --ink: #0d0d0d;
  --ink-2: #262626;
  --ink-3: #1a1a1a;
  --muted: #5f5f5f;
  --line: #e5e5e5;
  --line-dark: #2b2b2b;
  --accent: #b5340f;
  --accent-deep: #8f2709;
  --accent-soft: #f2f2f2;
  --accent-light: #ff8a63;
  --flame: #ff5a2a;
  --bone-dim: #a3a3a3;
  --serif: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

body { background: #fff; }
::selection { background: var(--flame); color: var(--ink); }
.btn { border-radius: 999px; }
.btn:hover { background: var(--flame); border-color: var(--flame); color: var(--ink); }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--flame); border-color: var(--flame); color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgb(255 255 255 / .45); color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.eyebrow { color: var(--accent); }
.logo-dot { fill: var(--flame); }

/* ---------------------------------------------------------------- header: transparent over dark heroes */
.site-header { background: rgb(255 255 255 / .9); }
.has-dark-hero .site-header { position: fixed; inset: 0 0 auto; background: transparent; color: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .3s, color .3s, border-color .3s; }
.has-dark-hero .site-header .logo, .has-dark-hero .site-header .main-nav a { color: var(--paper); }
.has-dark-hero .site-header .header-cta { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.has-dark-hero .site-header .header-cta:hover { background: var(--flame); border-color: var(--flame); }
.has-dark-hero .site-header .menu-lines, .has-dark-hero .site-header .menu-lines::before, .has-dark-hero .site-header .menu-lines::after { background: var(--paper); }
.has-dark-hero .site-header.is-scrolled { background: rgb(13 13 13 / .82); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom-color: var(--line-dark); }
.has-dark-hero .mobile-nav { background: var(--ink); }
.has-dark-hero .mobile-nav a { color: var(--paper); }
.main-nav a { transition: background-color .2s, color .2s; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] { background: #efefef; color: var(--ink); }
.has-dark-hero .site-header .main-nav a:hover, .has-dark-hero .site-header .main-nav a:focus-visible, .has-dark-hero .site-header .main-nav a[aria-current="page"] { background: #fff; color: #0d0d0d; }

/* ---------------------------------------------------------------- shared studio type */
.s-kicker { display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1.75rem; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.s-target { width: 1.6rem; height: 1.6rem; flex: none; }
.s-target circle { fill: none; stroke: currentColor; stroke-width: 1.5; }
.s-target .bull { fill: var(--flame); stroke: none; }
.s-index { display: flex; align-items: baseline; gap: 1rem; margin: 0 0 2.5rem; padding-top: 1rem; border-top: 1px solid currentColor; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.s-index b { font: 400 1rem/1 var(--serif); letter-spacing: 0; }
.s-title { font: 400 clamp(2.6rem, 6.2vw, 6rem)/.95 var(--serif); letter-spacing: -.03em; margin: 0 0 1.5rem; }
.s-title em { font-style: italic; color: var(--accent); }
.s-dark .s-title em, .s-hero .s-title em { color: var(--flame); }
.s-text { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; max-width: 34rem; color: var(--ink-2); }
.s-dark { background: var(--ink); color: var(--paper); }
.s-dark .s-text { color: var(--bone-dim); }
.s-dark .eyebrow { color: var(--accent-light); }
.s-section { padding: clamp(5rem, 10vw, 9rem) 0; }

/* ---------------------------------------------------------------- hero with the moving wall of real screens */
.s-hero { position: relative; display: grid; align-items: end; min-height: max(44rem, 100svh); padding: 9rem 0 3.5rem; overflow: hidden; background: var(--ink); color: var(--paper); isolation: isolate; }
.s-wall { position: absolute; z-index: -2; top: -18%; right: -14%; width: 74%; height: 140%; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.4vw, 1.4rem); transform: perspective(1800px) rotateX(16deg) rotateY(-10deg) rotateZ(-11deg); transform-origin: center; }
.s-wall-col { display: flex; flex-direction: column; gap: clamp(.8rem, 1.4vw, 1.4rem); will-change: transform; animation: s-wall-up var(--d, 70s) linear infinite; }
.s-wall-col:nth-child(2) { animation-direction: reverse; margin-top: -30%; }
.s-wall img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .7); background: var(--ink-3); }
@keyframes s-wall-up { to { transform: translateY(-50%); } }
.s-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--ink) 0 34%, rgb(13 13 13 / .86) 48%, rgb(13 13 13 / .25) 72%, rgb(13 13 13 / .05)), linear-gradient(0deg, var(--ink) 0, transparent 30%); }
.s-hero .s-kicker { color: var(--bone-dim); }
.s-mega { font: 400 clamp(3.6rem, 10.5vw, 10.5rem)/.86 var(--serif); letter-spacing: -.045em; margin: 0 0 2rem; max-width: 11ch; }
.s-mega em { font-style: italic; color: var(--flame); display: inline-block; }
.s-hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: #c9c9c9; max-width: 31rem; margin-bottom: 2.25rem; }
.s-hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: clamp(3rem, 7vw, 5.5rem); padding-top: 1.25rem; border-top: 1px solid var(--line-dark); font-size: .85rem; color: var(--bone-dim); }
.s-hero-foot a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--flame); }
.s-cue { display: inline-flex; align-items: center; gap: .6rem; }
.s-cue i { display: block; width: 1px; height: 2.2rem; background: linear-gradient(var(--flame), transparent); transform-origin: top; animation: s-cue 2.2s var(--ease) infinite; }
@keyframes s-cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.s-rise { opacity: 0; transform: translateY(1.6rem); animation: s-rise 1s var(--ease) forwards; animation-delay: var(--t, 0s); }
@keyframes s-rise { to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- ticker of facts */
.s-ticker { overflow: hidden; background: var(--flame); color: var(--ink); border-block: 1px solid var(--ink); }
.s-ticker-track { display: flex; width: max-content; animation: s-tick 40s linear infinite; }
.s-ticker ul { display: flex; list-style: none; }
.s-ticker li { display: flex; align-items: center; gap: 2rem; padding: 1.05rem 1rem 1.05rem 2rem; font: italic 400 clamp(1.3rem, 2.4vw, 2rem)/1 var(--serif); white-space: nowrap; }
.s-ticker li::after { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--ink); }
@keyframes s-tick { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- featured theme (case study card) */
.s-case { position: relative; }
.s-case-name { font: 400 clamp(4.5rem, 16vw, 17rem)/.8 var(--serif); letter-spacing: -.05em; margin: 0 0 .04em; position: relative; z-index: 1; pointer-events: none; }
.s-case-name em { font-style: italic; color: var(--accent); }
.s-case-stage { position: relative; display: grid; grid-template-columns: 1.25fr .55fr .9fr; gap: clamp(1rem, 2.5vw, 2.5rem); align-items: end; }
.s-case-stage figure { margin: 0; }
.s-shot { border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -40px rgb(13 13 13 / .55), 0 0 0 1px rgb(13 13 13 / .06); background: var(--white); transform: translateY(var(--py, 0)); }
.s-shot img { width: 100%; }
.s-case-phone .s-shot { border-radius: 22px; }
.s-case-side { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding-bottom: .5rem; }
.s-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.s-badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 4px rgb(255 90 42 / .2); }
.s-tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.s-tags li { padding: .35rem .8rem; border-radius: 999px; background: var(--paper-2); font-size: .85rem; }
.s-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--ink); }
.s-stats div { padding: 1.5rem 1.5rem 0 0; }
.s-stats div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.s-stats dd { margin: 0; font: 400 clamp(2.6rem, 5vw, 4.4rem)/1 var(--serif); letter-spacing: -.03em; }
.s-stats dt { margin-top: .6rem; font-size: .9rem; color: var(--muted); max-width: 16rem; }
.s-stats { display: grid; }
.s-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

/* ---------------------------------------------------------------- palette lab */
.s-lab-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.s-swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: 2.25rem; list-style: none; }
.s-swatch { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .65rem .8rem; border: 1px solid var(--line-dark); border-radius: 10px; background: transparent; color: var(--paper); font: 500 .95rem/1.2 var(--sans); text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s; }
.s-swatch:hover { border-color: var(--bone-dim); }
.s-swatch[aria-pressed="true"] { border-color: var(--flame); background: rgb(255 90 42 / .08); }
.s-dots { display: inline-flex; }
.s-dots i { width: 1.05rem; height: 1.05rem; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }
.s-dots i + i { margin-left: -.3rem; }
.s-lab-note { margin-top: 1.25rem; font-size: .85rem; color: var(--bone-dim); }

.s-browser { border-radius: 14px; overflow: hidden; background: #1c1c1c; box-shadow: 0 60px 120px -50px rgb(0 0 0 / .9), 0 0 0 1px var(--line-dark); }
.s-browser-bar { display: flex; align-items: center; gap: .45rem; padding: .7rem .9rem; }
.s-browser-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: #3a3a3a; }
.s-browser-bar span { margin-left: .8rem; flex: 1; max-width: 22rem; padding: .3rem .8rem; border-radius: 6px; background: #2a2a2a; font-size: .72rem; color: var(--bone-dim); }
.lab-store { --b: #F8F5F0; --f: #1C1916; --a: #A3522D; --af: #FFFFFF; --bd: #E2DCD3; --b2: #ECE5DA; --b3: #1C1916; --f3: #F8F5F0; --a3: #E3C28F; --af3: #1C1916;
  background: var(--b); color: var(--f); font: 400 .82rem/1.45 var(--sans); }
.lab-store, .lab-store * { transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease); }
.lab-head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.4rem; border-bottom: 1px solid var(--bd); }
.lab-head b { font: 400 1.3rem/1 var(--serif); letter-spacing: .28em; }
.lab-head nav { display: flex; gap: 1.1rem; font-size: .68rem; font-weight: 600; letter-spacing: .1em; }
.lab-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--b3); color: var(--f3); }
.lab-hero div { padding: 1.6rem 1.4rem; display: flex; flex-direction: column; justify-content: center; }
.lab-hero small { font-size: .62rem; letter-spacing: .18em; font-weight: 600; opacity: .8; }
.lab-hero strong { display: block; margin: .5rem 0 1rem; font: 400 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--serif); }
.lab-hero strong em { color: var(--a3); }
.lab-hero img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.lab-btn { align-self: flex-start; padding: .55rem 1rem; border-radius: 2px; background: var(--a3); color: var(--af3); font-size: .62rem; font-weight: 700; letter-spacing: .12em; }
.lab-band { display: flex; justify-content: space-between; align-items: baseline; padding: 1.1rem 1.4rem .6rem; }
.lab-band b { font: 400 1.1rem/1 var(--serif); }
.lab-band span { font-size: .68rem; color: var(--a); font-weight: 600; }
.lab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; padding: 0 1.4rem 1.4rem; }
.lab-grid figure { margin: 0; }
.lab-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--b2); }
.lab-grid figcaption { padding-top: .45rem; font-size: .68rem; }
.lab-grid figcaption span { display: block; font-weight: 600; }
.lab-grid .sale { color: var(--a); }
.lab-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.4rem; background: var(--b2); border-top: 1px solid var(--bd); font-size: .68rem; }
.lab-foot i { font-style: normal; padding: .4rem .8rem; background: var(--a); color: var(--af); font-weight: 700; letter-spacing: .08em; }

/* ---------------------------------------------------------------- details strip (real crops) */
.s-details-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.s-scroll-btns { display: flex; gap: .5rem; }
.s-scroll-btns button { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s; }
.s-scroll-btns button:hover { background: var(--ink); color: var(--paper); }
.s-scroll-btns button:first-child .icon { transform: scaleX(-1); }
.s-strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(17rem, 30vw, 26rem); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2.5rem var(--gutter) 1rem max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scrollbar-width: none; }
.s-strip::-webkit-scrollbar { display: none; }
.s-strip figure { margin: 0; scroll-snap-align: start; }
.s-strip .s-shot { aspect-ratio: 4 / 5; background: var(--paper-2); display: grid; place-items: center; padding: 1.25rem; box-shadow: none; border: 1px solid var(--line); transition: transform .5s var(--ease); }
.s-strip .s-shot.fill { padding: 0; }
.s-strip .s-shot img { max-height: 100%; width: auto; max-width: 100%; border-radius: 8px; box-shadow: 0 24px 50px -24px rgb(13 13 13 / .45); }
.s-strip .s-shot.fill img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 0; box-shadow: none; }
.s-strip figure:hover .s-shot { transform: translateY(-.4rem); }
.s-strip figcaption { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; padding-top: 1.1rem; }
.s-strip figcaption b { grid-row: span 2; font: italic 400 1.6rem/1 var(--serif); color: var(--accent); }
.s-strip figcaption strong { font-size: 1.02rem; }
.s-strip figcaption span { color: var(--muted); font-size: .92rem; }

/* ---------------------------------------------------------------- process */
.s-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; counter-reset: step; }
.s-steps li { position: relative; padding: 2rem 2rem 0 0; border-top: 1px solid var(--line-dark); }
.s-steps li + li { padding-left: 2rem; border-left: 1px solid var(--line-dark); }
.s-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 2.5rem; font: italic 400 3.4rem/1 var(--serif); color: var(--flame); }
.s-steps h3 { font: 400 1.7rem/1.1 var(--serif); margin-bottom: .8rem; }
.s-steps p { color: var(--bone-dim); font-size: .98rem; }

/* ---------------------------------------------------------------- support call */
.s-call { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.s-call-links { display: grid; gap: .75rem; }
.s-call-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem; border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: background-color .25s, color .25s; }
.s-call-links a strong { font: 400 1.6rem/1.1 var(--serif); display: block; }
.s-call-links a small { color: var(--muted); font-size: .9rem; }
.s-call-links a:hover { background: var(--ink); color: var(--paper); }
.s-call-links a:hover small { color: var(--bone-dim); }
.s-call-links .icon { width: 1.6rem; height: 1.6rem; transition: transform .3s var(--ease); }
.s-call-links a:hover .icon { transform: translateX(.3rem) rotate(-45deg); }

/* ---------------------------------------------------------------- reveal on scroll */
.js .s-reveal { opacity: 0; transform: translateY(2.2rem); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--t, 0s); }
.js .s-reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- footer with the big wordmark */
.site-footer { background: var(--ink); color: var(--bone-dim); }
.site-footer .footer-title { color: var(--paper); }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--flame); }
.footer-mark { display: block; padding: clamp(3rem, 6vw, 5rem) var(--gutter) 0; font: 400 clamp(4rem, 21vw, 23rem)/.8 var(--serif); letter-spacing: -.055em; color: var(--paper); white-space: nowrap; overflow: hidden; text-align: center; }
.footer-mark em { color: var(--flame); }

/* ---------------------------------------------------------------- theme page and theme list */
.s-theme-hero { position: relative; padding: 9rem 0 0; overflow: hidden; }
.s-theme-hero .s-mega { max-width: none; }
.s-theme-hero .s-hero-lead { max-width: 36rem; }
.s-theme-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.s-theme-stage { position: relative; margin-top: clamp(3rem, 6vw, 5rem); height: clamp(18rem, 44vw, 40rem); }
.s-theme-stage .s-shot { position: absolute; }
.s-theme-stage .a { left: 0; width: 46%; top: 8%; }
.s-theme-stage .b { left: 31%; width: 38%; top: 0; z-index: 2; }
.s-theme-stage .c { right: 0; width: 26%; top: 14%; border-radius: 22px; }
.s-hl { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.s-hl article { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.s-hl article:nth-child(even) { grid-template-columns: .8fr 1.4fr; }
.s-hl article:nth-child(even) .s-shot { order: 2; }
.s-hl h3 { font: 400 clamp(2rem, 3.4vw, 3rem)/1 var(--serif); margin-bottom: 1rem; }
.s-hl b { display: block; margin-bottom: 1rem; font: italic 400 1.4rem/1 var(--serif); color: var(--accent); }

@media (max-width: 960px) {
  .s-wall { width: 120%; right: -40%; opacity: .45; }
  .s-hero::before { background: linear-gradient(0deg, var(--ink) 20%, rgb(13 13 13 / .6) 60%, rgb(13 13 13 / .35)); }
  .s-case-stage { grid-template-columns: 1fr .45fr; }
  .s-case-side { grid-column: 1 / -1; }
  .s-stats { grid-template-columns: repeat(2, 1fr); }
  .s-stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .s-lab-grid, .s-call, .s-theme-hero-grid { grid-template-columns: 1fr; }
  .s-steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .s-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .s-hl article, .s-hl article:nth-child(even) { grid-template-columns: 1fr; }
  .s-hl article:nth-child(even) .s-shot { order: 0; }
}
@media (max-width: 600px) {
  .s-hero { padding-top: 7rem; }
  .s-hero-foot { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .s-stats div, .s-stats div + div { padding-left: 0; border-left: 0; }
  .s-swatches { grid-template-columns: 1fr; }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-hero { grid-template-columns: 1fr; }
  .lab-head nav { display: none; }
  .s-steps { grid-template-columns: 1fr; }
  .s-steps li, .s-steps li + li { padding-left: 0; border-left: 0; }
  .s-details-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .s-wall-col, .s-ticker-track, .s-cue i { animation: none; }
  .s-rise { animation: none; opacity: 1; transform: none; }
  .js .s-reveal { opacity: 1; transform: none; transition: none; }
  .s-shot { transform: none !important; }
}

/* ---------------------------------------------------------------- other pages: editorial page heads */
.page-head { padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head .eyebrow { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--ink); color: var(--ink); letter-spacing: .14em; }
.page-head .eyebrow::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--flame); }
.page-head .display { font-size: clamp(3rem, 7.6vw, 7.2rem); line-height: .92; letter-spacing: -.04em; max-width: 16ch; }
.page-head-sm .display { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.page-head .display em { color: var(--accent); }
.side-card, .card { border-radius: var(--radius); }
.docs-toc a.is-active { color: var(--accent); }

/* ---------------------------------------------------------------- Geist display: tight, bold; accent words in color, not italic */
.s-mega, .s-case-name, .footer-mark { font-weight: 600; letter-spacing: -.065em; }
.s-title, .display, .page-head .display { font-weight: 600; letter-spacing: -.05em; }
.h1, .h2, .s-steps h3, .s-hl h3, .s-call-links a strong, .s-stats dd, .lab-head b, .lab-hero strong, .lab-band b, .prose h2, .side-card h2 { font-weight: 600; letter-spacing: -.03em; }
.s-ticker li { font-weight: 500; letter-spacing: -.02em; }
.s-steps li::before, .s-strip figcaption b, .s-hl b { font-weight: 300; }
.s-mega em, .s-title em, .s-case-name em, .footer-mark em, .display em, .h1 em, .h2 em, .page-head .display em, .logo-word em { font-style: normal; }
.s-ticker li, .s-strip figcaption b, .s-steps li::before, .s-hl b { font-style: normal; }
.s-tags li { background: #f2f2f2; }
.section-soft { background: #f6f6f6; }
/* Neutral overrides for colors fixed in site.css (no warm grays, no old blue focus ring). */
.site-footer { color: #b5b5b5; }
.footer-grid { border-bottom-color: var(--line-dark); }
.footer-title, .footer-base { color: #a3a3a3; }
.field input, .field select, .field textarea { border-color: #8a8a8a; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 0 0 3px rgb(181 52 15 / .2); }
.msg-out .msg-head time { color: #b5b5b5; }
.fact { border-left-color: var(--line-dark); }
.fact dt, .section-ink .card p { color: #c4c4c4; }
.section-ink .card { border-color: var(--line-dark); }
.section-ink .card > .icon { background: rgb(255 255 255 / .08); color: var(--flame); }
.footer-mark { font-size: clamp(3.2rem, 15.5vw, 17rem); }

/* ---------------------------------------------------------------- helpers (the site's CSP allows no inline styles) */
.t05 { --t: .05s; } .t08 { --t: .08s; } .t1 { --t: .1s; } .t15 { --t: .15s; } .t16 { --t: .16s; } .t18 { --t: .18s; }
.t24 { --t: .24s; } .t25 { --t: .25s; } .t26 { --t: .26s; } .t3 { --t: .3s; } .t36 { --t: .36s; }
.w1 { --d: 78s; } .w2 { --d: 96s; } .w3 { --d: 84s; }
.mt-0 { margin-top: 0; } .mt-sm { margin-top: 1.5rem; } .m-0 { margin: 0; } .mw-14 { max-width: 14ch; } .mw-16 { max-width: 16ch; }
.pb-0 { padding-bottom: 0; } .pb-tight { padding-bottom: clamp(2rem, 5vw, 4rem); } .pt-tight { padding-top: clamp(2rem, 4vw, 3rem); }
.block { display: block; } .plain-link { color: inherit; text-decoration: none; }
.s-mega.on-light { max-width: none; color: var(--ink); } .s-mega.on-light em { color: var(--accent); }
svg.s-dots { width: 2.9rem; height: 1.1rem; flex: none; }
svg.s-dots circle { stroke: var(--ink); stroke-width: 2; }

/* ---------------------------------------------------------------- live chat (assets/js/chat.js) */
.dd-chat-btn { position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 60; display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.2rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .95rem/1 var(--sans); box-shadow: 0 18px 40px -12px rgb(0 0 0 / .45); cursor: pointer; transition: transform .25s var(--ease), background-color .2s; }
.dd-chat-btn:hover { background: var(--flame); color: var(--ink); transform: translateY(-2px); }
.dd-chat-btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.dd-chat-open .dd-chat-btn { opacity: 0; pointer-events: none; }
.dd-chat { position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 61; display: flex; flex-direction: column; width: min(24rem, calc(100vw - 2rem)); height: min(36rem, calc(100svh - 2rem)); border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgb(0 0 0 / .55), 0 0 0 1px rgb(0 0 0 / .06); overflow: hidden; animation: dd-chat-in .3s var(--ease); }
.dd-chat[hidden] { display: none; }
@keyframes dd-chat-in { from { opacity: 0; transform: translateY(1rem) scale(.98); } }
.dd-chat-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem; background: var(--ink); color: #fff; }
.dd-chat-head strong { display: block; font-size: 1rem; letter-spacing: -.01em; }
.dd-chat-head span { font-size: .78rem; color: var(--bone-dim); }
.dd-chat-close { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.dd-chat-close:hover { background: rgb(255 255 255 / .12); }
.dd-chat-close svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dd-chat-log { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .6rem; overscroll-behavior: contain; }
.dd-msg { max-width: 86%; padding: .65rem .85rem; border-radius: 14px; font-size: .93rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.dd-msg-assistant { align-self: flex-start; background: #f2f2f2; border-bottom-left-radius: 4px; }
.dd-msg-visitor { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.dd-msg a { color: inherit; text-decoration: underline; }
.dd-chat-typing { display: flex; gap: .3rem; padding: 0 1.1rem .6rem; }
.dd-chat-typing[hidden] { display: none; }
.dd-chat-typing i { width: .45rem; height: .45rem; border-radius: 50%; background: #9a9a9a; animation: dd-dot 1.2s infinite ease-in-out; }
.dd-chat-typing i:nth-child(2) { animation-delay: .15s; } .dd-chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dd-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.dd-chat-error { margin: 0 1.1rem .6rem; padding: .55rem .75rem; border-radius: 10px; background: #fdecea; color: #8f2709; font-size: .85rem; }
.dd-chat-error[hidden], .dd-chat-start[hidden], .dd-chat-send[hidden], .dd-chat-new[hidden] { display: none; }
.dd-chat-start { padding: 0 1.1rem 1.1rem; display: grid; gap: .55rem; }
.dd-chat-intro { margin: 0 0 .4rem; font-size: .9rem; color: var(--muted); }
.dd-chat-start label { font-size: .85rem; font-weight: 600; }
.dd-chat-start input, .dd-chat-send textarea { width: 100%; padding: .7rem .85rem; border: 1.5px solid #d4d4d4; border-radius: 10px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink); }
.dd-chat-start input:focus-visible, .dd-chat-send textarea:focus-visible { outline: none; border-color: var(--ink); }
.dd-chat-start .btn { justify-self: start; }
.dd-chat-links { margin: .3rem 0 0; font-size: .8rem; color: var(--muted); }
.dd-chat-links a { color: var(--ink); }
.dd-chat-send { display: flex; gap: .5rem; align-items: flex-end; padding: .75rem 1.1rem 1rem; border-top: 1px solid var(--line); }
.dd-chat-send textarea { resize: none; max-height: 8rem; }
.dd-chat-go { flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; }
.dd-chat-go:hover { background: var(--flame); color: var(--ink); }
.dd-chat-go:disabled { opacity: .4; cursor: default; }
.dd-chat-go svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dd-chat-new { margin: 0 1.1rem 1rem; padding: .6rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; font: 600 .9rem/1 var(--sans); cursor: pointer; }
@media (max-width: 600px) {
  .dd-chat { right: 0; bottom: 0; width: 100vw; height: min(100svh, 40rem); border-radius: 18px 18px 0 0; }
  .dd-chat-btn span { display: none; }
  .dd-chat-btn { padding: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .dd-chat, .dd-chat-typing i { animation: none; } }
