/* Regnu Studio — a small company's site. © Chenborg. */
:root { --bg: #f7f7f5; --surface: #ffffff; --fg: #15171a; --muted: #5f646b; --line: #e3e4e0; --accent: #1f6f5c; --accent-fg: #fff; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e1011; --surface: #16191b; --fg: #eef0f1; --muted: #9aa1a8; --line: #24292c; --accent: #4fc3a1; --accent-fg: #06110d; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 720px; padding-top: 3rem; padding-bottom: 3rem; }
.bar { position: sticky; top: 0; z-index: 2; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 750; font-size: 1.05rem; color: var(--fg); text-decoration: none; margin: 0; }
.mark { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: .45rem; background: var(--accent); color: var(--accent-fg); font-weight: 800; }
.bar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; font-size: .92rem; }
.bar nav a { color: var(--muted); text-decoration: none; } .bar nav a:hover, .bar nav a[aria-current] { color: var(--fg); }
.bar nav a.cta, .button { background: var(--accent); color: var(--accent-fg); padding: .45rem .95rem; border-radius: 999px; text-decoration: none; font-weight: 650; }
.hero { padding: 5rem 0 4rem; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 18em; margin: 0 0 2rem; }
.button { display: inline-block; padding: .75rem 1.4rem; font-size: 1rem; }
.block { padding-top: 3.5rem; } .block h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 1.2rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.tile { display: flex; flex-direction: column; gap: .4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; color: var(--fg); text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.tile:hover { transform: translateY(-2px); border-color: var(--accent); }
.tile h3 { margin: 0; font-size: 1.1rem; } .tile p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.tile .more { color: var(--accent); font-size: .85rem; font-weight: 650; }
.journal { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.journal li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.journal time { color: var(--muted); font-size: .85rem; } .journal a { color: var(--fg); text-decoration: none; font-weight: 550; } .journal a:hover { color: var(--accent); }
.narrow h1 { font-size: 2.4rem; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 1.5rem; }
.prose img, .prose iframe { max-width: 100%; border-radius: 10px; }
.prose blockquote { border-left: 3px solid var(--accent); margin: 1.5rem 0; padding-left: 1rem; color: var(--muted); }
.prose code { font-family: ui-monospace, Menlo, monospace; font-size: .85em; background: var(--surface); border: 1px solid var(--line); padding: .05em .35em; border-radius: 5px; }
.prose pre { background: var(--surface); border: 1px solid var(--line); padding: 1rem; overflow-x: auto; border-radius: 10px; } .prose pre code { border: 0; padding: 0; }
.intro { padding-top: 3rem; font-size: 1.1rem; }
.foot { margin-top: 5rem; border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--muted); font-size: .92rem; }
.cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; } .foot p { margin: .3rem 0; } .small { font-size: .8rem; }
@media (max-width: 720px) { .cols { grid-template-columns: 1fr; } .journal li { grid-template-columns: 1fr; gap: 0; } .hero { padding: 3rem 0 2.5rem; } }

/* Listen to this article */
.regnu-listen { display: flex; align-items: center; gap: .6rem; margin: 0 0 2rem; }
figure.regnu-listen { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
.regnu-listen figcaption { font-size: .8rem; font-weight: 650; color: var(--muted); margin-bottom: .5rem; }
.regnu-listen audio { width: 100%; }
.regnu-listen button { font: inherit; font-size: .9rem; font-weight: 650; border: 0; background: var(--accent); color: var(--accent-fg);
  border-radius: 999px; padding: .5rem 1.1rem; cursor: pointer; }
.regnu-listen .regnu-listen-stop { background: var(--surface); color: var(--fg); border: 1px solid var(--line); }
