:root {
  --paper: #f7f5ee;
  --paper-deep: #efede3;
  --panel: #fcfbf7;
  --ink: #182326;
  --ink-soft: #4d585a;
  --muted: #6f7777;
  --line: #d5d0c1;
  --line-strong: #b9b4a5;
  --red: #c14f33;
  --red-soft: #efd5ca;
  --teal: #1e625a;
  --teal-soft: #d6e2da;
  --ochre: #b57e2b;
  --ochre-soft: #ecdcba;
  --blue: #4a6d87;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
}

body::selection {
  color: var(--ink);
  background: var(--ochre-soft);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("assets/paper-grain.png");
}

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

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1.1rem, 4vw, 3.5rem);
  background: rgba(247, 245, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  white-space: nowrap;
}

.brand span {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand small {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 1.7vw, 1.6rem);
  white-space: nowrap;
}

.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav > a,
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding: 0.42rem 0.08rem;
}

.nav > a:hover,
.nav > .nav-group > .nav-link:hover,
.nav > .nav-group:focus-within > .nav-link {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  right: -0.7rem;
  z-index: 40;
  display: none;
  min-width: 230px;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(24, 35, 38, 0.12);
}

.submenu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-group:hover .submenu,
.nav-group:focus-within .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 0.42rem 0.62rem;
  border: 0;
  border-radius: 5px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: normal;
}

.submenu a:hover {
  color: var(--ink);
  background: var(--paper-deep);
}

.sub-caption {
  display: block;
  padding: 0.62rem 0.62rem 0.2rem;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.submenu .project-link {
  padding-left: 1.45rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.submenu-wide {
  min-width: 270px;
}

.annotate-toggle {
  flex: 0 0 auto;
  margin-left: 0.2rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 0.82rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.annotate-toggle:hover,
.annotate-toggle.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

body.annotation-mode .annotatable {
  outline: 1px dashed rgba(193, 79, 51, 0.55);
  outline-offset: 3px;
  cursor: crosshair;
}

.annotated {
  background: rgba(236, 220, 186, 0.65);
  box-shadow: 0 0 0 2px rgba(181, 126, 43, 0.28);
}

.annotation-pop {
  position: fixed;
  z-index: 80;
  width: min(360px, calc(100vw - 2rem));
  padding: 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(24, 35, 38, 0.2);
}

.annotation-pop-source {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  max-height: 4.2em;
  overflow: hidden;
}

.annotation-pop textarea {
  width: 100%;
  min-height: 90px;
  resize: vertical;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.55;
}

.annotation-pop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.annotation-pop-actions button {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.annotation-pop-actions .save-annotation {
  color: #fff;
  background: var(--ink);
}

.annotation-pop-actions .delete-annotation {
  color: var(--red);
  border-color: var(--red);
}

.hero {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 5rem 0 5rem;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.eyebrow {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.eyebrow.cn {
  letter-spacing: 0.1em;
}

.hero h1 {
  margin: 2.3rem 0 0.2rem;
  font-family: var(--serif);
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.hero-en {
  margin: 0.7rem 0 1.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--red);
  font-size: 1.2rem;
}

.hero-statement {
  margin: 0;
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: 0.02em;
}

.hero-copy {
  max-width: 760px;
  margin: 1.6rem 0 2rem;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(252, 251, 247, 0.72);
  font-size: 0.92rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.hero-chips a:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  flex: 0 0 auto;
}

.dot-red {
  background: var(--red);
}

.dot-teal {
  background: var(--teal);
}

.dot-ochre {
  background: var(--ochre);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 920px;
  margin-top: 0.95rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(252, 251, 247, 0.74);
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
}

.section {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 6.4rem 0;
}

.section-alt {
  width: 100%;
  padding-left: max(4vw, calc((100vw - 1180px) / 2));
  padding-right: max(4vw, calc((100vw - 1180px) / 2));
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.6rem;
}

.section-head h2,
.self-section h2 {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1.1;
}

.en-label {
  margin: 0;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  text-align: right;
  font-size: 0.96rem;
}

.ref-head {
  display: block;
  margin-bottom: 3rem;
}

.ref-kicker {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ref-kicker span {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ref-kicker + h2 {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-size: 3.35rem;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.ref-sub {
  max-width: 900px;
  margin: 1.15rem 0 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.8;
}

.ref-sub-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem 2rem;
  margin-top: 1.05rem;
}

.ref-sub-row .ref-sub {
  flex: 1 1 520px;
  margin: 0;
}

.gap-motto {
  flex: 0 0 auto;
  margin: 0;
}

.section-lede {
  max-width: 780px;
  margin: -0.15rem 0 1.7rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.85;
}

.gap-lede {
  max-width: 820px;
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.85;
}

.gap-motto {
  margin: 0;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.line-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
}

.line-keywords span {
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(252, 251, 247, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.line-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.line-card:nth-child(1) {
  border-top: 5px solid var(--red);
}

.line-card:nth-child(2) {
  border-top: 5px solid var(--teal);
}

.line-card:nth-child(3) {
  border-top: 5px solid var(--ochre);
}

.line-no {
  margin: 0 0 0.5rem;
  font-family: Georgia, serif;
  color: var(--muted);
  font-size: 0.84rem;
}

.line-label {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.line-card h3 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1.4;
}

.line-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin: 0 0 0.5rem;
}

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

.card-lines {
  display: grid;
  gap: 0.35rem;
}

.card-lines p {
  position: relative;
  margin: 0;
  padding-left: 1rem;
  line-height: 1.6;
}

.card-lines p::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--muted);
}

.line-card:nth-child(1) .card-lines p::before {
  background: var(--red);
}

.line-card:nth-child(2) .card-lines p::before {
  background: var(--teal);
}

.line-card:nth-child(3) .card-lines p::before {
  background: var(--ochre);
}

.gap-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 3.2rem;
}

.gap-quotes blockquote {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.gap-number {
  flex: 0 0 2.1rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  margin-top: 0.16rem;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-family: Georgia, serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.gap-quotes strong {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

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

.gap-actions h3,
.education-block h3,
.research-block h3,
.activity-block h3,
.skill-group h3 {
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-size: 1.22rem;
}

.gap-actions ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 2.4rem;
  margin: 0;
  padding-left: 1.3rem;
  color: var(--ink-soft);
}

.gap-actions li::marker {
  color: var(--teal);
  font-weight: 700;
}

.education-block,
.research-block,
.activity-block {
  margin-top: 3rem;
}

.education-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.education-row > span {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 0.92rem;
}

.education-row strong {
  font-family: var(--serif);
  font-weight: 700;
}

.education-row p {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
}

.project {
  border-bottom: 1px solid var(--line);
}

.project summary {
  display: grid;
  grid-template-columns: 10.5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0.2rem;
  cursor: pointer;
  list-style: none;
}

.project summary::-webkit-details-marker {
  display: none;
}

.project summary::after {
  content: "+";
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.project[open] summary::after {
  transform: rotate(45deg);
}

.project summary:hover .project-title {
  color: var(--teal);
}

.project-date {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 0.86rem;
}

.project-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
}

.project-body {
  padding: 0.3rem 0 1.5rem;
  color: var(--ink-soft);
}

.project-body p {
  margin: 0.5rem 0;
}

.resume-note {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--ochre);
  background: var(--ochre-soft);
  color: var(--ink);
  font-size: 0.93rem;
}

.activity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-list li {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.activity-list strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--serif);
}

.activity-list span {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.skill-group {
  padding: 0.4rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tags span {
  padding: 0.36rem 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(252, 251, 247, 0.55);
  font-size: 0.87rem;
}

.skill-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.self-section {
  width: 100%;
  padding-left: max(4vw, calc((100vw - 1180px) / 2));
  padding-right: max(4vw, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(193, 79, 51, 0.06) 0 1px, transparent 1px 100%),
    var(--panel);
}

.self-section h2 {
  margin-bottom: 0.8rem;
}

.self-intro {
  margin: 0 0 2rem;
  color: var(--muted);
}

.self-notes {
  margin: 0 0 2.4rem;
}

.self-note {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.self-note:first-child {
  padding-top: 0.4rem;
}

.self-num {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-family: Georgia, serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.self-note h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.45;
}

.self-note p {
  margin: 0.4rem 0;
  color: var(--ink-soft);
}

.self-note-open {
  min-height: 70px;
  align-items: center;
}

.self-open {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.1em;
}

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

.self-values h3 {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: 1.16rem;
}

.self-values ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.self-values li {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(252, 251, 247, 0.66);
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.section-final {
  padding-top: 4.6rem;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem 1rem;
  align-items: center;
  padding: 1.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
}

.contact-item > span {
  grid-column: 1 / -1;
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.contact-item strong {
  font-family: var(--serif);
  font-size: 1.22rem;
  overflow-wrap: anywhere;
}

.copy-btn {
  min-width: 5.6rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.copy-btn:hover,
.copy-btn.copied {
  color: #fff;
  background: var(--ink);
}

.contact-note {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.6rem max(4vw, calc((100vw - 1180px) / 2));
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
  font-size: 0.88rem;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero {
    padding-top: 4rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-statement {
    font-size: 2.5rem;
  }

  .now-grid,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .line-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-wrap: wrap;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .brand {
    width: 100%;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .submenu {
    display: none !important;
  }

  .hero {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .hero-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .hero h1 {
    font-size: 2.8rem;
    margin-top: 1.5rem;
  }

  .hero-statement {
    font-size: 1.85rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .section {
    padding: 4.2rem 0;
  }

  .section-alt,
  .self-section,
  .section-final,
  .footer {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .section-note {
    text-align: left;
  }

  .section-head h2,
  .self-section h2 {
    font-size: 2rem;
  }

  .gap-quotes,
  .gap-actions ol,
  .activity-list,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .self-values ul {
    grid-template-columns: 1fr;
  }

  .gap-quotes blockquote {
    padding: 1.1rem;
  }

  .education-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .project summary {
    grid-template-columns: 1fr auto;
    padding: 1rem 0;
  }

  .project-title {
    grid-column: 1 / 2;
  }

  .project-date {
    grid-column: 1 / 2;
  }

  .project summary::after {
    grid-column: 2;
    grid-row: 1;
  }

  .footer {
    flex-direction: column;
  }
}

@media (hover: none) {
  .submenu {
    display: none !important;
  }
}
