/* =========================================================
   Gold Coast Cultivars — single-page brand site
   ========================================================= */

:root {
  /* palette */
  --bg:        #FAF6EE;     /* warm cream */
  --bg-alt:    #F2EBDC;     /* deeper cream for alternating bands */
  --ink:       #14211B;     /* near-black ink */
  --ink-soft:  #2A3A32;
  --muted:     #5C6962;
  --line:      rgba(20, 33, 27, 0.12);

  --emerald:   #1F3B2C;     /* deep emerald — the "leaf" */
  --emerald-2: #15291F;     /* darker for compliance band */
  --gold:      #B8893C;     /* rich gold (Gold Coast) */
  --gold-2:    #D6B26A;     /* lighter gold for hover/lines */

  /* type */
  --serif:  'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* layout */
  --max:    1200px;
  --pad-x:  clamp(1.25rem, 4vw, 2.5rem);
  --pad-y:  clamp(4.5rem, 10vw, 8rem);
  --radius: 4px;

  /* motion */
  --ease:   cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Container & typography primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}
.eyebrow--light { color: var(--gold-2); }

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1.25rem;
  font-variation-settings: "opsz" 144;
}
.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--emerald);
}
.section__title--light { color: #F4ECD8; }

.prose p { margin: 0 0 1.1rem; color: var(--ink-soft); max-width: 56ch; }
.prose p:last-child { margin-bottom: 0; }
.prose em { color: var(--emerald); font-style: italic; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose--light p { color: rgba(244, 236, 216, 0.86); max-width: 60ch; margin-inline: auto; }
.prose--light strong { color: #fff; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 250ms var(--ease), background 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.button--gold {
  background: var(--gold);
  color: #1a1308;
}
.button--gold:hover { background: var(--gold-2); }

.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button--ghost:hover { border-color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 250ms var(--ease), border-color 250ms var(--ease), backdrop-filter 250ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}
.brand__mark { display: inline-flex; color: var(--emerald); }
.brand__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.92rem;
}
.nav__links a {
  color: var(--ink-soft);
  transition: color 200ms var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  padding: 0.55rem 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink) !important;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.nav__cta:hover {
  background: var(--ink);
  color: var(--bg) !important;
}

@media (max-width: 640px) {
  .brand__name { display: none; }
  .nav__links { gap: 1rem; }
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(8rem, 18vw, 11rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(184, 137, 60, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(31, 59, 44, 0.10), transparent 60%),
    var(--bg);
}
.hero::before {
  /* Faint Kente-inspired weave — see pattern.svg.
     Opacity is intentionally low so the pattern is felt, not read. */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/pattern.svg');
  background-size: 200px 200px;
  background-repeat: repeat;
  opacity: 0.10;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
  pointer-events: none;
}

.hero__inner { position: relative; }

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 1.5rem;
  max-width: 13ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--emerald);
}

.hero__lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 0 2.25rem;
  font-weight: 300;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line) 20%, var(--line) 80%, transparent);
}

/* ---------- Section frame ---------- */
.section {
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
  position: relative;
}

.section__head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 56ch;
}

/* ---------- About ---------- */
.section--about { background: var(--bg); }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (min-width: 820px) {
  .grid-2 { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); }
}

/* ---------- Operations / cards ---------- */
.section--ops { background: var(--bg-alt); }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 760px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform 350ms var(--ease), border-color 350ms var(--ease), box-shadow 350ms var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 33, 27, 0.22);
  box-shadow: 0 18px 40px -28px rgba(20, 33, 27, 0.35);
}

.card__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.card__tag--active {
  color: var(--emerald);
  background: rgba(31, 59, 44, 0.08);
}
.card__tag--active::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(31, 59, 44, 0.15);
}
.card__tag--soon {
  color: var(--gold);
  background: rgba(184, 137, 60, 0.10);
}
.card__tag--soon::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

.card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.card__body {
  margin: 0;
  color: var(--ink-soft);
}
.card__body strong { color: var(--emerald); font-weight: 600; }

.card__list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.card__list li {
  position: relative;
  padding-left: 1.4rem;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 14px; height: 1px;
  background: var(--gold);
}

/* ---------- Compliance band ---------- */
.section--compliance {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(184, 137, 60, 0.12), transparent 70%),
    var(--emerald-2);
  color: #F4ECD8;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section--compliance::before,
.section--compliance::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 40px;
  background: var(--gold);
  opacity: 0.6;
  transform: translateX(-50%);
}
.section--compliance::before { top: 0; }
.section--compliance::after  { bottom: 0; }

.compliance {
  max-width: 760px;
  margin: 0 auto;
}

.status {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 3rem 0 0;
  background: rgba(214, 178, 106, 0.18);
  border: 1px solid rgba(214, 178, 106, 0.18);
  border-radius: 6px;
  overflow: hidden;
  text-align: left;
}
@media (min-width: 720px) {
  .status { grid-template-columns: 1fr 1fr; }
}
.status__item {
  background: rgba(0, 0, 0, 0.18);
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.status__item dt {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 500;
}
.status__item dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #F4ECD8;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 137, 60, 0.25);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 137, 60, 0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(184, 137, 60, 0.05); }
}

/* ---------- Contact ---------- */
.section--contact {
  background: var(--bg);
  text-align: center;
}
.contact { max-width: 720px; margin: 0 auto; }

.contact__email {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  letter-spacing: -0.015em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
  transition: color 250ms var(--ease), border-color 250ms var(--ease);
  word-break: break-all;
}
.contact__email:hover {
  color: var(--emerald);
  border-bottom-color: var(--gold);
}

.contact__meta {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(244, 236, 216, 0.7);
  padding: 2.25rem 0;
  font-size: 0.85rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
@media (min-width: 720px) {
  .footer__inner { flex-direction: row; text-align: left; }
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 0.95rem;
}
.footer__meta { margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 140ms; }
.reveal:nth-child(4) { transition-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
