/* nickgarland.net — rebuilt static site
   Faithful to the original design recovered from the Internet Archive
   (Montserrat, stroked display title, project cards). */

:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --panel: #eaeaea;
  --card: #ffffff;
  --max: 1064px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.default-width {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  z-index: 3;
  top: 2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 2rem;
}
.header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-header nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-header nav li { display: inline; padding-left: 1.25rem; }
.site-header nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.site-header nav a:hover { opacity: 0.6; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(255,255,255,0.85), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, #f4f5f6 0%, #e7eaed 55%, #d5dade 100%);
  background-color: #e7eaed;
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
.hero-text { flex: 1 1 420px; min-width: 300px; }
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #14181c;
}
.hero .subtitle {
  margin: 1rem 0 0;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #5a636b;
}
.hero .hero-tagline {
  margin: 1.6rem 0 0;
  max-width: 30rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4a5158;
}
.hero-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 1.6rem;
  background: #14181c;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.15s ease;
}
.hero-cta:hover { background: #333c44; }
.hero-portrait {
  flex: 0 0 auto;
  width: 300px;
  max-width: 38%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(20,24,28,0.22);
}
@media (max-width: 760px) {
  .hero { min-height: 0; padding: 6rem 0 3rem; }
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; gap: 2rem; }
  .hero-portrait { width: 200px; max-width: 60%; }
}

/* ---------- Websites section ---------- */
.section {
  background: var(--panel);
  padding: 4rem 0 5rem;
}
.section h2 {
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  background: #dcdcdc;
  border-bottom: 1px solid var(--line);
}
.card-body { padding: 1.75rem 2rem 2rem; }
.card-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.card-body .role {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.card-body p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
}
.card-link {
  display: inline-block;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  width: 100%;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.card-link:hover { opacity: 0.6; }

/* ---------- About ---------- */
.about-hero {
  padding: 8rem 0 3rem;
  background: #fff;
}
.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
}
.about-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-bottom: 4rem;
}
.about-portrait {
  width: 240px;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.about-body { max-width: 620px; flex: 1; min-width: 280px; }
.about-body p { line-height: 1.75; font-size: 1.05rem; color: #333; margin: 0 0 1.25rem; }

/* ---------- Footer / signup ---------- */
.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 4rem 0 3rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}
.footer-brand h2 { margin: 0; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; }
.footer-brand p { margin: 0.4rem 0 0; color: #b9b9b9; }
.signup { min-width: 280px; }
.signup h3 {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}
.signup form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 320px; }
.signup input {
  padding: 0.7rem 0.9rem;
  border: 1px solid #444;
  background: #262626;
  color: #fff;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
}
.signup input::placeholder { color: #8a8a8a; }
.signup button {
  padding: 0.75rem 1rem;
  background: #fff;
  color: #1a1a1a;
  border: 0;
  border-radius: 2px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  cursor: pointer;
}
.signup button:hover { background: #e6e6e6; }
.footer-contact h3 {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}
.footer-contact a { color: #fff; }
.copyright {
  margin-top: 3rem;
  color: #8a8a8a;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .site-header { top: 1rem; }
  .site-header .logo { font-size: 1.1rem; }
  .site-header nav li { padding-left: 0.75rem; }
}
