/* Native CSS. Design variance 5, motion intensity 3, visual density 2.
   The three project entries are the entire content; decoration has no copy. */
:root {
  color-scheme: light dark;
  --page: #f7f8f6;
  --ink: #242a27;
  --secondary: #555e58;
  --line: #d6dcd6;
  --mark: #89958c;
  --accent: #315a46;
  --hover: #edf1eb;
  font-family: "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
main {
  min-height: 100dvh;
  display: grid;
  align-content: center;
  padding: clamp(56px, 10vh, 112px) clamp(24px, 8vw, 128px);
}
.projects { width: 100%; max-width: 1200px; margin-inline: auto; }
.project {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  min-height: clamp(164px, 24vh, 208px);
  padding-block: 32px;
}
.project + .project { border-top: 1px solid var(--line); }
h1, h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 55px);
  line-height: 1.14;
  letter-spacing: -.055em;
  font-weight: 500;
}
nav { display: flex; align-items: center; gap: 16px; }
a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.5;
}
a span { display: inline-block; font-family: Arial, sans-serif; font-size: 20px; line-height: 1; }
a:hover { color: var(--accent); background: var(--hover); }
a:active { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--page); background: var(--accent); }
.mark { width: 64px; height: 64px; position: relative; color: var(--mark); }
.mark i { display: block; position: absolute; border: 1px solid currentColor; }
.mark-buddy i { width: 30px; height: 38px; border-radius: 4px; top: 13px; }
.mark-buddy i:first-child { left: 7px; transform: rotate(-12deg); }
.mark-buddy i:last-child { right: 7px; transform: rotate(12deg); background: var(--page); }
.mark-tarot i { width: 26px; height: 39px; border-radius: 4px; top: 12px; left: 19px; background: var(--page); }
.mark-tarot i:first-child { transform: translateX(-10px) rotate(-18deg); }
.mark-tarot i:last-child { transform: translateX(10px) rotate(18deg); }
.mark-orchestrai i { width: 38px; height: 38px; border-radius: 50%; }
.mark-orchestrai i:nth-child(1) { top: 5px; left: 13px; }
.mark-orchestrai i:nth-child(2) { top: 23px; left: 3px; }
.mark-orchestrai i:nth-child(3) { top: 23px; left: 23px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a span { transition: transform 180ms ease; }
  a:hover span { transform: translate(2px, -2px); }
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #191e1b;
    --ink: #e4eae4;
    --secondary: #b5c0b7;
    --line: #353e37;
    --mark: #7f9385;
    --accent: #b0cfb8;
    --hover: #27312a;
  }
}
@media (max-width: 767px) {
  main { padding: 40px 24px; }
  .project { grid-template-columns: 48px minmax(0, 1fr); gap: 20px; min-height: 190px; padding-block: 32px; }
  .mark { width: 64px; height: 64px; transform: scale(.75); transform-origin: left center; }
  h1, h2 { font-size: clamp(26px, 5.5vw, 38px); letter-spacing: -.045em; }
  nav { grid-column: 2; gap: 16px; margin-left: -14px; margin-top: -12px; }
}
@media (max-width: 359px) {
  main { padding-inline: 20px; }
  .project { grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
  .mark { transform: scale(.56); }
  h1, h2 { font-size: 25px; }
}
