/* A Pfoutz — books.dimmseek.com draft site
   Palette: navy #1C2A44 / cream #FCF7EE / gold #C49A4E
   Local draft only — not live */

:root {
  --navy: #1C2A44;
  --navy-soft: #243552;
  --cream: #FCF7EE;
  --cream-deep: #F3EADB;
  --gold: #C49A4E;
  --gold-hover: #B3893F;
  --ink: #1C2A44;
  --muted: #5A6478;
  --line: #E4D9C4;
  --white: #FFFFFF;
  --draft-warn: #8B5A2B;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover { color: var(--gold-hover); }

.draft-banner {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
}

.draft-banner strong { color: var(--gold); font-weight: 600; }

.wrap {
  width: min(720px, 92vw);
  margin: 0 auto;
}

.wrap-narrow { width: min(640px, 92vw); }

/* —— Header / nav —— */
header.site {
  padding: 1.25rem 0 0.25rem;
  border-bottom: 1px solid transparent;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
  text-decoration: none;
  color: inherit;
}

.brand:hover { color: inherit; }

.brand-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand-rule {
  width: 1.5rem;
  height: 2px;
  background: var(--gold);
  align-self: center;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 500;
}

nav.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

nav.site-nav a:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

nav.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

main {
  flex: 1;
  padding: 2.25rem 0 3.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 2.75rem);
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.45rem, 3.5vw, 1.75rem);
  color: var(--navy);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36em;
  margin-bottom: 1.75rem;
}

.lede em {
  font-style: italic;
  color: var(--navy-soft);
}

.hero { text-align: center; }
.hero .lede { margin-left: auto; margin-right: auto; }

.section {
  margin-top: 2.75rem;
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-head p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Cards —— */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 8px 28px rgba(28, 42, 68, 0.06);
  text-align: left;
}

.card + .card { margin-top: 1.15rem; }

.card .meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.card .meta .sep {
  margin: 0 0.4rem;
  color: var(--line);
}

.card p {
  color: var(--navy-soft);
  font-size: 0.975rem;
  margin-bottom: 1rem;
}

.card p:last-child { margin-bottom: 0; }

.badge-soon {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cream-deep);
  color: var(--draft-warn);
  border: 1px solid var(--line);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.35rem;
}

.badge-live {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.35rem;
}

/* —— Buttons / CTAs —— */
.btn {
  display: inline-block;
  font: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  border: none;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--gold-hover);
  color: var(--navy);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--cream-deep);
  color: var(--navy);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero .cta-row { margin-top: 0.25rem; }

.link-amazon {
  font-weight: 600;
  font-size: 0.9375rem;
}

/* —— Soft points —— */
.soft-points {
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
  text-align: left;
}

.soft-points li {
  list-style: none;
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--navy-soft);
}

.soft-points li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  justify-self: center;
}

/* —— Owner Kit form (disabled) —— */
.form-disabled-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--cream-deep);
  border: 1px dashed var(--gold);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  color: var(--draft-warn);
  margin-bottom: 1.15rem;
}

.form-disabled-note span.badge {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  margin-top: 0.1rem;
}

.field { margin-bottom: 1rem; }

label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #F9F6F0;
  color: var(--muted);
  cursor: not-allowed;
}

input[type="email"]:disabled { opacity: 0.85; }

.cta-full {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  cursor: not-allowed;
  opacity: 0.72;
  letter-spacing: 0.01em;
}

.privacy-line {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.card .hint {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.draft-note {
  font-size: 0.8125rem;
  color: var(--draft-warn);
  background: var(--cream-deep);
  border-left: 3px solid var(--gold);
  padding: 0.65rem 0.9rem;
  margin-top: 1.25rem;
  border-radius: 0 6px 6px 0;
}

/* —— Footer —— */
footer.site {
  border-top: 1px solid var(--line);
  background: var(--cream-deep);
  padding: 1.5rem 0 2rem;
  margin-top: auto;
}

footer .wrap { text-align: center; }

footer .author {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

footer .soft-am {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
  max-width: 38em;
  margin-left: auto;
  margin-right: auto;
}

footer .soft-am a { color: var(--navy-soft); }

footer .meta {
  font-size: 0.75rem;
  color: #8A8490;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin: 0.85rem 0 1rem;
  font-size: 0.8125rem;
}

footer nav a {
  color: var(--muted);
  text-decoration: none;
}

footer nav a:hover { color: var(--navy); text-decoration: underline; }

@media (min-width: 520px) {
  .card { padding: 2rem 2rem 1.75rem; }
  .cta-full { width: auto; min-width: 14rem; margin: 0 auto; }
}

@media (max-width: 519px) {
  .brand-sub { display: none; }
  nav.site-nav { width: 100%; }
}

/* —— Brand assets —— */
.header-bar {
  display: block;
  width: 100%;
  max-height: 72px;
  object-fit: cover;
  object-position: left center;
  background: var(--navy);
}

.header-bar-link {
  display: block;
  line-height: 0;
  border-bottom: none;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(28, 42, 68, 0.08);
  margin-bottom: 1.75rem;
}

.brand-mark-img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 0.35rem;
}

.og-wordmark {
  width: min(180px, 40vw);
  height: auto;
  margin: 1.5rem auto 0;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
}

@media (max-width: 519px) {
  .header-bar { max-height: 56px; }
}
