:root {
  --dark: #2a2829;
  --cream: #e0e0db;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-muted-dark: rgba(42, 40, 41, 0.72);
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.5;
  font-size: 16px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--dark);
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* Header */
.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.logo-tagline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.site-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  border-color: var(--white);
}

/* Layout helpers */
.section {
  padding: 48px 24px;
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section--light {
  background: var(--white);
  color: var(--dark);
}
.section--cream {
  background: var(--cream);
  color: var(--dark);
}
.section--light .text-muted,
.section--cream .text-muted { color: var(--text-muted-dark); }
.text-muted { color: var(--text-muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.section--light .eyebrow,
.section--cream .eyebrow { color: var(--text-muted-dark); }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 14px;
}
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(22px, 2.5vw, 28px); }
h3 { font-size: 18px; }

p { margin: 0 0 16px; }

.lede {
  font-size: 18px;
  max-width: 720px;
}

/* Hero */
.hero {
  padding-top: 56px;
  padding-bottom: 56px;
  text-align: center;
}
.hero .section-inner { max-width: 780px; }
.hero .eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; }
.hero-badge { height: 22px; width: auto; }
.hero p.lede { margin: 0 auto 32px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.section--light .btn--outline,
.section--cream .btn--outline {
  color: var(--dark);
  border-color: rgba(42, 40, 41, 0.35);
}

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 16px;
}
.grid h3 { margin-bottom: 10px; }
.grid p { color: inherit; }

/* Two column */
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 780px) {
  .columns { grid-template-columns: 1fr; }
}

/* Profile photo (About Chris) — sized to ~20% of the original site's display size */
.profile-photo {
  width: 20%;
  min-width: 90px;
  max-width: 130px;
  border-radius: 8px;
  margin: 0 0 24px;
}

/* Milestone list */
.milestones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.milestones li {
  padding-left: 28px;
  position: relative;
}
.milestones li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
@media (max-width: 780px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-details p { margin-bottom: 10px; }
.contact-details a { text-decoration: underline; }

form.contact-form {
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: var(--text-muted-dark);
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(42, 40, 41, 0.25);
  border-radius: 6px;
  background: var(--white);
  color: var(--dark);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note {
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 4px;
}
.form-note--success { background: #e4f5e6; color: #1e5c27; }
.form-note--error { background: #fbe4e4; color: #7a1f1f; }

/* Footer */
.site-footer {
  background: var(--cream);
  color: var(--dark);
  text-align: center;
  padding: 48px 24px;
}
.footer-name { font-family: "Playfair Display", Georgia, serif; font-size: 20px; margin-bottom: 4px; }
.footer-location, .footer-contact { color: var(--text-muted-dark); margin-bottom: 4px; }
.footer-copy { font-size: 13px; color: var(--text-muted-dark); margin-top: 16px; }
