@font-face {
  font-family: Manrope;
  src: url("catalog-assets/manrope-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("catalog-assets/manrope-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #19252c;
  --muted: #58656e;
  --line: #dce2e6;
  --accent: #245bc3;
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scrollbar-color: #a6b2bb #f1f4f6;
}
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 1536px; padding: 0 64px; }
::selection { background: #dce8fa; color: var(--ink); }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
.skip { position: absolute; top: -100px; padding: 12px 20px; background: var(--ink); color: white; z-index: 10; }
.skip:focus { top: 12px; }
.masthead { display: flex; justify-content: space-between; align-items: center; padding: 32px 0; font-size: 14px; }
.masthead a { font-weight: 600; font-size: 17px; }
.masthead span { color: var(--muted); }
.intro { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; padding: 62px 0 55px; }
h1 { font-size: clamp(40px, 4.7vw, 68px); line-height: 1.1; letter-spacing: -.04em; font-weight: 600; margin: 0; text-wrap: balance; }
.intro p { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 35ch; margin: 0 0 4px auto; }
nav { display: flex; align-items: center; gap: 30px; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
nav a:hover, footer a:hover, .masthead a:hover { color: var(--accent); text-decoration: underline; }
nav span { margin-left: auto; color: var(--muted); font-size: 12px; }
section { scroll-margin-top: 24px; padding-top: 50px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
h2 { font-weight: 600; font-size: 25px; letter-spacing: -.025em; margin: 0; }
.section-heading span { color: var(--muted); font-size: 12px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; }
.project { display: block; height: 100%; }
.preview { aspect-ratio: 1200 / 630; background: #f0f3f5; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; transition: transform 220ms cubic-bezier(.16,1,.3,1); }
.preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.project:hover .preview, .project:focus-visible .preview { transform: translateY(-4px); }
.caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 19px; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; margin: 0; }
.caption svg { flex-shrink: 0; width: 17px; height: 17px; color: var(--muted); }
.project:hover h3 { color: var(--accent); }
.project p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 9px 0 12px; max-width: 44ch; }
.domain { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; border-top: 1px solid var(--line); padding: 26px 0 36px; margin-top: 80px; font-size: 11px; color: var(--muted); }
footer p { margin: 0; }
footer p:first-child { color: var(--ink); font-size: 13px; }
@media (max-width: 1000px) {
  body { padding: 0 32px; }
  .intro { gap: 24px; padding-top: 45px; }
  .intro p { font-size: 16px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { padding: 0 22px; }
  .masthead { padding: 25px 0; font-size: 11px; }
  .masthead a { font-size: 15px; }
  .intro { display: block; padding: 35px 0; }
  h1 { font-size: 40px; }
  .intro p { margin: 22px 0 0; font-size: 15px; max-width: 35ch; }
  nav { flex-wrap: wrap; gap: 18px; font-size: 12px; padding: 20px 0; }
  nav span { display: none; }
  section { padding-top: 35px; }
  h2 { font-size: 22px; }
  .gallery { grid-template-columns: 1fr; gap: 32px; }
  .caption { margin-top: 16px; }
  footer { margin-top: 50px; display: grid; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .preview { transition: none; }
  .project:hover .preview, .project:focus-visible .preview { transform: none; }
}
