/* Croda Films — editorial one-pager in the Janus tradition */

:root {
  --cream: #faf6ee;
  --ink: #1c1a17;
  --muted: #6f6a60;
  --powder: #9db9d4;
  --powder-deep: #7ba0c0;
  --rule: #e4dccb;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0 22px;
}

.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wordmark {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.wordmark .logo {
  height: 76px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--powder-deep); }

/* ---------- sections ---------- */

main section { padding: 64px 0; }

main section + section { border-top: 1px solid var(--rule); }

.intro { padding: 72px 0 56px; }

.tagline {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.statement {
  margin-top: 24px;
  font-size: 17px;
  max-width: 62ch;
  color: var(--ink);
}

h2 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--powder-deep);
  margin-bottom: 36px;
}

/* ---------- films ---------- */

.film-list { list-style: none; }

.film { margin-bottom: 40px; }
.film:last-child { margin-bottom: 0; }

.film h3 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.film p {
  color: var(--ink);
  max-width: 60ch;
}

.film .meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--powder-deep);
  margin-bottom: 12px;
}

/* ---------- about / contact ---------- */

.about p, .contact p {
  margin-bottom: 1.2em;
  max-width: 62ch;
}
.about p:last-child, .contact p:last-child { margin-bottom: 0; }

.contact a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--powder);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.contact a:hover { text-decoration-color: var(--powder-deep); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 26px 0 34px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- responsive ---------- */

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wordmark .logo { height: 58px; }
  .site-nav { gap: 20px; }
  main section { padding: 48px 0; }
  .intro { padding: 56px 0 44px; }
  .tagline { font-size: 22px; }
}
