/* The Anvil · ptownanvil.com
   Layout: stacked full-width bands; the home hero crossfades the studio today into the proposed design. */
:root {
  --paper: #f6f5f2;
  --ink: #1c2126;
  --muted: #5b636b;
  --rust: #a33d1c;
  --on-rust: #ffffff;
  --band: #e3e8ec;
  --line: #d5d9d8;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15191c; --ink: #ecefee; --muted: #a3acb0; --rust: #e0794c; --on-rust: #15191c;
    --band: #1e2428; --line: #2e363a; color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--rust); }
.wrap { max-width: 1080px; margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; line-height: 1.1; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; max-width: 62ch; }
.stack { display: grid; gap: 16px; }
.label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.lead { font-size: 1.15rem; }
.btn { display: inline-block; padding: .8em 1.4em; font-weight: 600; font-size: .9rem; text-decoration: none; border: 2px solid var(--rust); color: var(--rust); background: none; font-family: inherit; cursor: pointer; }
.btn.solid { background: var(--rust); color: var(--on-rust); }
.btn:hover { filter: brightness(1.08); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.logo { font-family: var(--display); font-size: 1.6rem; letter-spacing: .08em; color: var(--ink); text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: .95rem; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.site-nav a.cta { color: var(--rust); font-weight: 600; }

/* Home hero crossfade */
.fade { position: relative; aspect-ratio: 1600 / 1050; max-height: 78vh; margin-inline: auto; background: #fff; overflow: hidden; }
.fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fade .drawing { opacity: 0; animation: reveal 12s ease-in-out infinite; }
@keyframes reveal { 0%, 29% { opacity: 0 } 54%, 75% { opacity: 1 } 88%, 100% { opacity: 0 } }
.fade.still .drawing { animation: none; opacity: var(--show, 0); transition: opacity 1.2s ease; }
@media (prefers-reduced-motion: reduce) { .fade .drawing { animation: none; opacity: var(--show, 0); } }
.fade-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-block: 10px; font-size: .8rem; color: var(--muted); }
.fade-bar button { font: inherit; font-weight: 600; color: var(--rust); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.title { padding-block: 32px 56px; display: grid; gap: 14px; }
.title h1 { font-size: clamp(3rem, 10vw, 6rem); letter-spacing: .06em; }
.title p { font-size: 1.3rem; }

/* Page header (inner pages) */
.page-head { padding-block: 56px 8px; }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); }
.banner { width: 100%; max-height: 460px; object-fit: cover; }

/* Sections */
section { padding-block: 64px; }
section.tight-top { padding-top: 0; }
.band { background: var(--band); }

.facts .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.facts .col { border-top: 2px solid var(--rust); padding-top: 14px; min-width: 0; }
.facts .num { font-family: var(--display); font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.facts .col p { font-size: .92rem; margin-top: 6px; }

.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
figure { margin: 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figure.wide { grid-column: span 4; }
figure.wide img { aspect-ratio: 16 / 7.6; }
figure.side { grid-column: span 2; }
figure.side img { aspect-ratio: auto; height: 100%; max-height: 340px; }
figure.third { grid-column: span 2; }
figcaption { font-size: .8rem; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.split img { width: 100%; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.plans figure { background: #fff; border: 1px solid var(--line); padding: 10px; }
.plans figure img { aspect-ratio: auto; object-fit: contain; }
.plans figure.full { grid-column: 1 / -1; }
.plans figcaption { color: #5b636b; }
.credits { margin-top: 20px; font-size: .9rem; color: var(--muted); }

.timeline ol { list-style: none; margin: 28px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.timeline .yr { font-family: var(--display); font-size: 1.4rem; color: var(--rust); font-variant-numeric: tabular-nums; }

.support { background: var(--rust); color: var(--on-rust); }
.support .btn { border-color: var(--on-rust); color: var(--on-rust); }
.support .btn.solid { background: var(--on-rust); color: var(--rust); }
.fine { font-size: .85rem; opacity: .9; }

.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.card { border: 1px solid var(--line); padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.card.primary { border: 2px solid var(--rust); }
address { font-style: normal; line-height: 1.5; }
.copy-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.copy-btn { font: inherit; font-size: .8rem; font-weight: 600; color: var(--rust); background: none; border: 1px solid var(--line); padding: 4px 10px; cursor: pointer; }
.sponsor { margin-top: 28px; font-size: .92rem; color: var(--muted); }

/* Forms */
form { display: grid; gap: 14px; max-width: 560px; }
form.inline { display: flex; flex-wrap: wrap; gap: 10px; max-width: 620px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
input, textarea, select { font: inherit; padding: .7em .9em; border: 1px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; min-width: 0; }
form.inline input { flex: 1 1 240px; width: auto; }
textarea { min-height: 140px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; font-size: .85rem; color: var(--muted); }
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  .facts .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  figure.wide { grid-column: span 2; }
  figure.side, figure.third { grid-column: span 1; }
  figure.side img { aspect-ratio: 4 / 3; height: auto; }
  .split, .plans, .ways { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 5rem minmax(0, 1fr); }
  section { padding-block: 48px; }
}
@media (max-width: 420px) {
  .site-nav { gap: 14px; font-size: .9rem; }
}
