@font-face {
  font-family: "DotGothic16";
  src: url("fonts/DotGothic16-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "HackGenConsole";
  src: url("fonts/HackGenConsole-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #2A2A2A;
  --ink: #ffffff;
  --lightblue: #badcf6;
  --line: #2a2a2a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,'Yu Gothic',Meiryo,sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--lightblue);
}

.site {
  width: 100%;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--paper);
  padding: 15px;
  z-index: 10;
}

.skip:focus {
  top: 15px;
}

.wordmark {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.8px;
}

nav {
  display: flex;
  gap: 35px;
  font-size: 13px;
}

nav a {
  padding: 12px 0;
}

.hero {
  display: grid;
  align-items: center;
  min-height: clamp(460px, 41.86vw, 820px);
  padding: 64px 0;
  color: #ffffff;
  background-color: #201923;
  background-image:
    linear-gradient(90deg, rgba(12, 15, 24, .72) 0%, rgba(12, 15, 24, .46) 43%, rgba(12, 15, 24, .08) 50%),
    url("images/20260820000110.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero h1 {
  font-family: 'DotGothic16', sans-serif;
  font-size: clamp(64px, 8vw, 146px);
  font-weight: 500;
  letter-spacing: 0em;
  line-height: 1.04;
  margin: 0 0 36px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .2);
}

.hero h1 span {
  color: #badcf6;
}

.hero .hero-intro {
  font-family: 'DotGothic16', sans-serif;
  font-size: 1.75rem;
  line-height: 2.15;
  margin: 0;
}

.hero .accent-letter1 {
  color: #ff8fb3;
}

.hero .accent-letter2 {
  color: #84C98B;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lightblue);
  flex-shrink: 0;
}

p {
  font-family: 'HackGenConsole', sans-serif;
  font-size: 18px;
  line-height: 2.15;
  margin: 0 0 21px;
}

.section {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 20px;
  padding: 66px 0;
}

.section-label {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 10px;
  letter-spacing: 1.5px;
}

.section-label .section-heading {
  letter-spacing: 1px;
  color: #747b70;
  font-size: 18px;
}

.about-label {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.about-label-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 332px);
  margin-top: 24px;
}

.about-label-images .about-label-image {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0;
}

h2 {
  font-family: 'HackGenConsole', sans-serif;
  font-size: 27px;
  letter-spacing: .03em;
  font-weight: 500;
  margin: 0 0 26px;
}

.work-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #eeeee6;
  border-radius: 5px;
  overflow: hidden;
}

.work-art {
  min-height: 255px;
  position: relative;
  background: #e0e5d3;
  display: grid;
  place-items: center;
}

.paper {
  position: absolute;
  width: 136px;
  height: 168px;
  border: 1px solid #d3d7c7;
  border-radius: 2px;
}

.paper-back {
  background: #b7c79e;
  transform: rotate(-13deg);
  left: calc(50% - 81px);
  top: 41px;
}

.paper-front {
  background: #f8f8f1;
  transform: rotate(8deg);
  font-size: 90px;
  font-weight: 600;
  letter-spacing: -8px;
  line-height: 1.2;
  padding: 5px 18px;
  box-shadow: 6px 8px 20px #25332510;
}

.paper-front span {
  display: block;
  font-size: 9px;
  letter-spacing: 0;
  line-height: 1.5;
  font-weight: 400;
}

.work-number {
  position: absolute;
  bottom: 14px;
  left: 17px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #57624e;
}

.work-description {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0;
}

.tag {
  font-size: 9px;
  color: #59664e;
  border: 1px solid #bfc8b5;
  border-radius: 20px;
  padding: 3px 8px;
}

.work-description p {
  font-size: 12px;
  line-height: 2;
  margin: 17px 0 26px;
}

.category {
  font-size: 8px;
  letter-spacing: 1px;
  color: #687160;
}

.coming {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: #5e6b55;
  margin-top: 32px;
}

.links {
  padding-bottom: 85px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
}

footer>span {
  font-size: 16px;
  color: #ffffff;
}

footer>a:last-child {
  font-size: 16px;
}

footer .credit-link {
  color: #badcf6;
}

footer .credit-link:hover {
  color: #badcf6;
}

.section,.hero {
  animation: enter .6s ease-out;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media(max-width:1000px) {
.work-card {
    grid-template-columns: 1fr;
  }
  .work-art {
    min-height: 230px;
  }
}

@media(max-width:650px) {
header {
    height: 85px;
  }
  nav {
    gap: 20px;
    font-size: 12px;
  }
  .wordmark {
    font-size: 24px;
  }
.section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .section-label {
    flex-direction: row;
    justify-content: space-between;
  }

  .section-label.about-label {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .about-label-images {
    margin-inline: auto;
  }
  h2 {
    font-size: 23px;
  }
  p {
    font-size: 13px;
  }
  .work-card {
    grid-template-columns: 1fr;
  }
  .work-art {
    min-height: 240px;
  }
  .work-description {
    padding: 27px;
  }
  .links {
    padding-bottom: 55px;
  }
  footer {
    flex-wrap: wrap;
    padding: 25px 0;
    gap: 16px;
  }
  footer>span {
    order: 3;
    width: 100%;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  .section,.hero {
    animation: none;
  }
}

.content-width {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 7.2%;
}

@media (min-width: 1500px) {
  .content-width {
    padding-inline: 100px;
  }
}

@media (max-width: 650px) {
  .content-width {
    padding-inline: 7%;
  }
  .hero {
    min-height: 520px;
    padding-block: 56px;
    background-position: center, 65% center;
  }
  .hero h1 {
    font-size: clamp(46px, 11.5vw, 74px);
    margin-bottom: 28px;
  }
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.topic-card {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: clamp(320px, 34vw, 640px);
  padding: clamp(24px, 4vw, 72px);
  color: #ffffff;
  background-color: #20232c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 12, 22, .46);
  transition: background .2s ease;
}

.topic-video-games {
  background-image: url("images/Video Games.png");
}

.topic-video-games .accent-letter1 {
  color: #ff8fb3;
}

.topic-technology {
  background-image: url("images/Technology.png");
}

.topic-technology .accent-letter2 {
  color: #84c98b;
}

.topic-card h2 {
  margin: 0;
  font-size: clamp(2rem, 1rem + 3.2vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
}

.topic-card:hover,
.topic-card:focus-visible {
  color: #ffffff;
}

.topic-card:hover::before,
.topic-card:focus-visible::before {
  background: rgba(8, 12, 22, .32);
}

.topic-card:focus-visible {
  outline: 4px solid #ffffff;
  outline-offset: -8px;
}

@media (max-width: 650px) {
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .topic-card {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topic-card::before {
    transition: none;
  }
}
