/* ==========================================================================
   Zulu Technology — studio shell (home, about, contact)
   "Quiet Utility": one ink, an off-white, hairlines. Color belongs to the apps,
   never the shell. Separate from styles.css (Zulu) and parktracker.css.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #F6F6F4;
  --surface: #FFFFFF;
  --ink: #19191B;
  --ink2: #63636A;
  --ink3: #9B9BA1;
  --line: #E5E5E1;
  --line2: #D7D7D2;

  --sans: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --max: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }

/* eyebrow / small labels */
.label {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink3);
}

/* ---------- nav ---------- */
.nav { border-bottom: 1px solid var(--line); }
.nav-in {
  max-width: var(--max); margin: 0 auto; padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.wordmark:hover { text-decoration: none; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.dots .d1 { background: #4A9EFF; }
.dots .d2 { background: #E8624A; }
.dots .d3 { background: #1FA97E; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--ink2); }
.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 96px 0 56px; max-width: 760px; }
.hero .label { margin-bottom: 26px; display: block; }
.hero h1 {
  font-size: clamp(38px, 6vw, 60px); font-weight: 600; line-height: 1.04;
  letter-spacing: -0.03em; margin-bottom: 28px;
}
.hero p { font-size: 20px; color: var(--ink2); line-height: 1.55; max-width: 60ch; }

/* ---------- section frame ---------- */
.section { padding: 40px 0; }
.section-head {
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.section-head h2 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- apps catalogue (the signature) ---------- */
.apps { display: flex; flex-direction: column; }
.app {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 24px;
  padding: 30px 8px; border-bottom: 1px solid var(--line);
  color: var(--ink); transition: background .15s ease, padding-left .15s ease;
}
.app:hover { text-decoration: none; background: var(--surface); padding-left: 16px; padding-right: 16px; }
.swatch { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; background: var(--swatch, #E5E5E1); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.07); }
.app-body h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 5px; }
.app-body p { font-size: 16px; color: var(--ink2); max-width: 56ch; line-height: 1.5; }
.app-meta { text-align: right; white-space: nowrap; display: flex; align-items: center; gap: 12px; }
.app-meta .m { font-family: var(--mono); font-size: 12px; color: var(--ink3); letter-spacing: 0.02em; }
.app-meta .arrow { font-size: 18px; color: var(--ink3); transition: transform .15s ease, color .15s ease; }
.app:hover .app-meta .arrow { color: var(--ink); transform: translateX(2px); }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 8px; }
.principle h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.principle p { font-size: 15px; color: var(--ink2); line-height: 1.55; }

/* ---------- prose (about / contact) ---------- */
.prose { padding: 72px 0 24px; max-width: 660px; }
.prose .label { display: block; margin-bottom: 14px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 24px; }
.prose .lead { font-size: 20px; color: var(--ink2); line-height: 1.55; margin-bottom: 36px; }
.prose h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 10px; }
.prose p { font-size: 17px; color: var(--ink); line-height: 1.7; margin-bottom: 16px; }
.prose p.muted { color: var(--ink2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: none; margin: 8px 0 20px; }
.prose ul li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.prose ul li .k { font-family: var(--mono); font-size: 13px; color: var(--ink3); min-width: 96px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 44px 0 56px; }
.footer-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink3); margin-bottom: 12px; font-weight: 500; }
.footer-col a { display: block; font-size: 15px; color: var(--ink2); margin-bottom: 9px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink3); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .hero { padding: 64px 0 40px; }
  .principles { grid-template-columns: 1fr; gap: 22px; }
  .app { grid-template-columns: 40px 1fr; row-gap: 8px; }
  .app .swatch { width: 36px; height: 36px; }
  .app-meta { grid-column: 2; justify-content: flex-start; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 22px; }
  .nav-links { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}