/* siltrace.io: the styles every page shares (header, footer, buttons, type). Page-only rules live in each page's own
   <style>, which build.py moves into the head. One light look, the brand's fonts served from /assets/fonts/. */
@font-face{font-family:"Space Grotesk";font-weight:300 700;font-display:swap;src:url("/assets/fonts/space-grotesk-latin.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-weight:100 700;font-display:swap;src:url("/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2")}
@font-face{font-family:"Geist Mono";font-weight:400;font-display:swap;src:url("/assets/fonts/GeistMono-Regular.ttf") format("truetype")}
@font-face{font-family:"Geist Mono";font-weight:600;font-display:swap;src:url("/assets/fonts/GeistMono-SemiBold.ttf") format("truetype")}
:root{
  --g:#F3F3F1; --card:#FAFAF8;   /* cards a step above the page's ground, not paper white (Youchan, 11/24: "too white") */ --soft:#F7F7F5; --ink:#262A33; --ink2:rgba(38,42,51,.64); --ink3:rgba(38,42,51,.42); --line:rgba(38,42,51,.12);
  --blue:#2C5CEE; --cop:#C06428; --hl:#B8612A; --hl-dark:#9C5122; --hl-on-dark:#E0874A;   /* the logo's copper (assets/brand/siltrace) */ --term:#0A0A0A;
  --h2:clamp(28px,min(calc(1.2vw + 23px),calc((100vw - 44px) / 12.4)),40px);   /* every section title: one size, 40 px on a wide desktop, shrinking slowly (Youchan, 11/24: it shrank too much); on a phone as large as home's longest statement line, "Every requirement verified.", still fits: about 28 px */
  --head:"Space Grotesk",system-ui,sans-serif; --body:"IBM Plex Sans",system-ui,sans-serif; --mono:"Geist Mono",ui-monospace,Menlo,monospace;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
[hidden]{display:none!important}
body{margin:0;background:var(--g);color:var(--ink);font:400 16px/1.6 var(--body);-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:30;background:var(--g)}
img,video{max-width:100%}
.in{max-width:1160px;margin:0 auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
h1,h2,h3{font-family:var(--head);margin:0;text-wrap:balance}
.hl{color:var(--hl)}
.k{font:600 17px/1.3 var(--body);letter-spacing:-.005em;color:var(--hl)}
a{color:inherit}
:focus-visible{outline:2px solid var(--hl);outline-offset:3px;border-radius:4px}

/* the running event's bar (src/partials/event.html), above the header, scrolling away with the page */
.event{display:block;background:var(--ink);color:rgba(255,255,255,.86);text-decoration:none;font:400 17px/1.35 var(--body)}
.event .in{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 14px;min-height:62px;padding-block:12px;text-align:center}
.event i{flex:none;width:9px;height:9px;border-radius:50%;background:var(--hl-on-dark);animation:ev-pulse 2.2s infinite}
.event b{font-weight:700;color:#fff;letter-spacing:-.005em}
.event strong{font-weight:600;color:#fff}
.event .ev-go{display:inline-flex;align-items:center;gap:6px;padding:7px 15px;border-radius:999px;background:var(--hl);color:#fff;font-weight:600;font-size:15px;white-space:nowrap;transition:background .15s}
.event:hover .ev-go{background:var(--hl-dark)}
@keyframes ev-pulse{0%{box-shadow:0 0 0 0 rgba(224,135,74,.55)}70%{box-shadow:0 0 0 7px rgba(224,135,74,0)}100%{box-shadow:0 0 0 0 rgba(224,135,74,0)}}
@media (prefers-reduced-motion:reduce){.event i{animation:none}}
@media (max-width:560px){.event{font-size:16px}.event .in{min-height:auto;gap:8px 8px;padding-block:14px}.event .ev-sw{display:none}.event .ev-go{font-size:15px;padding:7px 18px;order:3}.event .in:has(.ev-go){padding-block:12px 14px}.event .in:has(.ev-go)::after{content:"";flex-basis:100%;order:2}}   /* Join now on its own line on phones; without the button (coming soon) no break, so the words sit in the middle */

/* header */
header{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:rgba(243,243,241,.86);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid transparent;transition:border-color .2s}
header.scrolled{border-bottom-color:var(--line)}
.nav{display:flex;align-items:baseline;gap:34px;height:78px;padding-top:25px;box-sizing:border-box}
.nav .menu{align-self:center}
.nav .logo{height:27px;width:auto;display:block;flex:none}
.links{display:flex;gap:30px;font:500 16.5px/1 var(--body)}
.links a{position:relative;text-decoration:none;color:var(--ink2);padding-block:6px;transition:color .2s}
.links a:hover{color:var(--ink)}
.links a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.5px;background:var(--ink3);transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.links a:hover::after{transform:scaleX(1)}
.links a[aria-current="page"]{color:var(--ink)}
.links a[aria-current="page"]::after{display:none}
.links .ind{position:absolute;left:0;right:0;bottom:0;height:1.5px;background:var(--ink);view-transition-name:nav-ind}
.sp{flex:1}
.btn{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 20px;border-radius:999px;font:500 14.5px/1 var(--body);text-decoration:none;white-space:nowrap;cursor:pointer;border:0}
.btn.dark{background:var(--ink);color:#fff}
.btn.dark:hover{background:#111318}
.btn.ghost{background:transparent;border:1px solid rgba(38,42,51,.22);color:var(--ink)}
.menu{display:none;appearance:none;border:0;background:none;width:40px;height:40px;padding:0;cursor:pointer;place-items:center}
.menu i{position:relative;display:block;width:22px;height:1.5px;background:var(--ink);transition:background .2s}
.menu i::before,.menu i::after{content:"";position:absolute;left:0;top:0;width:22px;height:1.5px;background:var(--ink);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.menu i::before{transform:translateY(-6px)}.menu i::after{transform:translateY(6px)}
header.open .menu i{background:transparent}
header.open .menu i::before{transform:rotate(45deg)}header.open .menu i::after{transform:rotate(-45deg)}
.drawer{display:none}
.scrim{position:fixed;inset:0;z-index:19;background:rgba(38,42,51,.34);opacity:0;pointer-events:none;transition:opacity .35s ease}
.scrim.on{opacity:1;pointer-events:auto}
@media (max-width:760px){
  .links{display:none}.menu{display:grid}.nav{height:68px;padding-top:0;align-items:center}
  .drawer{display:block;position:absolute;left:0;right:0;top:100%;background:var(--g);border-top:1px solid var(--line);box-shadow:0 30px 50px -30px rgba(38,42,51,.45);
    clip-path:inset(0 0 100% 0);visibility:hidden;transition:clip-path .35s cubic-bezier(.2,.7,.2,1),visibility 0s linear .35s}
  header.open .drawer{clip-path:inset(0 0 -80px 0);visibility:visible;transition:clip-path .45s cubic-bezier(.2,.7,.2,1)}
  .drawer .in{padding-block:6px 18px}
  .drawer a{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink);font:500 19px/1.1 var(--head);letter-spacing:-.015em;
    opacity:0;transform:translateY(-10px);transition:opacity .2s ease,transform .25s ease}
  .drawer a:last-child{border-bottom:0}
  .drawer a span{color:var(--ink3);font:400 17px/1 var(--body);transition:transform .25s cubic-bezier(.2,.7,.2,1),color .2s}
  .drawer a:active span{transform:translateX(4px);color:var(--ink)}
  .drawer a[aria-current="page"]{color:var(--hl)}.drawer a[aria-current="page"] span{color:var(--hl)}
  header.open .drawer a{opacity:1;transform:none;transition:opacity .4s ease calc(.08s + var(--i,0) * .05s),transform .5s cubic-bezier(.2,.7,.2,1) calc(.08s + var(--i,0) * .05s)}
}

/* blog: the list and the posts (src/pages/blog.html, src/blog/<slug>.md through src/partials/post.html) */
.blog-h{padding-block:64px 8px}
.blog-h h1{font:500 clamp(34px,4.6vw,54px)/1.05 var(--head);letter-spacing:-.034em;margin-top:12px}
.blog-h p{margin:16px 0 0;font-size:18px;color:var(--ink2);max-width:52ch}
.posts{list-style:none;margin:0;padding:28px 0 96px;display:grid}
.posts li{border-top:1px solid var(--line)}
.posts li:last-child{border-bottom:1px solid var(--line)}
.posts a{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px 40px;align-items:center;padding:32px 0;text-decoration:none;color:inherit}
.posts a>div:only-child{grid-column:1/-1}
.posts .thumb{display:block;width:100%;height:auto;aspect-ratio:40/21;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:var(--soft);transition:opacity .2s}
.posts a:hover .thumb{opacity:.88}
.posts .meta{display:block;margin-bottom:8px;font:400 14.5px/1.6 var(--body);color:var(--ink3)}
.posts h2{font:500 24px/1.25 var(--head);letter-spacing:-.02em;margin:0}
.posts p{margin:8px 0 0;color:var(--ink2);max-width:60ch}
.posts a:hover h2{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1.5px}
@media (max-width:700px){.posts a{grid-template-columns:1fr;gap:16px;padding:28px 0}.posts h2{font-size:21px}}
.post{max-width:700px;margin:0 auto;padding-block:64px 96px}
.post .back{font:500 14px/1 var(--body);color:var(--ink2);text-decoration:none}
.post .back:hover{color:var(--ink)}
.post .meta{display:block;margin-top:36px;font:400 14.5px/1.6 var(--body);color:var(--ink3)}
.post h1{font:500 clamp(32px,4.4vw,48px)/1.08 var(--head);letter-spacing:-.032em;margin:12px 0 0}
.post .lede{font-size:19px;line-height:1.55;color:var(--ink2);margin:20px 0 0}
.post .cover{display:block;width:100%;height:auto;aspect-ratio:40/21;object-fit:cover;border-radius:14px;border:1px solid var(--line);margin:32px 0 0;background:var(--soft)}
.post .body ul,.post .body ol{font-size:17px;line-height:1.7;margin:0 0 18px;padding-left:22px}
.post .body li{margin-bottom:6px}
.post .body code{font:400 14.5px/1.4 var(--mono);background:rgba(38,42,51,.06);padding:2px 6px;border-radius:5px}
.post .body hr{border:0;border-top:1px solid var(--line);margin:32px 0}
.post .body{margin-top:36px;padding-top:32px;border-top:1px solid var(--line)}
.post .body p{font-size:17px;line-height:1.7;margin:0 0 18px}
.post .body h2{font:500 24px/1.25 var(--head);letter-spacing:-.02em;margin:40px 0 12px}

/* sections and the closing band, shared by several pages */
section{padding-block:72px}
/* a hairline opens each titled section (Youchan, 11/24: Home, Product, Company) */
section.ruled::before{content:"";display:block;height:1px;margin-bottom:56px;background:var(--line)}
@media (max-width:760px){section.ruled::before{margin-bottom:40px}}
.sec-h{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 48px;align-items:end;margin-bottom:36px}
.sec-h h2{font:500 var(--h2)/1.08 var(--head);letter-spacing:-.03em;margin-top:12px}
.sec-h p{margin:0;color:var(--ink2);max-width:46ch}
@media (max-width:760px){.sec-h{grid-template-columns:1fr}}
/* the closing card (Youchan, 11/24: the dark panel looked thrown together; a colour of the theme, something that catches
   the eye without being much): a light card like the page's other cards, the words and the button on the left, and on the
   right the product's own input line typing a few requests one after another. The typing is the one thing that moves, and
   it says what trying it is: you ask in plain words. pages.js types while the card is on screen; without it, or with
   reduced motion, one whole request stands there. On a phone: the words, the prompt, the button. */
.cta-band{padding-block:0 96px}
.cta-band::before{content:"";display:block;height:1px;margin-bottom:56px;background:var(--line)}   /* a hairline above the closing card too (Youchan, 11/24) */
.cta-card{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:center;gap:28px 56px;background:var(--card);border:1px solid var(--line);border-radius:22px;padding:52px 56px;box-shadow:0 30px 60px -44px rgba(38,42,51,.35)}
.cta-card h2{margin:0 0 26px;font:500 var(--h2)/1.1 var(--head);letter-spacing:-.03em;color:var(--ink)}
.cta-ask{min-width:0;background:var(--term);border-radius:14px;padding:22px 24px 18px;box-shadow:0 26px 44px -30px rgba(10,10,10,.7);font:400 16px/1.5 var(--mono);color:#EEE}
.cta-ask .line{display:flex;align-items:center;height:30px;padding-left:16px;border-left:3px solid var(--hl-on-dark);white-space:nowrap;overflow:hidden}
.cta-ask .caret{flex:none;width:9px;height:19px;margin-left:3px;background:var(--hl-on-dark);animation:cta-caret 1.1s steps(1) infinite}
.cta-ask .who{display:block;margin:12px 0 0 19px;font-size:13px;line-height:1.3;color:var(--hl-on-dark)}
@keyframes cta-caret{50%{opacity:0}}
.btn.go{height:52px;padding:0 26px;background:var(--hl);color:#fff;font-size:16px;font-weight:600;transition:background .15s}
.btn.go:hover{background:var(--hl-dark)}
@media (min-width:561px){.cta-t{text-align:center}}   /* beside the input line: the title and the button centred in their half (Youchan, 11/24: the button on the left edge looked off) */
@media (max-width:1000px){.cta-card{max-width:840px;margin-inline:auto;padding:44px 44px}.cta-band::before{max-width:840px;margin:0 auto 44px}}   /* a narrowed window: the card in the page's one centred column */
@media (max-width:860px){
  .cta-band{padding-block:0 64px}
  .cta-card{display:flex;flex-direction:column;align-items:stretch;gap:22px;padding:34px 22px 26px;border-radius:18px}
  .cta-t{display:contents}
  .cta-card h2{order:1;margin:0;text-align:center}
  .cta-ask{order:2;width:100%;max-width:520px;align-self:center;box-sizing:border-box;padding:18px 18px 15px;font-size:13.5px}
  .cta-ask .line{height:26px;padding-left:13px}
  .cta-ask .caret{width:8px;height:17px}
  .cta-ask .who{margin-left:16px;font-size:12.5px}
  .cta-card .btn.go{order:3;align-self:center}
}
@media (max-width:380px){.cta-card{padding-inline:18px}.cta-ask{font-size:12px}}   /* the longest request still on one line */
@media (prefers-reduced-motion:reduce){.cta-ask .caret{animation:none}}
.cmd{display:flex;align-items:center;gap:12px;background:var(--term);color:#eee;border-radius:10px;padding:14px 16px;font:400 13.5px/1.5 var(--mono);margin:14px 0;overflow:hidden}
.cmd .p{color:#808080;user-select:none}
.cmd code{flex:1;min-width:0;overflow-x:auto;white-space:pre}
.cmd button{appearance:none;border:1px solid #333;background:#161616;color:#c8ccd4;border-radius:7px;font:500 12.5px/1 var(--body);padding:8px 11px;cursor:pointer;flex:none}

/* works with what you already use (Home and Product): the film's platform picture and its three lines */
.fit{margin:8px 0 0}
.fit img{display:block;width:100%;height:auto}
.fit-caps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:8px;border-top:1px solid var(--line);padding-top:26px}
.fit-caps h3{margin:0 0 8px;font:500 21px/1.25 var(--head);letter-spacing:-.02em}
.fit-caps p{margin:0;font-size:16px;line-height:1.55;color:var(--ink2)}
/* phones: the same picture in its phone arrangement (the page's <picture> picks it), and smaller lines under it */
@media (max-width:760px){
  .fit-caps{grid-template-columns:1fr;gap:20px;margin-top:20px;padding-top:22px;text-align:center}   /* one column under the picture: centred (Youchan, 11/24) */
  .fit-caps h3{font-size:18px;margin-bottom:5px}
  .fit-caps p{font-size:15px}
}
/* footer */
footer{border-top:1px solid var(--line);padding-block:52px 80px}   /* room under the last line */
.fcols{display:grid;grid-template-columns:1.6fr repeat(3,minmax(0,1fr));gap:28px}
.fcols h5{margin:0 0 12px;font:600 14px/1.2 var(--body);color:var(--ink)}
.fcols ul{list-style:none;margin:0;padding:0;font-size:14.5px;line-height:2.1}
.fcols a{text-decoration:none;color:var(--ink2)}
.fcols a:hover{color:var(--ink)}
.fcols .logo{height:20px;width:auto;display:block}
/* Connect: a list like the other columns, each line with a small icon */
.fcols .ic svg{display:inline-block;width:16px;height:16px;vertical-align:-3px;margin-right:10px;color:var(--ink3)}   /* inline, so each line keeps the lists' height */
.fcols .ic a:hover svg{color:var(--ink)}
.copy{margin-top:36px;font-size:13px;color:var(--ink3)}
/* on wide screens the line sits at the foot of the logo's column, level with the lists' last line */
.fbrand{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}
.fbrand .copy{margin:0;font-size:14.5px;line-height:2.1}
footer .in>.copy{display:none}
@media (max-width:760px){.fbrand .copy{display:none}footer .in>.copy{display:block}}
/* phone: on the centre line, the logo, the Connect icons under it, Product and Company, the copyright last. Each of the two
   columns is centred in its half while its words keep a left edge (Youchan, 11/24: centred words did not sit together, and
   a left-aligned footer did not either) */
@media (max-width:760px){
  footer{padding-block:36px 44px}
  .fcols{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"brand brand" "con con" "prod co";gap:6px 20px}
  .fbrand{grid-area:brand;align-items:center}.fcon{grid-area:con;margin-top:10px}
  .fprod,.fco{margin-top:22px;justify-self:center;text-align:left}
  .fprod{grid-area:prod}.fco{grid-area:co}
  .fcon h5{display:none}
  .fcols .ic{display:flex;justify-content:center;gap:6px}
  .fcols .ic a{display:flex;align-items:center;justify-content:center;width:42px;height:42px}
  .fcols .ic svg{width:20px;height:20px;margin:0;vertical-align:0}
  .fcols .ic .li svg{width:18px;height:18px}   /* the square mark reads larger than the other two at one size */
  .fcols .ic .t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  footer .in>.copy{margin-top:26px;text-align:center}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* motion (11/24): pages cross over (the header stays, the tab's line slides to the new tab), cards rise in as they come
   into view (pages.js marks only what starts below the first screen), arrows nudge on hover; none of it with reduced motion */
@view-transition{navigation:auto}
header{view-transition-name:hdr}
.event{view-transition-name:event}
::view-transition-old(root){animation:vt-out .18s ease both}
::view-transition-new(root){animation:vt-in .5s cubic-bezier(.2,.7,.2,1) both}
::view-transition-group(nav-ind){animation-duration:.5s;animation-timing-function:cubic-bezier(.2,.7,.2,1)}
@keyframes vt-out{to{opacity:0}}
@keyframes vt-in{from{opacity:0;transform:translateY(14px)}}
[data-rv]{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
[data-rv].shown{opacity:1;transform:none}
.btn.go span,.event .ev-go span{display:inline-block;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.btn.go:hover span,.event:hover .ev-go span{transform:translateX(4px)}
@media (prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  .drawer,.drawer a,.scrim,.menu i::before,.menu i::after,.links a::after{transition:none!important}
}
/* a role's page (src/partials/job.html): the post column, its team and terms on one line, Apply at the top and the end */
.job-meta{display:flex;flex-wrap:wrap;gap:6px 18px;margin:16px 0 0;font:400 15px/1.5 var(--body);color:var(--ink2)}
.job h1{margin-top:36px}
.job .apply-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:28px}   /* the address beside the button, for anyone whose mail app does not open (Youchan, 11/24) */
.apply-to{font:400 15px/1.4 var(--body);color:var(--ink3)}
.apply-to a{color:var(--ink2);text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:1px;transition:color .2s,border-color .2s}
.apply-to a:hover{color:var(--ink);border-color:var(--ink2)}
.job .body h2{font-size:22px}
.job .body>h2:first-child{margin-top:0}   /* the first heading sits under the rule like the rest of the page's rhythm, not 40 px below it */
.apply-end{margin-top:44px;padding-top:32px;border-top:1px solid var(--line)}
.apply-end h2{font:500 22px/1.25 var(--head);letter-spacing:-.02em;margin:0 0 12px}
.apply-end p{font-size:17px;line-height:1.7;margin:0}
.apply-end .apply{margin-top:24px}
.apply-end .eeo{margin-top:0;font-size:13.5px;line-height:1.6;color:var(--ink3)}
@media (max-width:560px){.job .apply{display:flex;justify-content:center;width:100%}.job .apply-row{justify-content:center}}
/* section titles, word by word (assets/pages.js marks them data-words and splits their words) */
h2[data-words] .w{display:inline-block;opacity:0;transform:translateY(.42em);filter:blur(6px)}
h2[data-words].on .w{opacity:1;transform:none;filter:none;transition:opacity .7s ease,transform .8s cubic-bezier(.2,.7,.2,1),filter .7s ease;transition-delay:calc(var(--i) * 70ms)}
/* the cards' amber light (assets/pages.js adds the .glow layer on desktop pointers) */
.tiles figure,.team>.person,.jobs a{position:relative}
.glow{position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .3s;z-index:1;
  background:radial-gradient(420px circle at var(--gx,50%) var(--gy,50%),rgba(192,100,40,.07),transparent 45%)}
.glow::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;
  background:radial-gradient(260px circle at var(--gx,50%) var(--gy,50%),rgba(192,100,40,.55),rgba(38,42,51,.08) 60%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.tiles figure:hover>.glow,.team>.person:hover>.glow,.jobs a:hover>.glow{opacity:1}

