/* ============================================
   BELIZE COCONUT COMPANY
   Editorial / cinematic prototype
   ============================================ */

:root {
  --ink: #1a1a17;
  --paper: #fbf8f1;
  --cream: #f3ede0;
  --green: #1f3a2e;
  --green-deep: #122620;
  --gold: #b08945;
  --rule: rgba(26,26,23,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============ TYPOGRAPHY ============ */

h1, h2, h3 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  margin-bottom: 1.4rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.eyebrow.dark { color: var(--green); }
.eyebrow.light { color: var(--gold); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.5;
  max-width: 36em;
  margin-top: 1.5rem;
  margin-bottom: 2.4rem;
}

.body-lg {
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

p { font-size: 1rem; }

/* ============ LAYOUT ============ */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.4rem;
}
.container.narrow { max-width: 820px; }
.container.center { text-align: center; }

.section {
  padding: 7rem 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.stack { display: flex; flex-direction: column; gap: 1.2rem; }
.stack img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 2px;
}

/* ============ NAV ============ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.0);
  backdrop-filter: blur(0px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}
.nav.nav-solid {
  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--rule);
}
.nav.nav-solid .brand { color: var(--green-deep); }
.nav.nav-solid .nav-links a { color: var(--ink); opacity: 0.7; }
.nav.nav-solid .nav-links a:hover { opacity: 1; }

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.4rem 2.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--paper);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

/* ============ HERO ============ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.25) 35%,
    rgba(0,0,0,0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.4rem;
  color: var(--paper);
  width: 100%;
}

.hero .eyebrow {
  color: var(--paper);
  opacity: 0.85;
}

.hero h1 {
  color: var(--paper);
  max-width: 18ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}

.hero .lede {
  color: rgba(251, 248, 241, 0.92);
}

.hero-scroll {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--paper);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  border: 1px solid rgba(251, 248, 241, 0.85);
  border-radius: 1px;
  transition: background 0.25s, color 0.25s;
}
.btn:hover {
  background: var(--paper);
  color: var(--ink);
}
.btn.dark {
  color: var(--ink);
  border-color: var(--ink);
}
.btn.dark:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ============ BAND IMAGES ============ */

.band-image {
  height: 70vh;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.band-image.tall { height: 85vh; }

.band-caption {
  position: absolute;
  bottom: 1.6rem;
  right: 2rem;
  background: rgba(0,0,0,0.35);
  padding: 0.5rem 1rem;
  color: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============ STORY ============ */

.section-story {
  background: var(--cream);
  text-align: center;
}
.section-story h2 { max-width: 22ch; margin: 0 auto 2.5rem; }
.story-body {
  max-width: 36em;
  margin: 0 auto;
  text-align: left;
}
.story-body p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.3rem;
  font-weight: 300;
}

/* ============ LAND ============ */

.section-land { background: var(--paper); }

/* ============ SCALE ============ */

.band-dark {
  background: var(--green-deep);
  color: var(--paper);
}
.band-dark .container { text-align: center; }
.white { color: var(--paper); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.stat {
  border-top: 1px solid rgba(251, 248, 241, 0.2);
  padding-top: 1.6rem;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: rgba(251, 248, 241, 0.75);
  text-transform: uppercase;
}
.scale-footnote {
  margin-top: 3rem;
  font-size: 0.78rem;
  opacity: 0.6;
  font-style: italic;
}

/* ============ VISION ============ */

.section-vision {
  background: var(--paper);
  text-align: center;
}
.section-vision h2 { max-width: 22ch; margin: 0 auto; }

.pillar {
  text-align: center;
  padding: 0 0.5rem;
}
.pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1rem;
}
.pillar p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.85;
}

/* ============ CONTACT ============ */

.section-contact {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.section-contact h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.section-contact .body-lg { max-width: 38em; margin: 0 auto 2.5rem; }

/* ============ FOOTER ============ */

.footer {
  background: var(--green-deep);
  color: var(--paper);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer .brand { color: var(--paper); }
.footer-meta {
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 0.04em;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .section { padding: 4.5rem 0; }
  .container { padding: 0 1.4rem; }
  .nav-inner { padding: 1rem 1.4rem; }
  .nav-links { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .three-col { grid-template-columns: 1fr; gap: 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ============ CONTACT FORM ============ */

.contact-form {
  max-width: 38em;
  margin: 2rem auto 0;
  text-align: left;
}
.contact-form .form-row {
  margin-bottom: 1.5rem;
}
.contact-form label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
  opacity: 0.7;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-border-radius: 2px;
  margin: 0;
  display: block;
  min-height: 3rem;
}
.contact-form input[type="tel"] {
  -webkit-appearance: none !important;
  appearance: none !important;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-deep);
  background: var(--cream);
}
.contact-form textarea {
  resize: vertical;
  min-height: 6rem;
  font-family: 'Inter', sans-serif;
}
.contact-form button[type="submit"] {
  display: inline-block;
  margin-top: 0.5rem;
}

/* Ameicoco footer member line */
.footer-inner {
  flex-wrap: wrap;
}
.footer-member {
  flex-basis: 100%;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251, 248, 241, 0.1);
  font-style: italic;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .footer-member { margin-top: 0.5rem; padding-top: 1rem; }
}

/* ============ BUILT IN BELIZE ============ */

.section-belize {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section-belize h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.section-belize .body-lg {
  max-width: 42em;
  margin: 0 auto;
}

/* ============ VISION CLOSER LINE ============ */

.vision-closer {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--green-deep);
  text-align: center;
  max-width: 44em;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .vision-closer { margin-top: 2.5rem; padding-top: 1.5rem; font-size: 1.05rem; }
}
