:root { --font-sans: 'Liberation Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; --font-mono: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, Consolas, 'Liberation Mono', 'DejaVu Sans Mono', monospace; --ink: #0c0c0c; --muted: #9d9d9d; --hatch-base: #e9e9e9; --hatch-line: #fbfbfb; --page-pad: 16px; --gap-x: 10px; --gap-y: 26px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } .page { padding: 0 var(--page-pad); } /* ---------- header ---------- */ .site-header { display: flex; align-items: baseline; padding-top: 18px; } .brand { font-size: 16px; line-height: 22px; font-weight: 700; letter-spacing: -0.01em; color: #000; text-decoration: none; } .brand:active { opacity: 0.4; } .site-nav { margin-left: auto; width: 50%; display: flex; justify-content: space-between; align-items: baseline; } .nav-link { font-family: var(--font-mono); font-size: 11px; line-height: 22px; letter-spacing: 0.05em; text-transform: uppercase; color: #000; text-decoration: none; transition: opacity 0.15s ease; } .nav-link:hover { text-decoration: underline; text-underline-offset: 3px; } .nav-link:active { opacity: 0.35; } /* ---------- hero ---------- */ .hero { margin: 165px 0 0; max-width: 468px; font-size: 26px; line-height: 27px; font-weight: 600; letter-spacing: -0.02em; color: #0a0a0a; } .hero-main { display: block; } .hero-muted { display: block; color: var(--muted); } /* ---------- project sections ---------- */ .project { padding-top: 118px; } main > .project:first-child { padding-top: 202px; } .project-head { display: flex; align-items: center; } .project-title { margin: 0; font-size: 15px; line-height: 22px; font-weight: 700; letter-spacing: 0; } .project-name { color: #000; text-decoration: none; } .project-name:hover { text-decoration: underline; text-underline-offset: 3px; } .project-meta { font-weight: 400; color: var(--muted); letter-spacing: 0.01em; } .plus { margin-left: 16px; padding: 0; border: 0; background: none; color: #111; cursor: pointer; display: inline-flex; align-items: center; transition: transform 0.2s ease; } .plus:hover { transform: rotate(45deg); } .plus:active { opacity: 0.4; } .views { margin-left: auto; display: flex; align-items: center; gap: 13px; } .view-btn { padding: 2px; border: 0; background: none; color: #cfcfcf; cursor: pointer; display: inline-flex; transition: color 0.15s ease; } .view-btn svg rect { fill: currentColor; } .view-btn:hover, .view-btn.active { color: #000; } .view-btn:active { opacity: 0.5; } /* ---------- grid ---------- */ .grid { margin-top: 11px; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); column-gap: var(--gap-x); row-gap: var(--gap-y); align-items: start; } .cell { display: block; width: 100%; overflow: hidden; background: #f5f5f5; transition: opacity 0.18s ease, transform 0.12s ease; } .cell:hover { opacity: 0.9; } .cell:active { transform: scale(0.988); } .cell img { display: block; width: 100%; height: 100%; object-fit: cover; } .cell .hatch { display: block; width: 100%; height: 100%; background: repeating-linear-gradient( 135deg, var(--hatch-base) 0px, var(--hatch-base) 9.6px, var(--hatch-line) 9.6px, var(--hatch-line) 11.7px ); } /* ---------- footer ---------- */ .footer { display: flex; align-items: flex-start; padding: 145px 0 32px; } .footer-title { margin: 14px 0 0; font-size: 44px; line-height: 1.1; font-weight: 400; letter-spacing: -0.015em; color: #050505; } .footer-links { margin-left: auto; width: 50%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; } .footer-link { font-family: var(--font-mono); font-size: 11px; line-height: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: #111; text-decoration: none; } .footer-link:hover { text-decoration: underline; text-underline-offset: 3px; } .footer-link:active { opacity: 0.35; } /* ---------- responsive ---------- */ @media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, 1fr); } .grid .cell { margin-top: 0 !important; } .views { display: none; } .site-nav { width: 62%; } .project { padding-top: 90px; } main > .project:first-child { padding-top: 140px; } } @media (max-width: 760px) { .site-header { flex-wrap: wrap; } .site-nav { width: 100%; margin-top: 14px; justify-content: flex-start; flex-wrap: wrap; gap: 4px 20px; } .hero { margin-top: 96px; font-size: 22px; line-height: 23px; max-width: 368px; } .project { padding-top: 72px; } main > .project:first-child { padding-top: 110px; } .footer { flex-direction: column; gap: 44px; padding: 96px 0 32px; } .footer-title { margin-top: 0; font-size: 32px; } .footer-links { margin-left: 0; width: auto; } } @media (max-width: 480px) { .grid { grid-template-columns: 1fr; } }