/* =========================================================
   Watson Lab — styles.css
   Plain CSS, no frameworks, no external dependencies
   ========================================================= */

/* Reset & Base
   --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Helvetica, Arial, sans-serif;
  background-color: #fafafa;
  color: #1a1a1a;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Layout
   --------------------------------------------------------- */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header
   --------------------------------------------------------- */
header {
  border-bottom: 1px solid #e4e4e4;
  padding: 1.25rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-identity {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111;
  line-height: 1;
}

.site-descriptor {
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

nav {
  display: flex;
  gap: 1.75rem;
}

nav a {
  font-size: 0.85rem;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.01em;
}

nav a:hover {
  color: #111;
}

/* Hero
   --------------------------------------------------------- */
#hero {
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid #e4e4e4;
  background-image: radial-gradient(circle, #c4c4c4 1px, transparent 1px);
  background-size: 22px 22px;
}

#hero h1 {
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 1.5rem;
  border-left: 2px solid #111;
  padding-left: 1rem;
  margin-left: -1rem;
}

.hero-body {
  font-size: 1rem;
  color: #444;
  max-width: 600px;
  line-height: 1.75;
}

/* Services
   --------------------------------------------------------- */
#services {
  padding: 5.5rem 0 4rem;
  border-bottom: 1px solid #e4e4e4;
}

#services h2 {
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 1.75rem;
}

#services ul {
  list-style: none;
  padding: 0;
}

#services ul li {
  font-size: 0.975rem;
  color: #2a2a2a;
  line-height: 1.5;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eeeeee;
}

#services ul li:first-child {
  border-top: 1px solid #eeeeee;
}

/* Contact
   --------------------------------------------------------- */
#contact {
  padding: 4rem 0;
  border-bottom: 1px solid #e4e4e4;
}

#contact h2 {
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 1.75rem;
}

#contact p {
  font-size: 0.975rem;
  color: #2a2a2a;
  line-height: 1.9;
}

#contact a {
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #aaa;
}

#contact a:hover {
  text-decoration-color: #1a1a1a;
}

/* Footer
   --------------------------------------------------------- */
footer {
  padding: 2.5rem 0;
}

footer p {
  font-size: 0.8rem;
  color: #999;
  line-height: 1.75;
}

/* Mobile
   --------------------------------------------------------- */
@media (max-width: 600px) {
  .container {
    padding: 0 1.25rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  #hero {
    padding: 3.5rem 0 3rem;
  }

  #hero h1 {
    font-size: 2.2rem;
    margin-left: -0.75rem;
    padding-left: 0.75rem;
  }

  #services,
  #contact {
    padding: 3rem 0;
  }
}
