/* ==========================================================================
   Noumenic — Design System & Page Styles
   Version: 0.1.3
   
   Design rules:
   - Single accent color (Verdigris #3D8B83), <2% of UI
   - No JavaScript interactions
   - Page should feel like a printed document
   - Target: <200ms load, 100/100/100/100 Lighthouse
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. Custom Properties — Design Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Base palette (locked) */
  --void:            #0A0A0A;
  --alabaster:        #F4F4F5;
  --muted-titanium:  #A1A1AA;
  --graphite:        #27272A;

  /* Accent — Verdigris (locked) */
  --accent:          #3D8B83;

  /* Typography — Satoshi (locked) */
  --font-brand:      'Satoshi', system-ui, sans-serif;
  --font-mono:       'Geist Mono', 'JetBrains Mono', monospace;
  --font-body:       'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-gap:     96px;
  --content-max:     960px;
  --card-gap:        24px;
}


/* --------------------------------------------------------------------------
   1. Reset & Base
   -------------------------------------------------------------------------- */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--void);
  color: var(--alabaster);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background-color: var(--accent);
  color: var(--void);
}


/* --------------------------------------------------------------------------
   2. Layout
   -------------------------------------------------------------------------- */

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
}

main {
  flex: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}


/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: calc(var(--section-gap) * 1.8);
  padding-bottom: calc(var(--section-gap) * 1.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-logo {
  display: block;
  width: 48px;
  height: 48px;
}

.hero-logo .logo-outline-2 {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.hero-logo:hover .logo-outline-2 {
  transform: translate(24px, -24px);
}

.hero-wordmark {
  font-family: var(--font-brand);
  font-size: clamp(56px, 9vw, 104px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--alabaster);
}


/* --------------------------------------------------------------------------
   5. Philosophy
   -------------------------------------------------------------------------- */

.philosophy {
  max-width: 600px;
  padding: 0 0 var(--section-gap);
}

.philosophy p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted-titanium);
}

.philosophy p:first-child {
  font-size: 18px;
  color: var(--alabaster);
  line-height: 1.6;
  margin-bottom: 16px;
}

.philosophy p + p {
  margin-top: 0;
}


/* --------------------------------------------------------------------------
   6. Portfolio Cards
   -------------------------------------------------------------------------- */

.portfolio {
  padding-bottom: var(--section-gap);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
}

.card {
  border: 1px solid var(--graphite);
  border-radius: 2px;
  padding: 32px;
  transition: border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: #3F3F46;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-title {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 500;
  color: var(--alabaster);
  letter-spacing: 0.01em;
}

.card-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.card-status--live {
  color: var(--accent);
}

.card-status--soon {
  color: var(--muted-titanium);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.card-description {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-titanium);
  margin-bottom: 20px;
}

.card-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.15s ease;
  margin-top: auto;
}

.card-link:hover {
  opacity: 0.8;
}

.card-link--disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}


/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--graphite);
  margin-top: auto;
}

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

.footer-copyright,
.footer-domain,
.footer-contact {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-titanium);
  letter-spacing: 0.03em;
}

.footer-contact a {
  color: var(--muted-titanium);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-contact a:hover {
  color: var(--alabaster);
}


/* --------------------------------------------------------------------------
   8. Responsive — Single Column Breakpoint
   -------------------------------------------------------------------------- */

@media (max-width: 680px) {
  :root {
    --section-gap: 64px;
  }

  .hero {
    padding-top: calc(var(--section-gap) * 1.4);
    gap: 18px;
  }

  .hero-wordmark {
    font-size: clamp(40px, 12vw, 56px);
  }

  .hero-logo {
    width: 40px;
    height: 40px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 0 20px;
  }

  main {
    padding: 0 20px;
  }
}
