/* Plumed Duck — shared site styles */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #F5EFE3;
  --bg-alt: #EDE4D0;
  --ink: #2B231C;
  --ink-soft: #5A4E40;
  --rufous: #8B3A2F;
  --rufous-dark: #6E2E26;
  --slate: #5C6B6F;
  --plume: #B99A55;
  --line: rgba(43, 35, 28, 0.14);
  --max: 780px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; max-width: var(--max); }

a { color: var(--rufous); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */

header.site {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
}

nav.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 26px;
  font-size: 0.95rem;
}

nav.site-nav a:hover { color: var(--rufous); }

/* Hero */

.hero {
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .plume-art { order: -1; height: 160px; }
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 480px;
}

.cta {
  display: inline-block;
  margin-top: 12px;
  padding: 13px 26px;
  background: var(--rufous);
  color: var(--bg);
  text-decoration: none;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.98rem;
  border: 1px solid var(--rufous);
  transition: background 0.15s ease, color 0.15s ease;
}

.cta:hover { background: var(--rufous-dark); border-color: var(--rufous-dark); }

.cta.secondary {
  background: transparent;
  color: var(--rufous);
}

.cta.secondary:hover { background: var(--rufous); color: var(--bg); }

/* Feather-plume motif (SVG) */

.plume-art { width: 100%; height: 260px; }
.plume-art path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.plume-art .draw {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1.4s ease forwards;
}
.plume-art .d1 { animation-delay: 0.05s; }
.plume-art .d2 { animation-delay: 0.15s; }
.plume-art .d3 { animation-delay: 0.25s; }
.plume-art .d4 { animation-delay: 0.35s; }
.plume-art .d5 { animation-delay: 0.45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Divider */

.divider {
  height: 40px;
  width: 100%;
  display: block;
  margin: 8px 0;
}

/* Sections */

section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }

.section-lede {
  max-width: 620px;
  color: var(--ink-soft);
}

/* Product grid */

.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 32px;
}

@media (max-width: 700px) {
  .products { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--bg);
  padding: 32px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: background 0.15s ease;
}

.product-card:hover { background: var(--bg-alt); }

.product-card h3 { margin-bottom: 6px; }

.product-card .desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.status {
  display: inline-block;
  font-size: 0.82rem;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink-soft);
}

.status.live { border-color: var(--rufous); color: var(--rufous); }

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; }
}

.fact-list { border-top: 1px solid var(--line); }
.fact-list div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-list dt { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 3px; }
.fact-list dd { margin: 0; font-family: 'Fraunces', serif; font-size: 1.1rem; }

/* Footer */

footer.site {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

footer.site a { color: var(--ink-soft); }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Product page */

.product-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}

.product-hero .status { margin-bottom: 16px; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  max-width: var(--max);
}

.feature-list strong { display: block; margin-bottom: 3px; }

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}
.back-link:hover { color: var(--rufous); }

.access-box {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 28px;
  margin-top: 32px;
  max-width: 560px;
}
.access-box h3 { margin-bottom: 8px; }
