:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #1b1916;
  --muted: #6b665e;
  --line: #dedad0;
  --orange: #ca4511;
  --link: var(--orange);
  --page-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #f7d5c3;
}

.page {
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
  padding: 76px 0 52px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 6px 9px;
  background: var(--ink);
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  transform: translateY(-160%);
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange);
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 36px;
  align-items: start;
  margin-bottom: 76px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.dek {
  max-width: 500px;
  margin-bottom: 13px;
  color: #333333;
  font-size: 1.05rem;
}

.contact {
  margin-bottom: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
}

.contact span {
  margin: 0 7px;
  color: #aaaaaa;
}

.portrait {
  display: block;
  width: 112px;
  height: 112px;
  border: 1px solid var(--line);
  border-radius: 3px;
  object-fit: cover;
}

section {
  margin-bottom: 72px;
  scroll-margin-top: 24px;
}

h2 {
  margin-bottom: 27px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

h2 span {
  color: var(--orange);
}

.about-list {
  display: grid;
  gap: 26px;
}

.about-entry {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.org-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(27, 25, 22, 0.12);
  object-fit: cover;
}

.about-entry p {
  margin-bottom: 0;
}

.about-entry strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.79rem;
  font-weight: 700;
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  margin-bottom: 16px;
}

.plain-list li:last-child {
  margin-bottom: 0;
}

.plain-list a {
  font-weight: 700;
}

.plain-list span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.92rem;
}

.video-list {
  display: grid;
  gap: 40px;
}

.video-item h3 {
  margin-bottom: 9px;
  font-size: 1rem;
  line-height: 1.35;
}

.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #cccccc;
  background: #000000;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
}

@media (max-width: 560px) {
  .page {
    width: min(calc(100% - 30px), var(--page-width));
    padding-top: 42px;
  }

  .intro {
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 20px;
    margin-bottom: 58px;
  }

  h1 {
    font-size: 1.9rem;
  }

  .portrait {
    width: 82px;
    height: 82px;
  }

  .contact {
    line-height: 1.9;
  }

  section {
    margin-bottom: 58px;
  }

  .video-list {
    gap: 34px;
  }
}

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