:root {
  --background: #17191b;
  --surface: #202326;
  --surface-light: #292d30;
  --text: #ece9e1;
  --muted: #a9acae;
  --faint: #73787c;
  --border: #3a3e41;
  --accent: #cfb06c;
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.site-header {
  width: min(calc(100% - 48px), var(--page-width));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.site-header nav {
  display: flex;
  gap: 28px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.88rem;
}

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

main,
footer {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

.intro {
  min-height: 670px;
  padding: 130px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
  align-items: end;
  gap: 80px;
}

.eyebrow,
.section-label,
.project-year,
.experience-date {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

h2 {
  margin-bottom: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.2;
}

.intro-summary {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.15rem;
}

.intro-links {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-link {
  padding: 12px 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.9rem;
}

.primary-link:hover {
  background: var(--accent);
  color: var(--background);
}

.text-link {
  border-bottom: 1px solid var(--faint);
  color: var(--muted);
  font-size: 0.9rem;
}

.text-link:hover {
  color: var(--text);
  border-color: var(--text);
}

.currently {
  padding-left: 22px;
  border-left: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.currently p:last-child {
  margin-bottom: 0;
}

.section {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}

.about,
.experience,
.contact {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.section-number {
  color: var(--faint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
}

.section-content {
  max-width: 820px;
}

.section-content > p:not(.large-copy) {
  max-width: 650px;
  color: var(--muted);
}

.large-copy {
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.35;
}

.section-heading {
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.section-heading h2,
.section-heading .section-number {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 340px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.project-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  background: var(--surface);
}

.project-image {
  min-height: 470px;
}

.placeholder-image {
  background:
    linear-gradient(135deg, transparent 49.8%, #393d40 50%, transparent 50.2%),
    #262a2d;
  display: grid;
  place-items: center;
}

.placeholder-image span {
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-details {
  padding: 52px 42px;
  align-self: center;
}

.project-details > p:not(.project-year) {
  color: var(--muted);
}

.project-tags {
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
}

.project-tags li {
  color: var(--faint);
  font-size: 0.75rem;
}

.project-list {
  border-top: 1px solid var(--border);
}

.project-row {
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.project-row h3,
.project-row p {
  margin-bottom: 0;
}

.project-row > p {
  max-width: 480px;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-row .project-year {
  margin-bottom: 8px;
}

.experience-entry {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 25px;
}

.experience-entry:last-child {
  border-bottom: 1px solid var(--border);
}

.experience-entry h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.experience-entry p {
  color: var(--muted);
}

.experience-entry div p {
  margin-bottom: 0;
}

.contact {
  padding-bottom: 130px;
}

.contact-links {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
}

.contact-links a {
  border-bottom: 1px solid var(--faint);
  color: var(--muted);
}

.contact-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

footer {
  padding: 25px 0 45px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 0.76rem;
}

footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .site-header {
    min-height: auto;
    padding: 22px 0;
    align-items: flex-start;
  }

  .site-header nav {
    gap: 12px;
    flex-direction: column;
    text-align: right;
  }

  .intro {
    min-height: auto;
    padding: 90px 0 70px;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  h1 {
    font-size: clamp(3.1rem, 14vw, 5.2rem);
  }

  .section {
    padding: 80px 0;
  }

  .about,
  .experience,
  .contact {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-featured {
    grid-template-columns: 1fr;
  }

  .project-image {
    min-height: 320px;
  }

  .project-details {
    padding: 38px 26px;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .experience-entry {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .site-name {
    max-width: 80px;
  }

  .intro-links {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    gap: 12px;
    flex-direction: column;
  }
}

/* Detailed project pages */

.project-page {
  padding-top: 70px;
}

.back-link {
  display: inline-block;
  margin-bottom: 90px;
  color: var(--muted);
  font-size: 0.82rem;
}

.back-link:hover {
  color: var(--accent);
}

.project-hero {
  max-width: 990px;
  margin-bottom: 80px;
}

.project-hero h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 6.7vw, 6.4rem);
}

.project-introduction {
  max-width: 750px;
  margin-bottom: 65px;
  color: var(--muted);
  font-size: 1.25rem;
}

.project-facts {
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.project-facts div {
  margin: 0;
}

.project-facts dt {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  display: block;
}

figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.75rem;
  line-height: 1.5;
}

.project-cover {
  margin-bottom: 120px;
}

.project-cover img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  background: var(--surface);
}

.case-study-section {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}

.project-overview,
.results-section {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.case-study-copy {
  max-width: 780px;
}

.case-study-copy > p:not(.large-copy) {
  max-width: 660px;
  color: var(--muted);
}

.concept-heading {
  margin-bottom: 55px;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.concept-heading .section-number,
.concept-heading .eyebrow,
.concept-heading h2 {
  margin-bottom: 0;
}

.concept-heading .eyebrow {
  margin-bottom: 10px;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  align-items: start;
  gap: 65px;
}

.case-study-grid figure img,
.image-pair figure img {
  background: var(--surface);
  object-fit: contain;
}

.case-study-grid figure img {
  max-height: 650px;
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 24px;
}

.image-pair figure img {
  height: 460px;
}

.offset-copy {
  margin-top: 65px;
  margin-left: 25%;
}

.project-footer-nav {
  padding: 35px 0 100px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
}

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

/* Homepage project image and link */

.project-image {
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  display: block;
  object-fit: cover;
  transition: transform 300ms ease;
}

.project-image:hover img {
  transform: scale(1.015);
}

.project-title-link:hover {
  color: var(--accent);
}

@media (max-width: 800px) {
  .project-page {
    padding-top: 45px;
  }

  .back-link {
    margin-bottom: 65px;
  }

  .project-hero {
    margin-bottom: 55px;
  }

  .project-facts {
    grid-template-columns: 1fr 1fr;
  }

  .project-cover {
    margin-bottom: 80px;
  }

  .case-study-section {
    padding: 80px 0;
  }

  .project-overview,
  .results-section,
  .concept-heading,
  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .concept-heading,
  .case-study-grid {
    gap: 25px;
  }

  .image-pair {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .image-pair figure img {
    height: auto;
    max-height: 500px;
  }

  .offset-copy {
    margin: 55px 0 0;
  }

  .project-footer-nav {
    gap: 25px;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .project-facts {
    grid-template-columns: 1fr;
  }
}

/* FTC Excalibur case study */

.ftc-cover img {
  height: min(68vw, 720px);
  object-fit: cover;
  object-position: center 55%;
}

.wide-figure {
  margin-bottom: 65px;
}

.wide-figure img {
  max-height: 720px;
  background: var(--surface);
  object-fit: contain;
}

.mechanism-list {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.mechanism-list article {
  min-height: 235px;
  padding: 30px 28px 30px 0;
  border-bottom: 1px solid var(--border);
}

.mechanism-list article:not(:nth-child(3n + 1)) {
  padding-left: 28px;
  border-left: 1px solid var(--border);
}

.mechanism-number {
  margin-bottom: 30px;
  color: var(--faint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.75rem;
}

.mechanism-list h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.mechanism-list article > p:last-child {
  max-width: 290px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.team-figure img {
  width: 100%;
  height: min(58vw, 650px);
  object-fit: cover;
  object-position: center 45%;
}

.results-list {
  margin-top: 55px;
  border-top: 1px solid var(--border);
}

.results-list > div {
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: baseline;
  gap: 30px;
}

.results-list p,
.results-list h3 {
  margin-bottom: 0;
}

.results-list h3 {
  font-size: 1.25rem;
}

/* Give CAD renders breathing room without altering their files */

.case-study-grid img[src*="spindex-ramp-cad"],
.image-pair img[src*="turret-cad"],
.image-pair img[src*="robot-cad"] {
  padding: 20px;
  background: #242628;
}

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

  .mechanism-list article,
  .mechanism-list article:not(:nth-child(3n + 1)) {
    padding: 26px 22px 26px 0;
    border-left: 0;
  }

  .mechanism-list article:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid var(--border);
  }

  .team-figure img {
    height: min(75vw, 520px);
  }

  .results-list > div {
    grid-template-columns: 145px 1fr;
  }
}

@media (max-width: 520px) {
  .ftc-cover img {
    height: 420px;
  }

  .mechanism-list {
    grid-template-columns: 1fr;
  }

  .mechanism-list article,
  .mechanism-list article:not(:nth-child(3n + 1)),
  .mechanism-list article:nth-child(even) {
    min-height: auto;
    padding: 25px 0;
    border-left: 0;
  }

  .mechanism-number {
    margin-bottom: 16px;
  }

  .team-figure img {
    height: 380px;
  }

  .results-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.project-row-link {
  position: relative;
  padding-right: 45px;
}



.project-row-link:hover h3,
.project-row-link:hover .case-study-link {
  color: var(--accent);
}

/* Skills and clearer project links */

.skills {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.skills .section-content {
  max-width: none;
}

.skills-grid {
  margin-top: 55px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.skills-grid article {
  min-height: 220px;
  padding: 30px;
  border-bottom: 1px solid var(--border);
}

.skills-grid article:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid var(--border);
}

.skill-category {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skills-grid h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.skills-grid article > p:last-child,
.project-row-summary p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.case-study-link {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--faint);
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.case-study-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.project-row-summary .case-study-link {
  margin-top: 16px;
}

@media (max-width: 800px) {
  .skills {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid article,
  .skills-grid article:nth-child(odd) {
    min-height: auto;
    padding: 25px 0;
    border-right: 0;
  }
}

/* Experience details */

.experience-type {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.experience-organization {
  margin: -2px 0 14px;
  color: var(--faint);
  font-size: 0.82rem;
}

.inline-project-link {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--faint);
  color: var(--muted);
  font-size: 0.76rem;
}

.inline-project-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Homepage portrait */

.intro-side {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
}

.profile-photo {
  width: 100%;
  overflow: hidden;
  background: var(--surface);
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.82) contrast(1.03);
}

.intro-side .currently {
  margin-top: auto;
}

@media (max-width: 800px) {
  .intro-side {
    max-width: 430px;
    gap: 35px;
  }

  .profile-photo img {
    aspect-ratio: 4 / 5;
  }
}

/* Education and recognition */

.recognition {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.recognition .section-content {
  max-width: none;
}

.education-list,
.recognition-list {
  border-top: 1px solid var(--border);
}

.education-list article {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
}

.education-date {
  color: var(--faint);
  font-size: 0.78rem;
}

.education-list h3,
.recognition-list h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.education-list article p,
.recognition-list article p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.recognition-list {
  margin-top: 65px;
}

.recognition-list > .skill-category {
  padding-top: 25px;
}

.recognition-list article {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: baseline;
  gap: 35px;
}

@media (max-width: 800px) {
  .recognition {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .education-list article,
  .recognition-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Tighter numbered-section gutter */

@media (min-width: 801px) {
  .about,
  .skills,
  .experience,
  .recognition,
  .contact,
  .project-overview,
  .results-section,
  .concept-heading {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 36px;
  }
}

/* Custom 404 page */

.error-page {
  min-height: calc(100vh - 170px);
  padding: 130px 0;
}

.error-page h1 {
  max-width: 850px;
  margin-bottom: 28px;
}

.error-page > p:not(.eyebrow) {
  max-width: 550px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 1rem;
}

/* Leadership and service */

.leadership {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.leadership .section-content {
  max-width: none;
}

.leadership-list {
  margin-top: 55px;
  border-top: 1px solid var(--border);
}

.leadership-list article {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 30px;
}

.leadership-date {
  color: var(--faint);
  font-size: 0.78rem;
}

.leadership-list h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.leadership-list article div > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (min-width: 801px) {
  .leadership {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 800px) {
  .leadership {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .leadership-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Earlier work archive */

.archive-page {
  padding-top: 70px;
}

.archive-hero {
  max-width: 960px;
  padding-bottom: 95px;
}

.archive-hero h1 {
  max-width: 900px;
}

.archive-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.archive-heading {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 36px;
  align-items: baseline;
}

.archive-heading .section-number,
.archive-heading h2 {
  margin-bottom: 0;
}

.archive-list {
  margin-left: 108px;
  border-top: 1px solid var(--border);
}

.archive-list article {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 35px;
}

.archive-date {
  margin-bottom: 0;
  color: var(--faint);
  font-size: 0.77rem;
}

.archive-list h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.archive-list article div > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.archive-list .inline-project-link {
  margin-top: 10px;
}

.archive-grid {
  margin-left: 108px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.archive-grid article {
  min-height: 195px;
  padding: 28px;
  border-bottom: 1px solid var(--border);
}

.archive-grid article:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid var(--border);
}

.archive-grid .archive-date {
  margin-bottom: 20px;
  color: var(--accent);
}

.archive-grid h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.archive-grid article > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 800px) {
  .archive-page {
    padding-top: 45px;
  }

  .archive-hero {
    padding-bottom: 70px;
  }

  .archive-section {
    padding: 75px 0;
  }

  .archive-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .archive-list,
  .archive-grid {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .archive-list article {
    grid-template-columns: 1fr;
    gap: 7px;
  }

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

  .archive-grid article,
  .archive-grid article:nth-child(odd) {
    min-height: auto;
    padding: 25px 0;
    border-right: 0;
  }
}

/* Responsive navigation */

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

@media (max-width: 800px) {
  .site-header {
    position: relative;
    min-height: 68px;
    padding: 0;
    flex-wrap: wrap;
    align-items: center;
  }

  .site-name {
    padding: 21px 0;
  }

  .menu-toggle {
    padding: 10px 0 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .menu-toggle:hover {
    color: var(--text);
  }

  .menu-symbol {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-symbol {
    transform: rotate(45deg);
  }

  .site-header nav {
    width: 100%;
    display: none;
    gap: 0;
    flex-direction: column;
    text-align: left;
    border-top: 1px solid var(--border);
  }

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

  .site-header nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.86rem;
  }

  .site-header nav a:last-child {
    border-bottom: 0;
  }
}