/* ============================================================
   Lane Street & Smith — Consultancy Site
   Dark, minimal, editorial. No frameworks, no dependencies.
   ============================================================ */

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

:root {
  --bg:             #0b0b0f;
  --surface:        #111117;
  --surface-hover:  #161620;
  --border:         #1e1e2c;
  --text:           #d9d9e3;
  --text-muted:     #7a7a96;
  --text-dim:       #42425a;
  --accent:         #5f9cf5;
  --accent-hover:   #7ab0ff;
  --green:          #3dd68c;
  --amber:          #d4962a;
  --max-width:      900px;
  --px:             24px;
  --section-gap:    96px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui,
               'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* ---- CONTAINER ---- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

/* ---- HEADER ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 11, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.header-nav {
  display: flex;
  gap: 24px;
}

.header-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: var(--text);
}

/* ---- INTRO ---- */

.section-intro {
  padding: 100px 0 88px;
}

.intro-name {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 14px;
}

.intro-title {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.intro-body {
  max-width: 620px;
  margin-bottom: 40px;
}

.intro-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 18px;
}

.intro-body p:last-child {
  margin-bottom: 0;
}

/* ---- PILLS ---- */

.status-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

.pill-green {
  background-color: rgba(61, 214, 140, 0.09);
  color: var(--green);
  border: 1px solid rgba(61, 214, 140, 0.18);
}

.pill-green::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green);
  flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
}

.pill-muted {
  background-color: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ---- SECTION LABEL ---- */

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 32px;
}

/* ---- GENERIC SECTION SPACING ---- */

section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  border-top: 1px solid var(--border);
}

.section-intro {
  border-top: none;
}

/* ---- PROJECTS GRID ---- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}

.project-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.project-card:hover {
  border-color: #282838;
  background-color: var(--surface-hover);
}

.project-card-header {
  margin-bottom: 12px;
}

.project-status {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}

.status-live {
  background-color: rgba(61, 214, 140, 0.1);
  color: var(--green);
}

.status-done {
  background-color: rgba(212, 150, 42, 0.1);
  color: var(--amber);
}

.status-building {
  background-color: rgba(95, 156, 245, 0.1);
  color: var(--accent);
}

.project-title {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.project-desc {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 10px;
}

.project-footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-dim);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
}

.project-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  align-self: flex-start;
}

/* ---- CAREER ---- */

.career-list {
  display: flex;
  flex-direction: column;
}

.career-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.career-item:first-child {
  padding-top: 0;
}

.career-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.career-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 3px;
}

.career-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.career-role {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.career-dates {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.career-detail p {
  font-size: 0.915rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ---- HOW I CAN HELP ---- */

.help-list {
  list-style: none;
  max-width: 540px;
}

.help-list li {
  font-size: 1rem;
  color: var(--text);
  padding: 16px 0 16px 22px;
  border-bottom: 1px solid var(--border);
  position: relative;
  line-height: 1.5;
}

.help-list li:first-child {
  padding-top: 0;
}

.help-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.help-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--accent);
  font-size: 0.8rem;
}

.help-list li:first-child::before {
  top: 0;
}

/* ---- CONTACT ---- */

.contact-prompt {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  max-width: 480px;
}

.contact-link {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: none;
}

.contact-link:first-child {
  padding-top: 0;
}

.contact-link:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-link-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  min-width: 72px;
  flex-shrink: 0;
  padding-top: 2px;
}

.contact-link-value {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.contact-link:hover .contact-link-value {
  color: var(--accent);
}

/* ---- FOOTER ---- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

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

.site-footer span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---- SCROLL FADE-IN ---- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE — TABLET ---- */

@media (max-width: 860px) {
  :root {
    --section-gap: 72px;
    --px: 28px;
  }

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

  .projects-grid .project-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
  }

  .career-item {
    grid-template-columns: 180px 1fr;
    gap: 0 32px;
  }
}

/* ---- RESPONSIVE — MOBILE ---- */

@media (max-width: 600px) {
  :root {
    --section-gap: 60px;
    --px: 20px;
  }

  .section-intro {
    padding-top: 64px;
    padding-bottom: 64px;
  }

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

  .projects-grid .project-card:last-child {
    max-width: none;
  }

  .career-item {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }

  .career-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 10px;
  }

  .career-dates {
    margin-top: 0;
    flex-basis: 100%;
  }

  .career-detail {
    margin-top: 8px;
  }

  .header-nav a:first-child {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}
