@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600&display=swap');

:root {
  --page-pad: 42px;
  --ink: #111;
  --paper: #f4f3f0;
  --font: 'Inter', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); }
button, a { font: inherit; }
button { color: inherit; }
.site-header {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--page-pad); color: #fff; mix-blend-mode: difference;
  pointer-events: none;
}
.site-header a, .site-header button { pointer-events: auto; }
.wordmark { color: inherit; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .055em; }
.top-nav { display: flex; gap: 34px; }
.top-nav button {
  border: 0; background: none; padding: 0; cursor: pointer;
  font-size: 11px; font-weight: 500; letter-spacing: .08em;
}
.top-nav button:hover { opacity: .55; }
.project-menu {
  position: fixed; z-index: 20; left: var(--page-pad); top: 50%; transform: translateY(-43%);
  color: #fff; mix-blend-mode: difference; width: 245px;
}
.menu-kicker, .menu-footer { font-size: 9px; letter-spacing: .12em; font-weight: 500; }
.menu-kicker { margin-bottom: 20px; opacity: .55; }
#project-list { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.project-link {
  border: 0; padding: 0; background: transparent; cursor: pointer; text-align: left;
  display: flex; gap: 11px; align-items: baseline; color: #fff; opacity: .48;
  font-size: 11px; font-weight: 500; letter-spacing: .035em; transition: opacity .25s ease;
}
.project-link:hover { opacity: .8; }
.project-link.is-active { opacity: 1; }
.project-link:first-child { margin-top: 0; }
.project-link span { white-space: nowrap; }
.menu-footer { margin-top: 35px; opacity: .5; font-size: 8px; }
#app { min-height: 100vh; }
.view { display: none; }
.view.is-visible { display: block; }
.home-view { height: 100svh; min-height: 600px; position: relative; overflow: hidden; color: #fff; background: #777; }
.home-slides, .home-slide, .hero-shade { position: absolute; inset: 0; }
.home-slide {
  background-size: cover; background-position: center; opacity: 0;
  transform: scale(1.025); transition: opacity 1.1s ease, transform 6s ease;
}
.home-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.33), transparent 65%), linear-gradient(0deg, rgba(0,0,0,.24), transparent 38%); pointer-events: none; }
.home-caption { position: absolute; right: var(--page-pad); bottom: 56px; text-align: right; max-width: 440px; }
.caption-index { display: block; font-size: 9px; letter-spacing: .12em; margin-bottom: 12px; opacity: .75; }
.home-caption h1 { margin: 0; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.05; font-weight: 500; letter-spacing: -.035em; }
.home-caption p { margin: 10px 0 0; font-size: 9px; letter-spacing: .11em; }
.slide-controls { position: absolute; right: var(--page-pad); top: 50%; display: flex; gap: 8px; }
.slide-controls button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .2s; }
.slide-controls button:hover { background: rgba(255,255,255,.2); }
.scroll-note { position: absolute; bottom: 28px; left: var(--page-pad); font-size: 8px; letter-spacing: .12em; opacity: .65; }
.content-view { min-height: 100vh; background: #111; color: #fff; padding-top: 0; }
.project-layout { display: grid; grid-template-columns: 285px minmax(0, 1fr); min-height: 100vh; }
.project-sidebar {
  position: sticky; top: 0; height: 100svh; padding: 118px 30px 35px var(--page-pad);
  display: flex; flex-direction: column; justify-content: space-between;
  background: #f4f3f0; color: #171717; z-index: 2;
}
.project-sidebar .eyebrow { font-size: 9px; letter-spacing: .13em; color: #777; }
.project-sidebar h1 { margin: 22px 0 18px; font-size: clamp(22px, 2.1vw, 31px); line-height: .98; letter-spacing: -.045em; font-weight: 500; }
.project-sidebar .project-description { margin: 0; max-width: 205px; color: #555; font-size: 11px; line-height: 1.8; }
.project-sidebar .project-sidebar-bottom { font-size: 8px; letter-spacing: .1em; color: #777; }
.project-gallery { min-width: 0; }
.project-gallery-panel {
  width: 100%; height: 100svh; min-height: 560px; position: relative; overflow: hidden;
  background: #333;
}
.project-gallery-panel img { width: 100%; height: 100%; display: block; object-fit: cover; }
.project-gallery-panel:after {
  content: ""; position: absolute; inset: 55% 0 0;
  background: linear-gradient(0deg, rgba(0,0,0,.32), transparent); pointer-events: none;
}
.project-gallery-caption {
  position: absolute; z-index: 1; bottom: 28px; right: 34px; color: #fff;
  font-size: 9px; letter-spacing: .12em; text-align: right;
}
.project-finish {
  height: 100svh; min-height: 560px; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  background: #e9e8e4; color: #171717; gap: 18px;
}
.project-finish span { font-size: 9px; letter-spacing: .13em; color: #777; }
.project-finish h2 { margin: 0; font-size: clamp(25px, 4vw, 52px); font-weight: 500; letter-spacing: -.05em; }
.project-finish button { border: 0; border-bottom: 1px solid #777; padding: 0 0 5px; background: none; cursor: pointer; font-size: 9px; letter-spacing: .1em; }
.info-page { min-height: 100vh; padding: 19vh 15vw 12vh; }
.info-page h1 { font-size: clamp(34px, 6vw, 76px); letter-spacing: -.06em; line-height: .95; font-weight: 500; margin: 0 0 50px; }
.info-page p { max-width: 620px; font-size: 14px; line-height: 1.9; color: #555; }
.info-page a { color: inherit; text-decoration: none; border-bottom: 1px solid #999; }
.back-home { margin-top: 70px; border:0; background:none; padding:0; font-size:10px; letter-spacing:.1em; cursor:pointer; }
.mobile-projects { display:none; }
@media (max-width: 760px) {
  :root { --page-pad: 20px; }
  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .wordmark { font-size: 11px; }
  .top-nav { gap: 18px; }
  .top-nav button { font-size: 9px; }
  .project-menu { display:none; }
  .home-view { min-height: 560px; }
  .home-caption { left: var(--page-pad); right: var(--page-pad); bottom: 95px; text-align:left; }
  .home-caption h1 { font-size: 25px; }
  .slide-controls { top:auto; bottom: 25px; }
  .scroll-note { bottom: 38px; font-size:7px; }
  .mobile-projects { display:block; position:fixed; z-index:25; left:var(--page-pad); bottom:20px; color:#fff; mix-blend-mode:difference; }
  .mobile-project-current { border:0; background:transparent; color:inherit; padding:0; font-size:9px; letter-spacing:.06em; }
  .mobile-project-current span { margin-left:14px; }
  .mobile-project-options { display:none; position:absolute; bottom:25px; left:0; min-width:220px; flex-direction:column; gap:13px; }
  .mobile-project-options.is-open { display:flex; }
  .mobile-project-options button { border:0; background:none; color:inherit; text-align:left; padding:0; font-size:9px; letter-spacing:.05em; }
  .content-view { padding-top:0; }
  .project-layout { display:block; }
  .project-sidebar { position:relative; top:auto; height:auto; min-height:0; padding:90px var(--page-pad) 24px; }
  .project-sidebar h1 { font-size:25px; margin:13px 0 10px; }
  .project-sidebar .project-description { max-width:560px; font-size:10px; }
  .project-sidebar .project-sidebar-bottom { margin-top:25px; }
  .project-gallery-panel, .project-finish { height:78svh; min-height:480px; }
  .project-gallery-caption { right:20px; bottom:20px; font-size:8px; }
  .info-page { padding:18vh var(--page-pad) 10vh; }
  .info-page p { font-size:12px; }
}
