/* Hallmark · shape: Consultancy Night (split hero, outcomes, service grid, method, call band) · genre: atmospheric · theme: custom (Kyrios Host brand on a dark field) · job: hire · idea: "cloud consulting that keeps the business stable, secure and on budget" · vibe: "dark, warm, precise, one orange signal glowing"
 * paper: oklch(13% 0.003 90) · accent: oklch(63% 0.2 37) · display: Space Grotesk 600 · body: IBM Plex Sans · hero: text left over a full-bleed AI processor photograph in dark gold tones that fades into the dark, outcome strip below, a Tron-style perspective grid on the floor with the K chevron cut into its corner · nav: wordmark, two links and a PT/EN switch · footer: symbol, links and language · imagery: Unsplash renders (AI chip with gold pins, copper wire sphere), dimmed, self-hosted · signature: the AI chip fading into the dark over a faint perspective grid, framed by the K chevron
 * axes: night/grotesk/orange · posture: immersive stage · contrast: pass · fold: pass · v2.0.0 */
/* waive 2b: gradient head on the hero only, asked for by the owner to soften the white type
 * Hallmark · pre-emit critique: P3 H3 E2 S3 R3 V3 · weakest: E (no client numbers or quotes yet), outcomes and method carry it without invented figures */
@import url("/tokens.css");
@import url("/base.css");

@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url("/fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

html { color-scheme: dark; }
body { color: var(--color-ink-2); background:
  radial-gradient(60rem 40rem at 85% -10%, color-mix(in oklab, var(--color-accent) 16%, transparent), transparent 70%),
  radial-gradient(50rem 30rem at -10% 60%, color-mix(in oklab, var(--color-accent) 7%, transparent), transparent 70%),
  var(--color-paper); }
a:hover { color: var(--color-accent-ink); }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--color-ink); font-weight: 600; letter-spacing: -0.025em; }
section h2 { font-size: clamp(1.75rem, 1.4vw + 1.1rem, 2.5rem); line-height: 1.1; max-width: 24ch; }
.lede { margin-top: var(--space-md); font-size: var(--text-lead); max-width: 52ch; }

/* nav */
.nav { position: relative; z-index: var(--z-raised); display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); }
.nav img { height: 32px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--space-lg); font-size: var(--text-sm); }
.nav ul a { text-decoration: none; color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out); }
.nav ul a:hover { color: var(--color-ink); }
.lang { display: flex; gap: var(--space-2xs); padding: 4px; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-paper-2) 70%, transparent); }
.nav .lang a, .lang span { padding: 4px 12px; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 500; text-decoration: none; }
.lang span { background: var(--color-accent); color: var(--color-on-accent); }
@media (max-width: 40rem) { .nav .opt { display: none; } }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.button { display: inline-flex; align-items: center; gap: var(--space-xs); padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-on-accent); font-weight: 600; text-decoration: none; border: var(--rule-hair) solid var(--color-accent); box-shadow: 0 8px 32px -8px color-mix(in oklab, var(--color-accent) 60%, transparent); transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.button:hover { background: var(--color-accent-ink); color: var(--color-on-accent); transform: translateY(-1px); box-shadow: 0 12px 40px -8px color-mix(in oklab, var(--color-accent) 75%, transparent); }
.button:active { transform: translateY(1px); }
.button.ghost { background: transparent; color: var(--color-ink); border-color: var(--color-rule); box-shadow: none; }
.button.ghost:hover { border-color: var(--color-ink-2); color: var(--color-ink); }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -80px; padding-top: 80px; border-bottom: var(--rule-hair) solid var(--color-rule); }
.hero-bg { position: absolute; z-index: -2; top: 80px; right: 0; width: 62%; height: calc(100% - 80px); object-fit: cover; object-position: 50% 50%; filter: brightness(0.85) saturate(0.9); mask-image: linear-gradient(90deg, transparent 15%, var(--color-paper) 60%), linear-gradient(0deg, transparent 0%, var(--color-paper) 30%, var(--color-paper) 85%, transparent 100%); mask-composite: intersect; -webkit-mask-composite: source-in; }
.hero::before { content: ""; position: absolute; z-index: -1; left: -25%; right: -25%; bottom: -10%; height: 55%; background-image: linear-gradient(color-mix(in oklab, var(--color-accent) 55%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in oklab, var(--color-accent) 55%, transparent) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(400px) rotateX(58deg); transform-origin: bottom; opacity: 0.45; mask-image: linear-gradient(to top, var(--color-paper) 0%, transparent 80%); }
.hero .container { padding-block: var(--space-2xl) var(--space-xl); }
.hero-copy { max-width: 560px; min-height: min(56svh, 480px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: var(--text-display); line-height: 1.02; background: linear-gradient(180deg, var(--color-ink-hi) 0%, var(--color-ink) 55%, var(--color-accent-ink) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
.hero h1 span { display: block; }
.hero-copy p { margin-top: var(--space-md); font-size: var(--text-lead); max-width: 42ch; }
.hero-copy .since { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }

.outcomes { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.outcomes li { position: relative; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); border: var(--rule-hair) solid var(--color-rule); background: color-mix(in oklab, var(--color-paper) 70%, transparent); backdrop-filter: blur(8px); }
.outcomes li::before { content: ""; position: absolute; top: -1px; left: var(--space-lg); width: 48px; height: 2px; background: var(--color-accent); box-shadow: 0 0 12px var(--color-accent), 0 0 2px var(--color-accent); }
.outcomes h2 { font-size: var(--text-lg); line-height: 1.2; }
.outcomes p { margin-top: var(--space-2xs); font-size: var(--text-sm); }

/* services */
.services { padding-block: var(--space-3xl) var(--space-2xl); }
.services ul { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.services li { padding: var(--space-lg); border-radius: var(--radius-card); border: var(--rule-hair) solid var(--color-rule); background: linear-gradient(180deg, color-mix(in oklab, var(--color-paper-2) 90%, transparent), color-mix(in oklab, var(--color-paper) 60%, transparent)); transition: border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.services li:hover { border-color: color-mix(in oklab, var(--color-accent) 70%, var(--color-rule)); transform: translateY(-2px); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-accent) 20%, transparent), 0 0 32px -6px color-mix(in oklab, var(--color-accent) 45%, transparent); }
.services svg { width: 40px; height: 40px; padding: 8px; border-radius: var(--radius-pill); color: var(--color-accent-ink); background: color-mix(in oklab, var(--color-accent) 14%, transparent); }
.services h3 { margin-top: var(--space-md); font-size: var(--text-lg); line-height: 1.25; }
.services p { margin-top: var(--space-2xs); font-size: var(--text-sm); }

/* method */
.method { padding-block: var(--space-2xl); }
.method ol { list-style: none; margin: var(--space-xl) 0 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.method li { counter-increment: step; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.method li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; color: var(--color-accent-ink); line-height: 1.2; text-shadow: 0 0 14px color-mix(in oklab, var(--color-accent) 70%, transparent); }
.method h3 { margin-top: var(--space-sm); font-size: var(--text-lg); line-height: 1.25; }
.method p { margin-top: var(--space-2xs); font-size: var(--text-sm); }

/* call band */
.call { padding-block: var(--space-xl) var(--space-3xl); }
.call .band { position: relative; overflow: hidden; isolation: isolate; padding: var(--space-2xl); border-radius: calc(var(--radius-card) * 1.5); border: var(--rule-hair) solid color-mix(in oklab, var(--color-accent) 40%, var(--color-rule)); background: var(--color-paper-2); box-shadow: 0 0 40px -10px color-mix(in oklab, var(--color-accent) 40%, transparent); }
.call .band::before { content: ""; position: absolute; z-index: -2; inset: 0 0 0 30%; background: url("/img/sphere-2400.webp") 70% center / cover no-repeat; filter: brightness(0.75) saturate(0.9); mask-image: linear-gradient(90deg, transparent 10%, var(--color-paper) 75%); }
.call .band::after { content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: clamp(80px, 12vw, 150px); aspect-ratio: 1; background: var(--color-accent); clip-path: polygon(100% 18%, 100% 100%, 18% 100%); }
.call small { display: block; margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.call small a { color: var(--color-ink-2); }
.call .actions { margin-top: var(--space-lg); }

/* footer */
.footer { padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.footer img { height: 22px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: var(--space-lg); justify-content: flex-end; }
.footer .credits { grid-column: 1 / -1; font-size: var(--text-xs); }

/* privacy pages */
.doc { padding-block: var(--space-xl) var(--space-3xl); max-width: 72ch; line-height: 1.5; }
.doc h1 { font-size: clamp(2rem, 2vw + 1.25rem, 2.75rem); line-height: 1.1; }
.doc .updated { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.doc .summary { margin-top: var(--space-lg); padding: var(--space-md) var(--space-lg); background: var(--color-paper-2); border: var(--rule-hair) solid color-mix(in oklab, var(--color-accent) 35%, var(--color-rule)); border-radius: var(--radius-card); }
.doc .summary strong { color: var(--color-ink); }
.doc .summary ul { margin: var(--space-xs) 0 0; }
.doc h2 { margin-top: var(--space-lg); font-size: var(--text-lg); }
.doc h3 { margin-top: var(--space-md); font-size: var(--text-md); }
.doc p, .doc ul { margin-top: var(--space-2xs); }
.doc ul { padding-left: 1.25em; }
.doc li + li { margin-top: var(--space-3xs); }
.doc a { color: var(--color-accent-ink); }
.doc ol { margin-top: var(--space-xs); padding-left: 1.4em; }
.doc strong { color: var(--color-ink); }
.doc code { font-family: var(--font-mono); font-size: 0.9em; color: var(--color-ink); }

@media (max-width: 60rem) {
  .hero-bg { width: 100%; opacity: 0.45; }
  .services ul, .method ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcomes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .services ul, .method ol { grid-template-columns: minmax(0, 1fr); }
  .call .band { padding: var(--space-xl) var(--space-lg) var(--space-3xl); }
  .call .band::before { inset: 0; opacity: 0.3; }
  .footer { grid-template-columns: minmax(0, 1fr); }
  .footer nav { justify-content: flex-start; }
}
