/* ---------------------------------------------------------------
   geoffreywolf.net — static site stylesheet
   No external dependencies; system font stack only.
   --------------------------------------------------------------- */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #1c2333;
  --ink-soft: #4b5568;
  --accent: #c96a2d;
  --accent-bright: #e08a45;
  --accent-soft: #fef1e6;
  --border: #e2e6ec;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.05);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / nav --------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand .callsign {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: 2px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 24px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

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

.site-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --- Hero ------------------------------------------------------ */

.hero {
  padding: 72px 0 56px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.hero .role {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 24px;
}

.hero p {
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 0 16px;
}

.hero .portrait {
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  justify-self: end;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.badges {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #f0d2b5;
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
}

/* --- Sections -------------------------------------------------- */

.section {
  padding: 48px 0;
}

.section-title {
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.section-sub {
  color: var(--ink-soft);
  margin: 0 0 32px;
}

/* --- Skill cards ----------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 20px;
}

.card h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card h3 .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-bright);
  flex-shrink: 0;
}

.card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card li {
  margin-bottom: 7px;
}

.card li ul {
  margin-top: 6px;
  font-size: 0.9rem;
}

.vendor-logo {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 6px;
  border-radius: 3px;
  background: #ffffff;
  box-sizing: border-box;
}

.vendor-logo.has-border {
  border: 1px solid var(--border);
}

/* Experience tiles ("4+ years of experience", etc.) */

.yrs {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #f0d2b5;
  border-radius: 6px;
  padding: 1px 7px;
  margin-left: 6px;
  white-space: nowrap;
  vertical-align: 1px;
}

.card h3 .yrs {
  margin-left: 0;
}

/* --- Contact page ---------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 720px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.contact-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--accent);
}

.contact-card address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.7;
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.notice {
  margin-top: 28px;
  max-width: 720px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
}

/* --- Footer ----------------------------------------------------- */

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.site-footer .callsign {
  font-family: var(--mono);
  color: var(--accent);
}

/* --- Responsive ------------------------------------------------- */

@media (max-width: 760px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero .portrait {
    max-width: 280px;
    margin: 0 auto;
    justify-self: center;
  }

  .hero {
    padding: 44px 0 32px;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .badges {
    justify-content: center;
  }
}
