/* ==========================================================================
   R&B's Mo'Betta Green MarketPlace — Coming Soon
   Palette + type drawn from the market banner and canopy.
   Wright Adventures
   ========================================================================== */

:root {
  /* Brand — sampled from the market banner */
  --red:        #E23B2E;   /* MO'BETTA red, canopy red */
  --red-dark:   #B82A20;
  --green:      #45BE6B;   /* GREEN green */
  --green-dark: #2E9A50;
  --brown:      #3F322B;   /* MARKETPLACE / torn ribbon brown */
  --brown-mid:  #6B5A4E;
  --paper:      #F7F3EA;   /* weathered banner white */
  --paper-warm: #EFE8DA;
  --white:      #FFFFFF;

  --ink:       var(--brown);
  --ink-muted: #6B5A4E;
  --rule:      rgba(63, 50, 43, 0.14);

  --font-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-condensed: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 70rem;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
  --radius: 16px;
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(70% 55% at 8% 0%, rgba(69, 190, 107, 0.16) 0%, transparent 65%),
    radial-gradient(65% 50% at 96% 4%, rgba(226, 59, 46, 0.14) 0%, transparent 62%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400; /* Archivo Black ships a single weight */
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------- wordmark --
   Type-set recreation of the painted banner lockup. Sizing is driven by the
   container's font-size so the whole lockup scales as one unit.             */

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.86;
  text-transform: uppercase;
  font-family: var(--font-display);
  white-space: nowrap;
}

.logo__rb {
  font-size: 0.30em;
  color: var(--brown);
  letter-spacing: 0.02em;
  margin-bottom: 0.12em;
}

.logo__mo {
  font-size: 1em;
  color: var(--red);
  letter-spacing: -0.01em;
}

.logo__green {
  /* sized so GREEN sets flush to the width of MO'BETTA above it */
  font-size: 1.56em;
  color: var(--green);
  letter-spacing: -0.015em;
  /* the painted logo tucks GREEN up under MO'BETTA */
  margin-top: -0.06em;
}

.logo__mkt {
  font-size: 0.315em;
  color: var(--brown);
  letter-spacing: 0.13em;
  margin-top: 0.22em;
}

.logo--sm { font-size: clamp(1.05rem, 2.6vw, 1.35rem); }
.logo--hero { font-size: clamp(2.1rem, 8.5vw, 4.6rem); }

/* -------------------------------------------------------------- header -- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(1.1rem, 3vw, 1.9rem) var(--pad);
}

.brand { text-decoration: none; }

.social { display: flex; gap: 0.55rem; }

.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brown);
  transition: background 180ms ease, transform 180ms ease;
}
.social a:nth-child(1):hover { background: var(--red); }
.social a:nth-child(2):hover { background: var(--green-dark); }
.social a:hover { transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; fill: var(--paper); }

/* ---------------------------------------------------------------- hero -- */

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) var(--pad) clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.eyebrow {
  font-family: var(--font-condensed);
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.logo--hero { margin-bottom: clamp(1.75rem, 5vw, 2.75rem); }

.hero__title {
  font-size: clamp(2rem, 6.5vw, 3.9rem);
  max-width: 18ch;
  margin: 0 auto 1.25rem;
  color: var(--brown);
}

.hero__title span,
.hero__title em { display: block; }

.hero__title em {
  font-style: normal;
  color: var(--green-dark);
}

.hero__lede {
  max-width: 48ch;
  margin: 0 auto 2rem;
  font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.25rem);
  color: var(--ink-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }

.btn--green { background: var(--green-dark); color: var(--white); }
.btn--green:hover { background: var(--green); }

.btn--outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn--outline:hover { background: var(--brown); color: var(--paper); }

/* -------------------------------------------------------------- ribbon --
   The torn brown strip from the banner, carrying the Integris Food line.    */

.ribbon {
  position: relative;
  background: var(--brown);
  padding: clamp(1.4rem, 3.5vw, 2rem) var(--pad);
  margin: clamp(1rem, 3vw, 2rem) 0;
}

.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 14px;
  background-repeat: repeat-x;
  background-size: 240px 14px;
}

/* torn top edge */
.ribbon::before {
  top: -13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='14' preserveAspectRatio='none'%3E%3Cpath d='M0 14 C 18 4, 34 12, 52 6 C 70 0, 88 10, 108 5 C 126 1, 146 11, 168 6 C 188 2, 206 12, 224 7 C 232 5, 236 9, 240 8 L240 14 Z' fill='%233F322B'/%3E%3C/svg%3E");
}

/* torn bottom edge */
.ribbon::after {
  bottom: -13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='14' preserveAspectRatio='none'%3E%3Cpath d='M0 0 C 20 9, 38 2, 58 8 C 78 13, 96 3, 116 8 C 136 13, 154 3, 176 8 C 196 12, 212 3, 230 7 C 235 8, 238 6, 240 6 L240 0 Z' fill='%233F322B'/%3E%3C/svg%3E");
}

.ribbon__text {
  max-width: var(--wrap);
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-condensed);
  font-size: clamp(0.95rem, 2.6vw, 1.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
}
.ribbon__text sup { font-size: 0.5em; }

/* ------------------------------------------------------------- founder -- */

.founder {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 52rem) {
  .founder { grid-template-columns: 1.05fr 1fr; }
}

.founder__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-warm);
  /* white banner-style border, like the market signage */
  border: 8px solid var(--white);
  box-shadow: 0 14px 32px rgba(63, 50, 43, 0.16);
  transform: rotate(-1.2deg);
}

.founder__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.founder__quote { margin: 0; }

.founder__quote > p:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--brown);
}

.founder__quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-condensed);
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.founder__note {
  margin: 1.25rem 0 0;
  color: var(--ink-muted);
  max-width: 42ch;
}

/* ------------------------------------------------------------- pillars -- */

.pillars {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(2.5rem, 6vw, 4rem);
}

.pillars__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.pillar {
  padding: 1.9rem 1.6rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 2px solid var(--rule);
  border-bottom-width: 6px;
  transition: transform 200ms ease, border-color 200ms ease;
}
.pillar:hover { transform: translateY(-4px); }

.pillar--red    { border-bottom-color: var(--red); }
.pillar--green  { border-bottom-color: var(--green); }
.pillar--brown  { border-bottom-color: var(--brown); }

.pillar__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
}
.pillar--red   .pillar__icon { background: rgba(226, 59, 46, 0.12); }
.pillar--green .pillar__icon { background: rgba(69, 190, 107, 0.16); }
.pillar--brown .pillar__icon { background: rgba(63, 50, 43, 0.10); }

.pillar__icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar--red   .pillar__icon svg { stroke: var(--red); }
.pillar--green .pillar__icon svg { stroke: var(--green-dark); }
.pillar--brown .pillar__icon svg { stroke: var(--brown); }

.pillar h2 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.pillar p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* ---------------------------------------------------------- stay close -- */

.stay-close {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(2.5rem, 6vw, 4rem);
}

.stay-close__inner {
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--brown);
  color: var(--paper);
  text-align: center;
}

.stay-close__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: rgba(247, 243, 234, 0.12);
}
.stay-close__icon svg { width: 30px; height: 30px; fill: var(--green); }

.stay-close__title {
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  margin-bottom: 0.85rem;
}

.stay-close__copy {
  max-width: 46ch;
  margin: 0 auto 1.85rem;
  color: rgba(247, 243, 234, 0.78);
}

.stay-close__alt {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: rgba(247, 243, 234, 0.7);
}
.stay-close__alt .link { color: var(--paper); }

/* ------------------------------------------------------------- find us -- */

.find-us {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(2.5rem, 6vw, 4rem);
}

.find-us__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 2px solid var(--rule);
}

.find-us__col h2 {
  font-family: var(--font-condensed);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.find-us__addr {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.find-us__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: color 150ms ease;
}
.link:hover { color: var(--green-dark); }

/* -------------------------------------------------------------- footer -- */

.site-footer {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.site-footer__tag {
  font-family: var(--font-condensed);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.85rem;
}

.site-footer__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.dot { opacity: 0.5; }

/* --------------------------------------------------------- entry anim -- */

.hero > *,
.pillar,
.stay-close__inner,
.find-us__col {
  animation: rise 700ms cubic-bezier(0.22, 0.68, 0.35, 1) backwards;
}
.hero > *:nth-child(1) { animation-delay: 60ms; }
.hero > *:nth-child(2) { animation-delay: 130ms; }
.hero > *:nth-child(3) { animation-delay: 210ms; }
.hero > *:nth-child(4) { animation-delay: 280ms; }
.hero > *:nth-child(5) { animation-delay: 350ms; }
.pillar:nth-child(1) { animation-delay: 100ms; }
.pillar:nth-child(2) { animation-delay: 180ms; }
.pillar:nth-child(3) { animation-delay: 260ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- narrow -- */

@media (max-width: 30rem) {
  .hero__actions .btn,
  .stay-close__btn { width: 100%; }
}
