@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Newsreader:opsz,wght@6..72,500&display=swap');

:root {
  --ink: #19352f;
  --ink-soft: #52655f;
  --green: #1e5145;
  --green-dark: #143d34;
  --sage: #d9e1d5;
  --cream: #f5f3eb;
  --paper: #fbfaf6;
  --line: rgba(25, 53, 47, 0.16);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(217, 225, 213, 0.9), transparent 28rem),
    var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: white;
  background: var(--green-dark);
  border-radius: 0.4rem;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

main, footer { width: min(100% - 2rem, 68rem); margin-inline: auto; }

.hero {
  display: flex;
  min-height: 100svh;
  padding: 3.5rem 0 4rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.profile-mark {
  display: grid;
  width: 7rem;
  aspect-ratio: 1;
  margin-bottom: 1.75rem;
  place-items: center;
  border: 1px solid rgba(30, 81, 69, 0.3);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--paper), var(--sage));
  box-shadow: 0 1rem 3rem rgba(25, 53, 47, 0.1);
}
.profile-mark span { font: 500 2.2rem/1 var(--serif); letter-spacing: -0.05em; }

.eyebrow, .section-label {
  margin: 0 0 0.7rem;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.05; }
h1 { font-size: clamp(3.2rem, 14vw, 6.4rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2.15rem, 8vw, 3.7rem); letter-spacing: -0.04em; }
.credentials { margin: 0.7rem 0 0; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.045em; text-transform: uppercase; }
.tagline { max-width: 28rem; margin: 1.2rem auto 2rem; color: var(--ink-soft); font-size: 1.08rem; }

.primary-links { display: grid; width: 100%; max-width: 31rem; gap: 0.75rem; }
.button {
  display: flex;
  min-height: 3.9rem;
  padding: 0.9rem 1.15rem;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: rgba(251, 250, 246, 0.8);
  box-shadow: 0 0.3rem 1.3rem rgba(25, 53, 47, 0.04);
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.button span { font-size: 1.2rem; font-weight: 400; }
.button-primary { color: white; border-color: var(--green); background: var(--green); }
.button:hover { border-color: var(--green); box-shadow: 0 0.6rem 1.6rem rgba(25, 53, 47, 0.1); transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid #b1c9a8; outline-offset: 3px; }
.button-primary:hover { background: var(--green-dark); }
.link-notice { min-height: 1.5rem; margin: 0.8rem 0 0; color: var(--ink-soft); font-size: 0.82rem; }

.content-section { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.content-section > p { max-width: 36rem; margin: 1.6rem 0 0; color: var(--ink-soft); font-size: 1.03rem; }

.expertise-grid { display: grid; padding: 0; margin: 2.5rem 0 0; list-style: none; }
.expertise-grid li { display: flex; min-height: 4.5rem; align-items: center; gap: 1.2rem; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 500; }
.expertise-grid li:first-child { border-top: 1px solid var(--line); }
.expertise-grid span { color: #778981; font: 500 0.78rem/1 var(--serif); }

.social-preview { padding-bottom: 5.5rem; }
.future-socials { display: flex; margin-top: 2rem; flex-wrap: wrap; gap: 0.55rem; }
.future-socials span { padding: 0.55rem 0.85rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; font-size: 0.78rem; }

footer { display: flex; padding: 2rem 0 2.5rem; flex-direction: column; gap: 1.4rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.75rem; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { color: var(--ink); font: 500 1.35rem/1.2 var(--serif); }
footer p { margin: 0; }

@media (min-width: 48rem) {
  main, footer { width: min(100% - 5rem, 68rem); }
  .hero { padding-block: 5rem; }
  .content-section { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 5rem; padding-block: 7rem; }
  .content-section > p { margin: 0; }
  .expertise header { position: sticky; top: 3rem; align-self: start; }
  .expertise-grid { margin: 0; }
  .social-preview { grid-template-columns: 1fr 1fr; }
  .social-preview .future-socials { grid-column: 2; margin-top: 0; }
  footer { flex-direction: row; align-items: end; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
