/* About and contact pages. Loaded after home.css, which provides the top
   bar, brand, footer and the rise animation. */

.page-info {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
}

.info {
  flex: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 40px) clamp(16px, 4vw, 48px) 64px;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 5vw, 44px);
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  color: var(--ink-2);
  animation: rise .6s var(--ease) both;
}
.info-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
}
.info-lede { font-size: 1.02rem; }

/* ---------- about ---------- */
.about { align-items: center; text-align: center; }

/* The seal sits behind the photo, so the circle is never empty. */
.about-photo {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 8px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 0 0 6px var(--card), 0 0 0 7px var(--line), var(--shadow-md);
}
.about-photo img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.about-fallback .icon { width: 72px; height: 72px; transform: rotate(-4deg); }

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 54ch;
  font-size: 1.02rem;
  text-align: left;
}
.about .btn-ghost { margin-top: 8px; }

/* ---------- contact ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .875rem; font-weight: 650; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper-2);
  font: inherit;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: color-mix(in srgb, var(--red) 45%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 15%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { font-size: .8rem; color: var(--red-deep); }

/* Hidden from people; bots that fill it in are ignored (server/contact.js). */
.field-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-send {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 650;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(214, 69, 42, .3);
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease);
}
.btn-send:hover { background: var(--red-deep); transform: translateY(-1px); }

.notice {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: .9rem;
}
.notice-error { background: var(--red-soft); color: var(--red-deep); }

.contact-done { align-items: center; text-align: center; }
.contact-done .btn-ghost { margin-top: 8px; }

/* ---------- privacy, terms, credits, site map ---------- */
.prose { gap: 0; }
.prose > * + * { margin-top: 1em; }
.prose .eyebrow + h1 { margin-top: 12px; }
.prose .updated { margin-top: 8px; font-size: .85rem; color: var(--muted); }
.prose .info-lede { margin-top: 20px; }
.prose h2 {
  margin-top: 2em;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
}
.prose h3 { margin-top: 1.4em; font-size: 1rem; font-weight: 650; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: .5em; }
.prose ul { margin-bottom: 0; padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--red); }
.prose strong { color: var(--ink); }
.prose a { color: var(--jade); font-weight: 600; text-underline-offset: 2px; }
.prose a:hover { color: var(--red-deep); }

.sitemap-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0 24px;
}
.sitemap-cols h2 { margin-top: 1.4em; }
.sitemap ul { padding-left: 0; list-style: none; }
.sitemap-city h3 { margin-top: 1.2em; }
.sitemap-meta { margin-left: .3em; font-size: .85rem; color: var(--muted); }

@media (max-width: 520px) {
  .btn-send { align-self: stretch; justify-content: center; }
}
