:root {
  --ink: #24332d;
  --muted: #617067;
  --paper: #e7e5de;
  --panel: #f6f5f0;
  --line: #cfc9be;
  --sage: #a8cdb7;
  --white: #fffdf8;
  --shadow: 0 24px 60px -30px rgba(36, 51, 45, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  background: var(--paper);
}

body {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 205, 183, 0.42), transparent 32%),
    var(--paper);
  color: var(--ink);
  font-family: "Work Sans", Arial, sans-serif;
  touch-action: pan-y;
}

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

svg {
  display: block;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 18px 56px;
}

.bio-card {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 40px 20px 52px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.avatar {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border: 3px solid var(--sage);
  border-radius: 50%;
  box-shadow: 0 16px 40px -20px rgba(36, 51, 45, 0.4);
}

.brand {
  width: 100%;
  text-align: center;
}

.brand h1 {
  margin: 0;
  padding-left: 0.14em;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
}

.brand-line span {
  width: 26px;
  height: 1px;
  background: var(--sage);
}

.brand-line p {
  margin: 0;
  padding-left: 0.2em;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tagline {
  max-width: 330px;
  margin: 16px auto 0;
  color: #4a564f;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.4;
}

.primary-link,
.link-list a {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.primary-link {
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  background: var(--ink);
  color: var(--panel);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.primary-link svg {
  width: 18px;
  height: 18px;
  fill: var(--sage);
}

.link-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-list a {
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.link-list a:hover {
  transform: translateY(-1px);
  border-color: var(--sage);
}

.link-list a svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-list .accent {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--ink);
  font-weight: 800;
}

.link-list .dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--panel);
}

.quote {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid #e4e1d8;
}

.quote-label {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

blockquote {
  margin: 0;
  color: #3a453f;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
}

blockquote span {
  color: var(--muted);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 11px;
  font-style: normal;
}

footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.mg-symbol {
  width: 25px;
  height: 18px;
  color: var(--muted);
}

.mg-symbol path {
  fill: currentColor;
}

footer span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 420px) {
  .page-shell {
    align-items: flex-start;
    padding: 24px 14px 40px;
  }

  .bio-card {
    gap: 22px;
    padding: 32px 16px 42px;
    box-shadow: none;
  }

  .brand-line {
    gap: 8px;
  }

  .brand-line span {
    width: 18px;
  }

  .brand-line p {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .primary-link,
  .link-list a {
    padding: 15px 16px;
  }

  footer {
    align-items: flex-start;
  }
}
