/* P. F. C. Woodcraft landing page
   Plain HTML/CSS, no external fonts, no tracking scripts.
*/
:root {
  --paper: #f7f2e8;
  --paper-deep: #eee4d4;
  --surface: #fffdf8;
  --ink: #282623;
  --muted: #6b645c;
  --line: #d9cdbb;
  --accent: #8a2f2f;
  --accent-dark: #642020;
  --accent-soft: #f0dede;
  --shadow: 0 20px 55px rgba(55, 42, 31, .12);
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}
.narrow { max-width: 820px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 242, 232, .94);
  border-bottom: 1px solid rgba(138, 47, 47, .16);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand-line {
  color: var(--muted);
  font-size: .78rem;
  margin-top: .2rem;
}
.text-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}

.hero {
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 14%, rgba(138, 47, 47, .08), transparent 32rem),
    linear-gradient(180deg, #fbf8f1 0%, var(--paper) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.hero-copy { max-width: 760px; }
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0 0 .8em;
  color: var(--ink);
  line-height: 1.12;
  font-weight: 600;
}
h1 { font-size: clamp(2.65rem, 6vw, 5.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.025em; }
h3 { font-size: 1.42rem; }
p { margin: 0 0 1.15em; }
.lead {
  font-size: clamp(1.28rem, 2.4vw, 1.78rem);
  line-height: 1.42;
}
.lead-small {
  font-size: 1.18rem;
  max-width: 680px;
  margin-inline: auto;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin: 2rem 0 2.2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .78rem 1.2rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(138, 47, 47, .18);
}
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.button-secondary {
  background: transparent;
  color: var(--accent-dark);
  box-shadow: none;
}
.button-secondary:hover { color: #fff; }
.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.quick-facts li {
  min-width: 118px;
  padding-right: 1.2rem;
  border-right: 1px solid var(--line);
}
.quick-facts li:last-child { border-right: 0; }
.quick-facts strong, .quick-facts span { display: block; }
.quick-facts strong { font-size: 1.06rem; }
.quick-facts span {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .75rem;
}

.hero-portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 350px);
}
.hero-portrait picture img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--surface);
  box-shadow: var(--shadow);
}
.oak-accent {
  position: absolute;
  right: -70px;
  bottom: -45px;
  width: 235px;
  transform: rotate(-8deg);
  opacity: .8;
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tinted {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.note {
  padding-left: 1.1rem;
  border-left: 4px solid var(--accent);
  color: var(--muted);
  font-style: italic;
}
.paper-card {
  margin: 0;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.paper-card img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top;
  border: 1px solid #ddd4c6;
}
figcaption {
  margin-top: .85rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  line-height: 1.5;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(55, 42, 31, .07);
}
.card p:last-child { margin-bottom: 0; }

.bonus-split { grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); }
.book-cover {
  margin: 0;
  justify-self: center;
  width: min(100%, 330px);
  padding: .8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.author-split { grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); }
.author-image img {
  width: min(100%, 420px);
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-faq { background: var(--surface); }
details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
}
details[open] summary::after { content: "–"; }
details p { margin: .8rem 2rem .3rem 0; color: var(--muted); }

.join-section {
  background:
    linear-gradient(rgba(40, 38, 35, .92), rgba(40, 38, 35, .92)),
    url("/images/manuscript-page.jpg") center 20% / cover no-repeat;
  color: #fff;
  text-align: center;
}
.join-section h2, .join-section .eyebrow { color: #fff; }
.join-section .eyebrow { opacity: .75; }
.brevo-frame {
  max-width: 620px;
  margin: 2rem auto 1rem;
  padding: .7rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.brevo-frame iframe {
  width: 100%;
  min-height: 305px;
  border: 0;
}
.form-note {
  max-width: 660px;
  margin: 1rem auto 0;
  color: rgba(255,255,255,.78);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
}
.form-note a { color: #fff; }

.site-footer {
  padding: 2.2rem 0;
  background: #201f1d;
  color: rgba(255,255,255,.72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8rem;
}
.site-footer strong { color: #fff; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}
.footer-links a { color: #fff; }

.legal-page { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--surface); }
.legal-page h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.legal-page h2 { margin-top: 2.2rem; font-size: 1.55rem; }
.legal-page address {
  margin: 1rem 0 2rem;
  padding: 1.2rem;
  background: var(--paper);
  border-left: 4px solid var(--accent);
  font-style: normal;
}
.legal-page li { margin-bottom: .45rem; }
.last-updated, .small-print {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem;
}
.legal-callout {
  margin-top: 2.4rem;
  padding: 1.2rem 1.4rem;
  background: var(--accent-soft);
  border: 1px solid #ddbbbb;
  border-radius: 10px;
}
.legal-callout p { margin: 0; }

:focus-visible {
  outline: 3px solid #d88787;
  outline-offset: 4px;
}

@media (max-width: 880px) {
  .hero-grid, .split, .bonus-split, .author-split {
    grid-template-columns: 1fr;
  }
  .hero-portrait { width: min(72vw, 330px); }
  .hero-copy { max-width: none; }
  .oak-accent { right: -50px; }
  .card-grid { grid-template-columns: 1fr; }
  .paper-card { transform: none; max-width: 560px; margin-inline: auto; }
  .author-image { order: -1; }
  .author-image img { max-height: 600px; object-fit: cover; object-position: center 18%; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .site-header { position: static; }
  .header-inner { min-height: 68px; }
  .brand-line { display: none; }
  .text-link { font-size: .8rem; }
  h1 { font-size: clamp(2.4rem, 13vw, 3.6rem); }
  .button-row { flex-direction: column; }
  .button { width: 100%; }
  .quick-facts { gap: .8rem; }
  .quick-facts li { min-width: calc(50% - .4rem); }
  .quick-facts li:nth-child(2) { border-right: 0; }
  .hero { padding-top: 3.2rem; }
  .hero-portrait { width: min(78vw, 300px); }
  .oak-accent { width: 190px; right: -45px; bottom: -35px; }
  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .brevo-frame { padding: .25rem; border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
