:root {
  --bg: #F5F5F2;
  --ink: #17201B;
  --muted: #5B655E;
  --accent: #1F7A4A;
  --line: #CFD3CC;
  --deep: #123524;
  --deepink: #F2F6F1;
  --deepmuted: #BDD1C4;
  --sun: #F28C28;
  --sunink: #1B1308;
  --disp: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101310;
    --ink: #EAEFE9;
    --muted: #A0ABA2;
    --accent: #6FCF97;
    --line: #2B322C;
    --deep: #16402A;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #101310;
  --ink: #EAEFE9;
  --muted: #A0ABA2;
  --accent: #6FCF97;
  --line: #2B322C;
  --deep: #16402A;
  color-scheme: dark;
}

html:lang(zh-Hans) {
  --disp: "Bricolage Grotesque", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --text: "Instrument Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

html:lang(zh-Hans) * {
  letter-spacing: 0 !important;
}

html {
  height: 100%;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 4.5rem);
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
}

html:lang(zh-Hans) body {
  line-break: strict;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
  z-index: 30;
}

.wrap {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

h1,
h2,
h3,
.big,
.brand,
.k,
.footer-contact {
  margin: 0;
  font-family: var(--disp);
  font-weight: 800;
  letter-spacing: -.03em;
}

a {
  color: inherit;
  text-underline-offset: .2em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 2px;
}

.nb {
  display: inline-block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: .55rem .8rem;
  background: var(--sun);
  color: var(--sunink);
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.bar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.bar .wrap {
  height: 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.brand {
  grid-column: 1;
  justify-self: start;
  flex: none;
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand--animated {
  min-width: 10.4rem;
}

.dot-mark {
  display: inline-block;
  width: .26rem;
  height: .26rem;
  margin-inline: .18rem;
  background: #E0443E;
  border-radius: 0;
  transition: background-color .28s ease;
  vertical-align: 0;
}

h1 .dot-mark {
  width: .14em;
  height: .14em;
  margin-inline: .08em 0;
  vertical-align: 0;
}

.site-menu {
  display: contents;
}

.bar nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: 1.3rem;
  min-width: 0;
  overflow-x: auto;
  font-weight: 500;
  scrollbar-width: none;
}

.bar nav::-webkit-scrollbar {
  display: none;
}

.bar nav a {
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.bar nav a:hover {
  color: var(--ink);
}

.bar nav a[aria-current="page"] {
  border-bottom-color: var(--sun);
  color: var(--ink);
}

.lang {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex: none;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: .5rem;
}

.lang button {
  width: 3.4rem;
  padding: .55rem 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 500 .85rem/1 var(--text);
  text-align: center;
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.menu-head,
.menu-toggle,
.menu-scrim {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

#bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 3px;
  background: var(--sun);
}

/* Hero */
.hero,
.page-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero {
  min-height: calc(66vh - 4rem);
  min-height: calc(66svh - 4rem);
  padding-block: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
}

.page-hero {
  min-height: calc(48vh - 4rem);
  min-height: calc(48svh - 4rem);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
}

h1 {
  margin-left: -.05em;
  font-size: clamp(3.4rem, 14.5vw, 11rem);
  line-height: .92;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(3.4rem, 12.6vw, 9.2rem);
}

h1 > span {
  display: block;
  overflow: hidden;
  padding-bottom: .24em;
  margin-bottom: -.14em;
}

.page-hero:not(.article-hero) h1 > span {
  padding-top: .16em;
  margin-top: -.16em;
}

h1 > span > i {
  display: block;
  font-style: normal;
  animation: rise .9s cubic-bezier(.2, .8, .2, 1) both;
}

.hero h1 > span > i {
  white-space: nowrap;
}

.name-cycle {
  display: inline-block;
  min-width: .08em;
}

h1 > span:nth-child(2) > i {
  animation-delay: .12s;
}

@keyframes rise {
  from { transform: translateY(105%); }
  to { transform: none; }
}

.reveal-ready [data-scroll-reveal] {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition:
    opacity .72s cubic-bezier(.2, .75, .2, 1),
    transform .78s cubic-bezier(.2, .75, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready [data-scroll-reveal].is-revealed,
.reveal-ready [data-scroll-reveal]:focus-within {
  opacity: 1;
  transform: none;
}

.page-hero .label {
  margin-bottom: 1rem;
}

.lede {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.45;
}

.lede > span {
  display: block;
}

html:lang(zh-Hans) .lede {
  max-width: 26em;
  line-height: 1.7;
}

/* Sections */
.block {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.deep {
  background: var(--deep);
  color: var(--deepink);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem 4.5rem;
  align-items: start;
}

.big {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.06;
  text-wrap: balance;
}

html:lang(zh-Hans) .big {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.25;
}

.label {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-weight: 500;
}

.deep .label {
  color: var(--deepmuted);
}

p {
  max-width: 38rem;
  margin: 0 0 1.1rem;
  text-wrap: pretty;
}

html:lang(zh-Hans) p {
  max-width: 30em;
  line-height: 1.85;
}

.muted {
  color: var(--muted);
}

.deep .muted {
  color: var(--deepmuted);
}

.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .6rem 1.5rem;
  margin: 2rem 0 0;
}

.about-copy-line,
.heading-line {
  display: block;
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-weight: 500;
}

.deep .facts dt {
  color: var(--deepmuted);
}

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

.list-heading {
  margin-bottom: 2.5rem;
}

/* Rows */
.rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rows > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: .6rem 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5rem;
}

.rows > li:last-child {
  border-bottom: 1px solid var(--line);
}

.deep .rows > li {
  border-color: var(--deepmuted);
}

#timeline .rows > li {
  position: relative;
  grid-template-columns: minmax(6.5rem, .55fr) minmax(0, 2fr);
  gap: .35rem 2.5rem;
  align-items: center;
  min-height: 5.2rem;
  padding: 0 0 0 2.2rem;
  border-top: 0;
  border-bottom: 0;
  border-left: 2px solid rgba(189, 209, 196, .55);
}

#timeline .rows {
  margin-left: clamp(1.25rem, 3vw, 2.75rem);
}

#timeline .rows > li:last-child {
  border-bottom: 0;
}

#timeline .rows > li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -.48rem;
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 .3rem var(--deep);
  transform: translateY(-50%);
}

#timeline .rows > li:last-child::before {
  background: var(--deep);
  border: 2px solid var(--sun);
}

.timeline-copy {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  min-width: 0;
}

.timeline-copy p {
  margin: 0;
}

.timeline-photos {
  position: relative;
  flex: none;
  width: 9rem;
  height: 4.1rem;
  margin-right: .4rem;
}

.photo-frame {
  position: absolute;
  width: 5.4rem;
  height: 3.5rem;
  margin: 0;
  padding: .18rem;
  appearance: none;
  border: 0;
  border-radius: .12rem;
  background: #F1EEE4;
  box-shadow: 0 .3rem .8rem rgba(0, 0, 0, .22);
  cursor: zoom-in;
  font: inherit;
  transition: transform .18s ease;
}

.photo-frame.is-portrait {
  width: 3rem;
  height: 4rem;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.photos-2014 .photo-frame:nth-child(1) {
  top: .05rem;
  left: 0;
  transform: rotate(-7deg);
}

.photos-2014 .photo-frame:nth-child(2) {
  top: -.15rem;
  left: 3.2rem;
  transform: rotate(6deg);
}

.photos-2015 {
  width: 6.2rem;
}

.photos-2015 .photo-frame:nth-child(1) {
  top: 0;
  left: 0;
  transform: rotate(-6deg);
}

.photos-2015 .photo-frame:nth-child(2) {
  top: -.12rem;
  left: 3rem;
  transform: rotate(5deg);
}

.photos-taekwondo {
  width: 3.6rem;
}

.photos-taekwondo .photo-frame {
  top: 0;
  left: .35rem;
  transform: rotate(4deg);
}

#timeline .photo-frame:hover,
.hob .photo-frame:hover {
  z-index: 2;
  transform: rotate(0deg) scale(2.2);
}

.photo-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 10, 7, .9);
  backdrop-filter: blur(10px);
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(94vw, 96rem);
  max-height: calc(100vh - 4rem);
  border-radius: .45rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .45);
  object-fit: contain;
}

.photo-lightbox-close {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 1rem);
  right: calc(env(safe-area-inset-right, 0px) + 1rem);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(242, 246, 241, .4);
  border-radius: 50%;
  background: rgba(10, 20, 14, .78);
  color: var(--deepink);
  cursor: pointer;
  font: 400 1.65rem/1 var(--text);
}

.photo-lightbox-close:hover {
  border-color: var(--sun);
  color: var(--sun);
}

body.photo-lightbox-open {
  overflow: hidden;
}

.k {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.15;
}

.rows p {
  margin: 0 0 .7rem;
}

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

.article-row {
  display: block !important;
  padding: 0 !important;
}

.article-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: .6rem 2.5rem;
  padding: 1.5rem 0;
  border-radius: .35rem;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease;
  -webkit-tap-highlight-color: rgba(242, 140, 40, .18);
}

.article-card:hover,
.article-card:focus-visible {
  background: rgba(242, 140, 40, .14);
}

.article-card:active {
  background: rgba(242, 140, 40, .22);
}

.article-card:hover h2,
.article-card:focus-visible h2 {
  color: var(--sun);
}

.tag {
  display: inline-block;
  margin-top: .7rem;
  padding: .3rem .85rem;
  border-radius: 2rem;
  background: #FFA62B;
  color: #1A1000;
  font: 700 .95rem/1.3 var(--text);
  white-space: nowrap;
}

.tag.alt {
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
}

.meta-year {
  display: inline-block;
  margin-left: .65rem;
  color: inherit;
  font-size: .9rem;
  opacity: .68;
}

.project-name {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.project-logo {
  display: block;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: .75rem;
  object-fit: contain;
}

.more {
  display: inline-block;
  margin-top: .25rem;
  font-weight: 500;
  white-space: nowrap;
}

.arrow-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: .2em;
  vertical-align: -.09em;
}

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.75rem 2.5rem;
  margin-top: 2rem;
}

.cols h3 {
  margin: 0 0 .6rem;
  color: var(--muted);
  font: 500 1rem/1.3 var(--text);
  letter-spacing: 0;
}

.cols ul {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cols li {
  position: relative;
  padding-left: 1rem;
}

.cols li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--sun);
}

.hob {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.25rem 2.5rem;
  margin-top: 2.5rem;
}

.hob > div {
  padding-top: 1rem;
  border-top: 3px solid var(--sun);
}

.hob .k {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.hob p {
  margin: .6rem 0 0;
}

.hob p + p {
  margin-top: 0;
}

.hobby-copy {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: .6rem;
}

.hobby-copy p {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.hobby-text {
  flex: 1;
  min-width: 0;
}

.hobby-photos {
  flex: none;
  margin: 0;
}

.hobby-photos--pair {
  width: 6.2rem;
}

.hobby-photos--single {
  width: 5.4rem;
}

.hobby-photos--portrait {
  width: 3.2rem;
}

.hobby-photos--wide {
  width: 7.2rem;
}

.hobby-photos--pair .photo-frame:nth-child(1) {
  top: 0;
  left: 0;
  transform: rotate(-5deg);
}

.hobby-photos--pair .photo-frame:nth-child(2) {
  top: -.12rem;
  left: 3rem;
  transform: rotate(6deg);
}

.hobby-photos--single .photo-frame {
  top: 0;
  left: .1rem;
  transform: rotate(-4deg);
}

.hobby-photos--portrait .photo-frame {
  top: 0;
  left: .1rem;
  transform: rotate(5deg);
}

.hobby-photos--wide .photo-frame {
  top: 0;
  left: .1rem;
  width: 7.2rem;
  height: 3.06rem;
  transform: rotate(-3deg);
}

#outside .hobby-photos .photo-frame:hover {
  z-index: 2;
  transform: rotate(0deg) scale(2.2);
}

.outside-note {
  margin-top: 2.25rem;
}

.link {
  display: inline-block;
  margin-top: .5rem;
  padding: .75rem 1.2rem;
  border: 2px solid currentColor;
  border-radius: .5rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.link:hover {
  border-color: var(--sun);
  background: var(--sun);
  color: var(--sunink);
}

.social-link {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  place-items: center;
}

.social-icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.social-icon--xiaohongshu {
  width: 1.9rem;
  height: 1.9rem;
}

.social-link--xiaohongshu {
  color: #FF2442;
}

.social-link--xiaohongshu:hover {
  border-color: #FF2442;
  background: #FF2442;
  color: #FFF;
}

/* Contact and footer */
.site-footer {
  padding: clamp(3rem, 7vw, 5rem) 0 1.5rem;
  border-top: 1px solid var(--deepmuted);
  background: var(--deep);
  color: var(--deepink);
}

.site-footer .label {
  color: var(--deepmuted);
}

.site-footer.is-light {
  border-top-color: var(--line);
  background: var(--bg);
  color: var(--ink);
}

.site-footer.is-light .label,
.site-footer.is-light .footer-copy,
.site-footer.is-light .footer-bottom {
  color: var(--muted);
}

.site-footer.is-light .footer-bottom {
  border-top-color: var(--line);
}

.site-footer.is-light nav a {
  color: var(--ink);
}

.footer-contact {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.06;
}

.footer-copy {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--deepmuted);
}

.mail {
  display: inline-block;
  margin: 1.25rem 0 0;
  color: var(--sun);
  font-family: var(--disp);
  font-size: clamp(1.7rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  text-decoration: none;
  word-break: break-all;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.75rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer nav a {
  color: var(--deepink);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--sun);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--deepmuted);
  color: var(--deepmuted);
}

.article-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.08;
}

.article-body {
  max-width: 46rem;
  margin: 0 auto;
}

.article-body h2 {
  margin: 2.5rem 0 .8rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.article-body p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

@media (max-width: 860px) {
  .bar .wrap {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
  }

  .brand--animated {
    min-width: 0;
  }

  .site-menu {
    position: fixed;
    z-index: 45;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(20rem, 86vw);
    padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-left: 1px solid var(--line);
    background: var(--bg);
    box-shadow: -1.5rem 0 3rem rgba(0, 0, 0, .2);
    color: var(--ink);
    pointer-events: none;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
  }

  .site-menu.is-open {
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
  }

  .menu-label {
    color: var(--muted);
    font: 500 .8rem/1 var(--text);
    letter-spacing: .08em;
  }

  .menu-close {
    appearance: none;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle {
    appearance: none;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-close {
    position: relative;
  }

  .menu-close::before,
  .menu-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1.5px;
    background: currentColor;
    content: "";
  }

  .menu-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .menu-toggle {
    grid-column: 2;
    justify-self: end;
  }

  .menu-toggle-icon {
    display: grid;
    width: 1.1rem;
    gap: .3rem;
  }

  .menu-toggle-icon i {
    display: block;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform .2s ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-menu nav {
    display: flex;
    grid-column: auto;
    flex-direction: column;
    gap: 0;
    justify-self: stretch;
    min-width: 0;
    overflow: visible;
  }

  .site-menu nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font: 800 clamp(1.25rem, 4vw, 1.55rem)/1.2 var(--disp);
  }

  .site-menu nav a[aria-current="page"] {
    border-bottom-color: var(--sun);
  }

  .site-menu .lang {
    grid-column: auto;
    width: 100%;
    margin-top: auto;
    justify-self: stretch;
  }

  .site-menu .lang button {
    width: auto;
    padding: .75rem 0;
    flex: 1;
  }

  .menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(5, 10, 7, .58);
    backdrop-filter: blur(2px);
  }

  .menu-scrim[hidden] {
    display: none;
  }
}

/* Responsive */
@media (max-width: 760px) {
  .split,
  .rows > li,
  .article-card {
    grid-template-columns: 1fr;
  }

  #timeline .rows > li {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  #timeline .rows {
    margin-left: 0;
  }

  .timeline-copy {
    gap: .75rem;
  }

  .hobby-copy {
    gap: .75rem;
  }

  .timeline-photos {
    width: 6.8rem;
    height: 3.3rem;
    margin-right: 0;
  }

  .photo-frame {
    width: 4rem;
    height: 2.55rem;
    padding: .12rem;
  }

  .photo-frame.is-portrait {
    width: 2.2rem;
    height: 3rem;
  }

  .photos-2014 .photo-frame:nth-child(2) {
    left: 2.65rem;
  }

  .photos-2015 {
    width: 4.5rem;
  }

  .photos-2015 .photo-frame:nth-child(2) {
    left: 2.15rem;
  }

  .photos-taekwondo {
    width: 2.7rem;
  }

  .photos-taekwondo .photo-frame {
    left: .25rem;
  }

  .hobby-photos--pair {
    width: 4.5rem;
  }

  .hobby-photos--pair .photo-frame:nth-child(2) {
    left: 2.15rem;
  }

  .hobby-photos--single {
    width: 4rem;
  }

  .hobby-photos--portrait {
    width: 2.5rem;
  }

  .hobby-photos--wide {
    width: 5.5rem;
  }

  .hobby-photos--wide .photo-frame {
    width: 5.5rem;
    height: 2.34rem;
  }

  html {
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 4.75rem);
  }

  .hero {
    min-height: calc(60vh - 4rem);
    min-height: calc(60svh - 4rem);
  }

  .page-hero {
    min-height: calc(40vh - 4rem);
    min-height: calc(40svh - 4rem);
  }

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

  .meta-year {
    margin-left: .45rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  h1 span i {
    animation: none;
  }

  .reveal-ready [data-scroll-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dot-mark {
    transition: none;
  }

  .photo-frame {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(2.35rem, 11.8vw, 11rem);
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: clamp(2.2rem, 11.2vw, 11rem);
  }
}
