/* ==========================================================================
   Tallboy Studio OS — marketing / portal site
   Recreated from the Claude Design handoff (high-fidelity, locked tokens).
   Fully static: no JS. Motion is limited to CSS :hover states.
   ========================================================================== */

:root {
  --bg: #15130F;
  --bg-footer: #131109;
  --surface: #1D1A15;
  --surface-alt: #1A1712;
  --text: #F2E8D5;
  --text-dim: #B9AA92;
  --text-muted: #6E6455;
  --border: #3A3328;
  --divider: #29241C;
  --gold: #D89B35;
  --gold-hi: #E9B357;
  --teal: #6F9F8E;
  --grid-line: rgba(58, 51, 40, 0.28);

  --maxw: 1180px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Blueprint grid over the base background */
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: -1px -1px;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
::selection { background: rgba(216, 155, 53, 0.28); }

h1, h2, h3, p { margin: 0; }

/* ---- shared layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px; border-top: 1px solid var(--border); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.02em; font-weight: 700; }
.h3 { font-weight: 600; }

/* base surface card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 180ms ease, transform 180ms ease;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(21, 19, 15, 0.82);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }

.mark { display: inline-flex; flex-direction: column; gap: 2px; }
.mark span { border-radius: 2px; display: block; }
.mark--nav { width: 16px; }
.mark--nav span { height: 5px; }
.mark--foot { width: 14px; }
.mark--foot span { height: 4px; }
.mark span:nth-child(1) { background: var(--gold); }
.mark span:nth-child(2) { background: var(--teal); }
.mark span:nth-child(3) { background: var(--text-dim); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12.5px;
}
.nav-link {
  color: var(--text-dim);
  padding: 7px 11px;
  border-radius: 8px;
  transition: color 150ms ease, background 150ms ease;
}
.nav-link:hover { color: var(--text); background: rgba(58, 51, 40, 0.5); }
.nav-link--cta {
  color: var(--bg);
  background: var(--gold);
  padding: 7px 14px;
  font-weight: 500;
}
.nav-link--cta:hover { color: var(--bg); background: var(--gold-hi); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 76px 24px 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.hero-col { flex: 1 1 380px; min-width: 300px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 13px;
  margin-bottom: 26px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  font-weight: 700;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 20px;
  max-width: 36ch;
  font-weight: 500;
}
.hero-para { font-size: 1rem; line-height: 1.65; color: var(--text-dim); margin: 0 0 20px; max-width: 52ch; }
.clarifier {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--teal);
  margin: 0 0 28px;
  max-width: 52ch;
  border-left: 2px solid var(--teal);
  padding-left: 14px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 13px; }
.btn {
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: 11px;
  font-weight: 600;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn--gold { background: var(--gold); color: var(--bg); }
.btn--gold:hover { background: var(--gold-hi); color: var(--bg); }
.btn--outline { background: transparent; color: var(--text); font-weight: 500; border: 1px solid var(--border); }
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }

.devlog-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  background: rgba(111, 159, 142, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  transition: border-color 150ms ease;
}
.devlog-pill:hover { border-color: var(--teal); }
.devlog-pill .tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--bg);
  background: var(--teal);
  border-radius: 999px;
  padding: 3px 8px;
  font-weight: 600;
}
.devlog-pill .tag-text { font-size: 0.88rem; color: var(--text-dim); }

/* hero systems diagram */
.diagram-col { flex: 1 1 380px; min-width: 300px; }
.diagram { position: relative; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 1 / 1; }
.diagram-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 13px 16px;
  text-align: center;
  box-shadow: 0 0 0 6px rgba(216, 155, 53, 0.06);
  z-index: 2;
}
.node-kind { font-family: var(--mono); font-size: 9px; color: var(--teal); letter-spacing: 0.06em; }
.node-name { font-weight: 600; font-size: 13px; margin-top: 2px; }

.node-card { position: absolute; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 9px 11px; }
.mini-kind { font-family: var(--mono); font-size: 8.5px; color: var(--text-dim); }
.mini-kind--teal { color: var(--teal); }
.mini-name { font-size: 12px; font-weight: 500; margin-top: 2px; }

/* ==========================================================================
   WHAT IT IS (features)
   ========================================================================== */
.stack-para { font-size: 1.06rem; line-height: 1.65; color: var(--text-dim); max-width: 66ch; }
.mt18 { margin-top: 18px; }

.grid { display: grid; }
.grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.grid--268 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 14px; }
.grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid--230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }

.feature-card { padding: 26px; }
.feature-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.chip {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-family: var(--mono); font-weight: 600;
}
.chip--gold { background: rgba(216, 155, 53, 0.13); color: var(--gold); }
.chip--teal { background: rgba(111, 159, 142, 0.15); color: var(--teal); }
.feature-card h3 { font-size: 1.18rem; margin: 0 0 9px; }
.feature-card p { color: var(--text-dim); line-height: 1.6; font-size: 0.97rem; }

/* ==========================================================================
   WHY IT EXISTS
   ========================================================================== */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split-text { flex: 1 1 320px; min-width: 280px; }
.split-text p { font-size: 1.06rem; line-height: 1.65; color: var(--text-dim); }
.split-text p + p { margin-top: 14px; }

.checklist { flex: 1 1 360px; min-width: 300px; padding: 12px 26px; }
.check-row { display: flex; align-items: center; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--divider); }
.check-row:last-child { border-bottom: none; }
.check { color: var(--teal); font-family: var(--mono); font-size: 15px; }
.check-q { font-size: 1rem; color: var(--text); }

/* ==========================================================================
   PRINCIPLES
   ========================================================================== */
.principle-card { padding: 24px; }
.principle-card:hover { transform: translateY(-2px); }
.principle-num { font-family: var(--mono); color: var(--gold); font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.principle-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.principle-card p { color: var(--text-dim); line-height: 1.6; font-size: 0.96rem; }

/* ==========================================================================
   INSIDE THE OS (modules)
   ========================================================================== */
.module-card { padding: 20px; border-radius: 14px; }
.module-card:hover { border-color: var(--teal); }
.module-path { font-family: var(--mono); font-size: 11px; color: var(--teal); margin-bottom: 9px; }
.module-card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.module-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.55; }

/* ==========================================================================
   CURRENT PROJECTS
   ========================================================================== */
.project-row { display: flex; flex-wrap: wrap; gap: 22px; }
.project-info { flex: 1 1 380px; min-width: 300px; }
.project-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.project-head h3 { font-size: 1.55rem; margin: 0; font-weight: 700; }
.pill--active {
  font-family: var(--mono); font-size: 11px; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 999px; padding: 3px 10px;
}
.project-desc { color: var(--text); font-size: 1.05rem; line-height: 1.6; margin: 0 0 20px; max-width: 52ch; }
.meta-row { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 22px; }
.meta-label { font-family: var(--mono); font-size: 11px; color: var(--teal); margin-bottom: 5px; }
.meta-val { font-size: 1rem; font-weight: 500; }
.project-focus { color: var(--text-dim); line-height: 1.6; margin: 0; max-width: 54ch; font-size: 0.98rem; }
.project-focus strong { color: var(--text); font-weight: 500; }
.projects-note { color: var(--text-dim); margin: 34px 0 0; font-size: 0.98rem; font-style: italic; }

.terminal { flex: 1 1 340px; min-width: 300px; overflow: hidden; }
.terminal-head {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
}
.terminal-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.terminal-body { padding: 22px 20px; font-family: var(--mono); font-size: 13.5px; line-height: 1.9; }
.term-row { display: flex; justify-content: space-between; gap: 16px; }
.term-key { color: var(--teal); }
.term-val { color: var(--text); text-align: right; }
.term-loop { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.term-loop-key { color: var(--teal); margin-bottom: 8px; }
.term-loop-val { color: var(--text); line-height: 1.7; font-size: 12.5px; }

/* ==========================================================================
   AI-ASSISTED PRODUCTION
   ========================================================================== */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-bottom: 26px; }
.flow-card {
  flex: 1 1 120px; min-width: 110px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 14px; text-align: center;
}
.flow-card--gold { border-color: var(--gold); }
.flow-card--teal { border-color: var(--teal); }
.flow-num { font-family: var(--mono); font-size: 10px; color: var(--teal); margin-bottom: 6px; }
.flow-name { font-size: 0.92rem; font-weight: 600; }
.pullquote { border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; }
.pullquote p { color: var(--text); font-size: 1.02rem; line-height: 1.6; }

/* ==========================================================================
   WORKFLOW
   ========================================================================== */
.step-card { padding: 24px; }
.step-card:hover { transform: translateY(-2px); }
.step-label { font-family: var(--mono); color: var(--teal); font-size: 12px; margin-bottom: 14px; }
.step-card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.step-card p { color: var(--text-dim); line-height: 1.6; font-size: 0.95rem; }

/* ==========================================================================
   STATUS
   ========================================================================== */
.status-card { padding: 22px; }
.status-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; }
.status-dot--teal { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.status-dot--gold { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.status-dot--muted { background: var(--text-dim); }
.status-label { font-family: var(--mono); font-size: 11px; color: var(--text-dim); }
.status-text { font-size: 1.1rem; font-weight: 600; }
.status-text--teal { color: var(--teal); }
.status-text--gold { color: var(--gold); }
.status-text--muted { color: var(--text-dim); }

.devlog {
  background: repeating-linear-gradient(45deg, var(--surface-alt), var(--surface-alt) 10px, var(--surface) 10px, var(--surface) 20px);
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 26px;
  text-align: center;
}
.devlog-label { font-family: var(--mono); font-size: 12px; color: var(--teal); margin-bottom: 8px; }
.devlog p { color: var(--text-dim); font-size: 0.98rem; }

/* ==========================================================================
   FOOTER / CONTACT
   ========================================================================== */
.footer { border-top: 1px solid var(--border); background: var(--bg-footer); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; margin-bottom: 52px; }
.footer-intro { flex: 1 1 340px; min-width: 280px; }
.footer-intro h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 700; }
.footer-intro p { color: var(--text-dim); line-height: 1.65; margin: 0 0 22px; max-width: 50ch; font-size: 1.02rem; }
.email-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 13px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 11px 16px; border-radius: 11px; color: var(--text);
  transition: border-color 150ms ease;
}
.email-btn:hover { border-color: var(--gold); color: var(--text); }

.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-head { font-family: var(--mono); font-size: 11px; color: var(--teal); letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }
.disabled-link { color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.soon-tag { font-family: var(--mono); font-size: 9.5px; border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  padding-top: 26px; border-top: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand-name { font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
.copyright { margin: 0; color: var(--text-muted); font-size: 12.5px; max-width: 56ch; text-align: right; line-height: 1.5; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
