/* Factory theme: fonts, tokens, base, header, footer. Ported from design/prototypes/src/v5-factory-home.html. */
@font-face{font-family:"Druk Text Wide";src:url(../fonts/druk-text-wide-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Swiss 721";src:url(../fonts/swiss721-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Swiss 721";src:url(../fonts/swiss721-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Swiss 721";src:url(../fonts/swiss721-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Archivo";src:url(../fonts/archivo-latin-ext.woff2) format("woff2");font-weight:400 900;font-stretch:62% 125%;font-style:normal;font-display:swap;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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Archivo";src:url(../fonts/archivo-latin.woff2) format("woff2");font-weight:400 900;font-stretch:62% 125%;font-style:normal;font-display:swap;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:"Archivo";src:url(../fonts/archivo-italic-latin-ext.woff2) format("woff2");font-weight:400 900;font-stretch:62% 125%;font-style:italic;font-display:swap;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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Archivo";src:url(../fonts/archivo-italic-latin.woff2) format("woff2");font-weight:400 900;font-stretch:62% 125%;font-style:italic;font-display:swap;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:"Instrument Serif";src:url(../fonts/instrument-serif-italic-latin-ext.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap;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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Instrument Serif";src:url(../fonts/instrument-serif-italic-latin.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap;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}
:root {
  --yellow: #FEA800; --yellow-200: #FFD27A; --yellow-30: #B27600; --blue: #4440FF; --blue-300: #8E8BFF;
  --ink-0: #0B0B0C; --ink-1: #141414; --ink-2: #1B1B1E; --ink-3: #242428; --paper: #FAFAF7;
  --fg: #F4F3EF; --fg-2: rgba(244,243,239,0.72); --fg-3: rgba(244,243,239,0.5);
  --line: rgba(244,243,239,0.09); --line-2: rgba(244,243,239,0.18);
  --glass-edge: rgba(255,255,255,0.14); --glass-hi: rgba(255,255,255,0.28);
  --f-display: "Druk Text Wide", "Archivo", "Arial Black", sans-serif;
  --f-cond: "Archivo", "Arial Narrow", sans-serif;
  --f-accent: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-text: "Swiss 721", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease-factory: cubic-bezier(0.85, 0, 0.15, 1); --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1240px; --gut: max(16px, env(safe-area-inset-left, 0px));
  /* Type scale. Display (Druk): h1, h2. Condensed (Archivo): h3 in three sizes. Text (Swiss): xl, lead, body, sm, xs. */
  --fs-h1: clamp(28px, 4.2vw, 58px); --fs-h1-long: clamp(26px, 3.6vw, 50px);
  --fs-h2: clamp(24px, 3.2vw, 44px); --fs-h2-side: clamp(22px, 2.6vw, 36px);
  --fs-h3-l: clamp(28px, 3vw, 40px); --fs-h3: 26px; --fs-h3-s: 22px;
  --fs-xl: clamp(21px, 2.3vw, 30px); --fs-lead: clamp(18px, 1.5vw, 21px); --fs-body: 17px; --fs-sm: 15px; --fs-xs: 13px;
  /* Spacing: a full section, a section that continues the one before it, the gap under a section heading. */
  --sp-sec: clamp(72px, 9vw, 128px); --sp-tight: clamp(28px, 3.5vw, 48px); --sp-head: clamp(36px, 5vw, 64px);
  --card-pad: 26px; --card-gap: 16px; --col-text: 46rem;
  --on-paper-2: rgba(20,20,20,0.74); --on-paper-3: rgba(20,20,20,0.66); --paper-line: rgba(20,20,20,0.2); --danger: #ff6b5e;
  /* Breakpoints used across the theme: 1180 (wide layouts), 960 (tablet), 600 (phone); 1300 only for the decorative rails. */
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink-0); color: var(--fg); font-family: var(--f-text); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.paper :focus-visible { box-shadow: 0 0 0 5px var(--ink-1); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink-1); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); position: relative; }

.grain { position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }

/* ---------- Type ---------- */
.lbl { font-family: var(--f-cond); font-stretch: 62%; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 15px; line-height: 1.2; color: var(--fg-2); }
.h2 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
/* Accent word in headings: serif italic next to Druk. Set larger than Druk because its lowercase is lower than Druk capitals; line-height 0 keeps the heading line height. */
.it { font-family: var(--f-accent); font-style: italic; font-weight: 400; font-size: 1.44em; line-height: 0; text-transform: none; letter-spacing: -0.01em; color: var(--yellow); }
.num { font-variant-numeric: tabular-nums; }
.more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-cond); font-stretch: 100%; font-weight: 700; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; color: var(--fg); padding-block: 6px; box-shadow: inset 0 -1px 0 var(--line-2); transition: box-shadow .2s, color .2s; }
.more:hover { box-shadow: inset 0 -2px 0 var(--yellow); }
.more .ar, .btn .ar { transition: transform .35s var(--ease-out); }
.more:hover .ar, .btn:hover .ar { transform: translateX(3px); }

/* ---------- Buttons (brandbook) ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 24px; border: 1px solid transparent; font-family: var(--f-cond); font-stretch: 100%; font-weight: 700; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, border-color .25s, color .25s; }
.btn--y { background: linear-gradient(180deg, #FFB929, #FEA800 55%, #E59700); color: var(--ink-1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 0 0 1px rgba(254,168,0,0.4), 0 8px 30px -8px rgba(254,168,0,0.6); }
.btn--y:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 0 0 1px rgba(254,168,0,0.6), 0 12px 44px -6px rgba(254,168,0,0.85); }
.btn--line { border-color: var(--line-2); color: var(--fg); background: transparent; }
.btn--line:hover { border-color: var(--fg-2); }

/* ---------- Header: solid ink, no glass ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--ink-0); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.top .brand { display: block; flex: none; color: var(--fg); }
.top .logo { display: block; width: 118px; height: auto; }
.top .btn { --h: 40px; padding: 0 16px; font-size: 13px; flex: none; }
@media (max-width: 960px) { .top .logo { width: 104px; } }

/* ---------- Sections, rails, folio ---------- */
.sec { position: relative; isolation: isolate; padding-block: var(--sp-sec); border-top: 1px solid var(--line); overflow: hidden; }
/* Rails: dashed guides on the content edges, + where they cross the section divider */
@media (min-width: 1300px) {
  .sec::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: var(--wrap); transform: translateX(-50%); border-inline: 1px dashed rgba(244,243,239,0.13); pointer-events: none; }
  .sec::after { content: ""; position: absolute; top: -7px; left: 50%; width: calc(var(--wrap) + 13px); height: 13px; transform: translateX(-50%); pointer-events: none;
    background: linear-gradient(var(--yellow), var(--yellow)) 6px 0 / 1px 13px no-repeat, linear-gradient(var(--yellow), var(--yellow)) 0 6px / 13px 1px no-repeat,
                linear-gradient(var(--yellow), var(--yellow)) calc(100% - 6px) 0 / 1px 13px no-repeat, linear-gradient(var(--yellow), var(--yellow)) 100% 6px / 13px 1px no-repeat; }
  .paper.sec::before { border-inline-color: rgba(20,20,20,0.16); }
}
.folio { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.folio::after { content: ""; order: 2; flex: 1; height: 1px; background: var(--line-2); transform: translateY(-4px); }
.folio .more { order: 3; }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px 24px; margin-bottom: var(--sp-head); }
.head .h2 { grid-column: 1 / span 8; }
.head p { grid-column: 9 / -1; align-self: end; color: var(--fg-2); }
@media (max-width: 960px) { .head .h2, .head p { grid-column: 1 / -1; } }

/* Crop marks (press sheet detail) */
.crop { position: relative; }
.crop > i { position: absolute; width: 0; height: 0; pointer-events: none; }
.crop > i::before, .crop > i::after { content: ""; position: absolute; background: rgba(244,243,239,0.4); }
.crop > i::before { width: 12px; height: 1px; top: 0; } .crop > i::after { width: 1px; height: 12px; left: 0; }
.crop > i:nth-of-type(1) { top: 0; left: 0; } .crop > i:nth-of-type(1)::before { left: -16px; } .crop > i:nth-of-type(1)::after { top: -16px; }
.crop > i:nth-of-type(2) { top: 0; right: 0; } .crop > i:nth-of-type(2)::before { left: 4px; } .crop > i:nth-of-type(2)::after { top: -16px; }
.crop > i:nth-of-type(3) { bottom: 0; left: 0; } .crop > i:nth-of-type(3)::before { left: -16px; } .crop > i:nth-of-type(3)::after { top: 4px; }
.crop > i:nth-of-type(4) { bottom: 0; right: 0; } .crop > i:nth-of-type(4)::before { left: 4px; } .crop > i:nth-of-type(4)::after { top: 4px; }
@media (max-width: 1300px) { .crop > i { display: none; } }

/* Traces */
.tr { fill: none; stroke: rgba(254,168,0,0.42); stroke-width: 1; }
.tr--dim { stroke: rgba(244,243,239,0.12); }
.pulse { fill: none; stroke: var(--yellow-200); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 26 974; stroke-dashoffset: 1000; animation: run 6s linear infinite; filter: drop-shadow(0 0 6px rgba(254,168,0,0.9)); }
@keyframes run { to { stroke-dashoffset: 0; } }
/* ---------- Footer: closing call to action, then logo + four menus, then the legal line ---------- */
.foot { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-block: var(--sp-sec) 26px; background: var(--ink-0); }
.foot::before { content: ""; position: absolute; inset: auto 0 0 0; height: 75%; pointer-events: none;
  background: radial-gradient(55% 85% at 62% 100%, rgba(254,168,0,0.24), transparent 70%), radial-gradient(42% 75% at 6% 100%, rgba(68,64,255,0.28), transparent 70%); }
.foot::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--yellow) 60%, transparent); }
.foot--plain { padding-top: 0; }
.foot--plain .foot__nav { border-top: 0; padding-top: var(--sp-head); }
.foot__cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; padding-bottom: var(--sp-head); }
.foot__h { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.035em; max-width: 17ch; }
.foot__act { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot__mail { font-size: var(--fs-body); font-weight: 500; text-decoration: none; padding-block: 3px; box-shadow: inset 0 -1px 0 var(--line-2); }
.foot__mail:hover { box-shadow: inset 0 -2px 0 var(--yellow); }
.foot__nav { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 4fr); gap: 36px 24px; padding-block: 36px 52px; border-top: 1px solid var(--line-2); }
.foot__id { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.foot__brand { display: block; color: var(--fg); }
.foot__brand .logo { display: block; width: 124px; height: auto; }
.foot__g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.foot__g .lbl { margin-bottom: 14px; color: var(--fg-3); }
.foot__g a { display: inline-block; padding-block: 5px; text-decoration: none; color: var(--fg-2); font-size: var(--fs-sm); line-height: 1.4; }
.foot__g a:hover { color: var(--fg); box-shadow: inset 0 -1px 0 var(--yellow); }
.foot__folio { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--fs-xs); line-height: 1.5; color: var(--fg-3); }
.foot__cookies { margin-left: 16px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot__cookies:hover { color: var(--yellow); }
.foot__soc { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.foot__soc a { display: inline-block; padding-block: 4px; text-decoration: none; font-family: var(--f-cond); font-weight: 700; font-size: var(--fs-xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-2); }
.foot__soc a:hover { color: var(--yellow); }
@media (max-width: 960px) { .foot__cta, .foot__nav { grid-template-columns: minmax(0, 1fr); } .foot__soc { margin-left: 0; } }
@media (max-width: 600px) { .foot__g { grid-template-columns: 1fr 1fr; } }

/* ---------- Light (paper) sections ---------- */
.paper { color: var(--ink-1); background: radial-gradient(60% 70% at 0% 0%, #FFE7B0 0%, rgba(255,231,176,0) 70%), radial-gradient(60% 70% at 100% 100%, #DCDBFF 0%, rgba(220,219,255,0) 70%), var(--paper); border-top: 0; }
.paper .lbl { color: var(--on-paper-3); }
.paper .folio::after { background: var(--paper-line); }
.paper .it { color: var(--yellow-30); }
.paper .more { color: inherit; box-shadow: inset 0 -1px 0 rgba(20,20,20,0.3); }
.paper .crop > i::before, .paper .crop > i::after { background: rgba(20,20,20,0.4); }
.paper .btn--line { border-color: rgba(20,20,20,0.4); color: var(--ink-1); }
.paper .btn--line:hover { border-color: var(--ink-1); }

/* ---------- Plain pages (no blocks yet) ---------- */
.plain { padding-block: clamp(56px, 7vw, 104px); }
.plain h1 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: var(--fs-h1); line-height: 0.96; letter-spacing: -0.035em; margin-bottom: 28px; }
.plain .entry { max-width: 72ch; display: grid; gap: 18px; color: var(--fg-2); }
.plain .entry a { box-shadow: inset 0 -1px 0 var(--yellow); text-decoration: none; color: var(--fg); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .for .ind i { color: var(--fg-2); }
  .pulse { display: none; }
}

/* A heading that is a whole sentence is set smaller (class added by blocks whose heading may be long). */
.h2--xl { font-size: var(--fs-h2-side); line-height: 1.04; }

/* ---------- Running text (core blocks inside a group with class fd-prose): legal pages, later articles ---------- */
.fd-prose { max-width: var(--wrap); margin-inline: auto; padding: clamp(48px, 6vw, 88px) var(--gut); border-top: 1px solid var(--line); }
.fd-prose > * { max-width: var(--col-text); }
.fd-prose > * + * { margin-top: 1em; }
.fd-prose p, .fd-prose li { color: var(--fg-2); }
.fd-prose strong { color: var(--fg); }
.fd-prose h2, .fd-prose h3, .fd-prose h4 { color: var(--fg); scroll-margin-top: 96px; }
.fd-prose h2 { font-size: var(--fs-h3-l); margin-top: 1.8em; }
.fd-prose h3 { font-size: var(--fs-h3); margin-top: 1.5em; }
.fd-prose h4 { font-size: var(--fs-h3-s); margin-top: 1.3em; }
.fd-prose > :first-child { margin-top: 0; }
.fd-prose ul, .fd-prose ol { display: grid; gap: 8px; padding-left: 0; }
.fd-prose ol { list-style: decimal; padding-left: 1.4em; }
.fd-prose ul > li { padding-left: 20px; position: relative; }
.fd-prose ul > li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 9px; height: 1px; background: var(--yellow); }
.fd-prose a { color: var(--fg); text-decoration: none; box-shadow: inset 0 -1px 0 var(--yellow); }
.fd-prose a:hover { box-shadow: inset 0 -2px 0 var(--yellow); }
.fd-prose figure { margin-inline: 0; max-width: none; overflow-x: auto; }
.fd-prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.fd-prose td, .fd-prose th { border: 1px solid var(--line-2); padding: 10px 12px; vertical-align: top; color: var(--fg-2); text-align: left; }
.fd-prose tr:first-child td, .fd-prose th { color: var(--fg); font-weight: 700; background: var(--ink-2); }
.fd-prose .wp-block-image { margin: 1.6em 0; }
.fd-prose .wp-block-image img { width: 100%; height: auto; border: 1px solid var(--line-2); background: #fff; }
.fd-prose .wp-block-image figcaption { margin-top: 10px; color: var(--fg-3); font-size: var(--fs-sm); line-height: 1.45; }
/* Bundle docs screenshots: never larger than the file itself (no blurry upscaling). Tall ones (plugin panel,
   class is-portrait from the import) take half the column and sit side by side when two follow each other. */
.docs__body .wp-block-image img { width: auto; max-width: 100%; }
.docs__zoom { display: inline-block; max-width: 100%; cursor: zoom-in; }
.docs__zoom:hover img, .docs__zoom:focus-visible img { border-color: var(--yellow); }
.docs__body .wp-block-image.is-portrait { display: inline-block; vertical-align: top; width: calc(50% - 18px); margin-right: 24px; }
.docs__body .wp-block-image.is-portrait + .wp-block-image.is-portrait { margin-right: 0; }
@media (max-width: 600px) { .docs__body .wp-block-image.is-portrait { display: block; width: auto; margin-right: 0; } }
.fd-prose .fd-caption { font-size: var(--fs-xs); color: var(--fg-3); margin-top: -0.8em; }
.fd-prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 2px solid var(--yellow); }
.fd-prose blockquote p { color: var(--fg); font-size: 1.1em; }
.fd-prose code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--fg); }
/* Code blocks (core/code). Fixed dark colours, so they look the same on the light bundle pages.
   assets/js/code.js wraps each block in .fd-code with a header (file name, language, Copy) and colours the syntax. */
.wp-block-code, .fd-code { --c-bg: #141414; --c-head: #1B1B1E; --c-line: rgba(244,243,239,0.12); --c-fg: #F4F3EF; --c-fg-2: rgba(244,243,239,0.72); --c-fg-3: rgba(244,243,239,0.55); }
pre.wp-block-code { margin: 1.2em 0; padding: 16px 18px; background: var(--c-bg); border: 1px solid var(--c-line); border-left: 2px solid #FEA800; border-radius: 0; overflow-x: auto; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--c-fg); tab-size: 4; -webkit-text-size-adjust: 100%; }
pre.wp-block-code code { font: inherit; color: inherit; background: none; padding: 0; white-space: pre; }
.fd-prose .fd-code-title { margin: 1.2em 0 0; padding: 8px 18px; background: #1B1B1E; border: 1px solid rgba(244,243,239,0.12); border-bottom: 0; border-left: 2px solid #FEA800; font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgba(244,243,239,0.72); }
.fd-prose .fd-code-title + pre.wp-block-code { margin-top: 0; }
.fd-code { margin: 1.4em 0; border: 1px solid var(--c-line); border-left: 2px solid #FEA800; background: var(--c-bg); }
.fd-code pre.wp-block-code { margin: 0; border: 0; }
.fd-code__head { position: relative; display: flex; align-items: center; gap: 14px; min-height: 40px; padding: 0 0 0 18px; background: var(--c-head); border-bottom: 1px solid var(--c-line); }
.fd-code__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--c-fg-2); }
.fd-code__lang { flex: none; font-family: var(--f-cond); font-stretch: 62%; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #FEA800; }
.fd-code__copy { flex: none; align-self: stretch; min-width: 76px; padding: 0 14px; border: 0; border-left: 1px solid var(--c-line); border-radius: 0; background: transparent; color: var(--c-fg); font-family: var(--f-cond); font-stretch: 100%; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.fd-code__copy:hover { background: rgba(244,243,239,0.06); }
.fd-code__copy:focus-visible { outline: 2px solid #FEA800; outline-offset: -2px; }
.fd-code__copy.is-done { color: #FEA800; }
.fd-code__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Syntax colours (highlight.js classes): yellow leads, blue is the smaller accent. */
.hljs-keyword, .hljs-literal, .hljs-selector-tag, .hljs-name, .hljs-meta .hljs-keyword, .hljs-doctag { color: #FEA800; }
.hljs-string, .hljs-regexp, .hljs-link, .hljs-template-tag, .hljs-addition { color: #FFD27A; }
.hljs-number, .hljs-attr, .hljs-attribute, .hljs-property, .hljs-symbol, .hljs-variable.language_, .hljs-selector-class, .hljs-selector-id { color: #8E8BFF; }
.hljs-title, .hljs-title.function_, .hljs-title.class_, .hljs-type, .hljs-built_in, .hljs-section { color: #FFFFFF; font-weight: 600; }
.hljs-comment, .hljs-quote, .hljs-deletion { color: var(--c-fg-3); }
.hljs-meta, .hljs-punctuation, .hljs-params, .hljs-subst, .hljs-variable, .hljs-tag { color: var(--c-fg-2); }
.hljs-emphasis { font-style: italic; }
.hljs-strong { font-weight: 700; }
/* A video block placed inside running text loses its own section frame. */
.fd-prose > .sec { padding: 0; border: 0; overflow: visible; }
.fd-prose > .sec::before, .fd-prose > .sec::after { content: none; }
.fd-prose > .sec .wrap { padding: 0; }
/* Two running-text blocks in a row read as one. */
.fd-prose + .fd-prose { border-top: 0; padding-top: 0; }

/* ---------- Condensed headings: one definition for every card, row and band title ---------- */
.ben__i h2, .ben__i h3, .bnd__txt h3, .card h2, .card h3, .row h2, .code__grp h3, .ctab h2, .exp__n h3, .exp__b h3, .fam h2, .lcard strong, .row h3, .dindex__g h2,
.mega__promo-h, .bnav__name, .hub__fam b, .fd-prose h2, .fd-prose h3, .fd-prose h4 { font-family: var(--f-cond); font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: 1.04; }

/* ---------- Section rhythm ---------- */
/* A section without a heading of its own (a figure, a video, a bare passage) continues the section before it:
   no divider, no crosses, and the two sit closer together. */
.sec--bare { border-top: 0; padding-top: var(--sp-tight); }
.sec--bare::after { content: none; }
.sec:not(.paper):has(+ .sec--bare), .fd-prose:has(+ .sec--bare), .sec--bare:has(+ .fd-prose) { padding-bottom: var(--sp-tight); }
.sec--bare + .fd-prose { border-top: 0; padding-top: var(--sp-tight); }
/* After a hero, a band, the logo strip or a light section there is no shared background to continue, so it gets more air. */
.phero + .sec--bare, .ctab + .sec--bare, .clients + .sec--bare, .paper + .sec--bare { padding-top: calc(var(--sp-sec) * 0.6); }
/* Testimonials in a row read as one group. */
.sec--quote + .sec--quote { border-top: 0; padding-top: var(--sp-tight); }
.sec--quote + .sec--quote::after { content: none; }
.sec--quote:has(+ .sec--quote) { padding-bottom: var(--sp-tight); }

/* ---------- Section tones ---------- */
.sec--raised { background: var(--ink-1); }
/* Blue glow from the top-left corner. Only the first such section on a page shows it; the rest stay plain. */
.caps { background: radial-gradient(60% 70% at 0% 0% in oklab, rgba(68,64,255,0.34) 0%, rgba(68,64,255,0.26) 8.4%, rgba(68,64,255,0.19) 16.9%, rgba(68,64,255,0.135) 25.3%, rgba(68,64,255,0.09) 33.8%, rgba(68,64,255,0.055) 42.2%, rgba(68,64,255,0.03) 50.7%, rgba(68,64,255,0.012) 59.1%, rgba(68,64,255,0.003) 67.6%, rgba(68,64,255,0) 76%), var(--ink-0); }
.caps ~ .caps { background: var(--ink-0); }
/* Two light sections in a row share one sheet: the second picks up the lavender where the first one ended. */
.paper + .paper { background: radial-gradient(60% 50% at 100% 0%, #DCDBFF 0%, rgba(220,219,255,0) 70%), var(--paper); }
.paper + .paper::after { content: none; }
.paper + .paper { padding-top: 0; }

/* ---------- Long text with a side column (articles, project pages, legal pages) ---------- */
.lf { border-top: 1px solid var(--line); }
.lf__g { display: grid; grid-template-columns: minmax(0, var(--col-text)) minmax(0, 280px); justify-content: space-between; gap: 40px 64px; max-width: var(--wrap); margin-inline: auto; padding: calc(var(--sp-sec) * 0.6) var(--gut) var(--sp-sec); }
.lf--solo .lf__g { grid-template-columns: minmax(0, var(--col-text)); justify-content: start; }
.lf__main > * + * { margin-top: clamp(28px, 3vw, 44px); }
.lf__main > .fd-prose { max-width: none; margin-inline: 0; padding: 0; border: 0; }
.lf__main > .fd-prose > * { max-width: none; }
.lf__main > .sec { padding: 0; border: 0; overflow: visible; }
.lf__main > .sec::before, .lf__main > .sec::after { content: none; }
.lf__main > .sec .wrap { padding: 0; max-width: none; }
.lf__side { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 130px); overflow-y: auto; padding-left: 24px; border-left: 1px solid var(--line-2); font-size: var(--fs-sm); }
.lf__side .lbl { margin-bottom: 10px; color: var(--fg-3); }
.lf__side a { display: block; padding: 5px 0; color: var(--fg-2); text-decoration: none; line-height: 1.35; }
.lf__side a:hover { color: var(--fg); box-shadow: none; }
.lf__side li + li { border-top: 1px solid var(--line); }
.phero + .lf, .alead + .lf, .sec--bare + .lf { border-top: 0; }
@media (max-width: 960px) {
  .lf__g { grid-template-columns: minmax(0, 1fr); }
  .lf__side { position: static; order: -1; max-height: none; padding: 0 0 20px; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Icons (assets/icons/, fd_icon()) ----------
   24 × 24 grid, one line weight, square ends and sharp corners. The line takes the text colour; the one part marked
   class="a" is the yellow detail, class="f" is a filled dot. Prototype: design/prototypes/v7-ikone.html, variant B. */
.ico { display: block; width: 48px; height: 48px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; color: var(--fg); }
.ico .a { stroke: var(--yellow); }
.ico .f { fill: currentColor; stroke: none; }
.ico .f.a { fill: var(--yellow); }
.fd-light main .ico .a { stroke: var(--yellow-30); }
.fd-light main .ico .f.a { fill: var(--yellow-30); }

/* ---------- Motion on scroll ----------
   Icons draw their lines (the yellow detail last) and cards, benefit items and diagrams rise into place as they
   scroll into view. Pure CSS (scroll-driven animations, no script): browsers without them and visitors who ask for
   less motion see everything at rest. A block with its own entrance (the card explorer) overrides these. */
@keyframes ico-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ico-fill { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ico { view-timeline: --ico; }
    .ico :is(path, circle):not(.f) { stroke-dasharray: 1; animation: ico-draw linear both; animation-timeline: --ico; animation-range: entry 30% cover 40%; }
    .ico .a:not(.f) { animation-range: entry 70% cover 50%; }
    .ico .f { animation: ico-fill linear both; animation-timeline: --ico; animation-range: entry 80% cover 50%; }
    :is(.card, .ben__i, .hub__viz, .tick) { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
