:root {
  --bg: #0a0a0a;
  --bg-subtle: #101010;
  --surface: #141414;
  --surface-hover: #1a1a1a;
  --elevated: #1f1f1f;
  --border: #262626;
  --border-strong: #333;
  --text: #ededed;
  --text-muted: #a1a1a1;
  --text-dim: #666;
  --accent: #22d3ee;
  --accent-glow: rgba(34, 211, 238, 0.15);
  --accent-dim: rgba(34, 211, 238, 0.08);
  --success: #10b981;
  --warning: #f59e0b;
  --sans: 'Geist', -apple-system, sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', monospace;
  --serif: 'Instrument Serif', serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'ss03', 'cv11';
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-dim), transparent),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(168, 85, 247, 0.05), transparent);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.spotlight {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

main, nav, footer { position: relative; z-index: 2; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

@media (max-width: 640px) { .wrap { padding: 0 1.25rem; } }

/* nav */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 10, 0.65);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.logo-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.kbd-hint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  cursor: pointer;
  background: var(--surface);
  transition: all 0.15s;
}
.kbd-hint:hover { border-color: var(--accent); color: var(--text); }
.kbd {
  padding: 1px 5px;
  background: var(--elevated);
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  font-size: 0.68rem;
}
@media (max-width: 720px) { .nav-links a:not(.kbd-hint) { display: none; } }

/* hero */
.hero { padding: 10rem 0 7rem; position: relative; }
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.status-dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}
.hero h1 {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--text);
  max-width: 800px;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.hero-meta {
  display: flex;
  gap: 2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-meta span strong { color: var(--text); font-weight: 500; }

/* sections */
.section { padding: 5rem 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: lowercase;
  letter-spacing: 0.05em;
}
.section-label::before { content: '// '; color: var(--text-dim); }
.section-title {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-count {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 820px) { .work-grid { grid-template-columns: 1fr; } }

.work {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-subtle) 100%);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.work::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.work:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: linear-gradient(180deg, var(--surface-hover) 0%, var(--surface) 100%);
}
.work:hover::before { opacity: 0.6; }
.work-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.work-id {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.work-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}
.tag-workflow { background: rgba(34,211,238,0.1); color: var(--accent); }
.tag-voice { background: rgba(168,85,247,0.1); color: #c084fc; }
.tag-chatbot { background: rgba(16,185,129,0.1); color: var(--success); }
.tag-data { background: rgba(245,158,11,0.1); color: var(--warning); }
.work h3 {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.work-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.work-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.metric { display: flex; flex-direction: column; gap: 0.15rem; }
.metric-value {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
}
.metric-value.accent { color: var(--accent); }
.metric-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-dim);
}
.work-stack { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.chip {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.55rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
}

.work-metrics-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
@media (max-width: 480px) { .work-metrics-3 { grid-template-columns: 1fr 1fr; } }

.work-details {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.8;
}
.work-details .detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.04);
}
.work-details .detail-row:last-child { border-bottom: none; }
.work-details .detail-key { color: var(--text-dim); }
.work-details .detail-val { color: var(--text); text-align: right; }
.work-details .detail-val.accent { color: var(--accent); }
.work-details .detail-val.success { color: var(--success); }
.work-details .detail-val.warn { color: var(--warning); }

/* diagram */
.diagram-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  margin: 5rem 0;
}
.diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  overflow-x: auto;
}
.diagram-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  color: var(--text-dim);
  font-size: 0.72rem;
}
.diagram-dots { display: flex; gap: 0.3rem; }
.diagram-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.diagram-dots span:nth-child(1) { background: #ff5f57; }
.diagram-dots span:nth-child(2) { background: #febc2e; }
.diagram-dots span:nth-child(3) { background: #28c840; }
.diagram pre { line-height: 1.7; white-space: pre; }
.diagram .arrow { color: var(--accent); }
.diagram .node { color: var(--text); }
.diagram .comment { color: var(--text-dim); font-style: italic; }
.diagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .diagram-grid { grid-template-columns: 1fr; } }
.diagram-grid .diagram {
  font-size: 0.68rem;
  padding: 1.25rem;
}
.diagram-grid .diagram pre { line-height: 1.6; }

/* stack */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.stack-item {
  padding: 1.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.15s;
}
.stack-item:hover { background: var(--surface-hover); }
.stack-cat {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.stack-items { display: flex; flex-direction: column; gap: 0.35rem; }
.stack-items span {
  font-size: 0.88rem;
  color: var(--text);
  font-family: var(--mono);
}

/* pricing */
.price-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.price-card { max-width: 640px; margin: 0 auto; }
.price-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.price-two-col .price-card {
  max-width: none;
  margin: 0;
}
.price-inner {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-subtle) 100%);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.price-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-dim), transparent 40%);
  pointer-events: none;
}
.price-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-subtle) 100%);
  position: relative;
  overflow: hidden;
}
.price-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-dim), transparent 40%);
  pointer-events: none;
}
.price-content { position: relative; z-index: 1; }
.price-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.price-card h3 {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.price-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.price-amount {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.price-from {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}
.price-big {
  font-family: var(--sans);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}
.price-unit {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}
.price-features {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  list-style: none;
  position: relative;
  z-index: 1;
}
.price-features li {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.price-features li::before { content: '→'; color: var(--accent); font-weight: 500; }
@media (max-width: 768px) {
  .price-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .price-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .price-amount { align-items: flex-start; }
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.about-left { position: sticky; top: 100px; }
.about-id-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.82rem;
}
.about-id-card .line {
  display: flex;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.about-id-card .line:last-child { border-bottom: none; }
.about-id-card .line-key { color: var(--text-dim); min-width: 90px; }
.about-id-card .line-val { color: var(--text); }
.about-id-card .line-val.accent { color: var(--accent); }
.about-right {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.about-right p { margin-bottom: 1.25rem; }
.about-right p.lead {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--text);
  font-style: italic;
  margin-bottom: 2rem;
}
.about-right .highlight {
  color: var(--text);
  border-bottom: 1px dashed var(--accent);
  padding-bottom: 1px;
}

/* footer */
footer { padding: 4rem 0 2.5rem; border-top: 1px solid var(--border); margin-top: 5rem; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand-group h4 {
  font-family: var(--sans);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 440px;
}
.footer-brand-group h4 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  transition: all 0.15s;
  margin-top: 1rem;
}
.footer-mail:hover { border-color: var(--accent); color: var(--accent); }
.footer-links { display: flex; gap: 3rem; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.footer-col a {
  display: block;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.2rem 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* command palette */
.palette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  animation: fadeIn 0.15s var(--ease);
}
.palette-overlay.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.palette {
  width: 90%;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--accent-dim);
  animation: slideDown 0.2s var(--ease);
}
@keyframes slideDown {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.palette-input {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
}
.palette-input::placeholder { color: var(--text-dim); }
.palette-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 0.5rem;
}
.palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text);
  transition: background 0.1s;
}
.palette-item:hover { background: var(--elevated); }
.palette-item .cmd-icon {
  color: var(--text-dim);
  margin-right: 0.7rem;
}
.palette-item .cmd-hint { font-size: 0.7rem; color: var(--text-dim); }

/* contact form overlay */
.form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  animation: fadeIn 0.15s var(--ease);
}
.form-overlay.open { display: flex; }
.form-box {
  width: 90%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--accent-dim);
  animation: slideDown 0.2s var(--ease);
}
.form-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-header h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.form-close {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
}
.form-close:hover { border-color: var(--accent); color: var(--text); }
.form-body { padding: 1.5rem; }
.form-field {
  margin-bottom: 1rem;
}
.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-dim);
}
.form-field textarea { min-height: 120px; line-height: 1.6; }
.form-submit {
  width: 100%;
  padding: 0.8rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  margin-top: 0.5rem;
}
.form-submit:hover { opacity: 0.85; }
.form-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.form-status {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-align: center;
  margin-top: 0.75rem;
  min-height: 1.2em;
}
.form-status.success { color: var(--success); }
.form-status.error { color: #ef4444; }

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

::selection { background: var(--accent); color: var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ═══ HERO VERTICALS ═══ */
.hero-verticals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.vert-chip {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  letter-spacing: 0.03em;
}

/* ═══ WORK FILTERS ═══ */
.work-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { color: var(--text); border-color: var(--text-dim); }
.filter-btn.active { color: var(--accent); border-color: var(--accent); background: rgba(34,211,238,0.06); }

/* ═══ SYSTEM TAG ═══ */
.tag-system { background: rgba(16,185,129,0.1); color: #10B981; }

/* ═══ FEATURED WORK CARD ═══ */
.work.featured { border-color: var(--accent-dim); }
.work.featured .work-top { border-bottom-color: var(--accent-dim); }

/* ═══ WORK LINK (demo/product links) ═══ */
.work-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-decoration: none;
  margin-left: auto;
  transition: opacity 0.2s;
}
.work-link:hover { opacity: 0.7; }

/* ═══ WRITING SECTION ═══ */
.writing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.writing-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.writing-card:hover { border-color: var(--accent); background: var(--bg-subtle); }
.writing-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.writing-card h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin: 0.6rem 0 0.5rem;
  letter-spacing: -0.01em;
}
.writing-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.writing-link {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
}
@media (max-width: 640px) {
  .writing-grid { grid-template-columns: 1fr; }
}
