/* Highland Cow Coloring — shared site styles */

@font-face {
  font-family: 'Fraunces';
  src: local('Fraunces');
}

:root {
  --cream: #FBF5EA;
  --cream-deep: #F4EBDA;
  --paper: #FFFDF9;
  --ink: #3A2A1E;
  --ink-soft: #7C6A57;
  --ink-faint: #A79B87;
  --line: #E8DBC3;
  --terracotta: #D9694A;
  --terracotta-deep: #B94F34;
  --gold: #D6A337;
  --sage: #7C8F6E;
  --shadow-soft: 0 20px 60px -30px rgba(58, 42, 30, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(58, 42, 30, 0.28);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
}

/* ---------- Grain / texture overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 245, 234, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--terracotta-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(217, 105, 74, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(217, 105, 74, 0.7); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-faint); }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
@media (min-width: 720px) { .menu-toggle { display: none; } }
@media (max-width: 719px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px 32px 26px;
    gap: 18px;
    box-shadow: var(--shadow-card);
  }
}

/* ---------- Buttons row ---------- */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding: 110px 0; }
@media (max-width: 720px) { .section-pad { padding: 72px 0; } }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-top: 14px;
  line-height: 1.1;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 18px;
  margin-top: 16px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #EFE4D3;
  padding: 72px 0 36px;
}
footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 720px) {
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
footer .brand-col .logo { color: #FBF5EA; }
footer p.tag {
  color: #C9B9A2;
  font-size: 14.5px;
  margin-top: 14px;
  max-width: 280px;
}
footer h4 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9B9A2;
  margin-bottom: 16px;
}
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
footer a { text-decoration: none; color: #EFE4D3; font-size: 15px; opacity: 0.88; transition: opacity .2s; }
footer a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  max-width: 1180px;
  margin: 56px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(239, 228, 211, 0.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #A6957F;
  font-size: 13.5px;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive layout grids (index page) ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-visual-grid { grid-template-columns: 1fr 1fr; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.gal-item { margin: 0; }
.gal-2 { grid-column: span 2; }
.gal-3 { grid-column: span 3; }
.rewards-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.rewards-visual { order: 2; }
.rewards-copy { order: 1; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 980px) {
  .features-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid, .rewards-grid, .safety-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rewards-visual, .rewards-copy { order: initial; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-2, .gal-3 { grid-column: span 1; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
}

/* ---------- Simple content pages (privacy/support/terms) ---------- */
.legal-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { font-size: clamp(34px, 5vw, 52px); margin-top: 14px; }
.legal-hero p.updated { color: var(--ink-faint); margin-top: 14px; font-size: 14.5px; }
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 32px 120px;
}
.legal-body h2 {
  font-size: 24px;
  margin-top: 48px;
  margin-bottom: 14px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a.inline { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--ink); }
.callout {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin: 32px 0;
}
.callout p { margin: 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 18px;
}
.back-link:hover { color: var(--terracotta-deep); }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--terracotta);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--ink-soft); }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow-card);
}
.contact-card img { width: 76px; height: 76px; flex-shrink: 0; }
.contact-card h3 { font-size: 22px; }
.contact-card p { color: var(--ink-soft); margin-top: 6px; }
