:root {
  --bg: #0e0e0d;
  --fg: #f2f0ea;
  --fg-body: #cfcbc1;
  --fg-dim: #b7b3a8;
  --fg-label: #97938a;
  --fg-faint: #6e6a61;
  --accent: #8f9fb0;
  --border: #23231f;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --pad: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 14, 13, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.01em;
}

.lang {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-label);
  text-decoration: none;
  transition: color 0.25s ease;
}

/* hero */

.hero {
  padding-top: 152px;
  padding-bottom: 128px;
}

.kicker {
  margin: 0 0 40px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 19ch;
  text-wrap: pretty;
}

.hero-sub {
  margin: 44px 0 0;
  max-width: 44ch;
  font-size: 18px;
  color: var(--fg-dim);
}

/* sections */

.section { border-top: 1px solid var(--border); }
.section + .section { margin-top: 128px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.cols {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.9fr);
  gap: 56px;
  align-items: start;
  padding-top: 56px;
}

.body-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.72;
  color: var(--fg-body);
  max-width: 60ch;
  text-wrap: pretty;
}

.body-text.wide {
  font-size: 19px;
  max-width: 58ch;
}

/* project */

.still { margin: 56px 0 48px; }

.still-frame {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #171715;
  border: 1px solid var(--border);
}

.still-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.9);
}

.still figcaption {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fg-faint);
}

.cols h3,
.work-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.work-meta {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--accent);
}

/* contact */

.contact-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.email-link {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.01em;
  text-decoration: none;
  border-bottom: 1px solid #3a3a34;
  padding-bottom: 6px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.email-link:hover { border-color: var(--accent); }

/* footer */

.site-footer {
  margin-top: 152px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-faint);
}

.site-footer p { margin: 0; }

/* mobile */

@media (max-width: 720px) {
  :root { --pad: 24px; }
  .hero { padding-top: 96px; padding-bottom: 80px; }
  .section + .section { margin-top: 88px; }
  .cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cols > div:empty { display: none; }
  .still-frame { aspect-ratio: 4 / 3; }
  .site-footer { margin-top: 96px; }
}
