/* Cats of the Day: Alfie Post's ginger, cream and ink. */
:root {
  --cream: #fff7ef;
  --paper: #ffffff;
  --ink: #1c1714;
  --muted: #6b5a50;
  --line: #eadfd6;
  --ginger: #f29a4a;
  --ginger-deep: #c4490d;
  --ginger-soft: #fdebdc;
  --radius: 22px;
  --shadow: 0 1px 2px rgb(74 44 31 / 0.06), 0 12px 32px -12px rgb(74 44 31 / 0.18);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ginger-deep); }
h1, h2, .feature-name, .brand span { font-family: Fraunces, Georgia, serif; font-weight: 700; letter-spacing: -0.01em; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, calc((100% - 1120px) / 2));
  background: rgb(255 247 239 / 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgb(234 223 214 / 0.7);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand span { font-size: 21px; }
.site-header nav { display: flex; align-items: center; gap: 18px; }
.site-header nav a:not(.button) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-header nav a:not(.button):hover { color: var(--ink); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--ginger-deep); color: #fff; font-weight: 600; text-decoration: none;
  border: 0; font-size: 15px; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.button:hover { background: #a63d0b; }
.button:active { transform: scale(0.98); }
.button-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.button-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.button-ghost:hover { background: var(--paper); }

main { padding: 0 16px; }
section { max-width: 1120px; margin: 0 auto; }

.hero { padding: 40px 0 24px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.feature-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.feature-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.eyebrow { margin: 0 0 10px; color: var(--ginger-deep); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.feature-name { margin: 0; font-size: clamp(44px, 7vw, 76px); line-height: 1; }
.feature-where { margin: 14px 0 0; color: var(--muted); font-weight: 500; }
.feature-story { margin: 18px 0 0; font-size: 18px; line-height: 1.65; max-width: 34em; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.intro { padding: 24px 0 8px; }
.intro p {
  margin: 0; padding: 22px 26px; border-radius: var(--radius);
  background: var(--ginger-soft); color: #5a3420; font-size: 17px;
}

.archive { padding: 40px 0 16px; }
.archive h2, .cta h2 { font-size: 32px; margin: 0 0 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border-radius: 18px; box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none; transition: transform 0.2s;
}
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 16px; }
.card-date { color: var(--muted); font-size: 12.5px; }
.card-name { font-family: Fraunces, Georgia, serif; font-size: 20px; font-weight: 700; }
.card-where { color: var(--muted); font-size: 13.5px; line-height: 1.4; }

.cta {
  display: flex; align-items: center; gap: 28px; margin: 48px auto 64px; padding: 32px;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
}
.cta img { width: 90px; flex-shrink: 0; }
.cta p { margin: 0 0 18px; color: var(--muted); font-size: 17px; }

.pager { display: flex; justify-content: space-between; padding: 8px 0 0; font-weight: 600; }
.pager a { text-decoration: none; }

.prose { max-width: 680px; padding: 48px 0 72px; font-size: 17px; }
.prose h1 { font-size: 40px; margin: 0 0 16px; line-height: 1.1; }
.prose.center { text-align: center; }
.prose.center img { margin: 0 auto 16px; }

.form { display: grid; gap: 18px; margin-top: 28px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field .hint { color: var(--muted); font-size: 13px; font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--paper); font: inherit; color: inherit;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ginger); box-shadow: 0 0 0 4px var(--ginger-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.photo-drop {
  display: grid; place-items: center; gap: 8px; min-height: 180px; padding: 20px; text-align: center;
  border: 2px dashed var(--line); border-radius: 18px; background: var(--paper); cursor: pointer; color: var(--muted);
}
.photo-drop:hover { border-color: var(--ginger); }
.photo-drop img { max-height: 260px; width: auto; border-radius: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--ginger-deep); }
.hp { position: absolute; left: -10000px; }
.form-status { margin: 0; font-weight: 500; }
.form-status.error { color: #b42318; }
.thanks { padding: 32px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.thanks img { margin: 0 auto 12px; }

.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 32px 16px 40px; color: var(--muted); font-size: 15px; }
.footer-inner p { margin: 0 0 10px; }
.footer-inner strong { color: var(--ink); }
.footer-links a { color: var(--ink); }
.muted { color: var(--muted); font-size: 13px; }

@media (max-width: 760px) {
  .hero { padding-top: 20px; }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .site-header nav a:not(.button) { display: none; }
  .cta { flex-direction: column; text-align: center; padding: 28px 20px; }
  .form .row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-name { font-size: 17px; }
}
