/* ===================================================================
   SLASH ENTRY /→  —  styles.css
   Minimalist · editorial · terminal-inflected
   =================================================================== */

/* ---------------------------------------------------------------
   @font-face — Intel One Mono, self-hosted, woff2 only
   --------------------------------------------------------------- */
@font-face {
  font-family: 'Intel One Mono';
  src: url('/fonts/IntelOneMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Intel One Mono';
  src: url('/fonts/IntelOneMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------
   Design tokens
   --------------------------------------------------------------- */
:root {
  /* Colour */
  --paper:   #F4F3EF;
  --surface: #FFFFFF;
  --ink:     #1C1C1C;
  --smoke:   #6E6E6E;
  --line:    #E2E0DA;
  --accent:  #4A2E6B;

  /* Typography */
  --font-mono: 'Intel One Mono', ui-monospace, SFMono-Regular, Menlo,
               'Cascadia Mono', Consolas, monospace;

  /* Type scale — fluid with clamp() */
  --type-display:  clamp(2rem, 6vw, 3.75rem);
  --type-section:  clamp(1.4rem, 3.5vw, 2.1rem);
  --type-body:     clamp(1rem, 1.2vw, 1.125rem);
  --type-label:    0.8125rem;
  --type-meta:     0.8125rem;

  /* Spacing — 8px base */
  --s1:  0.5rem;
  --s2:  1rem;
  --s3:  1.5rem;
  --s4:  2rem;
  --s6:  3rem;
  --s8:  5rem;
  --s10: 8rem;
}

/* ---------------------------------------------------------------
   Reset and base
   --------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-mono);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.8px;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------------------------------------------------------------
   Skip to content
   --------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s2);
  background: var(--ink);
  color: var(--paper);
  padding: var(--s1) var(--s2);
  font-size: var(--type-meta);
  text-decoration: none;
  z-index: 1000;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* ---------------------------------------------------------------
   Focus styles — visible on every interactive element
   --------------------------------------------------------------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------
   Content column
   --------------------------------------------------------------- */
.content-col {
  max-width: 900px;
  margin: 0 auto;
  padding-left: var(--s3);
  padding-right: var(--s3);
}

/* ---------------------------------------------------------------
   HEADER — slim, sticky
   --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s1);
  padding-top: var(--s2);
  padding-bottom: var(--s2);
}

/* Wordmark */
.wordmark {
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.wordmark .mark {
  color: var(--accent);
}

/* Nav links */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}

.header-nav a {
  font-size: var(--type-meta);
  font-weight: 400;
  color: var(--smoke);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--accent);
}

/* ---------------------------------------------------------------
   HERO
   --------------------------------------------------------------- */
.hero {
  padding-top: var(--s10);
  padding-bottom: var(--s10);
}

.hero-url {
  font-size: var(--type-meta);
  color: var(--smoke);
  margin-bottom: var(--s6);
}

.hero h1 {
  font-size: var(--type-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -4px;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: var(--s4);
}

.hero-sub {
  font-size: var(--type-body);
  color: var(--smoke);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: var(--s4);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}

/* Primary CTA — solid ink button */
.cta-primary {
  display: inline-block;
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.875rem 1.75rem;
  min-height: 44px;
  border: 2px solid var(--ink);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cta-primary:hover {
  background-color: transparent;
  color: var(--ink);
}

.cta-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Secondary CTA — text link */
.cta-secondary {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 400;
  color: var(--smoke);
  text-decoration: none;
  min-height: 44px;
  line-height: 44px;
  transition: color 0.15s ease;
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  color: var(--accent);
}

/* ---------------------------------------------------------------
   SECTION BLOCKS
   --------------------------------------------------------------- */
.page-section {
  padding-top: var(--s10);
  padding-bottom: var(--s10);
  border-top: 1px solid var(--line);
}

.section-label {
  font-size: var(--type-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--s3);
}

.section-label-grey {
  font-size: var(--type-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--smoke);
  line-height: 1;
  margin-bottom: var(--s1);
}

.page-section h2 {
  font-size: var(--type-section);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--s3);
}

.page-section p {
  max-width: 66ch;
  margin-bottom: var(--s3);
}

.page-section p:last-child {
  margin-bottom: 0;
}

/* /03 — extra whitespace for mission statement */
.section-mission {
  padding-top: var(--s10);
  padding-bottom: var(--s10);
}

/* ---------------------------------------------------------------
   /04 — ABSTRACT BLOCK
   --------------------------------------------------------------- */
.abstract-block {
  max-width: 60ch;
  border-left: 2px solid var(--line);
  padding-left: var(--s4);
  margin-top: var(--s3);
}

.abstract-block p {
  max-width: 60ch;
  font-size: var(--type-body);
  line-height: 1.65;
}

/* ---------------------------------------------------------------
   /05 — STATUS EXTRA LABEL
   --------------------------------------------------------------- */
.status-badge {
  font-size: var(--type-meta);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--smoke);
  line-height: 1;
  margin-bottom: var(--s1);
}

/* ---------------------------------------------------------------
   /08 — CTA SECTION
   --------------------------------------------------------------- */
.cta-section p {
  margin-bottom: var(--s4);
}

/* ---------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: var(--s8);
  padding-bottom: var(--s6);
}

.footer-wordmark {
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--s2);
}

.footer-wordmark .mark {
  color: var(--accent);
}

.footer-identity {
  font-size: var(--type-meta);
  color: var(--smoke);
  line-height: 1.5;
  margin-bottom: var(--s1);
}

.footer-contact {
  font-size: var(--type-meta);
  color: var(--smoke);
  line-height: 1.5;
  margin-bottom: var(--s3);
}

.footer-contact a {
  color: var(--smoke);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--accent);
}

.footer-social {
  font-size: var(--type-meta);
  color: var(--smoke);
}

/* ---------------------------------------------------------------
   RESPONSIVE — below ~560px
   --------------------------------------------------------------- */
@media (max-width: 560px) {
  .hero {
    padding-top: var(--s6);
    padding-bottom: var(--s6);
  }

  .hero-url {
    margin-bottom: var(--s4);
  }

  .page-section {
    padding-top: var(--s6);
    padding-bottom: var(--s6);
  }

  .section-mission {
    padding-top: var(--s6);
    padding-bottom: var(--s6);
  }

  .site-footer {
    padding-top: var(--s6);
    padding-bottom: var(--s4);
  }

  .header-inner {
    gap: var(--s1);
  }

  .header-nav {
    gap: var(--s2);
  }

  .abstract-block {
    padding-left: var(--s3);
  }

  .hero h1 {
    letter-spacing: -3px;
  }
}
