/* Hallmark · theme: custom · brand: SenjaApps · redesign: full · idea: twilight studio stage where warm terracotta studio type weaves behind the orange-rimmed founder silhouette, carried across a unified five-page editorial system · genre: editorial · hero: Twilight Silhouette Stage · posture: committed · axes: dark/grotesk-heavy/warm · signature: orange-rimmed founder portrait layered over monumental studio typography · entry: inquiry · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 · cut cool-plum and olive-charcoal mismatches below the fold so every dark plane shares the #0e0908 twilight obsidian palette, and gave each of the five pages a distinct asymmetric composition */
/* Hallmark · finish-review: subagent · Phase 3B 5-page review · 7 findings · 7 resolved (About opening centered, Clash Display word-spacing & line-height balanced, headings/links made founder-direct, Phase 3B jargon removed & required fields marked, Contact next-steps switched to 3-column grid & closing band redirected to Work/Services, Work index aria-label deduplicated, mobile form padding/placeholders tightened) */
/* Hallmark · dropped senja-apps-logo.png, founder-hero-1120.webp · replaced the white-box square logo in the dark header with senja-apps-favicon.png beside the Clash Display wordmark, and replaced the cropped hero cutout with matched 3:4 layers from both founder masters */

@font-face {
  font-family: "Clash Display";
  src: url("../assets/clash-display-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

:root {
  --font-display: "Clash Display", "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, sans-serif;

  /* Preserved SenjaApps brand identity */
  --color-primary: #a43716;
  --color-on-primary: #fffbff;
  --color-primary-hover: #c54f2c;
  --color-on-hover: #fffbff;
  --color-primary-pressed: #862201;
  --color-accent: #d95d39;
  --color-accent-ink: #0e0908;
  --color-inverse-link: #ffb5a0;

  /* Light editorial paper surfaces */
  --color-paper: #fbf9f5;
  --color-surface: #f5f3ef;
  --color-raised: #fffdf9;
  --color-ink: #1b1c1a;
  --color-muted: #58423c;
  --color-rule: #dfc0b7;
  --color-boundary: #8b716a;

  /* Unified Twilight Silhouette Stage dark surfaces */
  --color-stage: #0e0908;
  --color-stage-deep: #090605;
  --color-stage-surface: #17100e;
  --color-stage-elevated: #211714;
  --color-dark: var(--color-stage-surface);
  --color-inverse: var(--color-stage);
  --color-stage-ink: #f6f1eb;
  --color-on-dark: var(--color-stage-ink);
  --color-stage-muted: #cfc1b9;
  --color-stage-nav: #e2d7d0;
  --color-stage-type: #845344;
  --color-stage-glow-core: color-mix(in oklch, var(--color-accent) 46%, transparent);
  --color-stage-glow-edge: color-mix(in oklch, var(--color-primary) 26%, transparent);
  --color-stage-border: color-mix(in oklch, var(--color-stage-ink) 20%, transparent);
  --color-stage-rule: color-mix(in oklch, var(--color-stage-ink) 14%, transparent);
  --color-stage-fade-mid: color-mix(in oklch, var(--color-stage) 86%, transparent);
  --color-stage-transparent: color-mix(in oklch, var(--color-stage) 0%, transparent);
  --color-stage-seam: color-mix(in oklch, var(--color-accent) 42%, transparent);
  --color-surface-glow: color-mix(in oklch, var(--color-accent) 20%, transparent);
  --color-stage-glow-edge-subtle: color-mix(in oklch, var(--color-primary) 12%, transparent);

  /* Error & validation states */
  --color-error: #ba1a1a;
  --color-on-error: #fffbff;
  --color-error-surface: #ffdad6;
  --color-error-ink: #93000a;
  --color-error-dark-ink: #ffb4ab;
  --color-error-dark-surface: #3b0d0a;

  /* Semantic defaults */
  --color-focus: var(--color-primary);
  --color-link: var(--color-primary);
  --color-divider: var(--color-rule);

  /* Spacing scale */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;
  --section-space: clamp(3.75rem, 7.5vw, 7.5rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --grid-gap: clamp(1.25rem, 2.5vw, 2.5rem);

  /* Radii & geometry */
  --radius-control: 0.25rem;
  --radius-image: 0.5rem;
  --container: 92rem;
  --touch-target: 2.75rem;

  /* Typography scale */
  --text-hero: clamp(1.95rem, 4.9vw, 4.75rem);
  --text-monolith: clamp(2.85rem, 14.8vw, 15.25rem);
  --text-page-display: clamp(1.95rem, 6.2vw, 6.25rem);
  --text-section: clamp(1.9rem, 4.8vw, 4.5rem);
  --text-entry: clamp(1.5rem, 2.5vw, 2.35rem);
  --text-lead: clamp(1.0625rem, 1.35vw, 1.25rem);
  --text-sm: 0.875rem;

  /* Motion */
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Hero metrics */
  --hero-header: clamp(4rem, 5.5vw, 5.25rem);
  --space-opening-top: calc(var(--hero-header) + var(--space-2xl));
  --space-about-top: calc(var(--hero-header) + var(--space-xl));
}

.theme-dark {
  --color-focus: var(--color-inverse-link);
  --color-link: var(--color-inverse-link);
  --color-divider: var(--color-stage-rule);
}
