@font-face{font-family:"Inter Tight";src:url(/assets/inter-tight.62103215dd.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(/assets/jetbrains-mono.6746385663.woff2) format("woff2");font-weight:100 800;font-display:swap}
@font-face{font-family:"Newsreader";src:url(/assets/newsreader.28651a4570.woff2) format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:"Zodiak";src:url(/assets/zodiak-700.f7cb1b5986.woff2) format("woff2");font-weight:700;font-display:swap}

/* The wall is neutral. All colour below it belongs to the products. */
:root{
  --wall:#ebe8e0; --ink:#1b1b1a; --dim:#66635b; --rule:#cfcbc0; --sel:#d6cfb8; --lift:rgba(30,28,20,.38);
  --sans:"Inter Tight",ui-sans-serif,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --mono:"JetBrains Mono","SF Mono",ui-monospace,Menlo,monospace;
  /* sched.fyi: cream and rust by day, its own ink and orange by night */
  --sched-bg:#fbf6ec; --sched-ink:#221b14; --sched-accent:#8a4a1e;
  /* Ahead: violet deepens at night so white keeps its contrast and the tile settles on charcoal */
  --ahead-bg:#6654ff;
  /* Seven Seals: the same board in both */
  --seals-bg:#243d39; --seals-ink:#f1f2e8; --seals-gold:#dac38b;
  /* MyClaude: clay drops a little in lightness at night */
  --claude-bg:#D97757; --claude-ink:#1F1F1E;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --wall:#1a1b1d; --ink:#ecebe6; --dim:#a09f99; --rule:#34363a; --sel:#4a4a40; --lift:rgba(0,0,0,.7);
    --sched-bg:#221b14; --sched-ink:#fbf6ec; --sched-accent:#d87a2a;
    --ahead-bg:#5240e6; --claude-bg:#C96A49; --claude-ink:#141413; color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --wall:#1a1b1d; --ink:#ecebe6; --dim:#a09f99; --rule:#34363a; --sel:#4a4a40; --lift:rgba(0,0,0,.7);
  --sched-bg:#221b14; --sched-ink:#fbf6ec; --sched-accent:#d87a2a;
  --ahead-bg:#5240e6; --claude-bg:#C96A49; --claude-ink:#141413; color-scheme:dark;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--wall);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:var(--sel);color:var(--ink)}
a:focus-visible,button:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.wrap{max-width:1240px;margin:0 auto;padding:18px 16px 56px}
@media (min-width:900px){.wrap{padding:26px 40px 80px}}

/* frame: one sans, one mono */
.bar{display:flex;justify-content:space-between;align-items:baseline;font-family:var(--mono);font-size:13.5px}
.bar a{color:inherit;text-decoration:none;font-weight:600}
.bar a.contact{font-weight:400;color:var(--dim);text-decoration:underline;text-underline-offset:.24em;text-decoration-thickness:1px}
.bar a.contact:hover{color:var(--ink)}
h1{margin:36px 0 0;font-size:33px;line-height:1.07;letter-spacing:-.035em;font-weight:600;max-width:15em;text-wrap:balance}
h1 .dim{color:var(--dim)}
h1 .nm{white-space:nowrap}
@media (min-width:900px){h1{font-size:58px;margin:48px 0 0;line-height:1.04;max-width:21em}}

/* the shelf */
.shelf{display:grid;grid-template-columns:1fr;gap:12px;margin-top:28px}
@media (min-width:900px){
  .shelf{grid-template-columns:repeat(12,1fr);margin-top:44px}
  .t-sched{grid-column:1/8;grid-row:1}
  .t-ahead{grid-column:8/13;grid-row:1/3}
  .t-seals{grid-column:1/8;grid-row:2}
  .t-claude{grid-column:1/13;grid-row:3}
}

.tile{position:relative;display:flex;flex-direction:column;gap:26px;padding:22px 20px 20px;border-radius:6px;overflow:hidden;
  transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s cubic-bezier(.2,.7,.2,1)}
@media (min-width:900px){.tile{padding:28px 32px 28px}}
@media (hover:hover){.tile:hover{transform:translateY(-3px);box-shadow:0 18px 30px -18px var(--lift)}}
.tile:has(.go:focus-visible){outline:3px solid var(--ink);outline-offset:4px}
.tile .top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;min-height:20px}
.tile .state{margin:0;font-family:var(--mono);font-size:12.5px;line-height:1.45;font-weight:500;letter-spacing:.01em}
.tile .name{margin:0}
.tile .desc{margin:0;max-width:24em;text-wrap:pretty}
/* the visible "Go to" text is the one link; its pseudo-element stretches over the tile */
.tile .go{align-self:flex-start;font-family:var(--mono);font-size:13.5px;font-weight:600;color:inherit;text-decoration:underline;text-underline-offset:.26em;text-decoration-thickness:1.5px;transition:text-decoration-thickness .15s}
.tile .go::after{content:"";position:absolute;inset:0}
.tile:hover .go{text-decoration-thickness:3px}
.tile .go:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@supports selector(:has(a)){.tile .go:focus-visible{outline:none}}
@media (prefers-reduced-motion:reduce){.tile,.tile .go{transition:none}.tile:hover{transform:none}}

/* sched.fyi */
.t-sched{background:var(--sched-bg);color:var(--sched-ink);min-height:320px;justify-content:space-between}
.t-sched .state{color:var(--sched-accent)}
.t-sched .mark{width:32px;height:32px;color:var(--sched-accent);flex:none}
.t-sched .name{font-family:"Zodiak","Iowan Old Style",Georgia,serif;font-weight:700;font-size:56px;line-height:1;letter-spacing:-.02em;margin-bottom:14px;color:var(--sched-accent)}
@media (min-width:900px){.t-sched .name{font-size:84px}}
.t-sched .desc{font-size:17px;line-height:1.45}
.t-sched .ruler{height:24px;margin:0 -20px;background:
  repeating-linear-gradient(90deg,var(--sched-accent) 0 1px,transparent 1px 12px) 6px 100%/100% 9px no-repeat,
  repeating-linear-gradient(90deg,var(--sched-accent) 0 1px,transparent 1px 60px) 6px 100%/100% 18px no-repeat}
@media (min-width:900px){.t-sched .ruler{margin:0 -32px}}
.t-sched .ruler-go{display:flex;flex-direction:column;gap:14px}

/* Ahead */
.t-ahead{background:var(--ahead-bg);color:#fff;gap:20px}
.t-ahead .state{color:#fff}
.t-ahead .icon{width:52px;height:52px;border-radius:12px;display:block;flex:none}
.t-ahead .name{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;font-weight:700;font-size:56px;line-height:1;letter-spacing:-.035em}
@media (min-width:900px){.t-ahead .name{font-size:72px}}
.t-ahead .desc{font-size:19px;line-height:1.38;max-width:17em}
.t-ahead .shot{margin:auto 0 -20px;align-self:center;width:min(76%,340px);border-radius:40px 40px 0 0;overflow:hidden;line-height:0;max-height:300px}
@media (min-width:900px){.t-ahead .shot{margin-bottom:-28px;width:82%;max-height:none;flex:1 1 auto;min-height:0}}
.t-ahead .shot img{width:100%;display:block}

/* Seven Seals */
.t-seals{background:var(--seals-bg);color:var(--seals-ink);min-height:290px;justify-content:space-between}
.t-seals .state{color:var(--seals-gold)}
.t-seals .name{font-family:Baskerville,"Baskerville Old Face","Times New Roman",serif;font-weight:400;font-size:52px;line-height:1;letter-spacing:-.01em;margin-bottom:14px}
@media (min-width:900px){.t-seals .name{font-size:76px}}
.t-seals .desc{font-family:Baskerville,"Baskerville Old Face","Times New Roman",serif;font-size:21px;line-height:1.35;color:#dfe6d6}
@media (min-width:900px){.t-seals .desc{max-width:15em}}
.t-seals .seal{position:absolute;right:20px;top:16px;width:76px;height:76px;color:var(--seals-gold);opacity:.8;pointer-events:none}
@media (min-width:900px){.t-seals .seal{width:300px;height:300px;right:12px;top:auto;bottom:-34px;opacity:.75}}

/* MyClaude */
.t-claude{background:var(--claude-bg);color:var(--claude-ink);min-height:220px;font-family:"Newsreader","Source Serif 4",Georgia,serif;justify-content:space-between}
.t-claude .state{color:var(--claude-ink)}
.t-claude .name{font-weight:600;font-size:46px;line-height:1;letter-spacing:-.015em;margin-bottom:10px}
.t-claude .desc{font-size:19px;line-height:1.35;max-width:20em}
.t-claude .heat{display:none;grid-template-rows:repeat(7,1fr);grid-auto-flow:column;gap:3px;position:absolute;right:32px;bottom:28px}
.t-claude .heat i{width:13px;height:13px;border-radius:2px;display:block}
.t-claude .heat i.a{background:#EEE8DA}
.t-claude .heat i.b{background:#D9B793}
.t-claude .heat i.c{background:#E4D2BA}
.t-claude .heat i.d{background:#C98C62}
.t-claude .heat i.e{background:#A14D26}
.t-claude .heat i.f{background:#B96A3E}
@media (min-width:900px){.t-claude .heat{display:grid}.t-claude{min-height:210px}}

/* the workshop note: on the wall, no card */
.note{padding:0 2px;margin-top:22px;grid-column:1/-1}
.note h2,.recent h2{font-family:var(--mono);font-size:12.5px;font-weight:500;color:var(--dim);margin:0 0 4px}
.note p{margin:0;font-size:16.5px;line-height:1.45;max-width:30em;text-wrap:balance}

/* recently: a small table on desktop */
.recent{margin-top:56px;border-top:1px solid var(--rule);padding-top:16px}
@media (min-width:900px){.recent{margin-top:80px}}
.recent ol{list-style:none;margin:8px 0 0;padding:0;max-width:760px}
.recent li{display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:1px;padding:9px 0;border-top:1px solid var(--rule)}
.recent li:first-child{border-top:0}
.recent .d{font-family:var(--mono);font-size:13px;color:var(--dim);font-variant-numeric:tabular-nums}
.recent .p{font-weight:600;font-size:16px}
.recent .t{grid-column:1/-1;font-size:17px}
@media (min-width:900px){
  .recent li{grid-template-columns:5rem 7.5rem 1fr;column-gap:20px;align-items:baseline}
  .recent .t{grid-column:auto}
}

footer{margin-top:44px;display:flex;flex-wrap:wrap;gap:6px 28px;font-family:var(--mono);font-size:13px;color:var(--dim)}
footer a{color:var(--ink);text-underline-offset:.22em;text-decoration-thickness:1px}
.theme{font:inherit;color:var(--dim);background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:.22em;cursor:pointer}
.theme:hover{color:var(--ink)}
.theme:not([data-ready]){visibility:hidden}

/* the not-found page, in the same frame */
.lost{margin-top:36px}
.lost p{margin:0 0 12px;font-size:17px}
.lost a{color:var(--ink);text-underline-offset:.22em;text-decoration-thickness:1px}
