/* Sedi Labs site. Fonts: DM Serif Display + DM Sans (SIL OFL, files in fonts/), self-hosted: no third-party requests. */
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(fonts/dm-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(fonts/dm-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url(fonts/dm-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-display: swap; src: url(fonts/dm-serif-display-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/dm-serif-display-latin-400-italic.woff2) format("woff2"); }

:root {
  /* The app's own palette (Tailwind stone + amber, tailwind.config.js), so company and product read as one family. */
  --bg: #f5f5f4; --surface: #e7e5e4; --ink: #1c1917; --muted: #57534e; --line: #d6d3d1;
  --accent: #b45309; --accent-ink: #fffbeb; --todo-bg: #fde68a; --todo-ink: #5a3a00;
  --serif: "DM Serif Display", Georgia, serif; --sans: "DM Sans", system-ui, sans-serif;
  --wrap: 72rem; --pad: clamp(1rem, 4vw, 2.5rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0c0a09; --surface: #1c1917; --ink: #f5f5f4; --muted: #a8a29e; --line: #292524;
    --accent: #f59e0b; --accent-ink: #1c1917; --todo-bg: #78350f; --todo-ink: #fde68a; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0c0a09; --surface: #1c1917; --ink: #f5f5f4; --muted: #a8a29e; --line: #292524;
  --accent: #f59e0b; --accent-ink: #1c1917; --todo-bg: #78350f; --todo-ink: #fde68a; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--bg); padding: .5rem 1rem; z-index: 9; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem var(--pad); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; font: 1.35rem/1 var(--serif); }
.top nav { display: flex; align-items: center; gap: clamp(.6rem, 3vw, 1.8rem); font-size: .95rem; }
.top nav a { text-decoration: none; }
.top nav a:not(.pill):hover { color: var(--accent); }
.pill { border: 1px solid var(--ink); border-radius: 99px; padding: .35rem .9rem; }
.pill:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 30rem) { .top nav a[href$="#about"] { display: none; } }

main { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.eyebrow a { text-decoration: none; } .eyebrow a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.7rem, 9vw, 6rem); max-width: 14ch; }
h1 em { color: var(--accent); }
h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h3 { font-size: 1.45rem; margin: .4rem 0 .5rem; }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 38rem; margin: 1.5rem 0 0; }
.small { font-size: .9rem; } .muted { color: var(--muted); } .center { text-align: center; }

.hero { padding: clamp(3.5rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 5rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1rem; }
.btn { display: inline-flex; align-items: center; min-height: 3rem; padding: .75rem 1.4rem; border-radius: 99px; background: var(--accent);
  color: var(--accent-ink); font-weight: 500; text-decoration: none; border: 1px solid var(--accent); transition: transform .15s ease; word-break: break-all; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }

.block { padding: clamp(3rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }
.block-head { margin-bottom: 2.5rem; }
.products { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.product { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: start; padding: 1.75rem 0;
  border-bottom: 1px solid var(--line); text-decoration: none; }
a.product:hover .p-name, a.product:hover .arrow { color: var(--accent); }
a.product:hover .arrow { transform: translateX(6px); }
.num { font-size: .8rem; color: var(--muted); padding-top: .55rem; font-variant-numeric: tabular-nums; }
.p-main { display: flex; flex-direction: column; gap: .5rem; }
.p-name { font: clamp(1.9rem, 6vw, 3rem)/1.05 var(--serif); }
.p-desc { color: var(--muted); max-width: 36rem; }
.soon .p-name { color: var(--muted); }
.arrow { font-size: 1.8rem; transition: transform .2s ease; padding-top: .3rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .25rem; }
.tags span { font-size: .78rem; border: 1px solid var(--line); border-radius: 99px; padding: .15rem .65rem; color: var(--muted); }

.statement { padding: clamp(3rem, 10vw, 7rem) 0; border-top: 1px solid var(--line); }
.statement p { font: clamp(1.8rem, 5vw, 3.2rem)/1.15 var(--serif); margin: 0; max-width: 22ch; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2.5rem 2rem; }
.principles p { color: var(--muted); margin: 0; }

.cta { padding: clamp(3.5rem, 10vw, 7rem) 0; border-top: 1px solid var(--line); }
.cta .actions .btn { margin-top: 0; }
.cta > .btn { margin-top: 2rem; }
.founder-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; max-width: 44rem; }
.founder-row > div { flex: 1 1 16rem; min-width: 0; }
.founder-row p { margin: .25rem 0; }
.portrait { width: 10rem; height: 10rem; border-radius: 1.25rem; object-fit: cover; flex: none; }
.initials { display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font: 2.6rem/1 var(--serif); color: var(--accent); }
.f-name { font: 1.6rem/1.1 var(--serif); }
.cta .small { margin-top: 1.5rem; }

.product-hero { padding-bottom: 2rem; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(13rem, 1fr)); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 1rem 0; margin: 0 calc(var(--pad) * -1); padding-inline: var(--pad); }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { border-radius: 1.6rem; border: 6px solid var(--ink); background: #0c0a09; box-shadow: 0 20px 40px -20px rgba(0,0,0,.45); }
.shots figcaption { font-size: .9rem; color: var(--muted); margin-top: .75rem; text-align: center; }

.policy { max-width: 44rem; padding: clamp(2.5rem, 8vw, 5rem) 0; }
.policy h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); max-width: none; margin-bottom: 1.5rem; }
.policy h2 { font-size: 1.6rem; margin: 2.5rem 0 .75rem; }
.policy p, .policy li { color: var(--ink); }
.policy ul { padding-left: 1.25rem; }
.policy li { margin: .35rem 0; }
.draft { background: var(--todo-bg); color: var(--todo-ink); border-radius: .6rem; padding: .7rem 1rem; font-weight: 500; }
.todo { background: var(--todo-bg); color: var(--todo-ink); border-radius: .3rem; padding: 0 .35rem; font-weight: 500; }

.foot { border-top: 1px solid var(--line); background: var(--surface); padding: 3rem var(--pad) 2rem; font-size: .95rem; }
.foot-grid, .legal { max-width: var(--wrap); margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 2rem; }
.foot p { margin: .3rem 0; overflow-wrap: anywhere; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--accent); }
.foot-brand { display: flex; align-items: center; gap: .45rem; font: 1.3rem/1 var(--serif); }
.label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .82rem; color: var(--muted); }
.legal strong { color: var(--ink); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ── Motion: CSS only (the site runs no JavaScript; CSP script-src 'none'). Transform and opacity only, so it stays
   smooth on low-end phones. Everything ends visible; reduced-motion turns it all off (rule at the end). ── */
.home-hero { position: relative; isolation: isolate; }
.glow { position: absolute; z-index: -1; top: 2rem; right: 0; width: min(34rem, 85vw); transform-origin: 100% 50%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 68%);
  filter: blur(10px); animation: drift 18s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-14%, 10%, 0) scale(1.1); } }
.status { display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; border: 1px solid var(--line); border-radius: 99px;
  padding: .3rem .85rem; margin: 0 0 1.5rem; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: #16a34a; position: relative; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #16a34a; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.home-hero h1 .line { display: inline-block; }
.home-hero .eyebrow, .home-hero .status, .home-hero h1 .line, .home-hero .lede, .home-hero .actions { animation: up .9s cubic-bezier(.2,.7,.2,1) both; }
.home-hero .status { animation-delay: .05s; } .home-hero h1 .line:nth-child(1) { animation-delay: .12s; }
.home-hero h1 .line:nth-child(2) { animation-delay: .22s; } .home-hero h1 .line:nth-child(3) { animation-delay: .32s; }
.home-hero .lede { animation-delay: .45s; } .home-hero .actions { animation-delay: .55s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }

.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 1rem 0; margin: 0 calc(var(--pad) * -1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker-set { display: flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; font: clamp(1.3rem, 3.5vw, 2rem)/1 var(--serif); white-space: nowrap; }
.ticker .star { color: var(--accent); font-size: .8em; }
@keyframes slide { to { transform: translateX(-50%); } }

.product-hero > * { animation: up .9s cubic-bezier(.2,.7,.2,1) both; }
.product-hero > *:nth-child(2) { animation-delay: .1s; } .product-hero > *:nth-child(3) { animation-delay: .2s; }
.product-hero > *:nth-child(4) { animation-delay: .3s; } .product-hero > *:nth-child(5) { animation-delay: .4s; }
.shots figure { animation: float 6s ease-in-out infinite alternate; }
.shots figure:nth-child(2) { animation-delay: -2s; } .shots figure:nth-child(3) { animation-delay: -4s; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
/* The founder photo never moves (Lesedi 3 Dec: no tilt on phone or computer). */

/* Sections ease in as they scroll into view, where the browser supports scroll-driven animation (Chrome on Android
   does). Elsewhere they are simply there. They start at 35% opacity, never hidden. */
@supports (animation-timeline: view()) {
  .block, .statement, .cta, .shots { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  @keyframes reveal { from { opacity: .35; transform: translateY(32px); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
html, body { overflow-x: clip; } /* the hero glow drifts past the edge; never a sideways scroll */
.top nav a:not(.pill) { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s ease, color .2s; }
.top nav a:not(.pill):hover { background-size: 100% 1px; }
.btn::after { content: "→"; display: inline-block; margin-left: .5rem; transition: transform .25s ease; }
.btn:hover::after { transform: translateX(4px); }
.cta .actions .btn[href^="mailto"]::after { content: none; }
a.product { transition: padding .3s ease, background .3s ease; }
a.product:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
/* The founder photo is shown whole, as taken (Lesedi, 30 Nov 2026: no crop, no edits). */
.portrait.photo { width: min(18rem, 100%); height: auto; aspect-ratio: 3 / 4; object-fit: contain; border-radius: 1rem; }
.product-hero h1 + .eyebrow { margin: .9rem 0 0; color: var(--accent); }
.story { display: flex; flex-direction: column; gap: .9rem; max-width: 40rem; }
.story p { margin: 0; }
.story.wide { font-size: 1.1rem; }
.sign { font: 1.25rem/1.2 var(--serif); color: var(--accent); }
.quote { margin: 3rem 0 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--accent); max-width: 36rem; }
.quote p { font: clamp(1.5rem, 4.5vw, 2.2rem)/1.2 var(--serif); margin: 0 0 .75rem; }
.quote footer { color: var(--muted); font-size: .9rem; }
