:root {
  --ink: #201818;
  --ink-soft: #3d3535;
  --muted: #6f6a6a;
  --band: #fdf3ef;
  --line: #201818;
  --bg: #ffffff;
  --radius: 22px;
  --wrap: 1100px;
  --font-body: "Jost", "Futura", "Century Gothic", sans-serif;
  --font-head: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-title: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; height: 88px; gap: 24px; }
.brand img { height: 64px; width: auto; }
.nav { margin-left: auto; margin-right: auto; }
.nav ul { list-style: none; display: flex; gap: 72px; margin: 0; padding: 0; }
.nav a { font-family: var(--font-head); font-weight: 700; font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; }

/* Hero */
.hero { text-align: center; padding: 48px 24px 56px; }
.hero h1 { font-family: var(--font-title); font-weight: 300; font-size: clamp(24px, 6.5vw, 52px); letter-spacing: .01em; margin-bottom: 0; }
.hero-frame { max-width: 540px; margin: -8px auto 0; border-top: 6px solid var(--ink); border-bottom: 6px solid var(--ink); border-left: 1px solid #e8e2df; border-right: 1px solid #e8e2df; padding: 48px; background: #fff; }
.hero-frame img { width: 160px; margin: 0 auto; }
.tagline { font-family: var(--font-title); font-weight: 300; font-size: clamp(18px, 4.5vw, 32px); color: var(--muted); margin: 56px 0 0; }

/* Sections */
.band { background: var(--band); }
.section { padding: 72px 0; }
.split > * { min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.photo figcaption { font-size: 15px; padding: 8px 4px 0; color: var(--ink-soft); }
figure { margin: 0; }

.big-head { font-size: clamp(40px, 6vw, 60px); color: var(--muted); font-weight: 700; }
.proj h2 { font-size: 22px; margin-bottom: 6px; }
.status { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.proj p { color: var(--ink-soft); }
.btn { display: inline-block; border: 2px solid var(--ink); border-radius: 10px; padding: 4px 30px; font-family: var(--font-head); font-weight: 700; text-decoration: none; margin-top: 8px; }
.btn:hover { background: var(--ink); color: #fff; }

.prose { max-width: 760px; margin: 0 auto; }
.prose.center-head h2 { text-align: center; }
.about-head { text-align: center; font-size: clamp(40px, 6vw, 60px); color: var(--muted); }

/* Inner pages */
.page-title { font-size: clamp(44px, 7vw, 72px); color: var(--ink-soft); margin: 48px 0 24px; }
.rule { border: 0; border-top: 2px solid var(--line); margin: 0 0 48px; }
.lead { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink-soft); }
.list { padding-left: 20px; }
.list li { margin-bottom: 6px; }
.sub { font-family: var(--font-head); font-size: 18px; margin-top: 32px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-family: var(--font-head); font-weight: 700; font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; flex-direction: column; text-align: right; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 72px; padding: 0 16px; }
  .brand img { height: 52px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #eee; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .nav a { display: block; padding: 12px 0; border: 0; font-size: 17px; }
  .wrap { padding: 0 16px; }
  .section { padding: 48px 0; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.flip > :first-child { order: 0; }
  .hero-frame { padding: 32px; }
  .hero-frame img { width: 120px; }
  .site-footer .wrap { flex-direction: column-reverse; align-items: flex-start; }
  .site-footer nav { text-align: left; }
}
