/* ============================================================
   anazambrin.com — shared stylesheet
   Plain CSS, no preprocessor. Variables at :root, mobile-first.
   ============================================================ */

@font-face {
  font-family: 'Bariol';
  src: url('/assets/fonts/Bariol_Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('/assets/fonts/Quicksand-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #FCF4E9;
  --color-surface: #FFFFFF;
  --color-text: #2B2B2B;
  --color-muted: #6B6257;
  --color-primary: #357E58;
  --color-primary-dark: #275E42;
  --color-accent: #BB5A29;
  --color-border: #E8DDC9;

  --font-heading: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Bariol', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(43, 43, 43, 0.08);
  --shadow-md: 0 8px 24px rgba(43, 43, 43, 0.12);

  --container-max: 1120px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 var(--space-sm); }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--color-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover {
  background: #9A481F;
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-ghost:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: rgba(252, 244, 233, 0.92);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.site-header .brand img {
  height: 28px;
  width: auto;
  display: block;
}
.site-header nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
}
.site-header nav a {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.site-header nav a:hover { color: var(--color-primary); }

/* ---------- Hero ---------- */
.hero {
  padding: var(--space-xl) 0;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto var(--space-md);
}
.hero-image-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}
.hero-image {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* ---------- Sections ---------- */
section { padding: var(--space-xl) 0; }
.section-title { text-align: center; margin-bottom: var(--space-lg); }
.section-title .eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  font-weight: 700;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.product-card h3 { margin-top: var(--space-sm); }
.product-card p { color: var(--color-muted); flex: 1; }
.product-card .btn { margin-top: var(--space-sm); align-self: flex-start; }
.product-card .cover {
  aspect-ratio: 4 / 3;
  background: var(--color-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.85rem;
  overflow: hidden;
  padding: var(--space-sm);
}
.product-card .cover img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.product-card .cover.cover-combo {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: var(--space-md);
  flex-direction: column;
  gap: var(--space-xs);
}
.product-card .cover.cover-combo .combo-kicker {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Feature list (what's included) ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-sm);
}
.feature-list li {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-primary);
}
.feature-list li strong { display: block; margin-bottom: 0.25rem; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
  border: 1px solid var(--color-border);
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.25rem 0;
  outline: none;
}
.faq details[open] summary { color: var(--color-primary); }
.faq details p { margin-top: var(--space-sm); color: var(--color-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn-accent { margin-top: var(--space-sm); }

/* ---------- Footer ---------- */
.site-footer {
  background: #2B2B2B;
  color: #E8DDC9;
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a { color: #FCF4E9; }
.site-footer .social {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-sm);
}

/* ---------- Linktree page (/links.html) ---------- */
.links-page {
  background: var(--color-bg);
  min-height: 100vh;
  padding: var(--space-lg) var(--space-md);
}
.links-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.links-brand-top {
  text-align: center;
  margin-bottom: var(--space-md);
}
.links-brand-top-logo {
  display: inline-block;
  height: 32px;
  width: auto;
  opacity: 0.85;
}
.links-brand-bottom {
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.links-brand-bottom-logo {
  display: inline-block;
  height: 56px;
  width: auto;
}
.links-profile {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.links-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  margin: 0 auto var(--space-sm);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--color-surface);
}
.links-profile h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}
.links-profile p {
  color: var(--color-muted);
  margin: 0;
}
.links-section {
  padding: 0;
  margin-bottom: var(--space-lg);
}
.links-section-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-sm);
}
.link-item {
  display: block;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem var(--space-md);
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.link-item:hover {
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.link-item .link-sub {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
}
.link-item.link-featured {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.link-item.link-featured:hover {
  background: var(--color-primary-dark);
  color: #fff;
}
.link-item.link-featured .link-sub { color: rgba(255, 255, 255, 0.85); }
.links-footer {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.85rem;
  padding: var(--space-md) 0;
}
.links-footer a { color: var(--color-muted); }
.links-footer a:hover { color: var(--color-primary); }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.featured-3 { grid-template-columns: repeat(3, 1fr); }
  .product-card .cover { aspect-ratio: 3 / 4; }

  .hero-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    text-align: left;
  }
  .hero-split .hero-text { text-align: left; }
  .hero-split p.lead { margin-left: 0; }

  .feature-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
