/* noostrategy.css: the identity as one stylesheet. Type (Commissioner), colour (ink, paper, one hue), motion, layout, components.
   Generated from the type, colour and motion sources by noostrategy-generators/system/build_web.py. Do not edit by hand; edit the source.
   Load the font from Google Fonts:
     <link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link href="https://fonts.googleapis.com/css2?family=Commissioner:FLAR,slnt,wght@0..100,-12..0,100..900&display=swap" rel="stylesheet">
   or self-host with the @font-face below (the fonts folder sits beside this file). */

@font-face {
  font-family: "Commissioner";
  src: url("fonts/Commissioner-Variable-latin.woff2") format("woff2-variations"), url("fonts/Commissioner-Variable-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: oblique 0deg 12deg; font-display: swap;
}

/* 1. tokens */
:root {
  color-scheme: light dark;
  --font-sans: "Commissioner", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* colour: ink and paper carry all reading; the hue is a surface with black on it */
  --ink: #000000; --paper: #FFFFFF; --paper-2: #FFFFFF; --muted: #666666; --rule: #D9D9D9;
  --accent: #FE989A; --accent-ink: #000000;
  --diagram-ink: #000000; --diagram-accent: #FE989A; --diagram-muted: #666666; --diagram-grey: #8F8F8F;
  /* type: size, line height, tracking, weight per role */
  --t-display-xl-size: 6rem; --t-display-xl-lh: 1; --t-display-xl-tr: -0.025em; --t-display-xl-w: 300;
  --t-display-size: 4rem; --t-display-lh: 1.04; --t-display-tr: -0.02em; --t-display-w: 300;
  --t-headline-size: 2.75rem; --t-headline-lh: 1.1; --t-headline-tr: -0.015em; --t-headline-w: 300;
  --t-title-size: 1.875rem; --t-title-lh: 1.2; --t-title-tr: -0.01em; --t-title-w: 400;
  --t-subtitle-size: 1.375rem; --t-subtitle-lh: 1.3; --t-subtitle-tr: 0em; --t-subtitle-w: 500;
  --t-lead-size: 1.375rem; --t-lead-lh: 1.45; --t-lead-tr: 0em; --t-lead-w: 300;
  --t-body-size: 1.125rem; --t-body-lh: 1.55; --t-body-tr: 0em; --t-body-w: 400;
  --t-body-sm-size: 1rem; --t-body-sm-lh: 1.5; --t-body-sm-tr: 0em; --t-body-sm-w: 400;
  --t-label-size: 0.8125rem; --t-label-lh: 1.2; --t-label-tr: 0.14em; --t-label-w: 500;
  --t-label-sm-size: 0.6875rem; --t-label-sm-lh: 1.2; --t-label-sm-tr: 0.16em; --t-label-sm-w: 500;
  --t-caption-size: 0.8125rem; --t-caption-lh: 1.4; --t-caption-tr: 0.01em; --t-caption-w: 400;
  /* space: a 4 px base, 8 px rhythm; fluid steps for blocks, sections and heroes */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-6: 1.5rem; --s-8: 2rem; --s-12: 3rem; --s-16: 4rem; --s-24: 6rem;
  --measure: 38em; --narrow: 44rem; --wide: 1240px; --gutter: clamp(16px, 4vw, 48px); --space-block: clamp(1.5rem, 3vw, 2.5rem); --space-section: clamp(2.5rem, 6vw, 5rem); --space-hero: clamp(3rem, 8vw, 6rem);
  /* motion */
  --motion-quick: 160ms; --motion-base: 320ms; --motion-slow: 640ms; --motion-grow: 1200ms; --motion-ident: 4600ms; --motion-growth: 13570ms;
  --ease-grow: cubic-bezier(0.2, 0, 0, 1); --ease-breathe: cubic-bezier(0.45, 0, 0.55, 1); --ease-pen: cubic-bezier(0.3, 0, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --ink: #FFFFFF; --paper: #000000; --paper-2: #111111; --muted: #8A8A8A; --rule: #2A2A2A;
    --diagram-ink: #FFFFFF; --diagram-muted: #8A8A8A; --diagram-grey: #636363; }
}
:root[data-theme="dark"] { --ink: #FFFFFF; --paper: #000000; --paper-2: #111111; --muted: #8A8A8A; --rule: #2A2A2A;
  --diagram-ink: #FFFFFF; --diagram-muted: #8A8A8A; --diagram-grey: #636363; }

/* 2. base */
*, *::before, *::after { box-sizing: border-box; }
html { font-family: var(--font-sans); font-variation-settings: "FLAR" 0, "VOLM" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { margin: 0; font-family: var(--font-sans); color: var(--ink); background: var(--paper); font-size: var(--t-body-size); line-height: var(--t-body-lh); font-weight: var(--t-body-w); }   /* the family on body too: a host that styles body must not win */
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
p + p, .prose > * + * { margin-top: 1em; }
em, i { font-style: oblique 12deg; font-variation-settings: "slnt" -12; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--space-block) 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* 3. type roles */
.t-display-xl { font-size: clamp(2.75rem, 1.5rem + 5vw, var(--t-display-xl-size)); line-height: var(--t-display-xl-lh); letter-spacing: var(--t-display-xl-tr); font-weight: var(--t-display-xl-w); }
.t-display { font-size: clamp(2.25rem, 1.25rem + 3.5vw, var(--t-display-size)); line-height: var(--t-display-lh); letter-spacing: var(--t-display-tr); font-weight: var(--t-display-w); }
.t-headline { font-size: clamp(1.875rem, 1.25rem + 2vw, var(--t-headline-size)); line-height: var(--t-headline-lh); letter-spacing: var(--t-headline-tr); font-weight: var(--t-headline-w); }
.t-title { font-size: var(--t-title-size); line-height: var(--t-title-lh); letter-spacing: var(--t-title-tr); font-weight: var(--t-title-w); }
.t-subtitle { font-size: var(--t-subtitle-size); line-height: var(--t-subtitle-lh); letter-spacing: var(--t-subtitle-tr); font-weight: var(--t-subtitle-w); }
.t-lead { font-size: var(--t-lead-size); line-height: var(--t-lead-lh); letter-spacing: var(--t-lead-tr); font-weight: var(--t-lead-w); }
.t-body { font-size: var(--t-body-size); line-height: var(--t-body-lh); letter-spacing: var(--t-body-tr); font-weight: var(--t-body-w); }
.t-body-sm { font-size: var(--t-body-sm-size); line-height: var(--t-body-sm-lh); letter-spacing: var(--t-body-sm-tr); font-weight: var(--t-body-sm-w); }
.t-label { font-size: var(--t-label-size); line-height: var(--t-label-lh); letter-spacing: var(--t-label-tr); font-weight: var(--t-label-w); text-transform: uppercase; font-feature-settings: "case" 1; }
.t-label-sm { font-size: var(--t-label-sm-size); line-height: var(--t-label-sm-lh); letter-spacing: var(--t-label-sm-tr); font-weight: var(--t-label-sm-w); text-transform: uppercase; font-feature-settings: "case" 1; }
.t-caption { font-size: var(--t-caption-size); line-height: var(--t-caption-lh); letter-spacing: var(--t-caption-tr); font-weight: var(--t-caption-w); color: var(--muted); }
.t-display-xl, .t-display, .t-headline, .t-title, .t-subtitle { text-wrap: balance; }
.t-body, .t-lead, .prose { max-width: var(--measure); }
.t-flair { font-variation-settings: "FLAR" 100, "VOLM" 0; }   /* display sizes only */
.t-muted { color: var(--muted); }
.t-accent { color: inherit; }                                    /* the hue is never text on paper */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .t-accent { color: var(--accent); } }
:root[data-theme="dark"] .t-accent { color: var(--accent); }     /* on black it may be */
.prose h2 { font-size: var(--t-title-size); line-height: var(--t-title-lh); letter-spacing: var(--t-title-tr); font-weight: var(--t-title-w); margin-top: 1.6em; }
.prose h3 { font-size: var(--t-subtitle-size); line-height: var(--t-subtitle-lh); font-weight: var(--t-subtitle-w); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }

/* 4. colour in use */
a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 100% .35em; padding-bottom: .05em; transition: background-size var(--motion-quick) var(--ease-grow); }
a:hover, a:focus-visible { background-size: 100% 100%; outline: none; }
.accent { background: var(--accent); color: var(--accent-ink); }            /* the hue as a surface: edge to edge, black on it */
.accent a { color: var(--accent-ink); background-image: linear-gradient(var(--accent-ink), var(--accent-ink)); }
.accent a:hover, .accent a:focus-visible { color: var(--accent); }
.ink { background: var(--ink); color: var(--paper); }                        /* a black block inside a light page (and vice versa) */
.ink a { color: var(--paper); }
.surface { background: var(--paper-2); }
.button { display: inline-block; font: inherit; font-size: var(--t-label-size); letter-spacing: var(--t-label-tr); font-weight: var(--t-label-w); text-transform: uppercase; line-height: 1; padding: .8em 1.1em; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); cursor: pointer; text-decoration: none; background-image: none; transition: background-color var(--motion-quick) var(--ease-grow), color var(--motion-quick) var(--ease-grow), border-color var(--motion-quick) var(--ease-grow); }
.button:hover, .button:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); background-size: auto; }
.button.quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.quiet:hover, .button.quiet:focus-visible { background: var(--ink); color: var(--paper); }
.tag { display: inline-block; font-size: var(--t-label-sm-size); letter-spacing: var(--t-label-sm-tr); font-weight: var(--t-label-sm-w); text-transform: uppercase; line-height: 1; padding: .5em .6em; border: 1px solid var(--rule); color: var(--muted); }

/* 5. layout: one page width, one reading measure, hairlines as the only dividers, no rounded corners, no shadows */
.wrap { max-width: var(--wide); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--narrow); margin-inline: auto; }
.section { padding-block: var(--space-section); border-top: 1px solid var(--rule); }
.section > .t-label { display: block; margin-bottom: var(--s-6); }
.hero { padding-block: var(--space-hero) var(--space-section); }
.stack > * + * { margin-top: var(--s-6); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-6); }
.grid > * { grid-column: span 12; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-6); }
@media (min-width: 720px) {
  .col-4 { grid-column: span 4; } .col-6 { grid-column: span 6; } .col-8 { grid-column: span 8; } .col-3 { grid-column: span 3; }
  .two-up { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); align-items: start; }
  .aside { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s-12); align-items: start; }
}
.full { width: 100vw; margin-inline: calc(50% - 50vw); }                      /* a surface or close-up edge to edge */

/* 6. components */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); padding-block: var(--s-6); border-bottom: 1px solid var(--rule); }
.site-header .lockup { display: block; width: clamp(160px, 22vw, 260px); color: var(--ink); background: none; padding: 0; }
.site-header nav { display: flex; flex-wrap: wrap; gap: var(--s-6); }
.site-header nav a { font-size: var(--t-label-size); letter-spacing: var(--t-label-tr); font-weight: var(--t-label-w); text-transform: uppercase; }
.article-head { padding-block: var(--space-hero) var(--space-block); }
.article-head .t-label { display: block; margin-bottom: var(--s-6); color: var(--muted); }
.article-head .t-lead { margin-top: var(--s-6); }
.meta { font-size: var(--t-caption-size); line-height: var(--t-caption-lh); color: var(--muted); margin-top: var(--s-6); }
figure { margin-block: var(--space-block); }
figure.organism { max-width: 22rem; }                                         /* an organism sits at the width of a paragraph block, never behind text */
figure.organism svg { width: 100%; color: var(--ink); }
figure.cover { margin: 0; }
figcaption { font-size: var(--t-caption-size); line-height: var(--t-caption-lh); color: var(--muted); margin-top: var(--s-3); }
blockquote.pull { font-size: var(--t-lead-size); line-height: var(--t-lead-lh); font-weight: var(--t-lead-w); border-left: 3px solid var(--accent); padding-left: var(--s-6); margin-block: var(--space-block); max-width: var(--measure); }
blockquote.pull cite { display: block; font-style: normal; font-size: var(--t-caption-size); color: var(--muted); margin-top: var(--s-3); }
.card { background: var(--paper-2); border: 1px solid var(--rule); padding: var(--s-6); }
.card .t-label-sm { display: block; color: var(--muted); margin-bottom: var(--s-3); }
.card.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.card.accent .t-label-sm, .card.accent .t-caption { color: var(--accent-ink); }
.card p { margin-top: var(--s-2); }
.tile { padding: var(--space-block); min-height: 12rem; display: flex; flex-direction: column; justify-content: flex-end; }
.tile .mark { width: 4rem; margin-bottom: auto; }
table { border-collapse: collapse; width: 100%; font-size: var(--t-body-sm-size); line-height: var(--t-body-sm-lh); }
th, td { text-align: left; vertical-align: top; padding: .8rem 1.25rem .8rem 0; border-top: 1px solid var(--rule); }
th { font-weight: 500; }
thead th { font-size: var(--t-label-sm-size); letter-spacing: var(--t-label-sm-tr); text-transform: uppercase; color: var(--muted); border-top: 0; padding-top: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.site-footer { padding-block: var(--space-section) var(--s-12); border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: var(--s-6) var(--s-12); justify-content: space-between; align-items: end; }
.site-footer .mark { width: 2.5rem; color: var(--ink); }
@media (max-width: 719px) { .site-header { flex-wrap: wrap; row-gap: var(--s-4); } .site-header nav { width: 100%; justify-content: space-between; gap: var(--s-4); } .tile { min-height: 9rem; } }   /* on a phone the nav sits under the lockup, spread across the width */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }                    /* a wide table on a phone scrolls inside its own box, never the page */

/* 7. motion: things rise into place once; the hue never moves; nothing loops */
.rise { animation: ns-rise var(--motion-base) var(--ease-grow) both; }
.rise-slow { animation: ns-rise var(--motion-slow) var(--ease-grow) both; }
@keyframes ns-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.organism.breathe { transform-origin: 50% 50%; animation: ns-swell 6s var(--ease-breathe) infinite alternate; }
@keyframes ns-swell { from { transform: scale(1); } to { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) {
  :root { --motion-quick: 1ms; --motion-base: 1ms; --motion-slow: 1ms; --motion-grow: 1ms; --motion-ident: 1ms; --motion-growth: 1ms; }
  .rise, .rise-slow, .organism.breathe { animation: none; }
}

/* 8. the studio: the one surface that moves, and it moves like light. A picture of an organism in a lit room; never behind text. */
.studio { position: relative; min-height: 100svh; overflow: hidden; color: var(--ink);
  --top: 246; --wall: 224; --horizon: 213; --floor: 222; --h: 74%; --exposure: 1; --lx: 50%; --ly: 8%; --lamp: .22; --fade: 1; }
.studio .room { position: absolute; inset: -12% 0 -12% 0; z-index: 0;
  background: radial-gradient(60% 45% at var(--lx) var(--ly), rgba(255,255,255,var(--lamp)) 0%, rgba(255,255,255,0) 100%),
    linear-gradient(to bottom, rgb(var(--top),var(--top),var(--top)) 0%, rgb(var(--wall),var(--wall),var(--wall)) 46%, rgb(var(--horizon),var(--horizon),var(--horizon)) var(--h), rgb(var(--floor),var(--floor),var(--floor)) 100%);
  filter: brightness(var(--exposure)); transform: translateY(calc(var(--scroll, 0px) * -0.35)); will-change: transform; }
.studio .grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .45; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .18 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>"); }
.studio .paper-fade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--paper); opacity: calc(1 - var(--fade)); }
.studio .stage { position: relative; z-index: 4; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.studio .floor { position: relative; height: 100%; }
.studio .top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); padding: var(--s-6) var(--gutter); }
.studio .top .lockup { display: block; width: clamp(150px, 20vw, 240px); color: var(--ink); background: none; padding: 0; }
.studio .top nav { display: flex; flex-wrap: wrap; gap: var(--s-6); }
.studio .top nav a { font-size: var(--t-label-size); letter-spacing: var(--t-label-tr); font-weight: var(--t-label-w); text-transform: uppercase; background: none; }
@media (max-width: 719px) { .studio .top { flex-wrap: wrap; row-gap: var(--s-4); } .studio .top nav { width: 100%; justify-content: space-between; gap: var(--s-4); } }
/* the sitter: an organism holds the room, a rhizome is bigger than it and leaves the frame. The script sets the size from the wall between the header and the floor */
.studio .organism { position: absolute; z-index: 3; left: 50%; top: calc(var(--h) - 44svh); height: 44svh; width: auto; max-width: none; transform: translate(-50%, 0) scale(.97); color: var(--ink); opacity: 0;
  transition: opacity var(--motion-grow) var(--ease-grow), transform var(--motion-grow) var(--ease-grow); transform-origin: 50% 100%; }
.studio.arrived .organism { opacity: 1; transform: translate(-50%, 0) scale(1); }
.studio.arrived .organism.breathe { animation: ns-swell-stand 6s var(--ease-breathe) infinite alternate; animation-delay: var(--motion-grow); }
@keyframes ns-swell-stand { from { transform: translate(-50%, 0) scale(1); } to { transform: translate(-50%, 0) scale(1.02); } }
.studio .caption { display: flex; justify-content: space-between; gap: var(--s-6); padding: var(--s-6) var(--gutter); font-size: var(--t-caption-size); color: var(--muted); }
.studio .caption span + span { text-align: right; }
.studio-still { background: linear-gradient(to bottom, rgb(246,246,246) 0%, rgb(224,224,224) 46%, rgb(213,213,213) 74%, rgb(222,222,222) 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .studio { --top: 44; --wall: 22; --horizon: 8; --floor: 16; --lamp: .10; } :root:not([data-theme="light"]) .studio .organism { color: var(--accent); } :root:not([data-theme="light"]) .studio .grain { mix-blend-mode: screen; opacity: .25; }
  :root:not([data-theme="light"]) .studio-still { background: linear-gradient(to bottom, rgb(44,44,44) 0%, rgb(22,22,22) 46%, rgb(8,8,8) 74%, rgb(16,16,16) 100%); } }
:root[data-theme="dark"] .studio { --top: 44; --wall: 22; --horizon: 8; --floor: 16; --lamp: .10; } :root[data-theme="dark"] .studio .organism { color: var(--accent); } :root[data-theme="dark"] .studio .grain { mix-blend-mode: screen; opacity: .25; }
:root[data-theme="dark"] .studio-still { background: linear-gradient(to bottom, rgb(44,44,44) 0%, rgb(22,22,22) 46%, rgb(8,8,8) 74%, rgb(16,16,16) 100%); }
@media (prefers-reduced-motion: reduce) { .studio .organism { transition: none; opacity: 1; transform: translate(-50%, 0); } .studio.arrived .organism.breathe { animation: none; } .studio .room { transform: none !important; } }
