/* style.css — shared external styles for Studio Monochrome */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fafafa;
  color: #1a1a1a;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  border-bottom: 1px solid #e0e0e0;
  background: #ffffff;
  padding: 1.8rem 0 0.5rem 0;
}

header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
}

h1 {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: #111;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 0.6rem;
}

nav a {
  text-decoration: none;
  color: #444;
  font-size: 1rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

nav a:hover {
  color: #111;
  border-bottom-color: #aaa;
}

nav a.active {
  color: #111;
  border-bottom-color: #111;
  font-weight: 500;
}

main {
  flex: 1;
  padding: 3.5rem 0 4rem 0;
}

.hero h2 {
  font-size: 2.6rem;
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1a1a1a;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.15rem;
  max-width: 680px;
  color: #3b3b3b;
  margin-bottom: 1rem;
}

.subtle {
  color: #6f6f6f;
  font-size: 0.95rem;
  border-left: 3px solid #dddddd;
  padding-left: 1.2rem;
  margin-top: 1.8rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  padding: 1.8rem 1.6rem;
  transition: border-color 0.15s;
}

.card:hover {
  border-color: #bbbbbb;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: #222;
}

.card p {
  color: #404040;
  font-size: 0.98rem;
}

.page-intro h2 {
  font-size: 2.2rem;
  font-weight: 450;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.page-intro p {
  font-size: 1.15rem;
  max-width: 720px;
  color: #3b3b3b;
  margin-bottom: 2.8rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0 3rem 0;
}

.two-col h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  color: #222;
  text-transform: lowercase;
  letter-spacing: -0.01em;
}

.two-col p {
  color: #3b3b3b;
  margin-bottom: 1.2rem;
}

.clean-list {
  list-style: none;
}

.clean-list li {
  color: #3b3b3b;
  padding: 0.5rem 0 0.5rem 1.2rem;
  border-left: 2px solid #d0d0d0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.quote {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
}

blockquote {
  font-size: 1.45rem;
  font-weight: 350;
  font-style: italic;
  color: #2a2a2a;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.5;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
  margin: 2rem 0 0 0;
}

.work-item {
  background: #ffffff;
  border: 1px solid #eaeaea;
  padding: 2rem 1.8rem;
  transition: border-color 0.15s;
}

.work-item:hover {
  border-color: #bbbbbb;
}

.work-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #777;
  margin-bottom: 1rem;
  font-weight: 450;
}

.work-item h3 {
  font-size: 1.4rem;
  font-weight: 450;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.work-item p {
  color: #404040;
  font-size: 0.98rem;
}

.contact-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0 3rem 0;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  padding: 1.8rem 1.6rem;
}

.contact-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  color: #222;
}

.contact-card p {
  color: #3b3b3b;
  margin-bottom: 0.5rem;
}

.mono {
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.95rem;
  color: #1f1f1f;
  letter-spacing: -0.01em;
}

.small {
  font-size: 0.85rem;
  color: #777;
}

.note-box {
  background: #f4f4f4;
  border-left: 4px solid #1a1a1a;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  color: #2a2a2a;
  font-size: 1rem;
}

.error-section {
  text-align: center;
  padding: 3rem 0 4rem 0;
}

.error-code {
  font-size: 7rem;
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #d0d0d0;
  margin-bottom: 1rem;
}

.error-section h2 {
  font-size: 2.2rem;
  font-weight: 450;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  color: #1a1a1a;
}

.error-section p {
  color: #3b3b3b;
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto 1.8rem auto;
}

.text-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid #c0c0c0;
  padding-bottom: 0.15rem;
  transition: border-color 0.15s;
}

.text-link:hover {
  border-bottom-color: #1a1a1a;
}

footer {
  border-top: 1px solid #e0e0e0;
  background: #ffffff;
  padding: 2rem 0;
  margin-top: 2rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

footer p {
  color: #666;
  font-size: 0.9rem;
}

footer .small {
  font-size: 0.8rem;
  color: #888;
}

@media (max-width: 700px) {
  .wrap {
    padding: 0 1.5rem;
  }
  header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  nav {
    gap: 1.4rem;
    margin-top: 0.5rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .error-code {
    font-size: 5rem;
  }
  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}