@property --bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #0b1d20;
}

@property --fg {
  syntax: "<color>";
  inherits: true;
  initial-value: #ebe4d8;
}

@property --mute {
  syntax: "<color>";
  inherits: true;
  initial-value: #86a09e;
}

@property --line {
  syntax: "<color>";
  inherits: true;
  initial-value: rgba(235, 228, 216, 0.14);
}

@property --accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #cf9773;
}

:root {
  --m: clamp(16px, 2.2vw, 32px);
  --gap: 16px;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --serif: "Newsreader", Georgia, serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  transition: --bg 0.9s ease, --fg 0.9s ease, --mute 0.9s ease, --line 0.9s ease,
    --accent 0.9s ease;
}

:root[data-theme="dark"] {
  --bg: #0b1d20;
  --fg: #ebe4d8;
  --mute: #86a09e;
  --line: rgba(235, 228, 216, 0.14);
  --accent: #cf9773;
}

:root[data-theme="deep"] {
  --bg: #071416;
  --fg: #ebe4d8;
  --mute: #7d9593;
  --line: rgba(235, 228, 216, 0.12);
  --accent: #cf9773;
}

:root[data-theme="light"] {
  --bg: #ebe4d8;
  --fg: #0e2427;
  --mute: #5c6e6c;
  --line: rgba(14, 36, 39, 0.16);
  --accent: #9c5b37;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

p,
h1,
h2,
h3,
ol,
ul,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
}

ol,
ul {
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-inline: var(--m);
}

.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.display {
  font-family: var(--sans);
  font-stretch: 62.5%;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: 0;
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

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

.skip {
  position: fixed;
  left: var(--m);
  top: -60px;
  z-index: 100;
  background: var(--fg);
  color: var(--bg);
  padding: 8px 12px;
}

.skip:focus {
  top: var(--m);
}

.label {
  grid-column: 1 / 3;
}

.link {
  border-bottom: 1px solid currentColor;
  transition: color 0.3s;
}

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

.plain {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-transform: inherit;
  letter-spacing: inherit;
}

/* Header */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  padding-top: 18px;
  align-items: start;
  color: #ebe4d8;
  mix-blend-mode: difference;
  pointer-events: none;
}

.top a,
.top button {
  pointer-events: auto;
}

.top-name {
  grid-column: 1 / 4;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.top-place {
  grid-column: 5 / 8;
}

.top-right {
  grid-column: 8 / 13;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 22px;
}

.top-nav {
  display: flex;
  gap: 22px;
}

.lang {
  display: flex;
  gap: 5px;
}

.lang button {
  opacity: 0.5;
  transition: opacity 0.3s;
}

.lang button:hover,
.lang button[aria-pressed="true"] {
  opacity: 1;
}

.lang button[aria-pressed="true"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.menu-btn {
  display: none;
}

.top-nav a {
  position: relative;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.top-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Menu, below 800px */

.menu {
  position: fixed;
  inset: 0;
  z-index: 25;
  overflow-y: auto;
  padding: 64px var(--m) 26px;
  background: var(--bg);
  color: var(--fg);
  animation: menu-in 0.35s var(--ease);
}

.menu[hidden] {
  display: none;
}

.menu nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 100%;
}

.menu-list li {
  border-top: 1px solid var(--line);
}

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

.menu-list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0 6px;
}

.menu-list .mono {
  flex: none;
  width: 2.6em;
  color: var(--mute);
}

.menu-list .display {
  font-size: clamp(44px, 12.5vw, 96px);
  transition: color 0.3s;
}

.menu-list a:hover .display,
.menu-list a:focus-visible .display {
  color: var(--accent);
}

.menu-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.menu-foot a {
  border-bottom: 1px solid currentColor;
}

@keyframes menu-in {
  from {
    opacity: 0;
  }
}

.is-menu,
.is-menu body,
.is-reader,
.is-reader body {
  overflow: hidden;
}

/* Hero */

.hero {
  position: relative;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
}

.field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  align-items: end;
  pointer-events: none;
}

.hero-who {
  grid-column: 1 / 5;
}

.hero-fig {
  grid-column: 5 / 9;
  font-variant-numeric: tabular-nums;
}

.hero-scroll {
  grid-column: 10 / 13;
  text-align: right;
}

/* Sections */

.section {
  padding-top: 170px;
}

.head {
  align-items: end;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.head-t {
  grid-column: 3 / 11;
  font-size: clamp(64px, 11vw, 210px);
  margin-bottom: -0.06em;
}

.head-n {
  grid-column: 11 / 13;
  text-align: right;
  white-space: nowrap;
}

/* About */

.about {
  row-gap: 0;
}

.statement {
  grid-column: 4 / 13;
  font-size: clamp(26px, 3.3vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 400;
}

.facts {
  grid-column: 4 / 13;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 80px;
}

.facts > div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.facts dd {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.3;
}

/* Motto */

.motto {
  padding: 26vh var(--m);
  margin-top: 170px;
  background: var(--bg);
  text-align: center;
}

.motto-line {
  font-size: clamp(50px, 9.6vw, 190px);
}

.motto-note {
  max-width: 46ch;
  margin: 40px auto 0;
  color: var(--mute);
}

.motto-note i {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

/* Work and leading */

.job {
  align-items: start;
  padding-block: 28px 40px;
  border-bottom: 1px solid var(--line);
}

.job-when {
  grid-column: 1 / 3;
  padding-top: 0.6em;
}

.job-org {
  grid-column: 3 / 7;
  font-size: clamp(26px, 2.7vw, 44px);
  font-weight: 500;
  font-stretch: 88%;
  line-height: 1;
  letter-spacing: -0.025em;
  padding-right: 1ch;
  transition: color 0.4s;
}

.job:hover .job-org {
  color: var(--accent);
}

.job-body {
  grid-column: 7 / 12;
  max-width: 60ch;
}

.job-role {
  color: var(--accent);
  margin-bottom: 12px;
  padding-top: 0.6em;
}

.ticks {
  margin-top: 16px;
}

.ticks li {
  position: relative;
  padding: 7px 0 7px 22px;
  border-top: 1px solid var(--line);
  color: var(--mute);
}

.ticks li::before {
  content: "—";
  position: absolute;
  left: 0;
}

.stack {
  margin-top: 110px;
  row-gap: 18px;
}

.stack .label {
  grid-column: 1 / -1;
}

.stack-col {
  grid-column: span 3;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.stack-col h3 {
  margin-bottom: 10px;
}

/* Projects */

.project {
  align-items: center;
  margin-top: 130px;
}

.fig {
  grid-column: 1 / 7;
  grid-row: 1;
}

.fig canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.fig figcaption {
  margin-top: 12px;
  font-size: 10.5px;
  max-width: 56ch;
}

.project-text {
  grid-column: 8 / 12;
  grid-row: 1;
}

.project--flip .fig {
  grid-column: 7 / 13;
}

.project--flip .project-text {
  grid-column: 2 / 6;
}

.project-t {
  font-size: clamp(42px, 5.2vw, 92px);
  margin: 16px 0 22px;
}

.project-text p + p {
  margin-top: 16px;
}

.project-text > p:not(.mono) {
  max-width: 46ch;
}

.project-text .link {
  display: inline-block;
  margin-top: 22px;
}

.more {
  margin-top: 150px;
  row-gap: 18px;
}

.more-list {
  grid-column: 3 / 13;
}

.more-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -0.02em;
  transition: color 0.3s, padding 0.5s var(--ease);
}

.more-list li:last-child a {
  border-bottom: 1px solid var(--line);
}

.more-list a:hover {
  color: var(--accent);
  padding-left: 12px;
}

/* Honours */

.honour {
  align-items: baseline;
  padding-block: 20px 24px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s;
}

.honour:hover {
  background: color-mix(in srgb, var(--fg) 4%, transparent);
}

.honour-y {
  grid-column: 1 / 3;
}

.honour-t {
  grid-column: 3 / 7;
  font-size: clamp(30px, 3.6vw, 62px);
  padding-right: 1ch;
}

.honour-d {
  grid-column: 7 / 11;
  max-width: 44ch;
}

.honour-r {
  grid-column: 11 / 13;
  text-align: right;
  font-size: clamp(24px, 2.6vw, 46px);
  color: var(--accent);
  white-space: nowrap;
}

/* Writing */

.essay {
  padding-block: 34px 56px;
  border-bottom: 1px solid var(--line);
  row-gap: 18px;
}

.essay-v {
  grid-column: 1 / 3;
  padding-top: 0.5em;
}

.essay-t {
  grid-column: 3 / 8;
  font-size: clamp(36px, 4.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.essay-t-link {
  transition: color 0.3s;
}

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

.essay-d {
  grid-column: 3 / 8;
  max-width: 50ch;
}

.essay-more {
  grid-column: 3 / 8;
  margin-top: 4px;
}

.essay-q {
  grid-column: 9 / 13;
  grid-row: 1 / 4;
  align-self: end;
  border-left: 1px solid var(--accent);
  padding-left: 20px;
}

.essay-q p {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.25;
}

.essay-q footer {
  margin-top: 12px;
}

/* Essay reader & standalone essay pages */

.reader {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow-y: auto;
  background: #ebe4d8;
  color: #0e2427;
  --bg: #ebe4d8;
  --fg: #0e2427;
  --mute: #5c6e6c;
  --line: rgba(14, 36, 39, 0.16);
  --accent: #9c5b37;
  animation: menu-in 0.32s var(--ease);
}

.reader[hidden] {
  display: none;
}

.reader-top {
  position: sticky;
  top: 0;
  z-index: 5;
  align-items: center;
  padding-block: 16px;
  background: rgba(235, 228, 216, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.reader-back {
  grid-column: 1 / 4;
  justify-self: start;
}

.reader-meta {
  grid-column: 4 / 9;
}

.reader-actions {
  grid-column: 9 / 13;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 20px;
}

.reader-head {
  padding-block: 64px 44px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  row-gap: 18px;
}

.reader-v {
  grid-column: 1 / 4;
  padding-top: 0.6em;
}

.reader-title-wrap {
  grid-column: 4 / 12;
}

.reader-t {
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.reader-by {
  margin-top: 22px;
}

.reader-body {
  padding-block: 52px 76px;
}

.reader-prose {
  grid-column: 4 / 10;
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.72;
}

.reader-prose p + p {
  margin-top: 1.35em;
}

.reader-bib {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.reader-bib h2,
.reader-bib h3 {
  margin-bottom: 16px;
}

.reader-bib ul {
  display: grid;
  row-gap: 12px;
}

.reader-bib li {
  padding-left: 2em;
  text-indent: -2em;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
}

.reader-foot {
  padding-block: 36px 84px;
  border-top: 1px solid var(--line);
  row-gap: 32px;
}

.reader-quote {
  grid-column: 4 / 10;
  border-left: 1px solid var(--accent);
  padding-left: 20px;
}

.reader-quote p {
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.3;
}

.reader-quote footer {
  margin-top: 10px;
}

.reader-nav {
  grid-column: 4 / 10;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* Outside */

.outside {
  margin-top: 30px;
  row-gap: 40px;
}

.outside > div {
  grid-column: span 3;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.outside h3 {
  margin-bottom: 12px;
}

/* Contact */

.contact {
  padding-bottom: 120px;
  margin-top: 170px;
}

.contact-t {
  grid-column: 1 / -1;
  font-size: clamp(72px, 22vw, 420px);
  line-height: 0.8;
  margin-top: 30px;
  margin-left: -0.03em;
}

.contact-note {
  grid-column: 1 / 5;
  margin-top: 30px;
}

.contact-links {
  grid-column: 7 / 13;
  margin-top: 30px;
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 2.1vw, 32px);
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.contact-links li:last-child a {
  border-bottom: 1px solid var(--line);
}

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

.contact-links .mono {
  overflow-wrap: anywhere;
  text-align: right;
}

/* Footer */

.foot {
  padding-block: 18px 26px;
  border-top: 1px solid var(--line);
}

.foot > p:first-child {
  grid-column: 1 / 5;
}

.foot-mid {
  grid-column: 5 / 9;
}

.foot-r {
  grid-column: 10 / 13;
  text-align: right;
}

/* Toast */

.toast {
  position: fixed;
  left: var(--m);
  bottom: 76px;
  z-index: 80;
  max-width: calc(100vw - 2 * var(--m));
  background: var(--fg);
  color: var(--bg);
  padding: 10px 14px;
  transform: translateY(calc(100% + 120px));
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}

.toast.is-on {
  transform: none;
}

/* Reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), background-color 0.4s;
}

.js .display[data-reveal] {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transform: translateY(0.3em);
  transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js .display[data-reveal].is-in {
  clip-path: inset(-0.1em -0.1em -0.2em -0.1em);
}

.js:lang(tr) .display[data-reveal].is-in {
  clip-path: inset(-0.3em -0.1em -0.2em -0.1em);
}

/* Easter eggs */

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  grid-template-rows: 1fr;
}

.grid-overlay span {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-inline: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

.grid-overlay p {
  position: fixed;
  right: var(--m);
  bottom: var(--m);
  background: var(--accent);
  color: var(--bg);
  padding: 6px 10px;
}

.frame800 {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  cursor: pointer;
}

.frame800 div {
  width: min(800px, 100vw - 24px);
  height: min(600px, 100vh - 24px);
  border: 1px dashed var(--accent);
  padding: 12px 14px;
  color: var(--accent);
}

.snake {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(7, 20, 22, 0.86);
  color: #ebe4d8;
}

.snake-body {
  text-align: center;
}

.snake canvas {
  display: block;
  width: min(504px, 90vw);
  aspect-ratio: 84 / 48;
  image-rendering: pixelated;
  border: 12px solid #26322b;
  border-radius: 10px;
  background: #c3cfa1;
  margin: 14px auto;
}

.clippy {
  position: fixed;
  right: var(--m);
  bottom: var(--m);
  z-index: 85;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  font-family: Tahoma, Verdana, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: #000;
}

.clippy-bubble {
  max-width: 230px;
  background: #ffffe1;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 70px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.clippy-bubble p + p {
  margin-top: 8px;
}

.clippy-bubble button {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 3px 8px;
  text-align: left;
  background: #ece9d8;
  border: 1px solid #7f7f7f;
  border-radius: 3px;
  font: inherit;
  cursor: pointer;
}

.clippy-bubble button:hover {
  background: #fff;
}

.clippy svg {
  width: 64px;
  height: 120px;
  flex: none;
}

/* Responsive */

@media (max-width: 1279px) {
  .top-place {
    grid-column: 4 / 7;
  }

  .top-right {
    grid-column: 7 / 13;
  }
}

@media (max-width: 1100px) {
  .top-place {
    display: none;
  }
}

@media (max-width: 900px) {
  .top-name {
    grid-column: 1 / 6;
  }

  .top-right {
    grid-column: 6 / 13;
    gap: 14px;
  }

  .top-nav {
    gap: 14px;
  }

  .hero-who {
    grid-column: 1 / 8;
  }

  .hero-scroll {
    grid-column: 8 / 13;
  }

  .hero-fig {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 14px;
  }

  .label,
  .statement,
  .facts,
  .job-when,
  .job-org,
  .job-body,
  .fig,
  .project-text,
  .project--flip .fig,
  .project--flip .project-text,
  .more-list,
  .honour-t,
  .honour-d,
  .essay-v,
  .essay-t,
  .essay-d,
  .essay-more,
  .essay-q,
  .reader-v,
  .reader-title-wrap,
  .reader-prose,
  .reader-quote,
  .reader-nav,
  .contact-note,
  .contact-links {
    grid-column: 1 / -1;
  }

  .reader-meta {
    display: none;
  }

  .reader-back {
    grid-column: 1 / 6;
  }

  .reader-actions {
    grid-column: 6 / 13;
  }

  .label {
    margin-bottom: 20px;
  }

  .head .label {
    margin-bottom: 0;
  }

  :lang(tr) .head .label {
    margin-bottom: 0.9em;
  }

  .head-t {
    grid-column: 1 / 10;
  }

  .head-n {
    grid-column: 10 / 13;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 50px;
    row-gap: 28px;
  }

  .job-org {
    margin-top: 10px;
  }

  .job-body {
    margin-top: 16px;
  }

  .job-role {
    padding-top: 0;
  }

  .stack-col,
  .outside > div {
    grid-column: span 6;
  }

  .project {
    margin-top: 90px;
  }

  .fig,
  .project-text {
    grid-row: auto;
  }

  .project-text {
    margin-top: 30px;
  }

  .honour-y {
    grid-column: 1 / 7;
  }

  .honour-r {
    grid-column: 7 / 13;
    grid-row: 1;
  }

  .honour-t {
    margin-top: 10px;
  }

  .honour-d {
    margin-top: 12px;
  }

  .essay-q {
    grid-row: auto;
    margin-top: 12px;
  }

  .foot > p:first-child {
    grid-column: 1 / 7;
  }

  .foot-r {
    grid-column: 7 / 13;
  }

  .foot-mid {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 10px;
  }

  .grid-overlay span:nth-child(n + 7) {
    display: none;
  }

  .grid-overlay {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .top-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}

@media (max-width: 600px) {
  .stack-col,
  .outside > div {
    grid-column: 1 / -1;
  }

  .section {
    padding-top: 120px;
  }

  .motto {
    padding-block: 18vh;
  }

  .reader-head {
    padding-block: 40px 28px;
  }

  .reader-body {
    padding-block: 36px 52px;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .top,
  .menu,
  .reader-top,
  .reader-nav,
  .toast {
    display: none !important;
  }

  .reader {
    position: static;
    overflow: visible;
    background: #fff;
    color: #000;
  }

  .reader-prose,
  .reader-title-wrap,
  .reader-quote {
    grid-column: 1 / -1;
  }
}

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

  :root {
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal],
  .js .display[data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}
