/* Everfond brand — premium, restrained, reverent.
   Single shared sheet for all three arms. Per-arm accent set by the
   .arm-canvas / .arm-blanket / .arm-memorial class on <body>. */

:root {
  --bg: #faf8f4;          /* warm cream */
  --ink: #1c1b18;         /* near-black */
  --muted: #6e6a62;       /* warm grey */
  --rule: #e5e0d6;        /* faint divider */
  --accent: #8a6a3a;      /* warm brass — default */
  --accent-soft: #ecdfc9;
  --max: 920px;
}

* { box-sizing: border-box; }

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

body {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

body.arm-memorial { --accent: #3d3f48; --accent-soft: #d8d9de; }
body.arm-blanket  { --accent: #6a4f6e; --accent-soft: #e5dae8; }
/* canvas keeps the brass default */

.brand-bar {
  border-bottom: 1px solid var(--rule);
  padding: 18px 24px;
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 0.9rem;
}
.brand-bar .word { letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.brand-bar nav a {
  color: var(--muted); text-decoration: none; margin-left: 18px;
  border-bottom: 1px solid transparent;
}
.brand-bar nav a:hover { color: var(--ink); border-color: var(--accent); }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 28px 80px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.hero .tagline {
  font-style: italic;
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0 0 28px;
}
.hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background:
    linear-gradient(135deg, var(--accent-soft) 0%, var(--bg) 100%);
  background-size: cover;
  background-position: center;
  margin: 8px 0 28px;
  box-shadow: 0 1px 0 var(--rule);
}
.hero-img.missing::after {
  content: "mockup loading";
  display: block;
  text-align: center;
  padding-top: 38%;
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
}

.blurb {
  font-size: 1.15rem;
  margin: 0 0 32px;
  max-width: 56ch;
}

.price-and-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 32px 0 12px;
  flex-wrap: wrap;
}
.price {
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink);
}
.price .from { font-size: 0.85rem; color: var(--muted); font-weight: 400; margin-right: 6px; vertical-align: 4px; }

button.cta {
  appearance: none; border: 0;
  background: var(--accent);
  color: white;
  font: inherit;
  font-size: 1.05rem;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 120ms ease, transform 80ms ease;
  letter-spacing: 0.01em;
}
button.cta:hover { background: var(--ink); }
button.cta:active { transform: translateY(1px); }

.honest-line {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 8px;
  font-style: italic;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  border-top: 1px solid var(--rule);
}
.value-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.02rem;
  display: flex; gap: 14px; align-items: flex-start;
}
.value-list li::before {
  content: "";
  flex: 0 0 6px;
  height: 6px; width: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
}

.supporting-mockups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 40px 0;
}
.supporting-mockups .mockup {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, var(--accent-soft) 0%, var(--bg) 100%);
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

.email-block {
  display: none;
  margin: 24px 0;
  padding: 24px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.email-block.open { display: block; }
.email-block p { margin: 0 0 14px; color: var(--muted); }
.email-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.email-row input[type=email] {
  flex: 1 1 220px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font: inherit;
  background: var(--bg);
}
.email-row input[type=email]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.email-row button {
  appearance: none; border: 0;
  background: var(--ink); color: white;
  font: inherit;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
}
.email-error {
  color: #a8333a;
  font-size: 0.9rem;
  margin: 8px 0 0;
  min-height: 1.2em;
}

.thanks {
  display: none;
  padding: 24px;
  border-left: 3px solid var(--accent);
  background: white;
  margin: 24px 0;
  font-size: 1.05rem;
}
.thanks.open { display: block; }

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 28px 64px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--rule);
}
footer p { margin: 6px 0; }
footer .links a {
  color: var(--muted); margin-right: 18px; text-decoration: none;
  border-bottom: 1px solid transparent;
}
footer .links a:hover { color: var(--ink); border-color: var(--accent); }

@media (max-width: 640px) {
  .supporting-mockups { grid-template-columns: repeat(2, 1fr); }
  .brand-bar { padding: 14px 18px; font-size: 0.85rem; }
  .brand-bar nav a { margin-left: 12px; }
  main { padding: 36px 20px 56px; }
}
