/*
  site-base.css
  ─────────────────────────────────────────────────────────────────────────────
  Mimotica website design system.
  Source: prompts/importcontainer/website/site.css (canonical original).
  Tokens (@radius, @palette, @backgrounds) are imported from tokens.css.
  ─────────────────────────────────────────────────────────────────────────────
*/

@import "./tokens.css";

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #e8e4db;
  color: var(--ink);
  min-height: 100vh;
  padding: 22px 22px 40px;
}
h1, h2, h3, h4, p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Page shell — the big rounded card ─────────────── */
.shell {
  max-width: 1360px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream);
  isolation: isolate;
}

/* ── Navigation ─────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 22px;
  z-index: 200;
  margin: 0 auto;
  margin-bottom: 2px;
  max-width: 1360px;
  padding: 0;
  pointer-events: none;
}

@keyframes nav-scroll-in {
  from {
    background: rgba(243, 239, 231, 0.45);
    border-color: rgba(12, 14, 16, 0.06);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 62px;
    margin-inline: 0;
  }
  to {
    background: rgba(243, 239, 231, 0.88);
    border-color: rgba(12, 14, 16, 0.09);
    box-shadow: 0 4px 24px rgba(16, 24, 32, 0.09);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    height: 54px;
    margin-inline: 32px;
  }
}

.nav-inner {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px 0 24px;
  height: 54px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(12, 14, 16, 0.06);
  animation: nav-scroll-in linear both;
  animation-timeline: scroll(root);
  animation-range: 50px 210px;
}

.nav-wordmark {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.nav-wordmark svg { display: block; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  transition: color 0.16s, background 0.16s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--navy); background: rgba(16, 42, 75, 0.07); }
.nav-link.active { color: var(--navy); }

.nav-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: rgba(12, 14, 16, 0.38);
  transition: color 0.16s, background 0.16s;
}
.nav-icon-link:hover { color: var(--navy); background: rgba(16, 42, 75, 0.08); }
.nav-icon-link svg { display: block; }

.nav-sep {
  width: 1px;
  height: 16px;
  background: var(--line);
  flex-shrink: 0;
  margin: 0 4px;
}

/* ── Mobile hamburger menu (CSS-only) ───────────────── */
.nav-toggle {
  display: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 14, 16, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 200;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 280px;
  background: rgba(243, 239, 231, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -4px 0 24px rgba(16, 24, 32, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 202;
  padding: 80px 24px 24px;
  overflow-y: auto;
  pointer-events: all;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-drawer .nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  border-radius: 12px;
}

.nav-drawer .nav-sep {
  width: 100%;
  height: 1px;
  margin: 8px 0;
}

.nav-drawer .btn-primary {
  margin-top: 16px;
  justify-content: center;
}

/* Checkbox checked state */
.nav-toggle:checked ~ .nav-backdrop {
  opacity: 1;
  pointer-events: all;
}

.nav-toggle:checked ~ .nav-drawer {
  transform: translateX(0);
}

.nav-toggle:checked ~ .nav-inner .nav-hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle:checked ~ .nav-inner .nav-hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked ~ .nav-inner .nav-hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--teal) 0%, #3d6e7a 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(79, 128, 136, 0.30);
  transition: opacity 0.16s, transform 0.14s, box-shadow 0.16s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary:hover {
  opacity: 0.91;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 128, 136, 0.38);
}
.btn-primary:active { transform: translateY(0); opacity: 1; }

.btn-primary.large {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.60);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(16, 42, 75, 0.14);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.16s, transform 0.14s;
  font-family: inherit;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

/* ── Hero section ───────────────────────────────────── */
.hero {
  position: relative;
  /* Capped so the cover image stays well-proportioned on tall/large screens
     instead of stretching very long. (was: min-height: 92vh) */
  min-height: clamp(560px, 82vh, 780px);
  display: flex;

  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-cover);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02)),
    radial-gradient(circle at top left, rgba(255,255,255,0.40), transparent 36%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 88px 64px 60px;
  max-width: 720px;
  gap: 0;
}

/* ── Typography ─────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: #6c7078;
}

.title {
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.97;
  color: var(--ink);
}

.title-medium {
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--ink);
}

.lead {
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1.42;
  color: var(--muted);
  max-width: 580px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--teal);
}

/* ── Chips ───────────────────────────────────────────── */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: #1d2329;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: transform 0.20s cubic-bezier(.22,.68,0,1.2), box-shadow 0.18s, background 0.18s, border-color 0.18s;
  cursor: default;
}

.chip:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(79, 128, 136, 0.32);
  box-shadow: 0 6px 18px rgba(79, 128, 136, 0.18);
}

/* ── Panel / card ────────────────────────────────────── */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.panel.strong { background: var(--panel-strong); }

.card {
  position: relative;
  overflow: hidden;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
}

.card.coral {
  background: linear-gradient(180deg, rgba(197,123,97,0.13), rgba(255,255,255,0.96) 42%, rgba(255,255,255,0.92));
  border-color: rgba(197,123,97,0.28);
}
.card.coral::before { background: linear-gradient(90deg, var(--coral), #f0a17a); }

.card.wine {
  background: linear-gradient(180deg, rgba(122,33,56,0.13), rgba(255,255,255,0.96) 42%, rgba(255,255,255,0.92));
  border-color: rgba(122,33,56,0.28);
}
.card.wine::before { background: linear-gradient(90deg, var(--wine), var(--coral)); }

.card:not(.coral):not(.wine) {
  background: linear-gradient(180deg, rgba(79,128,136,0.08), rgba(255,255,255,0.96) 42%, rgba(255,255,255,0.92));
  border-color: rgba(79,128,136,0.20);
}

.card h3 {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

.card p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* ── Person card ─────────────────────────────────────── */
.person-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.person-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.12);
}

.person-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.person-card h4 {
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}

.person-card .role {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 500;
}

/* ── Signup row ──────────────────────────────────────── */
.signup-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: var(--radius-sm);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(16, 24, 32, 0.09);
  backdrop-filter: blur(12px);
  overflow: hidden;
  padding: 7px 7px 7px 16px;
  max-width: 480px;
}

.signup-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.signup-input::placeholder {
  color: rgba(95, 104, 114, 0.50);
}

/* ── Sections ────────────────────────────────────────── */
.section {
  padding: 80px 64px;
  background: var(--cream);
}

.section.white {
  background: #fbf9f6;
}

.section.dark {
  background: var(--navy);
  color: #fff;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

/* ── Grid layouts ────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── GitHub strip ────────────────────────────────────── */
.github-strip {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 56px 64px;
  background: rgba(16, 42, 75, 0.04);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.github-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.github-strip-title {
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--ink);
  max-width: 720px;
}

.github-strip-text {
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 740px;
}

.github-strip-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.github-strip-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.80);
  border: 1px solid var(--line);
  color: var(--navy);
  flex-shrink: 0;
}

/* ── Final CTA block ─────────────────────────────────── */
.cta-block {
  padding: 96px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-bottom);
  background-size: cover;
  background-position: center bottom;
  z-index: 0;
  opacity: 0.7;
}

.cta-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243,239,231,0.82) 0%, rgba(243,239,231,0.60) 100%);
  z-index: 0;
}

.cta-block > * { position: relative; z-index: 1; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 64px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-sub {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(12, 14, 16, 0.38);
  font-weight: 500;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 12px;
  font-weight: 600;
  color: rgba(12, 14, 16, 0.45);
  letter-spacing: 0.04em;
  transition: color 0.16s;
}
.footer-link:hover { color: var(--navy); }

/* ── Social channels — visibility toggle ───────────────
   Single switch for the LinkedIn + GitHub links site-wide.
   Both are SHOWN by default. To hide a channel everywhere,
   set its rule below to `display: none;`.
   Canonical reference: prompts/identity/social-channels.md
   ─────────────────────────────────────────────────────── */
.social-linkedin { /* visible */ }
.social-github   { /* visible */ }

/* ── Footer social icons ───────────────────────────────── */
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(12, 14, 16, 0.45);
  transition: color 0.16s, transform 0.14s;
}
.footer-social-link:hover { color: var(--navy); transform: translateY(-1px); }
.footer-social-link svg { display: block; }

/* Social icon + label buttons (Contact "Connect" row) */
.btn-ghost svg { display: block; }

/* ── Divider gradient ────────────────────────────────── */
.divider {
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy), transparent);
  border-radius: 2px;
  max-width: 420px;
  margin: 8px 0;
}

/* ── Bullet list ─────────────────────────────────────── */
.bullets { display: grid; gap: 12px; }
.bullet {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
}
.bullet .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(16,42,75,0.08);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.bullet strong { display: block; margin-bottom: 2px; font-size: 15px; line-height: 1.2; }
.bullet span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* ── Quote bar ───────────────────────────────────────── */
.quote-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.quote-bar-accent {
  width: 4px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--teal), var(--navy));
}
.quote-bar-content {
  flex: 1;
  padding: 16px 20px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
}

/* ── Tags ────────────────────────────────────────────── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

/* ── Blinking dots ───────────────────────────────────── */
@keyframes blink-cursor {
  0%, 100% { opacity: 0.15; }
  45%, 55%  { opacity: 0.75; }
}
.blink-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(108, 112, 120, 0.50);
  flex-shrink: 0;
  display: inline-block;
  animation: blink-cursor 1.4s ease-in-out infinite;
}
.blink-dot.d2 { animation-delay: 0.7s; }

/* ── Stat tiles ──────────────────────────────────────── */
.stat-tile {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-tile .k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #6c7078;
}
.stat-tile .v {
  font-size: 42px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.stat-tile .d {
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Hero logo ───────────────────────────────────────── */
.hero-logo {
  position: absolute;
  bottom: 48px;
  right: 60px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.hero-logo svg { display: block; }
.hero-logo-sub {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(29, 35, 41, 0.50);
  font-weight: 500;
  text-align: center;
}

/* ── Bottom tagline ──────────────────────────────────── */
.tagline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.tagline-word {
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(108, 112, 120, 0.55);
  font-weight: 600;
  white-space: nowrap;
}

/* ── Page hero (inner pages) ─────────────────────────── */
.page-hero {
  position: relative;
  padding: 100px 64px 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-left);
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.72;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243,239,231,0.30), rgba(243,239,231,0.10));
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }

/* ── Mini label ──────────────────────────────────────── */
.mini-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #6c7078;
}

/* ── Pico Banner (landing page) ──────────────────────── */
@keyframes pico-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.pico-banner {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: stretch;
  isolation: isolate;
}

.pico-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #c5e5ed 0%,
    #a2d1dc 18%,
    #7abac8 35%,
    #4f8088 55%,
    #2e6070 72%,
    #1e4a5c 85%,
    #102a4b 100%
  );
  background-size: 300% 300%;
  animation: pico-shimmer 8s ease infinite;
  z-index: 0;
}

.pico-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse at 20% 50%, rgba(255,255,255,0.18) 0%, transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 20%, rgba(79,128,136,0.22) 0%, transparent 50%
    );
  z-index: 1;
  pointer-events: none;
}

.pico-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.pico-banner-text {
  padding: 64px 64px 64px;
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pico-banner-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255,255,255,0.60);
}

.pico-banner-title {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #fff;
}

.pico-banner-sub {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,0.68);
  max-width: 360px;
}

.pico-banner-image {
  flex: 1;
  position: relative;
  align-self: stretch;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pico-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pico-banner-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border-left: 1px solid rgba(255,255,255,0.10);
}

.pico-banner-placeholder span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ── Pico float (studio & manifesto) ─────────────────── */
.pico-float {
  position: fixed;
  bottom: 36px;
  right: 28px;
  z-index: 300;
  width: 180px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: width 0.32s cubic-bezier(.22,.68,0,1.1), transform 0.22s ease, box-shadow 0.22s ease;
  background: linear-gradient(135deg, #c5e5ed 0%, #7abac8 45%, #4f8088 80%, #1e4a5c 100%);
  box-shadow: 0 8px 32px rgba(16, 24, 32, 0.22);
  text-decoration: none;
}

.pico-float:hover {
  width: 260px;
  transform: translateY(-4px);
  box-shadow: 0 18px 54px rgba(16, 24, 32, 0.30);
}

.pico-float-visual {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.pico-float-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pico-float-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pico-float-placeholder svg {
  opacity: 0.28;
}

.pico-float-label {
  padding: 10px 14px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);
}

.pico-float-label-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.pico-float-name {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}

.pico-float-sub {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s 0.08s, transform 0.25s 0.08s;
}

.pico-float:hover .pico-float-sub {
  opacity: 1;
  transform: translateX(0);
}

/* ── Headband banner ─────────────────────────────────── */
@keyframes headband-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.headband-banner {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: stretch;
  isolation: isolate;
}

.headband-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #f0c4b0 0%,
    #e8956e 18%,
    #c57b61 35%,
    #a34a38 55%,
    #7a2138 72%,
    #5a1428 85%,
    #3c0a1a 100%
  );
  background-size: 300% 300%;
  animation: headband-shimmer 8s ease infinite;
  z-index: 0;
}

.headband-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse at 20% 50%, rgba(255,255,255,0.14) 0%, transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 20%, rgba(197,123,97,0.22) 0%, transparent 50%
    );
  z-index: 1;
  pointer-events: none;
}

.headband-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.headband-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Card hover — tech section ───────────────────────── */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.card-link .card {
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.card-link:hover .card {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(79,128,136,0.20);
  border-color: rgba(79,128,136,0.45);
}

.card-github-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.20s, transform 0.20s;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

.card-link:hover .card-github-hint {
  opacity: 1;
  transform: translateY(0);
}

/* ── NDA overlay ─────────────────────────────────────── */
.card-nda {
  position: relative;
  overflow: hidden;
}

.card-nda-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  background: rgba(60, 10, 26, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: inherit;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.card-nda:hover .card-nda-overlay {
  opacity: 1;
  transform: translateY(0);
}

.card-nda-overlay .nda-icon {
  font-size: 22px;
  line-height: 1;
}

.card-nda-overlay .nda-cta {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.card-nda-overlay .nda-note {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-nda.wine-nda .card-nda-overlay {
  background: rgba(40, 8, 20, 0.84);
}

/* ── Open role chips ─────────────────────────────────── */
.chip-open {
  border-style: dashed;
  cursor: pointer;
  color: var(--teal);
  opacity: 0.75;
  transition: opacity 0.18s, transform 0.18s, background 0.18s, box-shadow 0.18s, border-color 0.18s;
  text-decoration: none;
}
.chip-open:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(79,128,136,0.10);
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(79,128,136,0.18);
  color: var(--navy);
}

/* ── Mobile nav animation (smaller heights) ──────────── */
@keyframes nav-scroll-in-mobile {
  from {
    background: rgba(243, 239, 231, 0.45);
    border-color: rgba(12, 14, 16, 0.06);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 48px;
    margin-inline: 0;
  }
  to {
    background: rgba(243, 239, 231, 0.88);
    border-color: rgba(12, 14, 16, 0.09);
    box-shadow: 0 4px 24px rgba(16, 24, 32, 0.09);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    height: 44px;
    margin-inline: 16px;
  }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  body { padding: 14px 14px 28px; }
  .shell { border-radius: 24px; }
  .site-nav { padding: 0; top: 14px; }
  .hero-content { padding: 72px 36px 48px; }
  .hero-logo { right: 28px; bottom: 28px; }
  .hero-logo svg { width: 160px; height: auto; }
  .section { padding: 56px 36px; }
  .cta-block { padding: 64px 36px; }
  .site-footer { padding: 24px 36px; }
  .github-strip { padding: 44px 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 80px 36px 48px; }
  .pico-banner-inner, .headband-banner-inner { flex-direction: column; }
  .pico-banner-text { padding: 48px 36px 32px; flex: unset; }
  .pico-banner-image { min-height: 240px; width: 100%; }
  .pico-float { bottom: 24px; right: 18px; width: 150px; }
  .pico-float:hover { width: 220px; }
  .pico-float-visual { height: 96px; }
}

@media (max-width: 680px) {
  body { padding: 10px 10px 24px; }
  .site-nav { margin-bottom: 6px; }
  .nav-inner { height: 48px; padding: 0 14px; animation: nav-scroll-in-mobile linear both; animation-timeline: scroll(root); animation-range: 50px 210px; }
  
  /* Show hamburger, hide desktop nav */
  .nav-hamburger { display: flex; }
  .nav-right { display: none; }
  
  /* Enable backdrop and drawer */
  .nav-backdrop { display: block; }
  .nav-drawer { display: flex; flex-direction: column; }
  
  /* Hide chip-row, tagline-row, and tags on mobile */
  .chip-row, .tagline-row, .tags { display: none !important; }
  
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .signup-row { max-width: 100%; flex-direction: column; padding: 12px; gap: 10px; }
  .btn-primary.large { width: 100%; justify-content: center; }
  .github-strip { flex-direction: column; align-items: flex-start; gap: 20px; padding: 36px 24px; }
  .github-strip-copy { gap: 8px; }
  .github-strip-actions { width: 100%; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-title-row { flex-direction: column; }
  .pico-banner-text { padding: 36px 24px 28px; }
  .pico-float { display: none; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   TEMP 2026-06-02 · Simplified site — hide Studio & Manifesto.
   These pages still exist and are reachable by URL; only the links are hidden.
   To bring Studio & Manifesto back, DELETE this whole block (and, if desired,
   restore the original "Want to know more?" teaser noted in index.html).
   ───────────────────────────────────────────────────────────────────────────── */
a[href$="studio.html"],
a[href$="manifesto.html"] {
  display: none !important;
}
/* ───────────────────────────────────────────────────────────────────────────── */


/* Brand lockup sizing 2026-06-02 — tune to match widths */
.hero-logo-sub { font-size: 18.5px; letter-spacing: 0.01em; }
.footer-brand svg { width: 150px; height: auto; }
