/* benkaluza.com inner pages: same tokens, type and chrome as the homepage, over the fixed 0s-and-1s field. */
:root {
  --ink: #0B0B0B;
  --paper: #F2F2F2;
  --soft: #8A8A85;
  --line: #2C2C29;
  --signal: #FAF600;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
/* The page and its footer fill exactly what's visible (100svh: on phones, the screen with the toolbars out),
   so the footer always sits on the bottom edge instead of just below it. */
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; font-family: var(--sans); color: var(--paper); -webkit-font-smoothing: antialiased; }
#field { position: fixed; inset: 0; width: 100%; height: 100vh; display: block; z-index: -1; pointer-events: none; }
a { color: inherit; }
.gutter { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Chrome: the homepage's corner name and menu, at their scrolled size. */
/* Dark fade behind the name and menu, so a page that scrolls (a long list) slides under them cleanly. */
.topfade { position: fixed; top: 0; left: 0; right: 0; height: 92px; z-index: 19; pointer-events: none; background: linear-gradient(rgba(11, 11, 11, 0.94) 55%, rgba(11, 11, 11, 0)); }
.chrome { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; justify-content: space-between; align-items: last baseline; padding-top: max(18px, env(safe-area-inset-top, 0px)); mix-blend-mode: difference; color: #fff; }
.wordmark { font-family: var(--display); font-weight: 850; font-stretch: 112%; font-size: 18px; line-height: 0.9; text-transform: uppercase; letter-spacing: -0.01em; text-decoration: none; }
.wordmark span { display: block; }
.chrome nav { display: grid; gap: 3px; text-align: right; }
.chrome nav a { text-decoration: none; font-family: var(--display); font-weight: 750; font-size: 14px; line-height: 0.9; letter-spacing: 0.01em; text-transform: uppercase; text-underline-offset: 4px; }
.chrome nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* Every inner page: one centred column in the first screen. A small title, one line, then the one thing to do
   (the email form, the prompt list or a button) in a card like the homepage's archive cards, dark enough that
   the code stays behind the text. */
.page { flex: 1 0 auto; display: grid; align-content: center; justify-items: center; text-align: center; gap: 18px; padding-top: 104px; padding-bottom: 48px; }
/* A list that grows (the prompts) starts from the top instead: the title stays put and new rows push down. */
.page.top { align-content: start; padding-top: clamp(120px, 16vh, 168px); }
.page h1 { margin: 0; font-family: var(--display); font-weight: 850; font-stretch: 90%; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.01em; font-size: clamp(40px, 5vw, 64px); }
.lede { margin: 0; max-width: 40ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: #BDBDB8; }
.page h1, .lede, .page > .fine { text-shadow: 0 0 14px var(--ink), 0 0 6px var(--ink); }  /* a soft dark halo lifts the words off the code */
.card { width: min(100%, 600px); margin: 14px 0 0; background: rgba(20, 20, 19, 0.92); border: 1px solid var(--line); border-radius: 12px; }
.button, .kit button { height: 52px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--paper); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background 200ms; }
.button { margin-top: 14px; }
.button:hover, .kit button:hover { background: var(--signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* Email form, posted straight to Kit: field, button and the consent line share one card. */
.kit { padding: 8px; transition: border-color 200ms; }
.kit:focus-within { border-color: #5E5E5A; }
.kit .field { display: flex; gap: 8px; }
.kit .fine { margin: 0 auto; padding: 12px 12px 6px; }
.kit input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: var(--paper); font: 400 17px var(--sans); outline: none; }
.kit input::placeholder { color: #6E6E6A; }
.kit button[disabled] { opacity: 0.6; cursor: wait; }
.kit-error { margin: 0; font-size: 14px; color: #FF8A7A; }
.kit-error:empty { display: none; }
.fine { margin: 0; max-width: 52ch; font-size: 13px; line-height: 1.5; color: var(--soft); }
@media (max-width: 560px) { .kit .field { flex-direction: column; } .kit input { flex: none; text-align: center; } }

/* List card: the prompts (newest first) and the links page. */
.list { list-style: none; padding: 0; text-align: left; overflow: hidden; }
.list li + li { border-top: 1px solid var(--line); }
.list a { display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; gap: 16px; padding: 18px 20px; text-decoration: none; transition: background 200ms; }
.list .t { font-size: 18px; font-weight: 500; line-height: 1.3; }
.list .d { display: block; margin-top: 6px; color: var(--soft); }
.go { width: 18px; height: 18px; fill: none; stroke: var(--soft); stroke-width: 1.6; stroke-linecap: square; transition: transform 300ms cubic-bezier(.2,.7,.2,1), stroke 200ms; }
.list a:hover { background: rgba(255, 255, 255, 0.04); }
.list a:hover .go { stroke: var(--signal); transform: translate(2px, -2px); }

/* Links page (link in bio): head and shoulders from the homepage portrait on its studio backdrop, the platforms,
   the inquiries address, then one white card per link with its picture. */
.portrait { width: 184px; height: 200px; border-radius: 16px; background: #F8F8F6 no-repeat; background-size: 100% auto; background-position: 50% 67%; }
.cards { list-style: none; margin: 14px 0 0; padding: 0; width: min(100%, 600px); display: grid; gap: 10px; text-align: left; }
.cards a { display: grid; grid-template-columns: 56px minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 14px; background: #F4F4F0; color: var(--ink); text-decoration: none; transition: background 200ms, transform 300ms cubic-bezier(.2,.7,.2,1); }
.cards img { display: block; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #fff; outline: 1px solid rgba(0, 0, 0, 0.07); outline-offset: -1px; }
.cards .t { font-size: 17px; font-weight: 600; line-height: 1.25; }
.cards .d { display: block; margin-top: 3px; font-size: 14px; font-weight: 400; line-height: 1.35; color: #6E6E6A; }
.cards .go { stroke: #8A8A85; }
.cards a:hover { background: #fff; transform: translateY(-1px); }
.cards a:hover .go { stroke: var(--ink); transform: translate(2px, -2px); }
.socials { display: flex; gap: 22px; color: #E2E2DD; }
.socials a { color: inherit; transition: color 200ms; }
.socials a:hover { color: var(--signal); }
.socials svg { display: block; width: 24px; height: 24px; fill: currentColor; }
.page a[href^="mailto"] { color: var(--paper); text-underline-offset: 3px; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px max(28px, env(safe-area-inset-bottom, 0px)); color: var(--soft); border-top: 1px solid var(--line); background: rgba(11, 11, 11, 0.82); }
footer > span:last-child { display: flex; flex-wrap: wrap; gap: 10px 18px; }  /* links wrap on phones instead of running off the edge */
footer a { text-decoration: none; }
footer a:hover { color: var(--paper); }
