/* Minimal project portfolio. Everything here can be changed without build tools. */
:root {
  --bg: #171a1b;
  --ink: #e6e9e8;
  --secondary: #a5aba8;
  --rule: #363b3b;
  --focus: #9ebaf0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(100% - 72px, 1376px); margin-inline: auto; }
.skip-link { position: absolute; top: -70px; left: 16px; padding: 10px 15px; z-index: 10; background: #303636; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-name { text-decoration: none; font-size: 16px; font-weight: 650; letter-spacing: -.035em; white-space: nowrap; }
.site-role { font-weight: 400; color: var(--secondary); letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 14px; text-decoration: none; color: #d9dddb; }
.site-nav a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }
.intro { padding-top: 79px; padding-bottom: 81px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.intro h1 { font-size: clamp(40px, 5.2vw, 76px); font-weight: 550; letter-spacing: -.068em; line-height: 1.06; margin: 0 0 22px; }
.intro p { font-size: clamp(16px, 1.4vw, 18px); max-width: 690px; line-height: 1.6; margin: 0; color: #bfc5c2; }
.intro-side, .section-note { font-size: 12px; white-space: nowrap; color: var(--secondary); }
.intro-side { padding-bottom: 5px; }
.work { padding-bottom: 104px; }
.section-head { border-top: 1px solid var(--ink); padding: 20px 0 26px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
h2 { font-size: 27px; font-weight: 600; letter-spacing: -.055em; line-height: 1.2; margin: 0; }
.count { font-size: 16px; font-weight: 400; color: var(--secondary); letter-spacing: -.01em; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 19px; row-gap: 44px; }
.project-card { min-width: 0; }
.project-link { display: block; color: inherit; text-decoration: none; }
.project-media { aspect-ratio: 1.42; overflow: hidden; background: #2a302f; position: relative; }
.project-media img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.project-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: var(--project-bg, #2b3231); color: var(--project-ink, #a2b1ab); }
.project-placeholder .placeholder-top { display: flex; align-items: start; justify-content: space-between; font-size: 11px; letter-spacing: .01em; }
.project-placeholder .placeholder-number { font-size: clamp(50px, 7vw, 92px); font-weight: 500; letter-spacing: -.08em; line-height: .9; align-self: end; opacity: .40; }
.project-title-row { display: flex; gap: 9px; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.project-card h3 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 620; letter-spacing: -.03em; }
.project-card .link-arrow { font-size: 15px; flex-shrink: 0; }
.project-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.project-link:hover img { opacity: .89; }
.project-type { font-size: 12px; color: var(--secondary); margin: 5px 0 0; }
.project-description { margin: 10px 0 0; color: #b4bbb8; line-height: 1.5; font-size: 13px; }
.about, .contact { display: grid; grid-template-columns: 1fr 2fr; column-gap: 35px; border-top: 1px solid var(--ink); padding-top: 28px; padding-bottom: 95px; }
.about h2, .contact h2 { font-size: 27px; }
.about-copy { max-width: 690px; }
.about-copy p, .contact-content > p { margin: 0 0 18px; font-size: 17px; line-height: 1.75; }
.contact { padding-bottom: 88px; }
.contact-content > p { margin-top: 0; margin-bottom: 24px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.contact-links a { display: inline-flex; align-items: baseline; gap: 10px; text-underline-offset: 5px; text-decoration-thickness: 1px; font-size: 16px; }
.contact-links a:hover { text-decoration-thickness: 2px; }
.contact-links a span { font-size: 12px; text-decoration: none; }
.site-footer { border-top: 1px solid var(--rule); color: var(--secondary); font-size: 12px; }
.footer-inner { padding: 23px 0; display: flex; justify-content: space-between; gap: 20px; }
.footer-inner a { color: var(--secondary); text-decoration: none; }
@media (max-width: 1180px) { .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .wrap { width: min(100% - 40px, 1376px); }
  .header-inner { min-height: 68px; }
  .site-nav { gap: 16px; }
  .intro { padding-top: 70px; padding-bottom: 64px; }
  .intro-side { display: none; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; gap: 32px 14px; }
  .project-placeholder { padding: 12px; }
  .project-placeholder .placeholder-number { font-size: 66px; }
  .about, .contact { grid-template-columns: 1fr; row-gap: 22px; padding-bottom: 68px; }
}
@media (max-width: 480px) {
  .wrap { width: min(100% - 32px, 1376px); }
  .site-name { font-size: 15px; }
  .site-role { display: none; }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 13px; }
  .intro { padding-top: 57px; padding-bottom: 60px; }
  .intro h1 { font-size: 47px; margin-bottom: 18px; }
  .intro p { font-size: 16px; }
  .project-grid { grid-template-columns: 1fr; row-gap: 38px; }
  .project-placeholder .placeholder-number { font-size: 84px; }
  .project-media { aspect-ratio: 1.55; }
  .project-card h3 { font-size: 18px; }
  .work { padding-bottom: 75px; }
  .section-note { display: none; }
  .about-copy p, .contact-content > p { font-size: 16px; }
  .contact-links { gap: 16px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
