:root {
  --ink: #0A0A0A;
  --muted: #6B6B6B;
  --line: #E5E5E5;
  --well: #EDEDED;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: 'Inter Tight', Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.page { min-height: 100vh; display: flex; flex-direction: column; }

/* announcement bar */
.bar {
  display: block; padding: 9px 20px; background: var(--ink); color: #FFFFFF;
  text-align: center; font-size: 12px; text-decoration: none; letter-spacing: 0.01em;
}
.bar:hover { color: #FFFFFF; text-decoration: underline; }

/* header */
.site-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0 24px; padding: 4px 20px;
}
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.logo {
  display: inline-block; padding: 8px 0; font-size: 20px; font-weight: 600;
  letter-spacing: -0.03em; text-decoration: none; color: var(--ink);
}
.logo:hover { color: var(--ink); }
a.nav { display: inline-block; padding: 12px 0; color: var(--ink); text-decoration: none; }
a.nav:hover, a.nav[aria-current="page"] { color: var(--ink); text-decoration: underline; }

.subnav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; padding: 0 20px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px;
}
.subnav .label { padding: 12px 0; color: var(--muted); font-family: var(--mono); font-size: 11px; }

/* footer */
.site-footer {
  margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 8px 24px; padding: 16px 20px 24px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}

/* home hero */
.hero { display: grid; width: 100%; background: var(--ink); text-decoration: none; }
.hero .slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  opacity: 0; transition: opacity 1.2s ease;
}
.hero .slide.on { opacity: 1; }
.hero img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .hero .slide { transition: none; } }

.intro {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 24px 48px; padding: 40px 20px 56px;
}
.intro .copy { display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.tagline { margin: 0; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.lede { margin: 0; font-size: 17px; line-height: 1.35; }
.latest { display: flex; flex-direction: column; gap: 4px; min-width: 220px; }
.latest .k { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.latest .big { font-size: 15px; text-decoration: none; }
.latest .all { margin-top: 12px; }

.block { padding: 0 20px 64px; display: flex; flex-direction: column; gap: 16px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.block-head h2, .h-small { margin: 0; font-size: 13px; font-weight: 500; }

/* project tiles */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 32px 12px;
}
.grid.wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.tile { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.tile:hover { color: var(--ink); }
.tile img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  background: var(--well); transition: opacity 0.2s;
}
.tile:hover img { opacity: 0.88; }
.tile .meta { display: flex; justify-content: space-between; gap: 12px; }
.tile .name { display: flex; flex-direction: column; gap: 2px; }
.tile .t { font-weight: 500; }
.tile .s { font-size: 12px; color: var(--muted); }
.tile .n { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.tile[hidden] { display: none; }

.list-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 4px 24px; padding: 24px 20px 12px;
}
.list-head h1 { margin: 0; font-size: 13px; font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 0 20px; }
.filters button {
  font: inherit; text-transform: inherit; background: none; border: 0; cursor: pointer;
  padding: 12px 0; color: var(--muted);
}
.filters button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.filters .c { font-family: var(--mono); font-size: 11px; }
.list { padding: 8px 20px 64px; }

/* project detail */
.detail-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 32px 64px; padding: 24px 20px 40px;
}
.detail-head .copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.back { font-size: 12px; color: var(--muted); text-decoration: none; padding: 12px 0; align-self: flex-start; }
.detail-head h1 { margin: 0; font-size: 32px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.detail-head .desc { margin: 0; font-size: 15px; line-height: 1.5; }
.detail-head .credits { margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.facts { flex: 0 1 400px; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.facts div { display: flex; gap: 24px; }
.facts dt { flex: 0 0 84px; color: var(--muted); }
.facts dd { flex: 1; min-width: 0; margin: 0; }
.slides {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  align-items: start; gap: 28px 12px; padding: 0 20px;
}
.slides figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.slides img { width: 100%; height: auto; display: block; background: var(--well); }
.slides figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.slides figcaption a { color: var(--muted); }
.pager {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 40px 20px 64px; font-size: 15px;
}
.pager a { text-decoration: none; padding: 12px 0; }
.pager a:hover { text-decoration: underline; color: var(--ink); }

/* app */
.app-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px;
  padding: 64px 20px 72px; border-top: 1px solid var(--line);
}
.app-strip .icon { flex: 0 0 auto; width: 240px; height: 240px; border-radius: 54px; display: block; }
.app-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.eyebrow { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.app-copy h2 { margin: 0; font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.app-copy p { margin: 0; font-size: 15px; line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px;
  background: var(--ink); color: #FFFFFF; text-decoration: none; font-size: 13px;
}
.btn:hover { color: #FFFFFF; }
.btn.soon { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.actions a.plain { font-size: 13px; text-decoration: none; }

.app-hero {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 48px 72px; padding: 56px 20px 72px;
}
.app-hero .copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; max-width: 600px; }
.app-hero h1 { margin: 0; font-size: 44px; font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
.app-hero p { margin: 0; font-size: 16px; line-height: 1.45; max-width: 480px; }
.app-hero .icon { flex: 0 0 auto; width: 300px; max-width: 100%; aspect-ratio: 1 / 1; border-radius: 66px; display: block; }
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px 24px; padding: 40px 20px 64px; border-top: 1px solid var(--line);
}
.features div { display: flex; flex-direction: column; gap: 8px; }
.features h2 { margin: 0; font-size: 17px; font-weight: 500; }
.features p { margin: 0; font-size: 14px; line-height: 1.5; max-width: 360px; }
.pricing { padding: 40px 20px 72px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.plan { border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.plan.pro { border-color: var(--ink); }
.plan .top { display: flex; justify-content: space-between; align-items: baseline; }
.plan .top span:first-child { font-size: 17px; font-weight: 500; }
.plan .top span:last-child { font-family: var(--mono); font-size: 14px; }
.plan ul { margin: 0; padding: 0 0 0 18px; font-size: 14px; line-height: 1.7; }
.support {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 48px;
  padding: 40px 20px 64px; border-top: 1px solid var(--line); font-size: 14px;
}
.support .l { display: flex; flex-direction: column; gap: 6px; }
.support .r { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-end; }

/* legal */
.legal-wrap { display: flex; flex-wrap: wrap; gap: 32px 72px; padding: 40px 20px 80px; }
.toc { flex: 1 1 200px; max-width: 260px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.legal { flex: 999 1 560px; min-width: 0; max-width: 680px; font-size: 15px; line-height: 1.6; text-transform: none; }

/* shop */
.shop {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px 48px; padding: 40px 20px 96px;
}
.shop .copy { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.shop h1 { margin: 0; font-size: 13px; font-weight: 500; }
.shop .big { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.signup { display: flex; flex-direction: column; gap: 6px; min-width: 280px; flex: 0 1 420px; }
.signup label { font-size: 12px; color: var(--muted); }
.signup .row { display: flex; border-bottom: 1px solid var(--ink); }
.signup input[type="email"] {
  flex: 1; min-width: 0; height: 44px; border: 0; padding: 0; font: inherit; font-size: 14px;
  background: transparent; color: var(--ink); text-transform: none;
}
.signup input[type="email"]::placeholder { text-transform: lowercase; color: var(--muted); }
.signup button {
  height: 44px; border: 0; padding: 0 0 0 16px; background: transparent; color: var(--ink);
  font: inherit; font-size: 13px; text-transform: lowercase; cursor: pointer;
}
.hp { position: absolute; left: -9999px; }

/* contact */
.contact {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 32px 72px; padding: 40px 20px 96px;
}
.contact .copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.contact h1 { margin: 0; font-size: 13px; font-weight: 500; }
.contact .big { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.contact p { margin: 0; }
.enquiry { flex: 1 1 380px; max-width: 560px; display: flex; flex-direction: column; gap: 18px; }
.enquiry .field { display: flex; flex-direction: column; gap: 6px; }
.enquiry label { font-size: 12px; color: var(--muted); }
.enquiry input, .enquiry select, .enquiry textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: transparent; text-transform: none;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0; min-height: 44px;
}
.enquiry select { text-transform: lowercase; -webkit-appearance: none; appearance: none; cursor: pointer; }
.enquiry textarea { resize: vertical; border: 1px solid var(--ink); padding: 10px; }
.enquiry .btn { align-self: flex-start; border: 0; cursor: pointer; font: inherit; font-size: 13px; text-transform: lowercase; }

.center-msg { padding: 96px 20px; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.center-msg h1 { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.center-msg p { margin: 0; font-size: 15px; }

@media (max-width: 600px) {
  .tagline { font-size: 22px; }
  .app-hero h1 { font-size: 34px; }
  .detail-head h1 { font-size: 26px; }
  .app-strip .icon { width: 160px; height: 160px; border-radius: 36px; }
}
