/* The contact page: one column of enamel-plaque calm on the limestone ground, the form on a
   tile-white card. Shares tokens and buttons with base.css. */

.info { background: var(--ground); }
.info-page { width: min(640px, 100%); margin: 0 auto; padding: 18px var(--gutter) 40px; }
.info-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-size: 0.88rem; font-weight: 600; }
.info-top a { color: var(--enamel); text-underline-offset: 0.2em; }
.info-langs { display: flex; gap: 10px; }
.info-langs a[aria-current] { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--amber); }

.info h1 { margin: 28px 0 6px; font: italic 700 clamp(1.8rem, 5vw, 2.4rem)/1.1 var(--font-display); color: var(--enamel); }
.info:lang(ja) h1, [data-lang="ja"] h1 { font: 700 clamp(1.5rem, 4.5vw, 2rem)/1.3 var(--font-ja-display); }
.info-lede { margin: 0 0 20px; color: var(--ink-soft); }

#feedback-form, .feedback-success {
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 10px 24px -18px rgb(24 34 63 / 0.6);
}
#feedback-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
#feedback-fields:disabled { opacity: 0.6; }
.info-field { display: grid; gap: 6px; margin-bottom: 16px; }
.info-field label { font-weight: 600; font-size: 0.92rem; }
.info-field small { margin-left: 4px; font-weight: 500; font-size: 0.75rem; color: var(--ink-soft); }
.info-field select, .info-field textarea, .info-field input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.info-field textarea { resize: vertical; min-height: 9em; }
.info-field :focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--enamel); }
.info-field [aria-invalid="true"] { border-color: var(--rouge); }
.field-hint { margin: 0; font-size: 0.78rem; color: var(--ink-soft); }
.info-privacy { margin: 0 0 14px; font-size: 0.8rem; color: var(--ink-soft); }

/* A honeypot field for bots: off-screen, never focusable by people. */
.feedback-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#feedback-status { min-height: 1.4em; margin: 12px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
#feedback-status.feedback-error { color: var(--rouge); }
#feedback-status:focus { outline: none; }

.feedback-success { text-align: center; }
.feedback-success:focus { outline: none; }
.success-mark {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border: 2.5px solid var(--violet);
  border-radius: 50%;
  color: var(--violet);
  font: 700 1.5rem/1 var(--font-sign);
  transform: rotate(-8deg);
}
.feedback-success h2 { margin: 10px 0 6px; font: italic 700 1.4rem/1.2 var(--font-display); }

.info-foot { margin-top: 32px; font-size: 0.8rem; color: var(--ink-soft); }
.info-foot a { color: var(--enamel); }

/* The 404 page: one card-like link per language home. */
.lost-homes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lost-homes a {
  display: block;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  background: var(--surface);
  color: var(--enamel);
  text-decoration: none;
  font-weight: 600;
}
.lost-homes a:hover { border-color: var(--enamel); background: #fff; }
