@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f0e7;
  --paper-2: #fbf9f4;
  --ink: #1a1916;
  --ink-soft: #3a3833;
  --muted: #5e5952;
  --line: rgba(26, 25, 22, 0.14);
  --green: #0f5138;
  --green-deep: #10281f;
  --mark: #efe07a;
  --link: #0c4630;
  --shadow: 0 24px 60px rgba(26, 25, 22, 0.06);
  --sans: Vazirmatn, "Segoe UI", Tahoma, sans-serif;
  --display: Vazirmatn, "Segoe UI", Tahoma, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
  --header: 4.25rem;
}

html[lang="en"] {
  --display: var(--serif);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(15, 81, 56, 0.06), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

html[lang="en"] body {
  line-height: 1.7;
}

img,
svg {
  max-width: 100%;
}

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

a:hover {
  color: var(--link);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

::selection {
  background: var(--green-deep);
  color: #f6f3ec;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
}

.skip:focus {
  top: 0.8rem;
}

.frame {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.frame.has-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.rail {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand svg,
.brand img {
  display: block;
  flex: none;
  width: 28px;
  height: 28px;
}

.top-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-toggle {
  order: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
}

#site-nav {
  order: 1;
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 1.25rem 1rem;
  background: color-mix(in srgb, var(--paper) 96%, white);
  border-bottom: 1px solid var(--line);
}

#site-nav.is-open {
  display: flex;
}

#site-nav a {
  padding: 0.45rem 0;
  color: var(--ink-soft);
}

.lang {
  align-self: flex-start;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.75rem !important;
  font-weight: 600;
  color: var(--ink) !important;
}

.hero {
  padding: 3.2rem 0 2.2rem;
}

.kicker {
  margin: 0 0 0.9rem;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 600;
}

html[lang="en"] .kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 700;
  line-height: 1.25;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

html[lang="en"] .hero h1 {
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

html[lang="en"] .hero h1 .family {
  display: block;
}

.lede {
  max-width: 40rem;
  margin: 1.4rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.9;
}

html[lang="en"] .lede {
  line-height: 1.6;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.lede .keep {
  white-space: nowrap;
}

.lede a.ext {
  color: #eb5b00;
  font-weight: 700;
  text-decoration: none;
}

.lede a.ext span {
  text-decoration: none;
}

.lede a.ext img {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  margin-inline: 0.18em 0.22em;
  vertical-align: -0.2em;
  max-width: none;
}

.lede a.ext:hover {
  color: #eb5b00;
}

mark {
  background: linear-gradient(transparent 62%, var(--mark) 62%);
  color: inherit;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.4rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

.button:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--paper);
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.button.ghost:hover {
  background: transparent;
  color: var(--link);
  border-color: var(--link);
}

.now {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--green-deep);
  color: #f4f0e6;
  border-radius: 18px;
  overflow: hidden;
}

.now p {
  margin: 0;
  padding: 1.15rem 1.3rem 1.2rem;
  border-top: 1px solid rgba(244, 240, 230, 0.12);
  text-align: start;
  line-height: 1.7;
}

.now p:first-child {
  border-top: 0;
}

.now span {
  display: block;
  margin-bottom: 0.35rem;
  color: #efe07a;
  font-size: 0.82rem;
  font-weight: 600;
}

.now strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.45;
}

.now small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(244, 240, 230, 0.72);
  font-size: 0.92rem;
}

html[lang="en"] .now span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.section {
  padding: 4.2rem 0 0;
}

.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.4rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-head p,
.intro {
  max-width: 40rem;
  margin: 0;
  color: var(--ink-soft);
}

.work {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
}

.work-index {
  margin: 0.15rem 0 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 400;
}

.work h3,
.note h3,
.timeline h3,
.degree h3 {
  margin: 0;
  font-size: 1.28rem;
}

.meta {
  margin: 0.2rem 0 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.work p:last-child,
.degree p,
.timeline p,
.path-note {
  margin: 0;
}

.work a,
.focus a,
.degree a,
.path-note a,
.kicker a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.kicker a {
  color: inherit;
}

.path-note {
  margin-top: 0.4rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.focus {
  padding: 1.2rem 1.15rem 1.25rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.focus h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.focus p {
  margin: 0;
  color: var(--ink-soft);
}

.notes {
  display: flex;
  flex-direction: column;
  margin-top: 0.6rem;
}

.note {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.note:hover h3 {
  color: var(--link);
}

.timeline {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  border-inline-start: 1px solid var(--line);
}

.timeline li {
  position: relative;
  padding-inline-start: 1.2rem;
  padding-bottom: 1.45rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: -0.32rem;
  top: 0.45rem;
  width: 0.58rem;
  height: 0.58rem;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--paper);
}

.when {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.study {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.degree {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-list {
  display: grid;
  margin-top: 1rem;
}

.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.contact-list small {
  color: var(--muted);
  font-weight: 400;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: 4rem;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.page-hero {
  padding: 2.6rem 0 1rem;
}

.page-hero h1 {
  margin: 0;
  max-width: 18em;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.25;
}

html[lang="en"] .page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.dek {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.18rem;
}

.byline {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose {
  max-width: 42rem;
  padding-bottom: 1rem;
}

.prose h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: 1.45rem;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0.8rem 0;
}

.prose ul,
.prose ol {
  padding-inline-start: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(26, 25, 22, 0.06);
  padding: 0.08em 0.38em;
  border-radius: 0.35rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(26, 25, 22, 0.06);
  padding: 0.08em 0.38em;
  border-radius: 0.35rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.states {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.2rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.states li {
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.95rem;
}

.states .warn {
  background: var(--mark);
  border-color: transparent;
  font-weight: 600;
}

.table-wrap {
  margin: 1.2rem 0 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  line-height: 1.6;
}

th,
td {
  padding: 0.75rem 0.9rem;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  font-weight: 600;
  background: rgba(15, 81, 56, 0.05);
}

tr:last-child td {
  border-bottom: 0;
}

.votes {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(280px 120px at 100% 0%, rgba(255, 208, 92, 0.28), transparent 70%),
    var(--paper-2);
}

.votes-label {
  margin: 0;
  font-weight: 700;
}

.votes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.vote {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.8rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.vote svg {
  display: block;
}

.vote span {
  min-width: 1.2rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(18, 53, 42, 0.08);
  font-variant-numeric: tabular-nums;
}

.vote:hover {
  border-color: var(--green);
  color: var(--green);
}

.vote.is-mine {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #f7f3ea;
}

.vote.is-mine span {
  background: rgba(255, 255, 255, 0.16);
}

.vote:disabled {
  cursor: default;
}

.vote:disabled:not(.is-mine) {
  opacity: 0.55;
}

.votes-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.more {
  margin-top: 2.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.more h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.more ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.more li + li {
  margin-top: 0.35rem;
}

.more a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.error-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
}

.error-page h1 {
  margin: 0.4rem 0;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .topbar {
    position: sticky;
  }

  #site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  #site-nav a {
    padding: 0;
  }

  .lang {
    margin-top: 0;
  }

  .now {
    grid-template-columns: repeat(3, 1fr);
  }

  .now p {
    border-top: 0;
    border-inline-start: 1px solid rgba(244, 240, 230, 0.12);
  }

  .now p:first-child {
    border-inline-start: 0;
  }

  .focus-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .study {
    grid-template-columns: 1fr 1fr;
  }

  .study .degree:first-child,
  .study .degree:nth-child(2) {
    border-top: 0;
    padding-top: 0;
  }
}

@media (min-width: 1040px) {
  .frame.has-rail {
    width: min(1240px, calc(100% - 3rem));
    grid-template-columns: 8.5rem minmax(0, 72rem);
    gap: 1.5rem;
    align-items: start;
  }

  .rail {
    display: block;
    position: sticky;
    top: 6rem;
    padding-top: 3.4rem;
  }

  .rail ol {
    list-style: none;
    margin: 0;
    padding: 0;
    border-inline-start: 1px solid var(--line);
  }

  .rail a {
    display: block;
    padding: 0.38rem 0.8rem;
    color: var(--muted);
    font-size: 0.92rem;
  }

  .rail a.is-current {
    color: var(--ink);
    font-weight: 700;
    box-shadow: inset 2px 0 0 var(--green);
  }

  html[dir="rtl"] .rail a.is-current {
    box-shadow: inset -2px 0 0 var(--green);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .note,
  .work,
  .focus {
    transition: none;
  }
}

:root {
  --paper: #f6f1e7;
  --paper-2: #fffdf8;
  --green: #0c6b45;
  --green-deep: #12352a;
  --mark: #ffe08a;
}

body {
  background:
    radial-gradient(860px 420px at 100% -10%, rgba(12, 107, 69, 0.18), transparent 60%),
    radial-gradient(680px 340px at -10% 12%, rgba(214, 158, 18, 0.18), transparent 55%),
    linear-gradient(#f8f3ea, #f3eee4 42%, #efe6d8);
}

.hero {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  padding: 1.6rem 0 1.2rem;
}

.role {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.75rem 0.32rem;
  border-radius: 999px;
  background: #e5f6ee;
  color: #0c5a3c;
  font-size: 0.92rem;
  font-weight: 700;
}

.role i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #14a36c;
  box-shadow: 0 0 0 4px rgba(20, 163, 108, 0.16);
}

.hero h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.8rem);
}

.hero-copy {
  display: grid;
  align-items: start;
  justify-items: start;
  gap: 1.15rem;
}

.hero-text {
  min-width: 0;
}

.identity {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.portrait {
  flex: none;
  width: 6.5rem;
  height: 6.5rem;
  max-width: none;
  border: 3px solid #fffdf8;
  border-radius: 1.35rem;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(18, 53, 42, 0.16);
}

.lede {
  max-width: 38rem;
  font-size: 1.12rem;
  line-height: 1.95;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 1.15rem 1.05rem;
  border-radius: 28px;
  color: #f7f3ea;
  background:
    radial-gradient(380px 180px at 100% 0%, rgba(255, 208, 92, 0.38), transparent 58%),
    linear-gradient(165deg, #1c5a42 0%, #10281f 62%);
  box-shadow: 0 28px 60px rgba(16, 40, 31, 0.28);
}

.hero-card-kicker {
  margin: 0;
  color: #ffe08a;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-card-title {
  margin: 0.25rem 0 0;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-card-sub {
  margin: 0.2rem 0 0;
  color: rgba(247, 243, 234, 0.78);
}

.route-svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.4rem;
}

html[dir="rtl"] .route-svg {
  transform: scaleX(-1);
}

.route-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(247, 243, 234, 0.86);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.stats li {
  padding: 0.7rem 0.9rem 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  text-align: start;
  border-inline-start: 3px solid #ffe08a;
}

.stats strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.45;
}

.stats span {
  display: block;
  margin-top: 0.15rem;
  color: rgba(247, 243, 234, 0.74);
  font-size: 0.78rem;
  line-height: 1.45;
}

.now {
  box-shadow: 0 18px 40px rgba(16, 40, 31, 0.16);
}

.now strong {
  font-weight: 700;
}

.work-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.work {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 1.05rem 1.05rem 1.15rem;
  border: 1px solid rgba(20, 34, 28, 0.1);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 16px 36px rgba(20, 34, 28, 0.05);
}

.work-mark {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 14px;
  background: #e5f6ee;
  color: #0c6b45;
}

.work:nth-child(3n + 2) .work-mark {
  background: #fff3cc;
  color: #8a5a00;
}

.work:nth-child(3n) .work-mark {
  background: #e7eefc;
  color: #1d4e89;
}

.work h3 {
  font-size: 1.16rem;
}

.focus {
  position: relative;
  overflow: hidden;
  padding-top: 1.35rem;
}

.focus::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0c6b45, #e2b203);
}

html[dir="rtl"] .focus::before {
  background: linear-gradient(270deg, #0c6b45, #e2b203);
}

.focus-icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 0.8rem;
  place-items: center;
  border-radius: 14px;
  background: #12352a;
  color: #ffe08a;
}

.notes {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.note {
  gap: 0.35rem;
  min-height: 100%;
  padding: 1.05rem 1rem 1.1rem;
  border: 1px solid rgba(20, 34, 28, 0.1);
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 14px 32px rgba(20, 34, 28, 0.05);
  transition: transform 0.18s ease;
}

.note:hover {
  transform: translateY(-3px);
}

.note:hover h3 {
  color: var(--link);
}

.contact-panel {
  margin-top: 1rem;
  padding: 0.35rem 1.15rem 0.4rem;
  border-radius: 24px;
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(255, 208, 92, 0.22), transparent 60%),
    #12352a;
  box-shadow: 0 22px 48px rgba(16, 40, 31, 0.2);
}

.contact-panel .contact-list a {
  color: #f7f3ea;
  border-top-color: rgba(247, 243, 234, 0.16);
}

.contact-panel .contact-list a:hover {
  color: #ffe08a;
}

.contact-panel .contact-list small {
  color: #ffe08a;
}

.contact-panel .contact-list a:first-child {
  border-top: 0;
}

@media (min-width: 800px) {
  .work-list {
    grid-template-columns: 1fr 1fr;
  }

  .notes {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 720px) {
  .portrait {
    width: 7.25rem;
    height: 7.25rem;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.6rem;
    padding-top: 2.2rem;
  }
}
