/* floraprofile.com — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Source+Serif+4:ital,wght@0,300;0,400;1,300&family=Inter:wght@400;500&display=swap');

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

:root {
  --ink:       #1a1a18;
  --ink-mid:   #4a4a44;
  --ink-muted: #8a8a80;
  --paper:     #f9f7f2;
  --paper-alt: #f1ede4;
  --rule:      #ddd9ce;
  --accent:    #3d6b4f;
  --accent-lt: #eaf2ec;
  --serif:     'Playfair Display', Georgia, serif;
  --body:      'Source Serif 4', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
}

html { font-size: 18px; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-logo span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.site-nav a {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
}

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

/* ── HERO ── */
.hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  border-bottom: 1px solid var(--rule);
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.hero-deck {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-mid);
  max-width: 620px;
}

.hero-meta {
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.hero-meta::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--rule);
}

/* ── ARTICLE BODY ── */
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 4rem;
  align-items: start;
}

.article-body { min-width: 0; }

.article-body h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
  color: var(--ink);
}

.article-body h2:first-child { margin-top: 0; }

.article-body p {
  margin-bottom: 1.4rem;
  color: var(--ink);
}

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

.article-body strong { font-weight: 600; }

.pull-quote {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1.25rem;
  margin: 2rem 0;
  background: var(--accent-lt);
  border-radius: 0 4px 4px 0;
}

.pull-quote p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  margin: 0;
  line-height: 1.6;
}

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 88px; }

.sidebar-card {
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  display: block;
}

.sidebar-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.sidebar-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-mid);
  margin-bottom: 1.1rem;
}

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.product-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(61,107,79,0.1);
}

.product-card-cat {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.product-card h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.product-card p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-mid);
  flex: 1;
  margin-bottom: 1rem;
}

.product-card-cta {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ── CTA BUTTON ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-primary:hover { background: #2e5139; }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.72rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
}

/* ── COLLECTION STRIP ── */
.collection-strip {
  background: var(--paper-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 3rem 2rem;
  margin: 2rem 0;
}

.collection-strip-inner {
  max-width: 780px;
  margin: 0 auto;
}

.collection-strip h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.collection-strip p {
  color: var(--ink-mid);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.collection-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 2rem;
  margin-top: 4rem;
  text-align: center;
}

.site-footer p {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--ink-muted);
  line-height: 1.8;
}

.site-footer a { color: var(--ink-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .article-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sidebar { position: static; }
  .site-nav { display: none; }
  .hero { padding: 3rem 1.25rem 2rem; }
  .article-wrap { padding: 2rem 1.25rem; }
  .collection-strip { padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
