/* Unknot Labs: temporary coming-soon page.
   Tokens from the Unknot Labs design system (dark theme). Amber appears once: the primary button. */

@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --surface-page: #141110;
  --text-primary: #EDE6DB;
  --text-secondary: #B5AC9D;
  --text-muted: #8F8676;
  --rule-hairline: #2B2620;
  --rule-strong: #3A342C;
  --accent: #E0A458;
  --accent-hover: #EDBF7F;
  --on-accent: #141110;
  --focus-ring: #EDE6DB;

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --max: 1200px;
  --gutter: 24px;
  --side: 16px;
  --radius-s: 8px;
  --ease: 200ms ease;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 2px; }

.skip {
  position: absolute;
  left: var(--side);
  top: -48px;
  padding: 8px 12px;
  background: var(--text-primary);
  color: var(--surface-page);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-s);
  z-index: 10;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--side));
  margin: 0 auto;
  padding: 0 var(--side);
}

/* Header */
.site-header { border-bottom: 1px solid var(--rule-hairline); }
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 20px;
}
.brand { display: inline-block; }
.lockup { width: 152px; height: auto; }
.tagline {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

/* Hero */
.hero { flex: 1 0 auto; display: flex; align-items: center; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.label {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}

h1 {
  margin: 0 0 24px;
  font-weight: 600;
  font-size: clamp(36px, 9vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 13ch;
  text-wrap: balance;
}

.lead {
  margin: 0 0 16px;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.5;
  max-width: 34em;
}

.body {
  margin: 0 0 32px;
  color: var(--text-secondary);
  max-width: 36em;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 28px;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-s);
  transition: background-color var(--ease);
}
.button-primary:hover { background: var(--accent-hover); }

.cta-note {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--font-mono);
  font-size: 14px;
}
.contact a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2px;
  transition: border-color var(--ease);
}
.contact a:hover { border-bottom-color: var(--text-secondary); }

/* Key visual: Perimeter, no-amber wide master, cropped to the drawing in its right half */
.hero-visual { margin: 0; }
.hero-visual img {
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  object-position: 100% 50%;
}

/* Footer */
.site-footer { border-top: 1px solid var(--rule-hairline); }
.footer-inner {
  padding-top: 24px;
  padding-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}
.footer-inner p { margin: 0 0 4px; }
.footer-inner p:last-child { margin-bottom: 0; }

/* Desktop: 12-column grid, 1200 px max, 24 px gutters */
@media (min-width: 720px) {
  :root { --side: 32px; }
  .lockup { width: 176px; }
  .header-inner {
    padding-top: 28px;
    padding-bottom: 24px;
  }
}

@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: center;
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .hero-text { grid-column: 1 / span 6; }
  .hero-visual { grid-column: 7 / span 6; }
  .hero-visual img { aspect-ratio: 4 / 3; object-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
