/* The shared stylesheet for the four brand-work pages (/work/beacons, materialize, samsung, sentry) and the blog list (/blog/).
   It loads after site.css and sits on top of it. A rule only one page needs goes in that page's own <style>. */
/* UNDOING THE TV PAGE: site.css is the homepage's stylesheet. These lines switch off the parts
   only the TV page wants, so this page scrolls and lays out as before. */
html,body{height:auto;overflow:visible}
body{display:block}
.signup-slot{--ink:inherit;--card:inherit;--hi:inherit;--line-2:inherit;--hint:inherit;color:inherit}
:root{
  --paper:#fff;--card:#fff;--hi:#f0f1f4;
  --line:#e3e4e8;--line-2:#cdd0d6;
  --ink:#111;--hint:#6e7078;
  color-scheme:light;
  --text:'Barlow',system-ui,-apple-system,sans-serif;
  --disp:'Barlow Semi Condensed','Barlow',system-ui,sans-serif;
  --disp-wt:600;
  --t-btn:13.5px;--t-sm:14.5px;--t-lg:17px;
  --t-word:clamp(19px,1.75vw,24px);
  --t-title:clamp(28px,3vw,40px);
  --sp-1:6px;--sp-2:10px;--sp-3:16px;
  --sp-4:clamp(18px,2.6vh,24px);--sp-5:clamp(24px,3.6vh,34px);--sp-6:clamp(30px,5vh,46px);
  --gutter:32px;
  /* The homepage's composition width, so this header's edges land exactly
     where the homepage header's do. */
  --screen-w:clamp(660px, calc(36.842vw + 210.53px), 800px);
  --list-w:clamp(380px, calc(20vw + 150px), 460px);
  --comp-w:calc(var(--screen-w) + 48px + var(--list-w));
}
::selection{background:var(--ink);color:var(--paper)}
body{color:var(--ink);font-family:var(--text);background:var(--paper);-webkit-font-smoothing:antialiased}

/* ================= header (programme.html's) ================= */
.hbar{width:100%;max-width:var(--comp-w);margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3) var(--sp-4);flex-wrap:wrap}
.wordmark{font-family:var(--disp);font-size:var(--t-word);font-weight:var(--disp-wt);line-height:1;color:var(--ink);text-decoration:none;display:flex;align-items:baseline;gap:.34em}

.page h1{font-family:var(--disp);font-weight:var(--disp-wt);font-size:var(--t-title);line-height:1.05;margin-bottom:var(--sp-5)}
.page p{font-size:var(--t-lg);line-height:1.6;max-width:62ch;text-wrap:pretty}
.page p+p{margin-top:1.1em}
.page a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
/* THE LINK SYSTEM (2026-10-11), one rule set across the three pages. A link in running text or a list
   is an underline, 1px, 3px off the text, 2px on hover or focus. A link that LEAVES the site (the
   site marks those target="_blank", as the homepage's project names do) ends in the same small arrow
   the homepage uses, in an inline-block so the underline stops at the word. Keyboard focus gets a ring
   in the ink colour, because an underline getting thicker is easy to miss. mailto and links inside the
   site carry no arrow. */
.page a:hover,.page a:focus-visible{text-decoration-thickness:2px}
.page a:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:3px}
.page a[target="_blank"]::after{content:"\2197";display:inline-block;margin-left:.25em;font-size:.7em;font-weight:500;text-decoration:none}

/* ---- company page ---- */
.crumb{font-size:var(--t-sm);font-weight:500;margin-bottom:var(--sp-4)}
.page .meta{font-size:var(--t-sm);font-variant-numeric:tabular-nums;margin:calc(var(--sp-2) * -1) 0 var(--sp-3)}
.page .lede{max-width:62ch}
.page .meta+.lede{margin-top:0}
/* The pictures keep their own shape. They are posters, whitepapers and screens, and the
   About page's 660:388 crop would cut them. Two columns that pack tight, one on narrow screens. */
.shots{list-style:none;columns:2;column-gap:var(--sp-5);margin-top:var(--sp-6)}
.shots li{break-inside:avoid;margin:0 0 var(--sp-5)}
.shots img{display:block;width:100%;height:auto;border-radius:9px;background:var(--hi);box-shadow:0 0 0 1px var(--line)}
.shots figcaption{font-size:var(--t-sm);line-height:1.45;margin-top:var(--sp-1);max-width:60ch}
.pager{display:flex;justify-content:space-between;gap:var(--sp-4);margin-top:var(--sp-5);padding-top:var(--sp-4);border-top:1px solid var(--line);font-size:var(--t-lg);font-weight:500}
.pager .next{margin-left:auto;text-align:right}
/* Phones: grow the tap area of the back, previous and next links to about 44px tall, with no change to the look. */
@media (max-width:760px){.pager a,.crumb a{position:relative}.pager a::after,.crumb a::after{content:"";position:absolute;inset:-12px -6px}}
:root{--pc:oklch(.52 .10 330)} /* the mark's colour, as on About and Links */
.page{padding:var(--sp-6) var(--gutter) calc(var(--sp-6) * 2)}
.page-in{max-width:var(--comp-w);margin-inline:auto}
@media (max-width:1220px){
  .hbar,.page-in{max-width:var(--screen-w)}
}
@media (max-width:900px){
  .shots{columns:1}
}


.signup-slot{display:none}
@media (max-width:760px){
  .signup-slot{display:block;margin-top:var(--sp-6);padding-top:var(--sp-4);border-top:1px solid var(--line)}
  .signup-slot .signup-label{font-family:var(--disp);font-weight:var(--disp-wt);font-size:18px;line-height:1.25;max-width:none;margin:0 0 var(--sp-2);text-wrap:balance}
  .signup-slot .signup{flex-wrap:nowrap;width:100%}
  .signup-slot .signup input{flex:1;font-size:16px}
}
@media (max-width:700px){
  .hbar{flex-direction:column;align-items:flex-start;gap:var(--sp-2)}
  header .hright{margin-left:0;width:100%;flex-direction:column;align-items:flex-start;gap:var(--sp-2)}
  header .links{gap:var(--sp-1) var(--sp-3)}
  .signup{flex-wrap:wrap;width:100%}
  .signup input{font-size:16px;flex:1} /* under 16px, iOS zooms the page on focus */
  .page{padding-inline:var(--sp-3)}
  header{padding-inline:var(--sp-3)}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important}
}
