/* ==========================================================================
   Forma Architecture - Studio Concept Demo Stylesheet
   Palette: Graphite (#0d1117), Slate (#161b22), Steel (#8b949e), Off-White (#f0f6fc)
   ========================================================================== */

:root {
  --arch-bg: #0b0e14;
  --arch-surface: #121721;
  --arch-card: #181f2c;
  --arch-border: #242d3d;
  --arch-border-active: #58a6ff;

  --arch-text: #f0f6fc;
  --arch-text-muted: #8b949e;
  --arch-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --arch-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--arch-bg);
  color: var(--arch-text);
  font-family: var(--arch-sans);
  line-height: 1.6;
}

.arch-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.arch-header {
  border-bottom: 1px solid var(--arch-border);
  padding: 1.5rem 0;
  position: sticky;
  top: 38px;
  z-index: 100;
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(10px);
}

.arch-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.arch-brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.arch-brand-glyph {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #58a6ff;
}

.arch-nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.arch-nav-links a {
  color: var(--arch-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--arch-mono);
  transition: color 0.2s;
}

.arch-nav-links a:hover {
  color: #58a6ff;
}

/* Hero */
.arch-hero {
  padding: 6rem 0 5rem 0;
  border-bottom: 1px solid var(--arch-border);
}

.arch-hero-label {
  font-family: var(--arch-mono);
  font-size: 0.8rem;
  color: #58a6ff;
  margin-bottom: 1rem;
}

.arch-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 860px;
  margin-bottom: 1.5rem;
}

.arch-hero-desc {
  font-size: 1.1rem;
  color: var(--arch-text-muted);
  max-width: 650px;
  margin-bottom: 2.5rem;
}

/* Filter Controls */
.arch-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--arch-border);
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.arch-filter-group {
  display: flex;
  gap: 1rem;
}

.arch-filter-btn {
  background: transparent;
  border: 1px solid var(--arch-border);
  color: var(--arch-text-muted);
  font-family: var(--arch-mono);
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.arch-filter-btn.active, .arch-filter-btn:hover {
  background: var(--arch-surface);
  border-color: #58a6ff;
  color: #fff;
}

/* Project Grid */
.arch-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  margin-bottom: 6rem;
}

.arch-card {
  background: var(--arch-card);
  border: 1px solid var(--arch-border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.arch-card:hover {
  transform: translateY(-4px);
  border-color: var(--arch-border-active);
}

.arch-card-canvas {
  height: 240px;
  background: #0f141d;
  border-bottom: 1px solid var(--arch-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.arch-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.arch-project-meta {
  font-family: var(--arch-mono);
  font-size: 0.72rem;
  color: #58a6ff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.arch-project-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.arch-project-desc {
  font-size: 0.9rem;
  color: var(--arch-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.arch-specs-table {
  width: 100%;
  font-family: var(--arch-mono);
  font-size: 0.75rem;
  border-collapse: collapse;
  margin-top: auto;
  border-top: 1px solid var(--arch-border);
}

.arch-specs-table td {
  padding: 0.5rem 0;
  color: var(--arch-text-muted);
}

.arch-specs-table td:last-child {
  text-align: right;
  color: #fff;
}

/* Commission Section */
.arch-commission-box {
  background: var(--arch-surface);
  border: 1px solid var(--arch-border);
  border-radius: 4px;
  padding: 3rem;
  margin-bottom: 5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.arch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: #58a6ff;
  color: #0b0e14;
  font-family: var(--arch-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.arch-btn:hover {
  opacity: 0.9;
}

/* Footer */
.arch-footer {
  border-top: 1px solid var(--arch-border);
  padding: 3rem 0;
  font-family: var(--arch-mono);
  font-size: 0.78rem;
  color: var(--arch-text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .arch-commission-box {
    grid-template-columns: 1fr;
  }
  .arch-nav-links {
    display: none;
  }
}
