@font-face {
    font-family: "EB Garamond";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/fonts/eb-garamond-latin.woff2") format("woff2");
}

:root {
  --bg: #f7f4ec;
  --text: #111111;
  --muted: #444444;
  --rule: #d8d2c4;
  --serif: "EB Garamond", Garamond, "Adobe Garamond Pro",
           "Apple Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.site-header {
  text-align: center;
  margin-bottom: 3rem;
}

.site-title {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 0;
}

.tagline-section {
  margin-bottom: 4rem;
}

.tagline {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.paragraphs p {
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--serif);
    font-size: 4.5rem;
    line-height: 1;
    color: var(--muted);
    background: none;
    border: none;
    padding: 1rem;
    cursor: pointer;
    user-select: none;
}

.nav-arrow:hover {
    color: var(--text);
}

.nav-arrow:disabled {
    opacity: 0.2;
    cursor: default;
}

.nav-arrow-left {
    left: 0.5rem;
}

.nav-arrow-right {
    right: 0.5rem;
}

.comment-section {
  border-top: 1px solid var(--rule);
  padding-top: 2.5rem;
}

.comment-heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-label {
  font-size: 1rem;
  color: var(--muted);
}

input[type="text"],
textarea {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text);
  background: #fffdf8;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.6rem 0.7rem;
  width: 100%;
}

textarea {
  resize: vertical;
}

input[type="text"]:focus,
textarea:focus {
  outline: 2px solid #333;
  outline-offset: 1px;
}

.submit-btn {
  align-self: flex-start;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--bg);
  background: var(--text);
  border: none;
  border-radius: 2px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
}

.submit-btn:hover {
  background: #000;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.form-status {
  font-size: 1rem;
  margin: 0.25rem 0 0;
  min-height: 1.2em;
}

@media (max-width: 600px) {
  .page { padding: 2.5rem 1.25rem 4rem; }
  .tagline { font-size: 2.1rem; }
  .nav-arrow { font-size: 2.75rem; padding: 0.5rem; }
  .nav-arrow-left { left: 0; }
  .nav-arrow-right { right: 0; }
}
