/* Palette */
:root {
  --navy: #0B1F42;
  --grey: #F1F5F9;
  --green: #16A34A;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.7;
}

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

/* Typography */
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
}

h1 {
  font-size: clamp(2.7rem, 7.2vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--navy);
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

p {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Hero */
#hero {
  background-color: var(--navy);
  color: var(--white);
  padding: 4rem 1.5rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: flex;
  align-items: center;
}

.hero-text {
  flex-shrink: 0;
  width: fit-content;
}

.hero-text .tagline {
  max-width: 340px;
}

.monogram {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(200px, 22vw, 340px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-left: -120px;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

#hero h2 {
  color: var(--white);
}

.tagline {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: #cbd5e1;
  max-width: 560px;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--green);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.btn:hover {
  background-color: #15803d;
}

/* About */
#about {
  background-color: var(--grey);
  padding: 3rem 0 2rem;
}

#about p {
  color: var(--text);
  font-size: 1.125rem;
}

#about h2,
#built h2 {
  border-bottom: 3px solid var(--green);
  display: inline-block;
  padding-bottom: 6px;
}

/* What I've built */
#built {
  background-color: var(--white);
  padding: 2.5rem 0;
}

#built .container {
  max-width: 1100px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--green);
  border-radius: 6px;
  padding: 1.5rem 2rem 1.5rem 1.5rem;
  background-color: var(--grey);
  display: flex;
  flex-direction: column;
}

.card p {
  font-size: 0.9rem;
}

.tag {
  display: inline-block;
  margin-top: auto;
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
}

/* Contact */
#contact {
  background-color: var(--navy);
  color: var(--white);
  padding: 5rem 0;
}

#contact h2 {
  color: var(--white);
}

#contact p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-list a {
  color: var(--green);
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.contact-list a:hover {
  color: #4ade80;
  text-decoration: underline;
}
