/* krampusonmain.com: one stylesheet, self-hosted fonts, no external requests.
   The dark twin of santaonmain.com. Same viewfinder idea (corner brackets, a
   focus dot, small uppercase readouts), but the brackets are rusted iron, the
   dot is an ember, and the lens grows horns. Dark theme only: soot, iron,
   ember and candle-lit cream. No glow, no neon. */

@font-face { font-family: "Jost"; src: url("fonts/jost-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Neutrals tinted warm, toward soot and candle smoke. */
  --soot:    oklch(17% 0.012 60);
  --soot-2:  oklch(21% 0.014 60);
  --iron:    oklch(34% 0.014 60);
  --iron-2:  oklch(46% 0.016 60);
  --cream:   oklch(92% 0.02 85);
  --cream-2: oklch(74% 0.022 80);
  --line:    oklch(29% 0.014 60);
  /* One accent: ember. Used for the focus dot, the horns, the numerals, the button. */
  --ember:   oklch(64% 0.17 45);
  --ember-2: oklch(56% 0.16 42);
  --on-ember: oklch(16% 0.02 50);
  --focus:   oklch(80% 0.14 85);

  --font: "Jost", "Futura", "Century Gothic", "Segoe UI", sans-serif;
  --wrap: 72rem;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --bracket: 2.25rem;
  --bw: 4px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--soot); color: var(--cream); font: 400 1.125rem/1.6 var(--font); font-kerning: normal; }
img, svg { display: block; max-width: 100%; }

a { color: var(--cream); text-decoration-color: var(--ember); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ember); }
a:active { opacity: 0.75; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 1px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--cream); color: var(--soot); padding: 0.5rem 0.875rem; }
.skip:focus { top: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

h1, h2, h3 { font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); }
h1 em { font-style: normal; color: var(--ember); }
h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.muted { color: var(--cream-2); }

.readout { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-2); margin: 0; }
.dot { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ember); margin-right: 0.5em; vertical-align: 0.08em; }

/* ---------- Header ---------- */
.site-header { padding: 1.25rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--cream); text-decoration: none; }
.brand .mark { width: 2.75rem; height: 2.75rem; flex: none; }
/* The mark: iron brackets, ember horns, cream lens, ember focus dot. */
.bracket { color: var(--iron-2); }
.horns { color: var(--ember); }
.lens { color: var(--cream); }
.ember { fill: var(--ember); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-weight: 600; font-size: 1.375rem; letter-spacing: 0.16em; }
.brand-name b i { font-weight: 500; font-style: italic; letter-spacing: 0.04em; color: var(--ember); }
.brand-name small { font-size: 0.625rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream-2); margin-top: 0.375rem; }
.nav { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-block; color: var(--cream-2); text-decoration: none; font-size: 1rem; padding: 0.75rem 0; }
.nav a:hover { color: var(--cream); text-decoration: underline; }

/* ---------- Viewfinder: iron corner brackets ---------- */
.viewfinder {
  position: relative;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.25rem, 6vw, 5rem);
  --c: var(--iron-2);
  background:
    linear-gradient(var(--c), var(--c)) top left    / var(--bracket) var(--bw),
    linear-gradient(var(--c), var(--c)) top left    / var(--bw) var(--bracket),
    linear-gradient(var(--c), var(--c)) top right   / var(--bracket) var(--bw),
    linear-gradient(var(--c), var(--c)) top right   / var(--bw) var(--bracket),
    linear-gradient(var(--c), var(--c)) bottom left / var(--bracket) var(--bw),
    linear-gradient(var(--c), var(--c)) bottom left / var(--bw) var(--bracket),
    linear-gradient(var(--c), var(--c)) bottom right/ var(--bracket) var(--bw),
    linear-gradient(var(--c), var(--c)) bottom right/ var(--bw) var(--bracket);
  background-repeat: no-repeat;
}
.viewfinder .corner { position: absolute; top: 1.25rem; }
.viewfinder .corner.left { left: 1.5rem; }
.viewfinder .corner.right { right: 1.5rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3.5rem, 8vw, 6rem); }
.kicker { color: var(--ember); margin-top: 1.25rem; }
.hero h1 { max-width: 14em; margin-top: 0.75rem; }
.hero .lede { font-size: clamp(1.1875rem, 2vw, 1.375rem); line-height: 1.55; color: var(--cream-2); max-width: 33em; margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

.hero-grid { display: grid; gap: 2.5rem 3.5rem; align-items: center; }
.hero-grid .corner { z-index: 1; }
.hero-mark { margin: 0; width: min(64vw, 17rem); justify-self: center; }
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .hero-mark { width: 100%; max-width: 22rem; justify-self: end; }
  .hero h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.tint { background: var(--soot-2); }
.split { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(14rem, 1fr) 2fr; }
  .split > :first-child { position: sticky; top: 2rem; align-self: start; }
}
.prose p { max-width: 34em; color: var(--cream-2); }
.prose .big { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; color: var(--cream); }
.prose .actions { margin-top: 1.5rem; }

/* The session: three numbered steps, numerals set large in ember. */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.steps li > * { grid-column: 2; }
.steps li::before { grid-column: 1; grid-row: 1 / span 2; content: counter(step, decimal-leading-zero); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--ember); letter-spacing: -0.02em; padding-top: 0.2rem; }
.steps h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-bottom: 0.375rem; }
.steps p { margin: 0; color: var(--cream-2); max-width: 32em; }
@media (min-width: 48rem) { .steps li { grid-template-columns: 5rem 1fr; } .steps li::before { font-size: 2.5rem; } }

/* Bookings strip: ember field, dark type. */
.cta { background: var(--ember); color: var(--on-ember); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta .readout { color: var(--on-ember); opacity: 0.8; }
.cta h2 { margin-bottom: 0.25em; }
.cta p { margin: 0; max-width: 34em; }
.cta .button { background: var(--soot); color: var(--cream); border-color: var(--soot); }
.cta .button:hover { background: transparent; color: var(--on-ember); }

/* ---------- Buttons ---------- */
.button {
  display: inline-block; font: 500 1.0625rem/1 var(--font); letter-spacing: 0.02em;
  background: var(--ember); color: var(--on-ember);
  border: 2px solid var(--ember); border-radius: 2px;
  padding: 1rem 1.5rem; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--ember-2); border-color: var(--ember-2); color: var(--on-ember); }
.button:active { transform: translateY(1px); }
.button.ghost { background: transparent; color: var(--cream); border-color: var(--iron-2); }
.button.ghost:hover { border-color: var(--cream); color: var(--cream); }
.text-link { display: inline-block; font-weight: 500; padding-block: 0.625rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: 0.9375rem; color: var(--cream-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem 2rem; }
.site-footer a { color: var(--cream-2); }
.footer-brand { display: grid; gap: 0.25rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: -0.625rem; }
.footer-nav a { display: inline-block; padding-block: 0.625rem; }

@media (max-width: 30rem) {
  .nav { gap: 1.25rem; }
  .viewfinder .corner.right { display: none; }
  .cta .button { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a, .button { transition: color 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease), transform 120ms var(--ease); }
}
