/* component-specific styles for chetanbatra.com — multi-color, real logos */

:root {
  --lemon: #FACC15;
  --lemon-soft: rgba(250, 204, 21, 0.16);
  --lilac: #B79CFF;
  --lilac-soft: rgba(183, 156, 255, 0.18);
  --sky: #7CC0FF;
  --sky-soft: rgba(124, 192, 255, 0.18);
  --mint: #6EE7B7;
  --mint-soft: rgba(110, 231, 183, 0.18);
  --pink: #F0ABFC;
  --pink-soft: rgba(240, 171, 252, 0.18);
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 110px; position: relative; overflow: hidden; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 70%); opacity: 0.4; pointer-events: none; z-index: 0; }
.hero::before { content: ''; position: absolute; top: -10%; left: 30%; width: 700px; height: 700px; background: radial-gradient(closest-side, var(--accent-soft), transparent 70%); pointer-events: none; z-index: 0; opacity: 0.6; filter: blur(20px); animation: orb-drift-a 36s ease-in-out infinite; will-change: transform; }
.hero::after { content: ''; position: absolute; top: 20%; right: 5%; width: 500px; height: 500px; background: radial-gradient(closest-side, var(--lilac-soft), transparent 70%); pointer-events: none; z-index: 0; filter: blur(30px); animation: orb-drift-b 42s ease-in-out infinite; will-change: transform; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip-warm { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.hero-title { margin: 0 0 28px; font-weight: 500; line-height: 0.95; font-size: clamp(56px, 9vw, 130px); letter-spacing: -0.045em; }
.hero-hand { font-size: 0.32em; font-weight: 400; letter-spacing: 0; color: var(--fg-3); display: inline-block; vertical-align: 0.55em; font-family: var(--font-serif); font-style: italic; }
.hero-name { color: var(--fg); }
.hero-period { color: var(--accent); }
.accent-text { color: var(--accent); }
.hero-tag { font-size: clamp(17px, 1.3vw, 20px); color: var(--fg-2); max-width: 540px; line-height: 1.55; margin-bottom: 36px; }
.hero-ticker { display: inline-block; position: relative; }
.hero-ticker .serif { display: inline-block; animation: tickerin .55s cubic-bezier(.2,.7,.2,1); }
@keyframes tickerin { from { opacity: 0; transform: translateY(8px) rotate(-1deg); } to { opacity: 1; transform: none; } }
.hover-pop { display: inline-block; font-weight: 500; background: var(--accent-soft); color: var(--accent); padding: 0 6px; border-radius: 4px; transition: transform .15s, background .15s; cursor: default; }
.hover-pop:hover { transform: translateY(-1px) rotate(-1deg); background: var(--accent); color: var(--bg); }
.underline-wobble { position: relative; font-weight: 500; }
.underline-wobble::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6'><path d='M2 4 Q 10 1, 20 3 T 40 3 T 58 3' stroke='%23F08A6B' stroke-width='1.4' fill='none' stroke-linecap='round'/></svg>") repeat-x; background-size: 60px 6px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-2); border-top: 0.5px solid var(--border); padding-top: 24px; }
.hero-meta .mono { font-size: 11px; letter-spacing: 0.06em; }
.dim { color: var(--fg-3); }
.small { font-size: 11px; }
.hero-term-wrap { position: relative; }
.hero-term-caption { margin-top: 12px; text-align: right; font-size: 11px; }
.hero-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); z-index: 2; animation: scroll-bounce 2.4s ease-in-out infinite; }
@keyframes scroll-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ── Terminal ──────────────────────────────────────────────────── */
.terminal { background: oklch(0.10 0.005 60); border: 0.5px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 4px 16px rgba(0,0,0,.2), inset 0 0.5px 0 oklch(1 0 0 / .06); font-family: var(--font-mono); font-size: 13.5px; position: relative; cursor: text; }
.terminal-live { transition: border-color .2s; }
.terminal-live:hover { border-color: var(--accent-line); }
[data-theme="light"] .terminal { background: oklch(0.16 0.006 60); color: oklch(0.95 0.005 80); }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 0.5px solid oklch(1 0 0 / .08); background: oklch(1 0 0 / .03); }
.term-dots { display: flex; gap: 7px; flex-shrink: 0; }
.term-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.term-title { flex: 1; text-align: center; color: oklch(0.7 0.005 60); font-size: 11.5px; letter-spacing: 0.04em; display: flex; justify-content: center; gap: 6px; }
.term-spacer { width: 70px; display: flex; justify-content: flex-end; }
.live-pip { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--term); letter-spacing: 0.06em; text-transform: uppercase; }
.live-pip i { width: 6px; height: 6px; border-radius: 50%; background: var(--term); box-shadow: 0 0 8px var(--term); animation: livepulse 1.6s ease-in-out infinite; }
@keyframes livepulse { 50% { opacity: 0.4; box-shadow: 0 0 12px var(--term); } }
.term-body { padding: 22px 22px 18px; min-height: 360px; max-height: 440px; overflow-y: auto; color: oklch(0.92 0.005 80); line-height: 1.75; scrollbar-width: thin; }
.term-body::-webkit-scrollbar { width: 6px; }
.term-body::-webkit-scrollbar-thumb { background: oklch(1 0 0 / .15); border-radius: 3px; }
.term-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; }
.term-line:first-child { margin-top: 0; }
.term-prompt { color: var(--term); flex-shrink: 0; font-weight: 500; }
.term-prompt-bot { color: var(--accent); }
.term-text { color: oklch(0.92 0.005 80); white-space: pre-wrap; }
.term-text.dim { color: oklch(0.62 0.005 60); }
.term-out .term-text { color: oklch(0.85 0.005 80); }
.term-reply .term-text { color: oklch(0.95 0.005 80); }
.term-accent { color: var(--accent); margin-right: 4px; }
.term-thinking { color: var(--accent); font-style: italic; display: inline-flex; align-items: center; gap: 6px; }
.term-bdot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: dot-bounce 1.2s ease-in-out infinite; }
.term-bdot:nth-child(2) { animation-delay: .15s; }
.term-bdot:nth-child(3) { animation-delay: .3s; }
.term-cursor { display: inline-block; color: var(--accent); }
.term-cursor.blink { animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-input-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 6px; }
.term-input { flex: 1; background: transparent; border: 0; outline: 0; font: inherit; color: oklch(0.95 0.005 80); caret-color: var(--accent); padding: 0; }
.term-input::placeholder { color: oklch(0.5 0.005 60); }
.term-suggestions { display: flex; gap: 6px; padding: 12px 14px 14px; border-top: 0.5px solid oklch(1 0 0 / .06); background: oklch(1 0 0 / .015); flex-wrap: wrap; }
.term-suggest { appearance: none; border: 0.5px solid oklch(1 0 0 / .12); background: oklch(1 0 0 / .04); color: oklch(0.85 0.005 80); font: inherit; font-size: 11.5px; padding: 5px 10px; border-radius: 999px; cursor: default; transition: all .15s; white-space: nowrap; }
.term-suggest:hover { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.term-suggest:disabled { opacity: 0.4; }

/* ── Tool Logo ─────────────────────────────────────────────────── */
.tool-logo {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px;
  border: 0.5px solid;
  flex-shrink: 0;
  overflow: hidden;
}
.tool-logo img { display: block; }
.tool-logo-mono {
  font-family: var(--font-mono);
  font-weight: 600;
  border: 0;
  font-size: 0.5em;
  letter-spacing: -0.02em;
}

/* ── Stack pills ───────────────────────────────────────────────── */
.stack-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px;
  background: var(--bg-elev);
  border: 0.5px solid var(--border);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--fg-2);
  font-weight: 500;
}
.stack-pill .tool-logo { border-radius: 5px; }

.chip-sm { display: inline-flex; align-items: center; padding: 4px 10px; border: 0.5px solid var(--border); border-radius: 999px; font-family: var(--font-mono); font-size: 11px; color: var(--fg-2); background: var(--bg-elev); }

/* ── Builds ────────────────────────────────────────────────────── */
.builds-sec { padding-top: 40px; }
.builds-legend { display: flex; gap: 12px; font-size: 11px; align-items: center; flex-wrap: wrap; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-3); letter-spacing: 0.06em; }
.legend-item i { width: 7px; height: 7px; border-radius: 50%; display: block; }

.builds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.build-card { position: relative; background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 320px; transition: border-color .2s, transform .25s cubic-bezier(.2,.7,.2,1); overflow: hidden; }
.build-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.build-card:nth-child(3n+1):hover { border-color: var(--accent); box-shadow: 0 12px 32px var(--accent-soft); }
.build-card:nth-child(3n+2):hover { border-color: var(--lilac); box-shadow: 0 12px 32px var(--lilac-soft); }
.build-card:nth-child(3n+3):hover { border-color: var(--sky); box-shadow: 0 12px 32px var(--sky-soft); }
.build-head { display: flex; align-items: center; justify-content: space-between; }
.build-num { font-size: 11px; color: var(--fg-4); letter-spacing: 0.08em; }
.build-status { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; border: 0.5px solid; text-transform: uppercase; }
.build-status-dot { width: 6px; height: 6px; border-radius: 50%; }
.build-title { font-size: 22px; letter-spacing: -0.02em; margin-top: 4px; }
.build-blurb { color: var(--fg-2); font-size: 14.5px; line-height: 1.55; flex: 1; }
.build-stack { display: flex; flex-wrap: wrap; gap: 5px; }
.build-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 0.5px dashed var(--border-soft); font-size: 12px; }
.build-link { color: var(--fg); font-family: var(--font-mono); font-size: 12px; display: inline-flex; align-items: center; gap: 4px; transition: color .15s; }
.build-link:hover { color: var(--accent); }
.build-link .arr { transition: transform .15s; display: inline-block; }
.build-link:hover .arr { transform: translate(2px, -2px); }
.builds-more { margin-top: 28px; text-align: center; font-size: 12px; padding: 24px; border: 0.5px dashed var(--border); border-radius: var(--r-md); }

/* ── Clay app replica ──────────────────────────────────────────── */
.workflow-sec { padding-bottom: calc(var(--section-pad-y) + 40px); }
.clay-container { max-width: 1320px; }
.clay-app {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: #FAFAF9;
  color: #18181B;
  border: 0.5px solid #00000022;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.15);
  font-family: 'Inter', var(--font-sans);
  font-size: 13px;
  min-height: 620px;
}

/* Sidebar */
.clay-sidebar {
  background: #F4F4F5;
  border-right: 0.5px solid #00000014;
  padding: 0;
  display: flex; flex-direction: column;
}
.clay-workspace { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 0.5px solid #00000010; }
.clay-ws-mark { width: 28px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, #F35F23, #F59E0B); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 12px; font-family: var(--font-mono); }
.clay-ws-info { flex: 1; min-width: 0; }
.clay-ws-name { font-weight: 600; font-size: 13px; color: #18181B; }
.clay-ws-plan { font-size: 10px; color: #71717A; letter-spacing: 0.06em; }
.clay-side-section { padding: 14px 8px 8px; }
.clay-side-label { font-size: 10px; color: #A1A1AA; padding: 0 8px 6px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.clay-side-item { appearance: none; display: flex; width: 100%; align-items: center; gap: 10px; padding: 6px 10px; background: transparent; border: 0; color: #3F3F46; font: inherit; border-radius: 6px; cursor: default; text-align: left; }
.clay-side-item:hover:not(:disabled) { background: #00000008; }
.clay-side-item.on { background: #F35F2316; color: #F35F23; font-weight: 600; }
.clay-side-item.dim { color: #A1A1AA; }
.clay-table-icon { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.clay-conn { display: flex; align-items: center; gap: 10px; padding: 5px 10px; color: #3F3F46; font-size: 12px; }
.clay-conn .tool-logo { background: white !important; }

/* Main */
.clay-main { display: flex; flex-direction: column; min-width: 0; }
.clay-topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 0.5px solid #00000010; background: white; }
.clay-breadcrumb { display: flex; gap: 6px; font-size: 12px; color: #18181B; font-weight: 500; }
.clay-breadcrumb .dim { color: #A1A1AA; }
.clay-topbar-actions { display: flex; gap: 6px; align-items: center; }
.clay-btn { appearance: none; border: 0.5px solid #00000018; background: white; color: #3F3F46; font: inherit; font-size: 12px; padding: 6px 10px; border-radius: 6px; cursor: default; font-weight: 500; }
.clay-btn:hover { background: #FAFAF9; }
.clay-btn-ghost { background: transparent; border: 0; }
.clay-btn-ghost:hover { background: #00000008; }
.clay-btn-share { background: white; }
.clay-btn-run { background: linear-gradient(180deg, #F35F23, #DC4F1A); color: white; border-color: #DC4F1A; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 2px 6px rgba(243,95,35,.3); }
.run-dot { width: 7px; height: 7px; border-radius: 50%; background: #6EE7B7; box-shadow: 0 0 6px #6EE7B7; animation: livepulse 1.6s ease-in-out infinite; display: inline-block; }
.run-dot.mini { width: 5px; height: 5px; }

.clay-toolbar { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-bottom: 0.5px solid #00000010; background: #FAFAF9; }
.clay-tool { appearance: none; border: 0.5px solid transparent; background: transparent; color: #3F3F46; font: inherit; font-size: 12px; padding: 4px 8px; border-radius: 5px; cursor: default; display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.clay-tool:hover { background: white; border-color: #00000014; }
.clay-tool-ic { color: #71717A; font-size: 13px; }
.clay-tool-sep { color: #00000018; margin: 0 4px; }
.clay-toolbar-spacer { flex: 1; }
.clay-toolbar .small { font-size: 11px; }
.clay-toolbar .dim { color: #71717A; }

.clay-tablewrap { overflow-x: auto; flex: 1; background: white; }
.clay-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.clay-table th, .clay-table td { padding: 0; border-right: 0.5px solid #00000010; border-bottom: 0.5px solid #00000010; vertical-align: top; }
.clay-th-num, .clay-td-num { width: 36px; min-width: 36px; max-width: 36px; background: #FAFAF9; padding: 8px 6px !important; text-align: center; font-size: 11px; color: #A1A1AA; }
.clay-th { background: #FAFAF9; padding: 0 !important; min-width: 180px; }
.clay-th-inner { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.clay-th-icon { width: 22px; height: 22px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.clay-th-meta { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.clay-th-name { font-weight: 600; color: #18181B; font-size: 12.5px; }
.clay-th-type { font-size: 9.5px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.clay-th-handle { color: #A1A1AA; font-size: 14px; }
.clay-td { padding: 10px 12px !important; }

.cell-text { color: #18181B; }
.cell-link { color: #0EA5E9; text-decoration: underline; text-decoration-color: #0EA5E933; text-underline-offset: 2px; }
.cell-ai { display: inline-block; padding: 4px 8px; border-radius: 5px; font-size: 12px; line-height: 1.4; font-style: italic; max-width: 280px; white-space: normal; }
.cell-pill { display: inline-flex; align-items: center; padding: 3px 10px; border: 0.5px solid; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; }

.clay-row-running { background: #F35F2308; }
.clay-shimmer { display: inline-block; height: 14px; width: 80%; min-width: 80px; max-width: 240px; background-size: 200% 100%; border-radius: 4px; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.clay-statusbar { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-top: 0.5px solid #00000010; background: #FAFAF9; font-size: 11px; color: #3F3F46; }
.clay-spacer { flex: 1; }

/* ── Journey ───────────────────────────────────────────────── */
.journey-sec { background: oklch(from var(--bg-elev) l c h / 0.4); }
.timeline-spine {
  position: absolute;
  left: 124px; top: 0; bottom: 60px;
  width: 1px;
  background: var(--border);
  overflow: visible;
}
.timeline-spine-fill {
  position: absolute; top: 0; left: 0; right: 0;
  height: var(--spine-fill, 0%);
  background: linear-gradient(180deg, var(--accent), var(--lilac));
  transition: height .15s linear;
  box-shadow: 0 0 8px var(--accent-soft);
}
.journey-meta { display: flex; gap: 32px; padding-top: 12px; }
.counter { display: flex; flex-direction: column; gap: 2px; }
.counter-n { font-family: var(--font-serif); font-style: italic; font-size: 56px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.counter-l { font-size: 11px; letter-spacing: 0.08em; }
.c-coral { color: var(--accent); }
.c-lemon { color: var(--lemon); }
.c-lilac { color: var(--lilac); }

.timeline { position: relative; margin-top: 24px; }
.tl-item { display: grid; grid-template-columns: 100px 48px 1fr; gap: 16px; padding: 18px 0; align-items: flex-start; position: relative; }
.tl-year { text-align: right; padding-top: 8px; font-size: 13px; color: var(--fg-3); font-weight: 500; }
.tl-node { position: relative; display: flex; justify-content: center; padding-top: 10px; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--fg-4); position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.tl-emoji { position: absolute; font-size: 16px; color: var(--accent); font-family: var(--font-mono); line-height: 1; }
.tl-dot:has(.tl-emoji) { width: 28px; height: 28px; background: var(--accent-soft); border-color: var(--accent); }
.tl-item.in .tl-dot { border-color: var(--accent); }
.tl-item.in .tl-dot:not(:has(.tl-emoji)) { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-item[data-tag="now"] .tl-dot { background: var(--term-soft); border-color: var(--term); }
.tl-item[data-tag="now"] .tl-emoji { color: var(--term); }
.tl-card { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--r-md); padding: 18px 22px; transition: border-color .2s, transform .3s cubic-bezier(.2,.7,.2,1); }
.tl-item:hover .tl-card { border-color: var(--accent-line); transform: translateX(4px); }
.tl-role { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tl-role h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.tl-org { font-size: 12px; margin-top: 4px; }
.tl-card p { color: var(--fg-2); font-size: 14.5px; margin-top: 10px; line-height: 1.55; }
.tl-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.tl-now { background: var(--term-soft); color: var(--term); border: 0.5px solid var(--term); }
.tl-start { background: var(--lilac-soft); color: var(--lilac); border: 0.5px solid var(--lilac); }
.tl-level-up { background: var(--lemon-soft); color: var(--lemon); border: 0.5px solid var(--lemon); }
.tl-operator { background: var(--sky-soft); color: var(--sky); border: 0.5px solid var(--sky); }
.tl-future { margin-top: 16px; margin-left: 124px; padding: 14px 0; font-size: 12px; }

/* ── Tools ─────────────────────────────────────────────────────── */
.tools-sec { padding-bottom: calc(var(--section-pad-y) + 20px); }
.tools-primary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; }
.tool-tile { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; transition: all .25s cubic-bezier(.2,.7,.2,1); position: relative; overflow: hidden; }
.tool-tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 0% 0%, var(--accent-soft), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tool-tile:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.tool-tile:hover::before { opacity: 1; }
.tool-tile-name { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; position: relative; z-index: 1; }
.tool-tile-role { font-size: 11px; letter-spacing: 0.04em; position: relative; z-index: 1; }
.tool-tile .tool-logo { position: relative; z-index: 1; }
.tools-secondary { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 0.5px dashed var(--border); }
.tool-mini { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: var(--bg-elev); border: 0.5px solid var(--border); border-radius: 999px; font-size: 12px; color: var(--fg-2); font-weight: 500; }
.tool-mini:hover { border-color: var(--accent-line); }

/* ── Footer ────────────────────────────────────────────────────── */
.footer-sec { padding: 100px 0 32px; border-top: 0.5px solid var(--border); background: radial-gradient(ellipse 50% 30% at 80% 0%, var(--accent-soft), transparent 70%), var(--bg); }
.footer-big { padding-bottom: 56px; }
.footer-headline { font-size: clamp(48px, 6vw, 88px); letter-spacing: -0.04em; line-height: 1.0; font-weight: 500; margin: 0; }
.footer-headline .serif { color: var(--accent); }
.footer-sub { font-size: 17px; max-width: 520px; margin-top: 24px; }
.footer-links-wrap { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.footer-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 28px 24px 28px 0; border-right: 0.5px solid var(--border); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; transition: padding-left .2s, color .2s, background .2s; }
.footer-link:nth-child(even) { background: oklch(from var(--bg) l c h / 0.5); }
.footer-link:last-child { border-right: 0; }
.footer-link:hover { padding-left: 12px; color: var(--accent); background: var(--accent-soft); }
.footer-link-arrow { font-size: 14px; color: var(--fg-3); }
.footer-link:hover .footer-link-arrow { color: var(--accent); transform: translate(2px, -2px); transition: transform .2s; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 16px; font-size: 11px; }



/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-term-wrap { max-width: 600px; }
  .builds-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: 1fr; }
  .clay-app { grid-template-columns: 200px 1fr; }
  .clay-sidebar .clay-side-section:nth-child(3) { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; --section-pad-y: 80px; }
  .builds-grid { grid-template-columns: 1fr; }

  .footer-links-wrap { grid-template-columns: 1fr; }
  .clay-app { grid-template-columns: 1fr; }
  .clay-sidebar { display: none; }
  .footer-link { border-bottom: 0.5px solid var(--border); border-right: 0; }
  .timeline-spine { left: 80px; }
  .tl-item { grid-template-columns: 64px 32px 1fr; gap: 12px; }
  .tl-future { margin-left: 80px; }
  .nav { font-size: 11px; padding: 4px; flex-wrap: wrap; max-width: calc(100vw - 24px); justify-content: center; }
  .nav a { padding: 6px 8px; }
  .nav-indicator { display: none; }
  .journey-meta { gap: 20px; }
  .counter-n { font-size: 40px; }
  .term-body { min-height: 280px; max-height: 360px; padding: 16px; }
  .hero { padding-top: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
  .hero-anim { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
