@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f1ede7;
  background: #245156;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }

.page {
  width: min(100% - 44px, 880px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(42px, 8vh, 92px) 0 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro { width: 100%; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.interactive-logo { width: min(100%, 760px); margin: 0 auto; }
.dna-letters { display: block; width: 100%; height: auto; }
.mm-letters { display: grid; grid-template-columns: 1fr 1fr; gap: 2%; margin-top: 2%; }
.person { display: block; color: #f1ede7; text-decoration: none; outline-offset: 6px; }
.person:focus-visible { outline: none; }
.person:focus-visible .person-name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.person svg { display: block; width: 100%; height: auto; overflow: visible; }
.person .letter { fill: #f1ede7; }
.person-name { display: inline-block; min-height: 1.5em; margin-top: 1px; font-size: clamp(1.75rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.05em; opacity: 0; transform: translateY(-5px); transition: opacity 180ms ease, transform 180ms ease; }
.person-name span { margin-left: 3px; font-size: 1.1em; }
.person:is(:hover, :focus-visible, :active) .person-name { opacity: 1; transform: none; }

.projects { width: min(100%, 780px); margin-top: clamp(52px, 9vh, 88px); display: grid; gap: 14px; }
.project {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
  min-height: 130px;
  padding: 16px 25px 16px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.project:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16); }
.project:focus-visible { outline: 3px solid #f1ede7; outline-offset: 3px; }
.project-kido { background: #f4efe7; color: #454d40; }
.project-group { background: #f1ede7; color: #245156; }
.project-drone { background: #03060d; color: #eef5ff; }
.project-logo { width: 170px; height: 96px; display: block; object-fit: contain; }
.project-logo-kido { padding: 8px; }
.project-copy { display: grid; gap: 5px; min-width: 0; }
.project-copy strong { font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 650; letter-spacing: -0.045em; }
.project-copy span { font-size: 0.87rem; letter-spacing: 0.005em; opacity: 0.75; }
.project-arrow { align-self: center; font-size: 1.55rem; font-weight: 300; line-height: 1; }

footer { margin-top: auto; padding-top: 45px; font-size: 0.75rem; letter-spacing: 0.08em; opacity: 0.65; }

@media (max-width: 480px) {
  .page { width: min(100% - 34px, 880px); padding-top: 42px; }
  .interactive-logo { width: 100%; }
  .person-name { font-size: clamp(1.4rem, 6.5vw, 1.75rem); }
  .projects { margin-top: 55px; }
  .project { grid-template-columns: 106px 1fr auto; min-height: 100px; gap: 10px; padding: 12px 14px 12px 10px; }
  .project-logo { width: 106px; height: 70px; }
  .project-logo-kido { padding: 4px; }
  .project-copy strong { font-size: 1.05rem; }
  .project-copy span { font-size: 0.72rem; }
}

@media (hover: none) {
  .person-name { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .project, .person-name { transition: none; }
}
