Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added drafts/mobile/shots/home/home-before-after.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 9 additions & 3 deletions src/components/Disclosure.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@
<div class="kw-disclosure mono">
<span style="color: var(--ink)">Not interviews — the Third Body in action.</span>
<span class="disc-links">
<a href="/definition" style="color: var(--signal-ink); border-bottom: 1px solid var(--signal-ink); flex-shrink: 0">
<a href="/definition" class="disc-link">
What is knowware? →
</a>
<a href="/method" style="color: var(--signal-ink); border-bottom: 1px solid var(--signal-ink); flex-shrink: 0">
<a href="/method" class="disc-link">
What does that mean? →
</a>
</span>
</div>

<style>
.disc-links { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.disc-links { display: flex; gap: 0 20px; flex-wrap: wrap; }
/* 44px tall target; the underline is a text decoration so it stays beside the words. */
.disc-link {
color: var(--signal-ink); flex-shrink: 0;
display: inline-flex; align-items: center; min-height: 44px;
text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
</style>
5 changes: 3 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const QUOTES = [
</div>
<div class="kw-spine-bars">
{SPINE.map((s) => (
<a href={`/read/${s.n}`} class="kw-spine-bar" style={`height:${s.h}%`}>
<a href={`/read/${s.n}`} class="kw-spine-bar" style={`--h:${s.h}`}>
<span class="kw-spine-ch">ch{s.n}</span>
<span class="kw-spine-title">{s.title}</span>
</a>
Expand Down Expand Up @@ -225,9 +225,10 @@ const QUOTES = [
letter-spacing: -.03em; margin: 0;
}
.kw-spine-read-btn {
font-size: 11px; background: none;
font-size: 12px; background: none;
border: 1px solid var(--ink); padding: 6px 10px;
cursor: pointer; flex-shrink: 0; color: var(--ink);
display: inline-flex; align-items: center; min-height: 44px;
}
.kw-spine-read-btn:hover { background: var(--ink); color: var(--paper); }

Expand Down
48 changes: 38 additions & 10 deletions src/styles/kw.css
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,11 @@ article[data-kw-read] {
text-transform: uppercase;
margin: 0; padding: clamp(20px,3vw,36px) clamp(16px,3vw,48px) 0;
}
/* The 64px floor made the word 392px wide: clipped, and the only overflow on the page.
Below 601px size it from the width it has (the word is about 5.9em wide). */
@media (max-width: 600px) {
.kw-hero-word { font-size: calc((100vw - 32px) / 6.3); }
}
.kw-hero-foot {
display: flex; justify-content: space-between; align-items: flex-end;
gap: 24px; flex-wrap: wrap;
Expand Down Expand Up @@ -356,7 +361,7 @@ article[data-kw-read] {
padding: 10px clamp(16px,3vw,48px);
display: flex; justify-content: space-between; align-items: center;
gap: 16px; flex-wrap: wrap;
font: 400 11px/1.4 "JetBrains Mono", ui-monospace, monospace;
font: 400 12px/1.4 "JetBrains Mono", ui-monospace, monospace;
}

/* ============================================================
Expand Down Expand Up @@ -646,11 +651,11 @@ html.kw-dock-off .kw-foot { padding-bottom: calc(clamp(24px,3vw,32px) + env(safe
}
.kw-masthead-cell:last-child { border-right: none; }
.kw-masthead-lbl {
font: 500 11px/1 "JetBrains Mono", ui-monospace, monospace;
font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace;
letter-spacing: .1em; text-transform: uppercase; color: var(--sub2);
}
.kw-masthead-val {
font: 500 11px/1 "JetBrains Mono", ui-monospace, monospace;
font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace;
color: var(--ink);
}

Expand All @@ -669,7 +674,7 @@ html.kw-dock-off .kw-foot { padding-bottom: calc(clamp(24px,3vw,32px) + env(safe
background: var(--bg); color: var(--ink);
border: 0; border-left: 1px solid var(--rule);
padding: 0 16px; cursor: pointer; min-width: 44px;
font: 500 11px/1 "JetBrains Mono", ui-monospace, monospace;
font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace;
letter-spacing: .06em; text-transform: uppercase;
}
.kw-motion-btn:hover { background: var(--accent-soft); }
Expand All @@ -684,14 +689,14 @@ html.kw-dock-off .kw-foot { padding-bottom: calc(clamp(24px,3vw,32px) + env(safe
font: 400 12px/1 "JetBrains Mono", ui-monospace, monospace;
letter-spacing: .02em;
display: inline-flex; align-items: center;
gap: 10px; padding: 11px 22px;
gap: 10px; padding: 16px 22px; /* 45px strip: the pause button inside it is a 44px target */
border-right: 1px solid var(--rule);
white-space: nowrap;
}
.kw-marquee-swatch {
width: 10px; height: 10px; flex-shrink: 0; display: inline-block;
}
.kw-marquee-code { color: var(--sub2); font-size: 11px; }
.kw-marquee-code { color: var(--sub2); font-size: 12px; }

/* ============================================================
Grid label (section prefix)
Expand Down Expand Up @@ -723,6 +728,7 @@ html.kw-dock-off .kw-foot { padding-bottom: calc(clamp(24px,3vw,32px) + env(safe
background: var(--paper);
}
.kw-spine-bar {
height: calc(var(--h) * 1%);
background: var(--ink);
display: flex; flex-direction: column;
justify-content: space-between;
Expand All @@ -732,10 +738,10 @@ html.kw-dock-off .kw-foot { padding-bottom: calc(clamp(24px,3vw,32px) + env(safe
}
.kw-spine-bar:hover { background: var(--accent); }
.kw-spine-ch {
font: 400 11px/1 "JetBrains Mono", ui-monospace, monospace; color: inherit;
font: 400 12px/1 "JetBrains Mono", ui-monospace, monospace; color: inherit;
}
.kw-spine-title {
font-size: 11px;
font-size: 12px;
writing-mode: vertical-rl;
transform: rotate(180deg);
letter-spacing: -.005em;
Expand All @@ -744,10 +750,32 @@ html.kw-dock-off .kw-foot { padding-bottom: calc(clamp(24px,3vw,32px) + env(safe
color: inherit;
}
.kw-spine-caption {
display: flex; justify-content: space-between;
font: 400 11px/1 "JetBrains Mono", ui-monospace, monospace;
display: flex; justify-content: space-between; gap: 12px;
font: 400 12px/1.3 "JetBrains Mono", ui-monospace, monospace;
color: var(--sub); margin-top: 8px;
}
/* Phones: nine 33px-wide columns with rotated, truncated titles become nine 56px rows with the
full title; the bar survives as a hairline under each row (width = page count). */
@media (max-width: 600px) {
.kw-spine-bars { display: flex; flex-direction: column; align-items: stretch; height: auto; padding: 0; gap: 0; }
.kw-spine-bar {
height: auto; min-height: 56px; position: relative;
flex-direction: row; justify-content: flex-start; align-items: center; gap: 14px;
padding: 10px 14px 16px; background: transparent; color: var(--ink);
border-bottom: 1px solid var(--rule);
}
.kw-spine-bar:last-child { border-bottom: 0; }
.kw-spine-bar::after {
content: ''; position: absolute; left: 14px; bottom: 7px; height: 4px;
width: calc((100% - 28px) * var(--h) / 100); background: var(--ink);
}
.kw-spine-bar:hover, .kw-spine-bar:focus-visible { background: var(--accent-soft); color: var(--ink); }
.kw-spine-ch { color: var(--sub); flex-shrink: 0; width: 2.6em; }
.kw-spine-title {
writing-mode: horizontal-tb; transform: none; white-space: normal; max-height: none;
font: 500 15px/1.25 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.01em; overflow: visible;
}
}

/* ============================================================
Thesis full-bleed band
Expand Down
Loading