@font-face {
  font-family: "Commit Mono";
  src: url("../assets/fonts/commit-mono-variable.woff2") format("woff2-variations");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/fonts/ibm-plex-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/fonts/ibm-plex-sans-medium.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #080808;
  --surface: #0d0d0e;
  --surface-raised: #121214;
  --text: #f1f1ed;
  --soft: #c2c2bc;
  --muted: #9b9b94;
  --line: #29292b;
  --line-strong: #414144;
  --accent: #537cff;
  --sans: "IBM Plex Sans", Arial, sans-serif;
  --mono: "Commit Mono", "IBM Plex Mono", monospace;
  --page: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px) 0 0 / 100% 56px,
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  color: #fff;
  background: #315fdc;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 9px 13px;
  color: #080808;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-150%);
}

.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-width {
  width: min(calc(100% - 48px), var(--page));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  position: relative;
  width: min(calc(100% - 48px), var(--page));
  height: 100%;
  margin-inline: auto;
  padding-right: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand,
.site-nav,
.eyebrow,
.section-label,
.project-header,
.project-details h4,
.project footer,
.archive-heading,
.archive small,
.archive > a > span,
.role time,
.role-stack,
.about-facts dt,
.socials,
.site-footer small,
.error-code {
  font-family: var(--mono);
}

.brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 52px);
  font-size: 12px;
}

.site-nav a {
  position: relative;
  padding: 25px 0 22px;
  color: var(--muted);
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 200ms var(--ease);
  content: "";
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.dog-button {
  --dog-look-x: 0px;
  --dog-look-rotate: 0deg;
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 54px;
  height: 74px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dog-illustration {
  position: relative;
  width: 54px;
  height: 74px;
  display: block;
  transform-origin: 50% 100%;
  animation: anime-dog-breathe 3.8s ease-in-out infinite;
}

.dog-illustration img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dog-body-layer {
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.38));
  transform: translateX(var(--dog-look-x)) rotate(var(--dog-look-rotate));
  transform-origin: 50% 82%;
  transition: filter 200ms ease, transform 280ms var(--ease);
}

.dog-tail-layer {
  transform-origin: 26% 65%;
  animation: anime-tail-wag 2.8s ease-in-out infinite;
}

.dog-label {
  position: absolute;
  top: calc(100% + 3px);
  right: 0;
  width: max-content;
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 200ms var(--ease), color 160ms ease;
  pointer-events: none;
}

.dog-button:hover .dog-label,
.dog-button:focus-visible .dog-label,
.dog-button.is-petted .dog-label {
  color: var(--text);
  opacity: 1;
  transform: translateY(0);
}

.dog-blink {
  position: absolute;
  top: 28.5%;
  width: 23%;
  height: 13%;
  border-bottom: 2px solid #17151d;
  border-radius: 48% 48% 54% 54%;
  background: #f7f4ed;
  opacity: 0;
  transform: scaleY(0.2);
  animation: anime-dog-blink 5.4s linear infinite;
}

.dog-blink-left {
  left: 24%;
  transform: scaleY(0.2) rotate(-4deg);
}

.dog-blink-right {
  right: 22%;
  transform: scaleY(0.2) rotate(4deg);
}

.dog-tongue {
  position: absolute;
  top: 42.5%;
  left: 49%;
  z-index: 2;
  width: 12%;
  height: 8.5%;
  border: 1px solid #2e242d;
  border-top: 0;
  border-radius: 3px 3px 50% 50%;
  background: #e98798;
  box-shadow: inset 0 -2px 0 rgba(125, 55, 75, 0.24);
  transform: translateX(-50%) scaleY(0.72);
  transform-origin: 50% 0;
  animation: anime-tongue-idle 2.8s ease-in-out infinite;
}

.dog-spark {
  position: absolute;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
}

.dog-spark-one {
  top: 13%;
  left: 0;
}

.dog-spark-two {
  top: 24%;
  right: -5%;
  font-size: 10px;
}

.dog-button:hover .dog-body-layer,
.dog-button:focus-visible .dog-body-layer {
  filter: drop-shadow(0 7px 8px rgba(0, 0, 0, 0.48)) saturate(1.08);
  transform: translate(var(--dog-look-x), -3px) rotate(var(--dog-look-rotate));
}

.dog-button:not(.is-petted):hover .dog-illustration,
.dog-button:not(.is-petted):focus-visible .dog-illustration {
  animation: anime-dog-curious 1.4s ease-in-out infinite;
}

.dog-button:hover .dog-tail-layer,
.dog-button:focus-visible .dog-tail-layer {
  animation-duration: 340ms;
}

.dog-button:hover .dog-tongue,
.dog-button:focus-visible .dog-tongue {
  transform: translateX(-50%) scaleY(1.05);
}

.dog-button.is-petted .dog-illustration {
  animation: anime-dog-petted 1.05s var(--ease) 1;
}

.dog-button.is-petted .dog-body-layer {
  animation: anime-dog-wiggle 1.05s var(--ease) 1;
}

.dog-button.is-petted .dog-tail-layer {
  animation: anime-tail-happy 160ms ease-in-out 7;
}

.dog-button.is-petted .dog-tongue {
  animation: anime-tongue-happy 1.05s var(--ease) 1;
}

.dog-button.is-petted .dog-spark-one {
  animation: dog-spark-pop 1.05s var(--ease) 1;
}

.dog-button.is-petted .dog-spark-two {
  animation: dog-spark-pop 1.05s 80ms var(--ease) 1;
}

.hero {
  padding-top: clamp(92px, 10vw, 118px);
  padding-bottom: clamp(70px, 8vw, 88px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.45fr);
  gap: clamp(54px, 8vw, 96px);
  align-items: end;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.project-header h3,
.role h3,
.contact h2,
.error-title {
  font-family: var(--mono);
}

.hero h1 {
  max-width: 900px;
  margin: 30px 0 0;
  font-size: clamp(38px, 4.5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.hero-copy {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-note {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.hero-facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.hero-facts > div {
  padding: 16px 0 17px;
}

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

.hero-facts dt,
.about-facts dt {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
}

.page-section {
  padding-block: clamp(68px, 8vw, 90px);
  border-top: 1px solid var(--line-strong);
}

.section-heading {
  margin-bottom: clamp(48px, 6vw, 64px);
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.section-heading h2 {
  margin: -8px 0 0;
  font-size: clamp(30px, 3.7vw, 42px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.section-heading > div > p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--soft);
  font-size: 16px;
}

.projects {
  border-top: 1px solid var(--line-strong);
}

.project {
  position: relative;
  padding-block: clamp(42px, 5vw, 56px);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 20px;
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms ease, background 180ms ease;
}

.project::before {
  position: absolute;
  top: 42px;
  bottom: 42px;
  left: -16px;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleY(0.45);
  transform-origin: 50% 0;
  transition: opacity 180ms ease, transform 260ms var(--ease);
  content: "";
}

.project:hover {
  border-color: var(--line-strong);
  background: linear-gradient(90deg, rgba(83, 124, 255, 0.025), transparent 58%);
}

.project:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.project-header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 220px;
  align-items: baseline;
  gap: 20px;
}

.project-number {
  color: var(--accent);
  font-size: 12px;
}

.project-header h3 {
  margin: 0;
  font-size: clamp(27px, 3.2vw, 36px);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1;
}

.project-header > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.project-content {
  grid-column: 2 / -1;
}

.project-summary {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
}

.project-details {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 6vw, 76px);
}

.project-details h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-details p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.7;
}

.project footer {
  margin: 34px 0 0;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.025em;
}

.project footer a,
.archive a,
.socials a,
.email-link {
  transition: color 160ms ease;
}

.project footer a:hover,
.archive a:hover,
.socials a:hover,
.email-link:hover {
  color: var(--text);
}

.project:hover footer a {
  color: var(--accent);
}

.archive {
  margin-top: clamp(54px, 7vw, 72px);
}

.archive-heading {
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.archive-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.archive > a {
  min-height: 76px;
  padding: 17px 0;
  display: grid;
  grid-template-columns: 34px minmax(120px, 0.7fr) minmax(260px, 1.8fr) auto;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--soft);
  transition: color 160ms ease, background 160ms ease;
}

.archive > a:last-child {
  border-bottom: 1px solid var(--line);
}

.archive > a > span,
.archive small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}

.archive strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
}

.archive p {
  margin: 0;
  font-size: 14px;
}

.archive > a:hover {
  background: rgba(255, 255, 255, 0.018);
}

.archive small {
  text-align: right;
}

.roles {
  border-top: 1px solid var(--line-strong);
}

.role {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.role-rail {
  position: relative;
  padding: 50px 34px 50px 0;
  border-right: 1px solid var(--line);
}

.role-rail::after {
  position: absolute;
  top: 57px;
  right: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--bg);
  content: "";
}

.role-content {
  padding: 48px 0 50px 46px;
}

.role header {
  display: block;
}

.role h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.035em;
}

.role header p {
  margin: 5px 0 0;
  color: var(--soft);
  font-size: 14px;
}

.role-rail time {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.role ul {
  max-width: 780px;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--soft);
  font-size: 15px;
  list-style: none;
}

.role li {
  position: relative;
  padding-left: 22px;
}

.role li::before {
  position: absolute;
  left: 0;
  color: var(--muted);
  content: "—";
}

.role-stack {
  max-width: 850px;
  margin: 30px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.8;
  text-transform: uppercase;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(60px, 9vw, 110px);
}

.about-copy p {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.about-copy p + p {
  margin-top: 26px;
  color: var(--soft);
}

.about-facts {
  margin: 0;
}

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

.about-facts > div:last-child {
  border-bottom: 1px solid var(--line);
}

.about-facts dd {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.65;
}

.contact {
  padding-top: clamp(86px, 11vw, 126px);
  border-top: 1px solid var(--line-strong);
}

.contact-copy h2 {
  max-width: 800px;
  margin: 28px 0 0;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.contact-copy > p:not(.section-label) {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--soft);
  font-size: 17px;
}

.email-link {
  width: fit-content;
  margin-top: 30px;
  padding-bottom: 4px;
  display: block;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: clamp(16px, 2vw, 21px);
  letter-spacing: -0.025em;
}

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

.site-footer {
  margin-top: clamp(88px, 12vw, 140px);
  padding: 34px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(44px, 9vw, 110px);
  align-items: end;
  border-top: 1px solid var(--line-strong);
}

.footer-meta {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  align-items: flex-start;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-size: 13px;
}

.footer-meta > p {
  margin: 30px 0 0;
  color: var(--soft);
  font-size: 14px;
}

.site-footer small {
  margin-top: auto;
  color: var(--muted);
  font-size: 11px;
}

.footer-art {
  margin: 0;
}

.footer-art img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.08);
  opacity: 0.7;
  transition: filter 260ms ease, opacity 260ms ease;
}

.footer-art:hover img {
  filter: grayscale(0.15);
  opacity: 1;
}

.footer-art figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.error-shell {
  width: min(720px, 100%);
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.error-code {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
}

.error-title {
  margin: 0;
  font-size: clamp(40px, 7vw, 66px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.error-copy {
  margin: 22px 0 30px;
  color: var(--soft);
}

.error-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
}

@keyframes anime-dog-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(1px) scale(1.008, 0.992); }
  55% { transform: translateY(1px) scale(1.008, 0.992); }
}

@keyframes anime-dog-blink {
  0%, 44%, 47%, 50%, 100% { opacity: 0; }
  45%, 46%, 48%, 49% { opacity: 0.96; }
}

@keyframes anime-tail-wag {
  0%, 52%, 100% { transform: rotate(-3deg); }
  61% { transform: rotate(8deg); }
  69% { transform: rotate(-6deg); }
  77% { transform: rotate(10deg); }
  86% { transform: rotate(-3deg); }
}

@keyframes anime-tail-happy {
  0%, 100% { transform: rotate(-9deg); }
  50% { transform: rotate(14deg); }
}

@keyframes anime-tongue-idle {
  0%, 100% { transform: translateX(-50%) scaleY(0.72); }
  50% { transform: translateX(-50%) scaleY(0.86); }
}

@keyframes anime-tongue-happy {
  0%, 100% { transform: translateX(-50%) scaleY(0.72); }
  32%, 72% { transform: translateX(-50%) scaleY(1.2); }
}

@keyframes anime-dog-petted {
  0%, 100% { transform: translateY(0) scale(1); }
  28% { transform: translateY(-9px) scale(1.04, 0.97); }
  52% { transform: translateY(1px) scale(0.98, 1.025); }
  72% { transform: translateY(-5px) scale(1.015, 0.99); }
}

@keyframes anime-dog-curious {
  0%, 100% { transform: translateY(0) rotate(0); }
  45% { transform: translateY(-2px) rotate(-1deg); }
  55% { transform: translateY(-2px) rotate(1deg); }
}

@keyframes anime-dog-wiggle {
  0%, 100% { transform: rotate(0); }
  28% { transform: rotate(-4deg); }
  52% { transform: rotate(5deg); }
  72% { transform: rotate(-2deg); }
}

@keyframes dog-spark-pop {
  0%, 18%, 100% { opacity: 0; transform: translateY(4px) scale(0.4) rotate(0); }
  38%, 68% { opacity: 1; transform: translateY(-4px) scale(1) rotate(18deg); }
}

@media (max-width: 800px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-facts > div {
    padding-right: 18px;
  }

  .hero-facts > div + div {
    padding-left: 18px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .section-heading {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 30px;
  }

  .project-header {
    grid-template-columns: 40px minmax(0, 1fr) 180px;
    gap: 16px;
  }

  .project {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
  }

  .role {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .role-rail {
    padding-right: 24px;
  }

  .role-content {
    padding-left: 32px;
  }

  .archive > a {
    grid-template-columns: 30px 120px minmax(180px, 1fr);
  }

  .archive small {
    grid-column: 2 / -1;
    text-align: left;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 118px;
  }

  .page-width,
  .nav-shell {
    width: min(calc(100% - 36px), var(--page));
  }

  .site-header {
    height: 104px;
  }

  .nav-shell {
    padding: 0 58px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 48px 56px;
    gap: 0;
  }

  .brand {
    align-self: center;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: calc(100vw - 36px);
    align-self: stretch;
    justify-content: space-between;
    gap: 14px;
    padding-right: 54px;
    font-size: 11px;
  }

  .site-nav a {
    padding: 17px 0 15px;
  }

  .dog-button {
    top: 0;
    right: 0;
    bottom: auto;
    width: 48px;
    height: 66px;
  }

  .dog-illustration {
    width: 48px;
    height: 66px;
  }

  .dog-label {
    top: calc(100% + 3px);
    font-size: 9px;
  }

  .hero {
    padding-top: 76px;
    padding-bottom: 66px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.08;
  }

  .hero-copy {
    margin-top: 28px;
    font-size: 18px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts > div {
    padding: 15px 0;
  }

  .hero-facts > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-section {
    padding-block: 64px;
  }

  .section-heading {
    margin-bottom: 48px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading h2 {
    margin-top: 0;
    font-size: 34px;
  }

  .project {
    padding-block: 40px;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 12px;
  }

  .project-header {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
  }

  .project-header > p {
    grid-column: 2;
    text-align: left;
  }

  .project-content {
    grid-column: 2 / -1;
  }

  .project-details {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .archive > a {
    padding: 18px 0;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .archive p {
    grid-column: 2 / -1;
  }

  .archive small {
    grid-column: auto;
    grid-row: 1;
    text-align: right;
  }

  .role {
    grid-template-columns: 1fr;
  }

  .role-rail {
    padding: 28px 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .role-rail::after {
    top: auto;
    right: auto;
    bottom: -4px;
    left: 0;
  }

  .role-content {
    padding: 30px 0 44px;
  }

  .contact {
    padding-top: 76px;
  }

  .site-footer {
    margin-top: 84px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-meta {
    min-height: 170px;
  }

  .footer-art {
    width: min(100%, 320px);
  }
}

@media (max-width: 390px) {
  .site-nav {
    gap: 9px;
    font-size: 10px;
  }

  .project-content {
    grid-column: 1 / -1;
  }

  .archive small {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.00001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.00001ms !important;
  }
}
