/* Everysaid: the app's icon, a scroll unrolling into a speech bubble, drawn in thick brown ink on
   cream. The site borrows its outline, its paper and its four lines of text. */

:root {
    --paper: #f4ecdc;
    --paper-2: #ece0c6;
    --cream: #fffaf0;
    --cream-2: #efdfba;
    --gold: #c29c62;
    --gold-2: #ead3a0;
    --ink: #5e4428;
    --ink-deep: #3a2a17;
    --ink-night: #1f1710;
    --muted: #84705a;
    --rule: #d8c59f;
    --stamp: #a63d22;
    --line: 3px;
    --radius: 22px;
    --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
    --text: "Literata", Georgia, serif;
    --mono: "IBM Plex Mono", ui-monospace, monospace;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .37 0 0 0 0 .27 0 0 0 0 .16 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    overflow-x: clip;
    background: var(--paper) var(--grain);
    color: var(--ink-deep);
    font: 400 17px/1.65 var(--text);
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--gold); }
a:hover { color: var(--stamp); text-decoration-color: currentColor; }

::selection { background: var(--gold-2); color: var(--ink-deep); }

:focus-visible { outline: var(--line) solid var(--stamp); outline-offset: 3px; border-radius: 6px; }

img { max-width: 100%; height: auto; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

.kicker {
    font: 500 12px/1.4 var(--mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- top bar ---------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: blur(10px) saturate(1.2);
    border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
}
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-deep); }
.brand img { width: 38px; height: 38px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand span { font: 400 30px/1 var(--serif); letter-spacing: -.01em; }
.brand:hover { color: var(--ink-deep); }

.nav { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; }
.nav a {
    display: block;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 15px;
    text-decoration: none;
    color: var(--ink);
    transition: background .2s;
}
.nav a:hover { background: var(--paper-2); color: var(--ink-deep); }
.nav a.current { background: var(--ink); color: var(--cream); }

.button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border: var(--line) solid var(--ink);
    border-radius: 999px;
    background: var(--cream);
    color: var(--ink-deep);
    font: 600 16px/1 var(--text);
    text-decoration: none;
    box-shadow: 0 4px 0 var(--ink);
    transition: transform .15s, box-shadow .15s, background .15s;
}
.button:hover { color: var(--ink-deep); background: #fff; transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.button.dark { background: var(--ink); color: var(--cream); box-shadow: 0 4px 0 var(--ink-night); border-color: var(--ink-night); }
.button.dark:hover { background: var(--ink-deep); color: var(--cream); box-shadow: 0 6px 0 var(--ink-night); }
.button svg { width: 18px; height: 18px; }
.topbar .button { padding: 8px 16px; font-size: 14px; box-shadow: 0 3px 0 var(--ink); }

.menu-toggle { display: none; }

/* ---------- the icon's four lines, as a divider ---------- */

.lines { display: grid; gap: 9px; width: 120px; margin: 0 auto; }
.lines i { display: block; height: 5px; border-radius: 5px; background: var(--ink); }
.lines i:last-child { width: 62%; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero h1 {
    margin: 18px 0 22px;
    font: 400 clamp(56px, 7.4vw, 104px)/.92 var(--serif);
    letter-spacing: -.025em;
    color: var(--ink-deep);
}
.hero h1 em { font-style: italic; color: var(--stamp); padding-left: 0.1em; }
.hero .lede { max-width: 33em; margin: 0 0 34px; font-size: 19px; color: var(--ink); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero .try { margin-top: 26px; font: 400 13px/1.5 var(--mono); color: var(--muted); }
.hero .try code { white-space: nowrap; color: var(--ink); background: var(--paper-2); padding: 3px 7px; border-radius: 6px; }

/* the scroll's spiral, large and faint behind the conversation */
.hero .spiral {
    position: absolute;
    right: -140px;
    top: -120px;
    width: 640px;
    opacity: .09;
    pointer-events: none;
}

/* A conversation through the years: one person, every service. */
.thread { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 10px 0; }

.bubble {
    position: relative;
    max-width: 82%;
    padding: 14px 20px 13px;
    border: var(--line) solid var(--ink);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--cream), var(--cream-2));
    box-shadow: 0 10px 24px -14px rgba(58, 42, 23, .55);
    opacity: 0;
    animation: arrive .7s cubic-bezier(.2, .9, .3, 1.25) both;
}
/* the tail of the icon's bubble: a slanted triangle, ink under fill */
.bubble::before, .bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 34px;
    width: 26px;
    height: 20px;
    clip-path: polygon(0 0, 100% 0, 38% 100%);
}
.bubble::before { margin-top: -1px; background: var(--tail-line, var(--ink)); transform: scaleX(-1); }
.bubble::after { left: 38px; width: 18px; height: 14px; margin-top: -4px; background: var(--tail, var(--cream-2)); transform: scaleX(-1); }
.bubble.out { align-self: flex-end; background: linear-gradient(135deg, #7a5a35, var(--ink)); color: var(--cream); border-color: var(--ink-deep); --tail: var(--ink); --tail-line: var(--ink-deep); }
.bubble.out::before { left: auto; right: 34px; transform: none; }
.bubble.out::after { left: auto; right: 38px; transform: none; }
.bubble.out .meta { color: var(--gold-2); }
.bubble p { margin: 0; font-size: 17px; line-height: 1.45; }
.bubble .meta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 5px;
    font: 500 11px/1.3 var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.bubble .meta b { font-weight: 500; color: inherit; }
.bubble .meta b::before { content: "● "; color: var(--dot, var(--gold)); }
.bubble .voice { display: flex; align-items: center; gap: 3px; height: 24px; }
.bubble .voice i { width: 3px; border-radius: 2px; background: currentColor; opacity: .7; }

.bubble:nth-child(1) { animation-delay: .15s; transform: rotate(-1.2deg); }
.bubble:nth-child(2) { animation-delay: .45s; }
.bubble:nth-child(3) { animation-delay: .75s; }
.bubble:nth-child(4) { animation-delay: 1.05s; }
.bubble:nth-child(5) { animation-delay: 1.35s; }
.bubble:nth-child(6) { animation-delay: 1.65s; }

@keyframes arrive {
    from { opacity: 0; transform: translateY(26px) scale(.94); }
    to   { opacity: 1; }
}

.thread .years {
    position: absolute;
    left: -34px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(var(--rule) 0 6px, transparent 6px 12px);
}

.hero-intro > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-intro > :nth-child(2) { animation-delay: .08s; }
.hero-intro > :nth-child(3) { animation-delay: .16s; }
.hero-intro > :nth-child(4) { animation-delay: .24s; }
.hero-intro > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- the services, as an unrolling strip ---------- */

.strip-wrap { overflow: hidden; padding: 14px 0; }

.strip {
    border-block: var(--line) solid var(--ink);
    background: var(--ink);
    color: var(--cream);
    overflow: hidden;
    transform: rotate(-1deg);
    margin: 0 -20px;
}
.strip .track { display: flex; width: max-content; animation: unroll 60s linear infinite; }
.strip:hover .track { animation-play-state: paused; }
.strip ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.strip li { padding: 16px 26px; font: 400 30px/1 var(--serif); white-space: nowrap; }
.strip li::after { content: "✳"; margin-left: 52px; font-size: 16px; color: var(--gold); vertical-align: middle; }
.strip li.old { font-style: italic; color: var(--gold-2); }
@keyframes unroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

section.band { padding: 110px 0; }
.band-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.band-head h2 {
    margin: 14px 0 16px;
    font: 400 clamp(40px, 5vw, 64px)/1 var(--serif);
    letter-spacing: -.02em;
    color: var(--ink-deep);
}
.band-head h2 em { color: var(--stamp); }
.band-head p { margin: 0; font-size: 18px; color: var(--ink); }

/* the app, a desktop window with a phone leaning on it */
.showcase { position: relative; padding-right: 120px; }
.window {
    border: var(--line) solid var(--ink);
    border-radius: 18px;
    overflow: hidden;
    background: var(--cream);
    box-shadow: 0 40px 70px -40px rgba(58, 42, 23, .7), 0 0 0 10px color-mix(in srgb, var(--paper-2) 70%, transparent);
}
.window .bar {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 11px 16px;
    border-bottom: var(--line) solid var(--ink);
    background: var(--cream-2);
}
.window .bar i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }
.window .bar span { margin-left: 12px; font: 400 12px/1 var(--mono); color: var(--muted); }
.window img { display: block; width: 100%; }

.phone {
    position: absolute;
    right: 0;
    bottom: -60px;
    width: 250px;
    padding: 9px;
    border: var(--line) solid var(--ink);
    border-radius: 38px;
    background: var(--ink-night);
    box-shadow: 0 30px 60px -20px rgba(31, 23, 16, .8);
    transform: rotate(3deg);
}
.phone img { display: block; border-radius: 30px; }

/* three numbered drawers */
.drawers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 140px; }
.drawer {
    position: relative;
    padding: 34px 30px 30px;
    border: var(--line) solid var(--ink);
    border-radius: var(--radius);
    background: var(--cream);
    transition: transform .3s cubic-bezier(.3, 1.5, .5, 1);
}
.drawer:hover { transform: translateY(-6px) rotate(-.4deg); }
.drawer .no {
    position: absolute;
    top: -19px;
    left: 26px;
    padding: 6px 14px;
    border: var(--line) solid var(--ink);
    border-radius: 999px;
    background: var(--gold-2);
    font: 500 12px/1 var(--mono);
    letter-spacing: .1em;
    color: var(--ink-deep);
}
.drawer h3 { margin: 4px 0 10px; font: 400 36px/1.05 var(--serif); color: var(--ink-deep); }
.drawer p { margin: 0 0 14px; color: var(--ink); }
.drawer ul { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.drawer li { padding: 7px 0; border-top: 1px dashed var(--rule); }
.drawer li::before { content: "·"; margin-right: 8px; color: var(--stamp); font-weight: 700; }

/* principles, a ledger */
.ledger { background: var(--cream); border-block: var(--line) solid var(--ink); }
.ledger-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.ledger-grid > div { padding: 34px 32px 38px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ledger-grid > div:nth-child(3n) { border-right: 0; }
.ledger-grid > div:nth-last-child(-n+3) { border-bottom: 0; }
.ledger-grid h3 { margin: 0 0 8px; font: 400 28px/1.1 var(--serif); color: var(--ink-deep); }
.ledger-grid p { margin: 0; font-size: 15.5px; color: var(--ink); }
.ledger-grid .kicker { display: block; margin-bottom: 14px; color: var(--stamp); }

/* the assistant, on the night side of the paper */
.night { background: var(--ink-night) var(--grain); color: var(--cream-2); }
.night .band-head h2 { color: var(--cream); }
.night .band-head h2 em { color: var(--gold); }
.night .band-head p { color: var(--cream-2); }
.night .kicker { color: var(--gold); }
.ask { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ask .bubble { max-width: 100%; opacity: 1; animation: none; }
.ask .bubble.out { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink-night); border-color: var(--cream-2); --tail: var(--gold); --tail-line: var(--cream-2); }
.ask .bubble.out .meta { color: var(--ink); }
.ask .bubble.in { border-color: var(--cream-2); background: linear-gradient(135deg, #2a2018, var(--ink-night)); color: var(--cream-2); --tail: var(--ink-night); --tail-line: var(--cream-2); }
.ask .bubble.in .meta { color: var(--gold); }
.ask .chat { display: flex; flex-direction: column; gap: 22px; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.tools li {
    padding: 6px 12px;
    border: 1.5px solid color-mix(in srgb, var(--gold) 60%, transparent);
    border-radius: 8px;
    font: 400 13px/1.2 var(--mono);
    color: var(--cream-2);
}
.night a { color: var(--gold-2); }
.night .button { border-color: var(--cream-2); background: var(--cream); color: var(--ink-deep); box-shadow: 0 4px 0 var(--gold); }
.night .button:hover { color: var(--ink-deep); }

/* the demo, a call to begin */
.begin { text-align: center; }
.begin .terminal {
    display: inline-block;
    margin: 8px 0 34px;
    padding: 18px 28px;
    border: var(--line) solid var(--ink);
    border-radius: 16px;
    background: var(--ink-night);
    color: var(--cream);
    font: 400 16px/1.5 var(--mono);
    text-align: left;
    box-shadow: 0 6px 0 var(--ink);
}
.begin .terminal span { color: var(--gold); user-select: none; }

/* ---------- inner pages ---------- */

.page-head { padding: 72px 0 48px; border-bottom: var(--line) solid var(--ink); background: var(--cream) var(--grain); }
.page-head h1 { margin: 12px 0 14px; font: 400 clamp(52px, 7vw, 88px)/.95 var(--serif); letter-spacing: -.02em; color: var(--ink-deep); }
.page-head p { max-width: 40em; margin: 0; font-size: 19px; color: var(--ink); }

.prose { max-width: 760px; margin: 0 auto; padding: 64px 0 110px; }
.prose h2 {
    margin: 64px 0 16px;
    font: 400 44px/1.05 var(--serif);
    letter-spacing: -.01em;
    color: var(--ink-deep);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 38px 0 10px; font: 600 19px/1.3 var(--text); color: var(--ink-deep); }
.prose p, .prose li { color: var(--ink-deep); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--stamp); }
.prose strong { color: var(--ink-deep); font-weight: 650; }
.prose code {
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--paper-2);
    font: 400 .86em/1 var(--mono);
    color: var(--ink-deep);
}
.prose pre {
    margin: 22px 0;
    padding: 20px 24px;
    border: var(--line) solid var(--ink);
    border-radius: 16px;
    background: var(--ink-night);
    color: var(--cream);
    overflow-x: auto;
    font: 400 14.5px/1.6 var(--mono);
    box-shadow: 0 5px 0 var(--ink);
}
.prose pre code { padding: 0; background: none; color: inherit; font: inherit; }
.prose table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 15.5px; }
.prose th { padding: 10px 12px; border-bottom: var(--line) solid var(--ink); text-align: left; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prose td { padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose blockquote {
    margin: 26px 0;
    padding: 18px 24px;
    border: var(--line) solid var(--ink);
    border-radius: var(--radius);
    background: var(--cream);
}
.prose blockquote p { margin: 0; }
.prose figure { margin: 34px 0; }
.prose figure img { display: block; border: var(--line) solid var(--ink); border-radius: 14px; }
.prose figcaption { margin-top: 10px; font: 400 13px/1.5 var(--mono); color: var(--muted); text-align: center; }
.prose .wide { width: min(1080px, 100vw - 48px); margin-left: 50%; transform: translateX(-50%); }

/* ---------- screenshots ---------- */

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 30px; margin: 30px 0 70px; }
.shots.phones { grid-template-columns: repeat(4, 1fr); }
.shot { margin: 0; }
.shot a {
    display: block;
    overflow: hidden;
    border: var(--line) solid var(--ink);
    border-radius: 16px;
    background: var(--cream);
    box-shadow: 0 5px 0 var(--ink);
    transition: transform .2s, box-shadow .2s;
}
.phones .shot a { border-radius: 26px; }
.shot a:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 9px 0 var(--ink); }
.shot img { display: block; width: 100%; }
.shot figcaption { margin-top: 14px; font-size: 15px; text-align: center; color: var(--ink); }

/* the screenshots page needs the room the text does not */
.page-screenshots .prose { max-width: 1080px; }
.prose .shot { margin: 0; }
.prose .shot figcaption { font: 400 15px/1.4 var(--text); color: var(--ink); }

#viewer {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    inset: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
}
#viewer[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; animation: viewer-fade .25s ease both; }
#viewer[open]::backdrop { animation: viewer-fade .25s ease both; }
@keyframes viewer-fade { from { opacity: 0; } to { opacity: 1; } }
#viewer::backdrop { background: rgba(31, 23, 16, .92); }
.viewer-stage { position: relative; display: flex; align-items: center; justify-content: center; width: calc(100vw - 150px); height: calc(100vh - 110px); }
#viewer-image { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 8px 32px rgba(0, 0, 0, .55); transition: opacity .15s ease; }
#viewer.is-loading #viewer-image { opacity: 0; }
.viewer-spinner { position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255, 250, 240, .25); border-top-color: var(--cream); border-radius: 50%; opacity: 0; transition: opacity .15s ease; }
#viewer.is-loading .viewer-spinner { opacity: 1; animation: viewer-spin .7s linear infinite; }
@keyframes viewer-spin { to { transform: rotate(360deg); } }
#viewer-caption { margin: 18px 0 0; padding: 0 20px; text-align: center; font-size: 15px; color: var(--cream-2); }
#viewer button {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid rgba(255, 250, 240, .35);
    border-radius: 50%;
    background: rgba(255, 250, 240, .1);
    color: var(--cream);
    cursor: pointer;
    transition: background .15s ease;
}
#viewer button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#viewer button:hover { background: rgba(255, 250, 240, .25); }
.viewer-close { top: 18px; right: 18px; }
.viewer-prev { top: 50%; left: 18px; transform: translateY(-50%); }
.viewer-next { top: 50%; right: 18px; transform: translateY(-50%); }

/* ---------- footer ---------- */

.foot { padding: 56px 0 46px; border-top: var(--line) solid var(--ink); background: var(--paper-2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.foot .brand span { font-size: 26px; }
.foot p { margin: 0; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }

/* ---------- smaller screens ---------- */

@media (max-width: 980px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
    .thread { max-width: 560px; margin-left: 34px; }
    .showcase { padding-right: 0; }
    .phone { width: 190px; right: -6px; bottom: -80px; }
    .drawers { grid-template-columns: 1fr; gap: 40px; }
    .ledger-grid { grid-template-columns: 1fr 1fr; }
    .ledger-grid > div:nth-child(3n) { border-right: 1px solid var(--rule); }
    .ledger-grid > div:nth-child(2n) { border-right: 0; }
    .ledger-grid > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
    .ledger-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
    .ask { grid-template-columns: 1fr; }
    .shots.phones { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .wrap { width: calc(100% - 32px); }
    .topbar .wrap { gap: 12px; }
    .topbar .button { display: none; }
    .menu-toggle {
        display: flex;
        margin-left: auto;
        padding: 8px;
        border: 2px solid var(--ink);
        border-radius: 10px;
        background: var(--cream);
        color: var(--ink);
        cursor: pointer;
    }
    .menu-toggle svg { width: 22px; height: 22px; }
    .nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 10px 16px 18px;
        background: var(--paper);
        border-bottom: var(--line) solid var(--ink);
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px 14px; font-size: 17px; }
    .hero { padding: 40px 0 70px; }
    .hero .spiral { width: 420px; right: -160px; top: -60px; }
    .thread .years { display: none; }
    .thread { margin-left: 0; }
    .bubble { max-width: 92%; }
    section.band { padding: 80px 0; }
    .phone { display: none; }
    .drawers { margin-top: 80px; }
    .ledger-grid { grid-template-columns: 1fr; }
    .ledger-grid > div { border-right: 0 !important; border-bottom: 1px solid var(--rule) !important; }
    .ledger-grid > div:last-child { border-bottom: 0 !important; }
    .shots { grid-template-columns: 1fr; }
    .strip li { font-size: 24px; padding: 13px 20px; }
    .viewer-stage { width: calc(100vw - 24px); }
    .prose .wide { width: 100%; margin-left: 0; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
    .strip .track { animation: none; }
}


/* the 404, one column */
.hero.lost { padding: 120px 0 140px; }
.hero.lost .wrap { grid-template-columns: 1fr; }

/* talks (fosscomm) */
.page-fosscomm .prose { max-width: 1080px; }
.talk {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 28px;
    border: var(--line) solid var(--ink);
    border-radius: var(--radius);
    background: var(--cream) var(--grain);
    box-shadow: 0 6px 0 var(--ink);
}
.talk-cover img {
    display: block;
    width: 100%;
    height: auto;
    border: var(--line) solid var(--ink-night);
    border-radius: 14px;
    transition: transform .2s;
}
.talk-cover:hover img { transform: rotate(-1deg) scale(1.01); }
.talk-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.talk-meta span:first-child { color: var(--stamp); }
.prose .talk h2 { margin: 14px 0 6px; padding: 0; border: 0; font: 600 26px/1.25 var(--text); color: var(--ink-deep); }
.talk-en { margin: 0 0 16px; font: italic 400 24px/1.2 var(--serif); color: var(--ink); }
.talk p { font-size: 16.5px; }
.talk .actions { display: flex; gap: 14px; margin-top: 22px; }
@media (max-width: 820px) {
    .talk { grid-template-columns: 1fr; gap: 24px; padding: 18px; }
}
