:root {
  --ink: #101b1c;
  --ink-soft: #304143;
  --paper: #f1efe7;
  --paper-deep: #e6e2d7;
  --line: rgba(16, 27, 28, 0.18);
  --mint: #b8edcf;
  --acid: #d9f56d;
  --orange: #ee6a36;
  --white: #fffef8;
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  font-family: Inter, Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-200%);
}

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

.page-frame {
  overflow: clip;
}

.section-pad,
.site-header,
.site-footer {
  width: min(100%, calc(var(--max) + var(--pad) * 2));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  text-decoration: none;
}

.brand small {
  display: block;
  margin-top: 0.33rem;
  color: #617173;
  font-size: 0.53rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.brand-mark i {
  position: absolute;
  width: 2px;
  height: 18px;
  background: var(--ink);
  transform-origin: 50% 100%;
}

.brand-mark i:nth-child(1) { transform: translateY(-8px) rotate(0deg); }
.brand-mark i:nth-child(2) { transform: translate(-7px, -4px) rotate(-45deg); }
.brand-mark i:nth-child(3) { transform: translate(7px, -4px) rotate(45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3.2rem);
}

.site-nav a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem 0 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-contact:hover {
  color: var(--paper);
  background: var(--ink);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
}

.hero {
  display: grid;
  min-height: min(780px, calc(100svh - 90px));
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 2rem;
  color: #5f6e70;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.58rem;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3rem, 6.15vw, 6.4rem);
  font-weight: 720;
  letter-spacing: -0.07em;
  line-height: 0.98;
  word-break: keep-all;
}

.hero h1 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 610px;
  margin: 2.2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.85;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2.8rem;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 0 1.3rem 0 1.5rem;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.button--primary {
  color: var(--paper);
  background: var(--ink);
}

.button--primary span {
  font-size: 1.1rem;
}

.text-link {
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  margin-left: 0.4rem;
}

.system-map {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.system-map::before,
.system-map::after {
  position: absolute;
  background: var(--line);
  content: "";
}

.system-map::before {
  top: 50%;
  right: -12%;
  left: -12%;
  height: 1px;
}

.system-map::after {
  top: -12%;
  bottom: -12%;
  left: 50%;
  width: 1px;
}

.system-map__orbit {
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(16, 27, 28, 0.14);
  border-radius: 48% 52% 43% 57%;
  transform: rotate(35deg);
}

.system-map__orbit--two {
  inset: 27%;
  border-style: dashed;
  transform: rotate(-18deg);
}

.system-map__core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 29%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.system-map__core b {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.system-map__core span {
  position: absolute;
  top: calc(50% + 2.3rem);
  color: var(--mint);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.system-map__label {
  position: absolute;
  z-index: 3;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
  font-size: clamp(0.58rem, 0.8vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.label-modelica { top: 7%; left: 43%; }
.label-simulation { top: 45%; right: -5%; }
.label-power { bottom: 8%; left: 53%; }
.label-software { top: 48%; left: -5%; }

.map-index {
  position: absolute;
  right: 5%;
  bottom: 25%;
  color: #718082;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.notes-section {
  padding-block: clamp(6rem, 10vw, 10rem);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading .eyebrow {
  margin-bottom: 1.25rem;
}

.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 1;
}

.section-heading > p {
  justify-self: end;
  margin: 0;
  color: #5f6e70;
  font-size: 0.9rem;
  line-height: 1.8;
}

.filter-bar {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.filter-bar button {
  flex: 0 0 auto;
  padding: 0.72rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.filter-bar button.is-active {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.filter-bar sup {
  margin-left: 0.2rem;
  color: var(--mint);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.note-card {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.note-card[hidden] { display: none; }

.note-card:hover {
  background: var(--white);
}

.note-card a {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  text-decoration: none;
}

.note-card--featured {
  grid-column: span 2;
  background: var(--mint);
}

.note-card--featured a { min-height: 390px; }

.note-card__meta {
  display: flex;
  justify-content: space-between;
  color: #526264;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.note-card h3 {
  max-width: 640px;
  margin: 3.5rem 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.25;
  word-break: keep-all;
}

.note-card:not(.note-card--featured) h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
}

.note-card p {
  max-width: 580px;
  margin: 0;
  color: #526264;
  font-size: 0.87rem;
  line-height: 1.75;
  word-break: keep-all;
}

.note-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.note-card__action i {
  font-size: 1rem;
  font-style: normal;
}

.focus-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(6rem, 10vw, 10rem) max(var(--pad), calc((100vw - var(--max)) / 2));
  color: var(--paper);
  background: var(--ink);
}

.section-heading--light .eyebrow,
.section-heading--light > p {
  color: #9aa9a7;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(241, 239, 231, 0.42);
}

.focus-card {
  position: relative;
  min-height: 330px;
  padding: 1.8rem;
  border-right: 1px solid rgba(241, 239, 231, 0.17);
}

.focus-card:last-child { border-right: 0; }

.focus-card > span {
  color: var(--mint);
  font-family: Georgia, serif;
  font-size: 0.8rem;
}

.focus-card h3 {
  max-width: 240px;
  margin: 5rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.05;
}

.focus-card p {
  margin: 0;
  color: #aab5b3;
  font-size: 0.82rem;
  line-height: 1.7;
  word-break: keep-all;
}

.focus-card > i {
  position: absolute;
  right: 1.8rem;
  bottom: 1.8rem;
  color: var(--acid);
  font-size: 1.2rem;
  font-style: normal;
}

.about-section {
  display: grid;
  grid-template-columns: 0.25fr 1.05fr 0.7fr;
  gap: clamp(2rem, 5vw, 6rem);
  padding-block: clamp(6rem, 10vw, 10rem);
}

.about-index {
  font-family: Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
}

.about-index span {
  display: block;
  margin-top: 0.5rem;
  color: #697779;
  font-family: inherit;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
}

.about-copy .eyebrow {
  margin-bottom: 1.3rem;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

.about-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 2.2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.9;
  word-break: keep-all;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.7rem;
}

.contact-row a {
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.contact-row span { margin-left: 0.7rem; }

.project-card {
  align-self: end;
  padding: 2rem;
  color: var(--paper);
  background: var(--orange);
}

.project-card > span {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 4rem 0 1.2rem;
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
}

.project-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  line-height: 1.75;
  word-break: keep-all;
}

.project-card a {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding-block: 3rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.site-footer p {
  margin: 0.65rem 0 0;
  color: #687779;
  font-size: 0.7rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: start;
}

.footer-links a {
  font-size: 0.7rem;
  font-weight: 750;
  text-decoration: none;
}

.site-footer .copyright {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* Article */
.article-header {
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-block;
  margin-bottom: 3.5rem;
  color: #5d6b6d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.article-header .eyebrow { margin-bottom: 1.5rem; }

.article-header h1 {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 1.03;
  word-break: keep-all;
}

.article-header__meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  color: #657476;
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  justify-content: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(4rem, 8vw, 8rem);
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 2rem;
  padding-top: 0.4rem;
}

.article-aside > span {
  display: block;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.article-toc:empty::after {
  color: #738082;
  content: "Short note";
  font-size: 0.7rem;
}

.article-toc a {
  color: #687779;
  font-size: 0.68rem;
  line-height: 1.45;
  text-decoration: none;
}

.article-toc a.toc-h3 { padding-left: 0.75rem; }
.article-toc a:hover { color: var(--orange); }

.article-content {
  min-width: 0;
  color: #263638;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.9;
  word-break: keep-all;
}

.article-content > *:first-child { margin-top: 0; }

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--ink);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.25;
  scroll-margin-top: 2rem;
}

.article-content h2 {
  margin: 4rem 0 1.3rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.article-content h3 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.article-content h4 {
  margin: 2.2rem 0 0.8rem;
  font-size: 1.05rem;
}

.article-content p { margin: 1.2rem 0; }

.article-content a {
  color: #b64b25;
  text-decoration-color: rgba(182, 75, 37, 0.4);
  text-underline-offset: 0.2em;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 1.4rem;
}

.article-content li { margin: 0.5rem 0; }

.article-content blockquote,
.article-quote {
  margin: 2.5rem 0;
  padding: 1.3rem 1.5rem;
  border-left: 3px solid var(--orange);
  background: var(--paper-deep);
}

.article-content figure.article-image {
  margin: 2.5rem 0;
}

.article-content figure.article-image img {
  display: block;
  border: 1px solid var(--line);
}

.media-link a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.article-rule {
  height: 1px;
  margin: 3.5rem 0;
  border: 0;
  background: var(--line);
}

.code-block,
.article-content > pre {
  position: relative;
  max-width: 100%;
  margin: 1.8rem 0;
  border-radius: 3px;
  color: #d9e7e2;
  background: #142223;
}

.article-content pre {
  overflow-x: auto;
  padding: 1.35rem;
  font: 0.78rem/1.7 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  tab-size: 2;
  white-space: pre;
}

.article-content pre[data-language]::before {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--mint);
  content: attr(data-language);
  font: 700 0.55rem/1 Inter, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.copy-code {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  right: 0.7rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  color: #b8c7c3;
  background: rgba(20, 34, 35, 0.88);
  cursor: pointer;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.article-navigation a {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--paper-deep);
  text-decoration: none;
}

.article-navigation a.next { text-align: right; }

.article-navigation span {
  color: #697779;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-navigation b {
  font-size: 0.9rem;
  line-height: 1.45;
  word-break: keep-all;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .system-map {
    width: min(100%, 520px);
    margin: 2rem auto 0;
  }

  .notes-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-card:nth-child(2) { border-right: 0; }
  .focus-card:nth-child(-n + 2) { border-bottom: 1px solid rgba(241, 239, 231, 0.17); }
  .about-section { grid-template-columns: 0.2fr 1fr; }
  .project-card { grid-column: 2; }
}

@media (max-width: 720px) {
  .site-header { min-height: 74px; }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    gap: 5px;
    padding: 10px;
  }

  .menu-toggle span {
    display: block;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 73px;
    right: var(--pad);
    left: var(--pad);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0.8rem 1rem;
    border: 1px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 18px 50px rgba(16, 27, 28, 0.15);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.9rem 0.4rem; }
  .site-nav .nav-contact { margin-top: 0.4rem; padding-inline: 1rem; }

  .hero {
    min-height: auto;
    padding-block: 4.5rem 5rem;
  }

  .hero h1 { font-size: clamp(2.75rem, 12vw, 4.5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .system-map { width: 86vw; }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    justify-self: start;
  }

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

  .note-card--featured { grid-column: auto; }
  .note-card a,
  .note-card--featured a { min-height: 330px; }

  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { border-right: 0; border-bottom: 1px solid rgba(241, 239, 231, 0.17); }
  .focus-card:last-child { border-bottom: 0; }

  .about-section { grid-template-columns: 1fr; }
  .project-card { grid-column: auto; }

  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 0.7rem; }

  .article-layout { grid-template-columns: 1fr; }
  .article-aside { display: none; }
  .article-navigation { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
