/* Hill View Mini Barns - Pitch Demo Styles
   Custom CSS layered on top of Tailwind Play CDN.
   Color tokens are also defined in the Tailwind config block in each HTML file
   so utility classes like `bg-pine` and `text-cream` work. */

:root {
  --pine: #1F3D2F;
  --pine-deep: #142719;
  --pine-soft: #2C5742;
  --cream: #FAF6EE;
  --cream-warm: #F2EBDB;
  --barn: #A23E2A;
  --barn-dark: #82301F;
  --tan: #D9C9A8;
  --charcoal: #1B1B1B;
  --muted: #6B6457;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.font-display {
  font-family: 'Fraunces', 'Georgia', serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50;
  letter-spacing: -0.01em;
}

/* Soft texture for cream sections without overpowering content */
.bg-cream-texture {
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(31, 61, 47, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Subtle pine band */
.pine-rule {
  height: 4px;
  background: linear-gradient(90deg, var(--pine) 0%, var(--pine-soft) 50%, var(--tan) 100%);
}

/* Sticky mobile CTA bar safe-area padding */
.mobile-cta-bar {
  padding-bottom: env(safe-area-inset-bottom);
}

/* Add bottom padding to page so sticky mobile bar doesn't overlap footer */
@media (max-width: 1023px) {
  body {
    padding-bottom: 64px;
  }
}

/* Category card hover lift */
.category-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(31, 61, 47, 0.35);
}

/* Big hero image treatment */
.hero-img {
  background-position: center;
  background-size: cover;
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--barn);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Form inputs */
.field {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid rgba(31, 61, 47, 0.18);
  border-radius: 6px;
  background: white;
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(31, 61, 47, 0.12);
}

/* Section heading eyebrow */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--barn);
}

/* Subtle on-brand link underline for prose */
.prose-link {
  color: var(--pine);
  text-decoration: underline;
  text-decoration-color: var(--tan);
  text-underline-offset: 3px;
}
.prose-link:hover {
  text-decoration-color: var(--barn);
}

/* Visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Demo banner at the very top of the page */
.demo-banner {
  background: var(--pine-deep);
  color: var(--cream);
  font-size: 0.75rem;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: 0.04em;
}
.demo-banner strong { color: var(--tan); }
