/* =====================================================================
   Firestarter hero concepts · shared.css · rev C (10 Sep 2026)

   The page is one sheet set on white paper. The 1200px measure is drawn
   as two column rules that run from the masthead to the foot of the
   design, and every other line on the page is a rule that meets them:
   the masthead rule, one rule that opens each band, the dividers
   between cells, the rows of a list. A band or a cell opens with a
   folio: a 40px running head that hangs from the rule above it and
   closes with its own rule. Content lives in cells, not cards. No
   texture, no glow, no shadow, no gradient fill. Type carries the rest.
   ===================================================================== */

/* Asta Sans from this site, not from Google (SIL Open Font License, fonts/OFL.txt): the Latin subset,
   one variable file for every weight. Google's stylesheet also lists the Korean subsets, 287 KB of CSS
   that held up the first paint, and it sent every visitor's address to Google before the cookie choice.
   Every page preloads the file. It is cached for a year, so a new version gets a new name. The weights
   stop at 700, as Google's faces did, although the file goes to 800. */
@font-face{font-family:'Asta Sans';font-style:normal;font-weight:300 700;font-display:swap;src:url(fonts/asta-sans-latin-v3.woff2) format('woff2')}

:root{
  /* Brand */
  --smoke:#F9F6F3;
  --white:#FFFFFF;
  --charcoal:#1A0C00;
  --ember:#EC5E2D;

  /* Warm neutrals (brandbook neutral scale, light to dark) */
  --n2:#FDFDFC; --n3:#F6F5F4; --n4:#F3F1EF; --n5:#DDDBD9; --n6:#C6C2BD;
  --n7:#9A948D; --n8:#6E6156; --n9:#5A4F44; --n10:#403226; --n11:#382B1E; --n12:#1A0C00;

  /* Primary scale (UI tokens) */
  --p50:#FDEFEA; --p100:#F9CDBE; --p200:#F6B59E; --p500:#EC5E2D;
  --p600:hsl(16 69% 50%); --p700:hsl(15 68% 39%); --p800:hsl(15 68% 30%);

  /* Brand gradient stops (135°), used only as a 15% tint on the soft panel */
  --g1:#F5A543; --g2:#EF8139; --g3:#E95D2E; --g4:#A233EC;

  /* Colleague tokens: markers only, never type on light ground */
  --milan:#FF8000; --vera:#FFD400; --noor:#F54343; --felix:#9747FF;   /* as in the app's Pulse (10 Sep 2026): Milan orange, Vera yellow */

  /* Roles: paper, stock, ink, one rule value */
  --paper:var(--white);        /* surfaces: cards, screens, avatars, portrait cells */
  --ground:var(--smoke);       /* the ground under the designs: secondary/50 */
  --stock:var(--white);   /* no tinted fills anywhere: the app has none either. Smoke stays a brand token, unused on the site */
  --ink:var(--charcoal);
  --rule:rgba(26,12,0,.10);
  --rule-strong:rgba(26,12,0,.22);
  --rule-hover:rgba(26,12,0,.44);
  --line:var(--rule);                 /* alias, retire after the review */
  --line-strong:var(--rule-strong);   /* alias, retire after the review */
  --text:var(--ink);
  --text-2:var(--n9);
  --text-3:var(--n8);   /* 13px labels on white need n8 for 4.5:1 */
  --focus:var(--ember);

  /* The one dark field per viewport: the brandbook's dark theme on Charcoal (primary/700 retired, 11 Sep) */
  --field:var(--n12);              /* dark/bg in the brandbook: Charcoal */
  --on-field:#FDFDFD;              /* dark/text */
  --on-field-2:var(--n6);          /* dark/text secondary */
  --on-field-rule:rgba(253,253,253,.10);   /* dark/border */
  --on-field-stock:var(--n11);     /* dark/surface, one step up from the field */
  --on-field-stock-hover:var(--n10);       /* dark/elevated */
  --on-field-hover:var(--n5);      /* the light button on the field, hovered */

  /* Ember mixed into Smoke, for the hero's dot surface. Flat values, because
     canvas fills cannot read color-mix(). Equal to 22% and 55% Ember on #F9F6F3. */
  /* the duotone the customer photos land on: warm black in the shadows,
     the page's own cream in the highlights */
  --photo-shade:var(--charcoal);   /* the shadows lift to Charcoal */
  --photo-cream:var(--app-border); /* the highlights settle on the sand from the app */

  --ember-22:#F6D5C7;
  --ember-55:#F2A286;

  /* Product UI tokens (measured in the Figma app screens and the brandbook, 10 Sep 2026) */
  --app-bg:#F9F6F3;            /* Surface/background */
  --app-card:#FFFFFF;          /* Surface/foreground */
  --app-border:#EDE2DA;        /* Border/default */
  --app-border-harsh:#E4D5C9;  /* Border/harsh */
  --app-shadow:0 1px 2px rgba(0,0,0,.05);
  --app-link:#4945FF;          /* text links with an arrow in Pulse */
  --app-suggest-bg:#F9F6F3;    /* the suggestion row ground in a Pulse briefing: Surface/background, confirmed by Pieter */
  --app-on-colour:#FFFFFF;     /* initials on a colleague colour */
  --app-dash:var(--g2);        /* the short orange dash before a section label */
  --app-text:#000000;          /* Text/primary in the product */
  --app-text-2:#5B5045;        /* Text/secondary */
  --app-text-3:#9A938C;        /* Text/tertiary */
  --status-active-bg:#BAEDD8;--status-active-fg:#126D47;   /* success/800: 4.9:1 on success/100; the brandbook's #178C5C is 3.3:1 */
  --status-open-bg:#EDE2DA;--status-open-fg:#564338;
  --status-scheduled-bg:#D5E9FF;--status-scheduled-fg:#184998;
  --status-done-bg:#1A0C00;--status-done-fg:#FDFDFD;
  --badge-light-bg:#F2F1F0;--badge-light-fg:#6D6359;
  --r-app:8px;--r-app-sm:4px;         /* aliases into the scale below, kept for the app fragments */

  /* Components */
  --btn-primary-bg:var(--ink);
  --btn-primary-fg:var(--paper);
  --btn-primary-bg-hover:var(--n10);
  --btn-secondary-line:var(--rule-strong);
  --btn-secondary-line-hover:var(--rule-hover);
  --control-bg-on:var(--white);
  /* Radius scale. Six steps, nothing in between. Each surface picks a step,
     and a surface nested inside another takes the step below it. */
  --r-xs:4px;          /* marks inside a surface: bars, swatches, chips under 20px */
  --r-sm:8px;          /* product surfaces: app cards, rows, controls under 44px */
  --r-md:16px;         /* buttons (Figma: 50px tall), inputs, logo tiles, cards */
  --r-lg:24px;         /* panels and large cards */
  --r-xl:32px;         /* full-bleed fields */
  --r-pill:999px;      /* pills, tabs and anything round */
  --r-btn:var(--r-md); /* Figma component: 50px tall, 16px radius */
  --r-control:var(--r-sm);

  /* The measure */
  --container:1200px;
  --edge:24px;         /* minimum distance from the viewport to a column rule */
  --inset:32px;        /* one horizontal inset: logo, hero text, cell text, titles */
  --nav-h:80px;
  --folio-h:40px;

  /* Rhythm */
  --s-1:8px; --s-2:16px; --s-3:24px; --s-4:32px; --s-6:48px; --s-8:64px; --s-10:80px; --s-12:96px;
  --lh-small:20px; --lh-body:24px; --lh-lede:28px; --lh-h3:32px;

  --ease:cubic-bezier(.22,1,.36,1);
  --ease-soft:cubic-bezier(.4,0,.2,1);
}
@media (max-width:720px){:root{--edge:16px;--inset:20px}}

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{
  font-family:'Asta Sans',system-ui,-apple-system,sans-serif;
  font-size:16px;line-height:var(--lh-body);color:var(--text);background:var(--ground);
  overflow-x:hidden;min-height:100vh;display:flex;flex-direction:column;
}
main{flex:none}
.notes{flex:1}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ul,ol{list-style:none}
/* one focus ring everywhere: the element keeps its own corner, the ring follows it */
:focus-visible{outline:2px solid var(--focus);outline-offset:3px}

/* ---------- the measure ----------
   .frame (masthead) and .page are the same 1200px column, drawn: their
   left and right borders are the column rules. The rules run through the
   masthead and cross the masthead rule, like construction lines, instead
   of starting under it as the edge of a box. */
.frame,.page{
  width:min(var(--container),calc(100% - 2 * var(--edge)));
  margin:0 auto;
  border-left:1px solid var(--rule);border-right:1px solid var(--rule);
}
.page{position:relative}
.inset{padding-left:var(--inset);padding-right:var(--inset)}

/* a band is a section that opens on a rule; the rule spans the column and meets both column rules */
.band{position:relative;border-top:1px solid var(--rule)}

/* ---------- masthead ---------- */
.masthead{border-bottom:1px solid var(--rule)}
.nav{height:var(--nav-h);display:flex;align-items:center;justify-content:space-between;gap:var(--s-3);padding:0 var(--inset)}
.nav__logo{display:inline-flex;align-items:center;height:32px}
.nav__logo img{height:32px;width:auto}
.nav__links{display:flex;align-items:center;gap:var(--s-4)}
.nav__links a{font-size:15px;line-height:var(--lh-small);font-weight:500;color:var(--text-2);transition:color .15s var(--ease-soft)}
.nav__links a:hover{color:var(--text)}
.nav__cta,.nav__links .nav__cta{
  display:inline-flex;align-items:center;height:44px;padding:0 20px;border-radius:var(--r-btn);
  font-size:14px;font-weight:500;color:var(--btn-primary-fg);background:var(--btn-primary-bg);
  transition:background .15s var(--ease-soft);
}
.nav__cta:hover,.nav__links .nav__cta:hover{background:var(--btn-primary-bg-hover);color:var(--btn-primary-fg)}
.nav__meta{font-size:13px;line-height:var(--lh-small);color:var(--text-3);font-variant-numeric:tabular-nums}
@media (max-width:600px){.nav__meta{display:none}}
@media (max-width:900px){.nav__links a:not(.nav__cta){display:none}}

/* ---------- folio: the running head between two rules ----------
   Sentence case 13/20, hangs from the rule above, closes with its own.
   One per band or cell; inside a cell that already has one, use .label. */
.folio{
  display:flex;align-items:center;justify-content:space-between;gap:var(--s-2);
  min-height:var(--folio-h);padding:0 var(--inset);border-bottom:1px solid var(--rule);
  font-size:13px;line-height:var(--lh-small);font-weight:500;color:var(--text-3);
  font-variant-numeric:tabular-nums;
}
.folio > :first-child{min-width:0}
.folio > :last-child{flex:0 1 auto;text-align:right}
.folio > .num{white-space:nowrap;flex:none}
.folio strong{font-weight:600;color:var(--text)}
@media (max-width:600px){.folio{padding-top:var(--s-1);padding-bottom:var(--s-1)}}

.label{font-size:13px;line-height:var(--lh-small);font-weight:500;color:var(--text-3)}

/* ---------- cells: a strip of columns divided by hairlines ----------
   No fill, no radius, no shadow. Dividers reach the rules. */
.cells{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr))}
.cell{min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--rule)}
.cell:last-child{border-right:0}
.cell__body{padding:var(--s-3) var(--inset) var(--s-4);display:flex;flex-direction:column;gap:var(--s-2)}

/* hairline list: rows separated by rules, no fills */
.list{display:flex;flex-direction:column}
.list > *{border-bottom:1px solid var(--rule)}

/* ---------- type ---------- */
.display{font-size:clamp(42px,5.4vw,66px);line-height:1.04;letter-spacing:-.035em;font-weight:500;text-wrap:balance}
.display em{font-style:normal;color:inherit}
.lede{font-size:19px;line-height:var(--lh-lede);color:var(--text-2);max-width:54ch;text-wrap:pretty}
.h2{font-size:clamp(28px,3vw,36px);line-height:1.12;letter-spacing:-.02em;font-weight:500;text-wrap:balance}
.h3{font-size:22px;line-height:var(--lh-h3);letter-spacing:-.01em;font-weight:500}
.micro{font-size:13px;line-height:var(--lh-small);color:var(--text-3)}
.num{font-variant-numeric:tabular-nums}

/* ---------- buttons and controls ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--s-1);
  height:50px;padding:0 var(--s-3);border-radius:var(--r-btn);
  font-size:15px;font-weight:500;line-height:1;white-space:nowrap;
  transition:background .15s var(--ease-soft),border-color .15s var(--ease-soft);
}
.btn--primary{background:var(--btn-primary-bg);color:var(--btn-primary-fg)}
.btn--primary:hover{background:var(--btn-primary-bg-hover)}
.btn--secondary{background:transparent;color:var(--text);border:1px solid var(--btn-secondary-line)}
.btn--secondary:hover{border-color:var(--btn-secondary-line-hover)}
.btn--sm{height:44px;padding:0 20px;font-size:14px}
.btn-row{display:flex;flex-wrap:wrap;gap:var(--s-2);align-items:center}
/* the bot trap in a form: a field nobody sees, that the API drops a submit for (newsletter.js, the booking) */
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
/* a newsletter form once the address is in (newsletter.js): the field and the button make way for one line */
[data-newsletter].is-done input,[data-newsletter].is-done button,[data-newsletter].is-done .fnews__row{display:none}
[data-newsletter] .news-done{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;line-height:var(--lh-small);font-weight:500;color:inherit}
[data-newsletter] .news-done svg{flex:none;color:var(--ember)}
[data-newsletter] .news-done:focus{outline:none}

/* colleague marker: a 10px dot */
.mark{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none}
.mark--milan{background:var(--milan)}
.mark--vera{background:var(--vera)}
.mark--noor{background:var(--noor)}
.mark--felix{background:var(--felix)}

/* state words replace pills: a tag is a word, approve is a word */
.tag,.approve{font-size:13px;line-height:var(--lh-small);font-weight:500;color:var(--text-3);white-space:nowrap}

/* ---------- avatar placeholder: a silhouette in a ring, one device on every page ---------- */
.avatar{position:relative;display:grid;place-items:center;border-radius:50%;background:var(--paper);box-shadow:0 0 0 1.5px var(--rule-strong);flex:none}
.avatar svg{width:50%;height:50%;color:var(--n5)}

/* ---------- portrait placeholder: a white cell with a crop frame ----------
   No tint. A dashed inset rectangle marks the crop of the render to come. */
.portrait{position:relative;overflow:hidden;background:var(--paper)}
.portrait::after{content:"";position:absolute;inset:var(--s-2);border:1px dashed var(--rule-strong);pointer-events:none}
.portrait__label{
  position:absolute;left:var(--s-3);right:var(--s-3);bottom:var(--s-3);
  font-size:13px;line-height:var(--lh-small);font-weight:500;color:var(--text-3);
}
.portrait--round{aspect-ratio:1/1;border-radius:50%;border:1px solid var(--rule-strong)}
.portrait--round::after{display:none}
.portrait--round .portrait__label{display:none}

/* ---------- notes for the review ----------
   Deliberately unstyled: white ground, system font, no rules, no cells.
   Sits outside .page so the column rules stop where the design stops.
   White, while the designs sit on secondary/50. */
.notes{
  background:#fff;color:#111;
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  font-size:15px;line-height:1.55;padding:48px 0 56px;margin-top:0;
}
.notes__inner{width:min(var(--container),calc(100% - 2 * var(--edge)));margin:0 auto;padding:0 var(--inset)}
.notes__label{font-size:13px;color:#666;margin-bottom:28px}
.notes h2{font-size:17px;font-weight:700;margin:28px 0 10px;letter-spacing:0}
.notes h2:first-of-type{margin-top:0}
.notes p{max-width:72ch;margin:0 0 12px}
.notes ol{list-style:none;padding:0;margin:0 0 8px}
.notes ol li{max-width:72ch;margin:0 0 8px}
.notes dl{margin:0}
.notes dt{font-weight:700;margin-top:14px}
.notes dd{margin:4px 0 0;max-width:72ch}
.notes dd ul{list-style:disc;padding-left:20px;margin:0}
.notes dd li{margin:0 0 4px}
.notes strong{font-weight:700}
.notes__tools{margin:24px 0 0;padding:16px 0 0;border-top:1px solid #ddd;display:flex;flex-wrap:wrap;gap:20px;align-items:center;font-size:14px}
.notes__links{display:flex;gap:20px;margin-left:auto}
.notes__links a{color:#111;text-decoration:underline}

/* ---------- motion: no load choreography ----------
   One keyframe remains, used only when the visitor changes something. */
@keyframes rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-delay:0s!important;transition-duration:.001ms!important}
}

/* Hero surface on every page but the homepage (hero-surface.js): the homepage hero's dotted fire behind the
   first section, edge to edge, along its foot. Three steps of Ember on Smoke, as on the homepage. */
.sec--surface{position:relative;--surface-dot:var(--ember-22);--surface-warm:var(--ember-55);--surface-hot:var(--ember)}
.sec--surface > .hero__surface{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:0}
.sec--surface > :not(.hero__surface){position:relative;z-index:1}

/* "Hitting targets for": the customers, moving past just under the hero on the homepage, /product and /pricing.
   Quiet on purpose: every logo in the same grey (assets/clients/ holds them as one-colour silhouettes), small and
   slow. Hover pauses it; with reduced motion it stands still and wraps instead. */
.clients{padding:var(--s-3) 0 var(--s-4)}
.clients__inner{display:flex;align-items:center;gap:var(--s-6)}
.clients__title{flex:none;font-size:14px;line-height:var(--lh-small);font-weight:500;color:var(--text-3);white-space:nowrap}
.clients__marquee{flex:1;min-width:0;overflow:hidden;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 6%,#000 94%,transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 6%,#000 94%,transparent 100%)}
.clients__track{display:flex;align-items:center;gap:56px;width:max-content;padding-right:56px;animation:clients-roll 40s linear infinite}   /* the trailing 56px makes both halves equal, so the loop has no jump */
.clients__track img{display:block;width:auto;height:var(--h,24px);opacity:.5}
.clients__marquee:hover .clients__track{animation-play-state:paused}
@keyframes clients-roll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (max-width:640px){.clients__inner{flex-direction:column;align-items:flex-start;gap:var(--s-2)}.clients__marquee{width:100%}}
@media (prefers-reduced-motion:reduce){
  .clients__track{animation:none;width:auto;flex-wrap:wrap;row-gap:var(--s-2);padding-right:0}
  .clients__track [aria-hidden="true"]{display:none}
  .clients__marquee{-webkit-mask-image:none;mask-image:none}
}
