/* Weft brand experiment, 2026-11-16.
   A lighter site: white ground, ink type, P22 Mackinac headlines, the new marks.
   Four palettes and several logos to compare; MarketingBrandTrial picks them
   (?palette=, ?logo=, or the picker in the corner outside production) and
   the layout sets data-palette on <html>.
   Loaded after marketing.css and only by the marketing layout, so Workshop
   and the shared tokens are untouched. Delete this file to undo. */

@font-face{font-family:"P22 Mackinac";src:url("/assets/marketing/p22-mackinac-book-13a13a5b.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"P22 Mackinac";src:url("/assets/marketing/p22-mackinac-book-italic-a044435a.woff2") format("woff2");font-weight:100 900;font-style:italic;font-display:swap}
/* IBM Plex Mono (OFL, OFL-ibm-plex-mono.txt) for eyebrows and labels (owner, 2026-11-24): IBM's complete, unmodified files (@ibm/plex-mono 1.1.0), which keep the plain zero (ss04) the web subsets drop. */
@font-face{font-family:"IBM Plex Mono";src:url("/assets/marketing/ibm-plex-mono-latin-400-normal-e5ba791b.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("/assets/marketing/ibm-plex-mono-latin-500-normal-9b80e9b5.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
:root{--mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

/* the palettes: only these change between them.
   dark: the hero and footer panel; support: the product bands; focus: type
   and highlights on dark, the call-to-action block; tints: alternating
   sections; logo-mark: the colour of a logo's symbol on light grounds */
:root,[data-palette="ink"]{
  /* the final palette (owner, 2026-11-20): ink, forest, lime, stone, and
     the light blue for tinted sections */
  --b-ink:#0c0f11;--b-ink-2:#41474b;--b-ink-3:#6c7276;
  --b-dark:#0c0f11;--b-dark-surface:#15191c;--b-dark-surface-2:#1c2125;
  --b-dark-text:#f4f5f0;--b-dark-text-2:#b9bdb9;--b-dark-text-3:#878d8f;
  --b-dark-heading:#fff;
  --b-focus:#e7ef71;--b-focus-soft:#f2f6b5;
  --b-tint-1:#d7e3ee;--b-tint-2:#fff;
  --b-button:#0c0f11;--b-on-button:#e7ef71;
  --b-support:#1a3129;--b-support-surface:#213a31;--b-support-surface-2:#29443a;
  --b-logo-mark:currentColor;
}
/* ink: a warm off-white ground with white cards */
/* The page is the lighter warm off-white again; stone is for the full-width chapter bands: #E9ECE1, lightened from #E5E8DB, a step deeper than the brand sheet's #EEF0E8 (owner, 2026-11-23). */
[data-palette="ink"]{--b-ground:#f7f6f2;--b-stone:#e9ece1;--b-surface:#fff;--b-surface-2:#f1f2ec;--b-ghost:#fff}
/* "Solution 2": forest panels with white headlines, the sheet's lime, pale
   green and stone sections, ink type */
[data-palette="forest"]{
  --b-ink:#1a1a1a;--b-ink-2:#45484a;--b-ink-3:#73777a;
  --b-dark:#1a3129;--b-dark-surface:#213a31;--b-dark-surface-2:#29443a;
  --b-dark-text:#f4f6ef;--b-dark-text-2:#b8c4bd;--b-dark-text-3:#8a9a92;
  --b-dark-heading:#fff;
  --b-focus:#d2df63;--b-focus-soft:#e4ebc7;
  --b-tint-1:#e4ebc7;--b-tint-2:#eef0e8;
  --b-button:#1a3129;--b-on-button:#d2df63;
  --b-support:#1a3129;--b-support-surface:#213a31;--b-support-surface-2:#29443a;
  --b-logo-mark:currentColor;
}
[data-palette="buttercup"]{
  --b-ink:#0c0f11;--b-ink-2:#41474b;--b-ink-3:#6c7276;
  --b-dark:#0c0f11;--b-dark-surface:#15191c;--b-dark-surface-2:#1c2125;
  --b-dark-text:#f7f5ec;--b-dark-text-2:#b9bdb9;--b-dark-text-3:#878d8f;
  --b-dark-heading:#f6efae;
  --b-focus:#f6efae;--b-focus-soft:#faf6d6;
  --b-tint-1:#d7e3ee;--b-tint-2:#e1e1e1;
  --b-button:#0c0f11;--b-on-button:#f6efae;
  --b-support:#0c0f11;--b-support-surface:#15191c;--b-support-surface-2:#1c2125;
  --b-logo-mark:currentColor;
}
/* "Solution 1": aubergine panels with sky-blue type, an orange symbol,
   cream and pale sky sections */
[data-palette="aubergine"]{
  --b-ink:#1e1c1b;--b-ink-2:#4a4644;--b-ink-3:#77716d;
  --b-dark:#3d2d38;--b-dark-surface:#473641;--b-dark-surface-2:#52404b;
  --b-dark-text:#f5f1ec;--b-dark-text-2:#cbbfc6;--b-dark-text-3:#a0919a;
  --b-dark-heading:#c6e5f3;
  --b-focus:#c6e5f3;--b-focus-soft:#e2f2f9;
  --b-tint-1:#ece9e0;--b-tint-2:#e2f2f9;
  --b-button:#1e1c1b;--b-on-button:#c6e5f3;
  --b-support:#3d2d38;--b-support-surface:#473641;--b-support-surface-2:#52404b;
  --b-logo-mark:#d86a3d;
  /* orange is the primary: every main button, and the symbol on any ground */
  --b-primary:#d86a3d;--b-on-primary:#fff;--b-logo-mark-dark:#d86a3d;
}

/* light: the default ground */
:root{
  --bg:var(--b-ground,#fff);--surface:var(--b-surface,#f6f6f4);--surface-2:var(--b-surface-2,#efefec);
  --line:color-mix(in srgb,var(--b-ink) 10%,transparent);--line-2:color-mix(in srgb,var(--b-ink) 22%,transparent);
  --text:var(--b-ink);--text-2:var(--b-ink-2);--text-3:var(--b-ink-3);
  --paper:var(--b-tint-1);--paper-2:var(--b-tint-2);--paper-line:color-mix(in srgb,var(--b-ink) 14%,transparent);
  --ink:var(--b-ink);--ink-2:var(--b-ink-2);--ink-3:var(--b-ink-3);
  --accent:var(--b-button);--accent-display:var(--b-ink);--accent-tint:color-mix(in srgb,var(--b-focus) 55%,transparent);
  --on-accent:var(--b-on-button);--mark:var(--b-focus);
  --good:#2e9a5f;
  --hover:color-mix(in srgb,var(--b-ink) 5%,transparent);--hover-line:color-mix(in srgb,var(--b-ink) 35%,transparent);
  --display:"P22 Mackinac",Georgia,"Times New Roman",serif;
}

/* dark: the brand panel. Product bands, photo heroes, the footer, and the nav
   while it floats over a photo */
.sec--dark,footer,.sceneHero,.photoHero,.dialBand,.overlayNav .nav:not(.is-solid){
  --bg:var(--b-dark);--surface:var(--b-dark-surface);--surface-2:var(--b-dark-surface-2);
  --line:color-mix(in srgb,var(--b-focus) 14%,transparent);--line-2:color-mix(in srgb,var(--b-focus) 26%,transparent);
  --text:var(--b-dark-text);--text-2:var(--b-dark-text-2);--text-3:var(--b-dark-text-3);
  --accent:var(--b-focus);--accent-display:var(--b-focus);
  --on-accent:var(--b-dark);--mark:var(--b-focus);--good:#57d38c;
  --hover:rgba(255,255,255,.06);--hover-line:rgba(255,255,255,.32);
  color:var(--text)}
footer{background:var(--bg);border-top:0}
/* support: British racing green (the app's battery card) for the product bands;
   the hero and footer stay ink */
.sec--dark,.dialBand{--b-dark:var(--b-support);--b-dark-surface:var(--b-support-surface);--b-dark-surface-2:var(--b-support-surface-2)}
.sceneHero .d1,.photoHero .d1,.dialBand .d2,.sec--dark .d2{color:var(--b-dark-heading)}
/* the photo heroes fade into the panel colour, not black */
.sceneHero::before{background:radial-gradient(70% 70% at 50% 50%,color-mix(in srgb,var(--b-dark) 60%,transparent),color-mix(in srgb,var(--b-dark) 20%,transparent) 70%,transparent),linear-gradient(0deg,var(--bg),transparent 28%)}
.sceneHero__photo{opacity:.3}
.photoHero::before{background:linear-gradient(180deg,color-mix(in srgb,var(--b-dark) 60%,transparent),transparent 22%),linear-gradient(90deg,color-mix(in srgb,var(--b-dark) 85%,transparent),color-mix(in srgb,var(--b-dark) 35%,transparent) 50%,transparent 75%),linear-gradient(0deg,color-mix(in srgb,var(--b-dark) 85%,transparent),transparent 50%)}
.dialBand::before{background:linear-gradient(90deg,color-mix(in srgb,var(--b-dark) 92%,transparent),color-mix(in srgb,var(--b-dark) 70%,transparent) 30%,transparent 58%),linear-gradient(0deg,var(--bg),transparent 18%),linear-gradient(180deg,var(--bg),transparent 14%)}

/* interest: the paper sections alternate the two tints */
.sec--paper{--surface:#fff;--surface-2:rgba(255,255,255,.6);--line:color-mix(in srgb,var(--b-ink) 14%,transparent);--mark:#fff;background:var(--b-tint-1)}
.sec--paper~.sec--paper{background:var(--b-tint-2)}
.sec--paper~.sec--paper~.sec--paper{background:var(--b-tint-1)}
.sec--paper~.sec--paper~.sec--paper~.sec--paper{background:var(--b-tint-2)}
.sec--paper~.sec--paper~.sec--paper~.sec--paper~.sec--paper{background:var(--b-tint-1)}
.sec--paper .eyebrow{color:var(--ink-2)}
/* the founder note sits on white, a calm step before the call to action */
#founder.sec--paper,#story.sec--paper{--mark:var(--b-focus);--surface:var(--b-ground,#fff);background:#fff}

/* focus: every closing call to action sits on the focus colour */
.cta{--bg:var(--b-focus);--surface:var(--b-focus-soft);--line:color-mix(in srgb,var(--b-ink) 14%,transparent);--mark:#fff;background:var(--bg);border-top:0}

/* type: Mackinac for headlines, a touch less tight than the old serif */
.d1,.d2,.d3,.serif{font-weight:400;letter-spacing:-.01em}
.d1{letter-spacing:-.018em;line-height:1.04}
.d2{letter-spacing:-.015em}
/* emphasis: a marker on light grounds, the focus colour on the panel */
.d1 em,.d2 em{color:inherit;background:linear-gradient(transparent 58%,var(--mark) 58%,var(--mark) 92%,transparent 92%);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-inline:.04em}
.sceneHero .d1 em,.photoHero .d1 em,.dialBand em,.sec--dark .d2 em{background:none;color:var(--b-focus)}
/* kickers: the brand's tracked capitals */
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--text-2)}
.sceneHero .eyebrow,.photoHero .eyebrow,.dialBand .eyebrow,.sec--dark .eyebrow{color:var(--b-focus)}

/* buttons */
.btn-accent{background:var(--b-primary,var(--accent));color:var(--b-on-primary,var(--on-accent))}
.btn-accent:hover{filter:none;background:color-mix(in srgb,var(--b-primary,var(--accent)) 88%,#fff)}
.btn-light{background:var(--b-focus);color:var(--b-ink)}
/* secondary buttons: filled white on an off-white ground, outlined on panels */
.btn-ghost,.loginLink{background:var(--b-ghost,transparent)}
.btn-ghost:hover,.loginLink:hover{background:color-mix(in srgb,var(--b-ink) 5%,var(--b-ghost,transparent))}
.sec--dark,footer,.sceneHero,.photoHero,.dialBand,.overlayNav .nav:not(.is-solid){--b-ghost:transparent}
.more{color:var(--text);text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:4px}

/* the logos (app/views/marketing/brand/_logo_*.html.erb) */
/* on dark the type is white and the symbol keeps the highlight colour */
.overlayNav .nav:not(.is-solid) .brandRow,footer .brandRow{color:#fff;--b-logo-mark:var(--b-logo-mark-dark,var(--b-focus))}
.brandRow{gap:10px;align-items:center}
.brandMark{display:block;flex:none;color:var(--b-logo-mark)}
.brandMark--w{width:38px;height:22px}
.brandMark--grid{width:34px;height:25px}
.brandMark--flow{width:44px;height:21px}
/* the logo (2026-11-20): the flowing mark beside the weft wordmark */
/* a tad smaller than the wordmark's height so the mark's top-right meets the
   top of the w and its foot the baseline (owner, 2026-11-22) */
.brandMark--final{width:45px;height:21.56px}
.brandWordmark{display:block;width:62px;height:25px;margin-top:-3px}
/* lowercase "weft" in Mackinac, outlined and thickened a touch */
.brandWord{display:block;width:60px;height:20.5px;margin-top:-3px;overflow:visible}
.brandWord path{stroke:currentColor;stroke-width:16;stroke-linejoin:round}
.brandCaps{display:block;width:54px;height:13.4px}
/* wordmarks on their own */
.brandLogo{display:block}
.brandLogo--lower{width:68px;height:28px}
.brandLogo--woven{width:72px;height:26px}
.brandLogo--thread{width:73px;height:28px}
.overlayNav .loginLink{border-color:var(--line-2)}

/* the old orange glows, retinted */
.glow{background:radial-gradient(closest-side at 60% 45%,color-mix(in srgb,var(--b-focus) 55%,transparent),transparent 72%)}
.stackLayer.weftLayer{border-color:color-mix(in srgb,var(--b-ink) 40%,transparent)}
.stackLayer.weftLayer .chip{border-color:color-mix(in srgb,var(--b-ink) 25%,transparent);color:var(--text)}
.timeline2 li.now::before{box-shadow:0 0 0 5px color-mix(in srgb,var(--b-focus) 90%,transparent)}
.tile--window{background:radial-gradient(70% 70% at 100% 100%,color-mix(in srgb,var(--b-focus) 50%,transparent),transparent 70%),var(--surface)}
.tile--dark{--accent:var(--b-focus);background:radial-gradient(70% 60% at 100% 0%,color-mix(in srgb,var(--b-focus) 14%,transparent),transparent 70%),var(--b-dark)}
.msStage--workshop{background:radial-gradient(70% 60% at 80% 0%,color-mix(in srgb,var(--b-focus) 16%,transparent),transparent 70%),linear-gradient(170deg,var(--b-dark-surface) 0%,var(--b-dark) 100%)}
.exampleWeft{--accent:var(--b-ink);box-shadow:0 40px 90px -30px color-mix(in srgb,var(--b-ink) 35%,transparent)}
.sec--paper .studioMock{box-shadow:0 40px 80px color-mix(in srgb,var(--b-ink) 14%,transparent)}
::selection{background:var(--b-focus);color:var(--b-ink)}

/* On the lime band the headline's marker is a deeper lime, not white (owner, 2026-11-22). */
.cta{--mark:color-mix(in srgb,var(--b-ink) 13%,var(--b-focus))}

/* On the lime band, secondary text is a dark olive mixed from the lime
   itself, not the neutral grey that clashed with it (owner, 2026-11-22). */
.cta{--text-2:color-mix(in srgb,var(--b-ink) 82%,var(--b-focus));--text-3:color-mix(in srgb,var(--b-ink) 70%,var(--b-focus));--muted:var(--text-3)}
.cta .ctaNote,.cta p,.cta .eyebrow{color:var(--text-3)}
.cta li p{color:var(--text-2)}
