/* Kovad — editorial, restrained, type-led. Ink black / off-white / one deep red accent. */

:root {
  --ink: #111111;
  --paper: #f2efe9;
  --paper-dim: #a8a49c;
  --red: #c22b20;
  --rule: rgba(242, 239, 233, 0.14);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  margin: 0;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 24px;
  text-align: center;
}

.hero-mark {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.hero-wordmark {
  height: 34px;
  width: auto;
}

.hero-line {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-style: italic;
  font-size: 19px;
  color: var(--paper-dim);
  margin: 0;
  max-width: 30ch;
}

/* ---------- Shared section rhythm ---------- */

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 40px;
}

/* ---------- Work ---------- */

.work-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.work-slot {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work-index {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--red);
}

.work-frame {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  background: transparent;
}

/* ---------- About ---------- */

.about-line {
  font-size: 21px;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0;
}

/* ---------- Contact ---------- */

.contact-email {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-email:hover {
  color: var(--red);
  border-color: var(--paper);
}

/* ---------- Footer ---------- */

.site-footer {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 24px 56px;
  display: flex;
  justify-content: space-between;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

/* ---------- Responsive ---------- */

@media (min-width: 720px) {
  .hero-mark { gap: 20px; }
  .hero-icon { width: 48px; height: 48px; }
  .hero-wordmark { height: 42px; }
  .hero-line { font-size: 22px; }
  section { padding: 128px 0; }
}
