/* =========================================================================
   The Wild Hive — marketing site
   Design tokens & styles. Recreated from the handoff design reference.
   ========================================================================= */

:root {
  /* Colour */
  --forest-canopy: #2E3D2F;   /* primary brand / dark sections, nav, footer */
  --deep-forest:   #26331F;   /* footer background */
  --fynbos-sage:   #7A8B6F;   /* secondary green */
  --honey-amber:   #C88A3D;   /* signature accent */
  --warm-timber:   #9C6B3F;   /* eyebrow labels, small print */
  --bushveld-stone:#E8E1D5;   /* warm neutral section bg */
  --blush-protea:  #E4B7A0;   /* soft accent (script on dark) */
  --linen-white:   #F6F2EA;   /* page base / light text on dark */
  --charcoal:      #2B2B2B;   /* body text */
  --body-muted:    #4a4a44;
  --body-muted-2:  #5a5a52;
  --on-dark:       #cdd3c2;
  --on-dark-2:     #aeb598;
  --on-dark-3:     #8f9a83;

  --btn-ink:       #2b2413;   /* text on honey buttons */

  --maxw: 1180px;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-script: 'Sacramento', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--linen-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--honey-amber); color: var(--linen-white); }

a { text-decoration: none; color: inherit; }

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

h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  padding: 15px 30px; border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  line-height: 1;
}
.btn-primary {
  background: var(--honey-amber); color: var(--btn-ink);
  box-shadow: 0 6px 18px rgba(200,138,61,0.22);
}
.btn-primary:hover {
  background: #b97d33; transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(200,138,61,0.30);
}
.btn-ghost {
  color: var(--linen-white);
  border-color: rgba(246,242,234,0.6); background: transparent;
}
.btn-ghost:hover {
  background: rgba(246,242,234,0.10);
  border-color: rgba(246,242,234,0.9);
}
.btn-sm { padding: 14px 28px; }

/* ---- Eyebrow / script labels --------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--warm-timber);
}
.script { font-family: var(--font-script); line-height: 0.8; }

/* ---- Mark ----------------------------------------------------------------- */
.mark { display: block; height: auto; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(46,61,47,0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: box-shadow .25s ease;
}
.nav.scrolled { box-shadow: 0 6px 22px rgba(0,0,0,0.22); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { color: var(--bushveld-stone); width: 34px; }
.brand__name {
  font-family: var(--font-display); font-weight: 500; font-size: 21px;
  color: var(--linen-white);
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--on-dark); transition: color .18s ease;
}
.nav__link:hover { color: var(--linen-white); }
.nav__cta {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--btn-ink); background: var(--honey-amber);
  padding: 10px 20px; border-radius: 100px;
  transition: background-color .18s ease, transform .18s ease;
}
.nav__cta:hover { background: #b97d33; transform: translateY(-1px); }

/* Hamburger */
.nav__toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 42px; height: 42px; padding: 9px;
}
.nav__toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--linen-white); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle span + span { margin-top: 5px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; height: 640px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(46,61,47,0.55), rgba(46,61,47,0.2) 40%, rgba(46,61,47,0.78));
}
.hero__inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 0 32px; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
}
.hero__script { font-size: 46px; color: var(--blush-protea); }
.hero__title {
  font-family: var(--font-display); font-weight: 500; font-size: 78px;
  color: var(--linen-white); line-height: 0.98; margin-top: 12px;
  letter-spacing: -0.01em;
}
.hero__tag {
  font-family: var(--font-display); font-style: italic; font-size: 22px;
  color: #eddfce; margin-top: 18px;
}
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.hero__address {
  position: absolute; bottom: 22px; left: 0; right: 0; text-align: center;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(246,242,234,0.7);
}

/* =========================================================================
   BOOKING BAR
   ========================================================================= */
.booking { background: var(--forest-canopy); }
.booking__form {
  max-width: 1000px; margin: 0 auto; padding: 22px 32px;
  display: flex; align-items: flex-end; gap: 20px;
  flex-wrap: wrap; justify-content: center;
}
.field { display: flex; flex-direction: column; }
.field__label {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-3); margin-bottom: 6px;
}
.field__input {
  background: var(--linen-white); border: 0; border-radius: 8px;
  padding: 12px 18px;
  font-family: var(--font-display); font-size: 15px; color: var(--forest-canopy);
  min-width: 150px; height: 46px;
}
.field__input:focus-visible { outline: 2px solid var(--honey-amber); outline-offset: 2px; }
.field--guests .field__input { min-width: 120px; }
.booking .btn-primary { border-radius: 8px; align-self: flex-end; }

/* =========================================================================
   STORY
   ========================================================================= */
.story { max-width: 820px; margin: 0 auto; padding: 88px 32px 72px; text-align: center; }
.story__mark { color: var(--forest-canopy); width: 58px; margin: 0 auto; }
.story__title {
  font-family: var(--font-display); font-weight: 400; font-size: 40px;
  color: var(--forest-canopy); line-height: 1.2; margin: 22px 0 20px;
}
.story__body { font-size: 16.5px; line-height: 1.8; color: var(--body-muted); }
.story__script { font-size: 36px; color: var(--warm-timber); margin-top: 24px; }

/* =========================================================================
   SECTION HEADINGS
   ========================================================================= */
.section { padding: 74px 32px; }
.section__head { text-align: center; margin-bottom: 38px; }
.section__title {
  font-family: var(--font-display); font-weight: 500; font-size: 34px;
  color: var(--forest-canopy); margin-top: 8px;
}

/* =========================================================================
   GALLERY
   ========================================================================= */
.gallery { background: var(--bushveld-stone); }
.gallery__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 210px; gap: 16px;
}
.gallery__item {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 14px;
}
.gallery__item--tall { grid-row: span 2; }

/* =========================================================================
   AMENITIES
   ========================================================================= */
.amenities__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.card {
  background: var(--linen-white); border: 1px solid #e2d9c8;
  border-radius: 16px; padding: 30px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(46,61,47,0.08); }
.card__mark { color: var(--honey-amber); width: 34px; }
.card__title {
  font-family: var(--font-display); font-size: 20px; color: var(--forest-canopy);
  margin: 14px 0 6px;
}
.card__body { font-size: 13.5px; line-height: 1.6; color: var(--body-muted-2); }

/* =========================================================================
   EXPLORE (dark)
   ========================================================================= */
.explore { position: relative; background: var(--forest-canopy); padding: 80px 32px; overflow: hidden; }
.explore__overlay {
  position: absolute; inset: 0; opacity: 0.10; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='49' viewBox='0 0 28 49' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C88A3D' stroke-width='1.4'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5z'/%3E%3Cpath d='M13.99 -6.75l13 7.5v15l-13 7.5L1 15.75v-15z'/%3E%3Cpath d='M13.99 25.25l13 7.5v15l-13 7.5L1 47.75v-15z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 98px;
}
.explore__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.explore__script { font-size: 34px; color: var(--blush-protea); }
.explore .section__title { color: var(--linen-white); }
.explore__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card--dark {
  background: rgba(246,242,234,0.06);
  border: 1px solid rgba(200,138,61,0.35);
}
.card--dark:hover { background: rgba(246,242,234,0.10); box-shadow: none; }
.card__eyebrow {
  font-weight: 600; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--honey-amber);
}
.card__title--dark { color: var(--linen-white); font-size: 22px; margin: 10px 0 8px; }
.card__body--dark { color: var(--on-dark-2); line-height: 1.65; }
.explore__cta { text-align: center; margin-top: 36px; }

/* =========================================================================
   QUOTE
   ========================================================================= */
.quote { max-width: 820px; margin: 0 auto; padding: 80px 32px; text-align: center; }
.quote__text {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 28px; line-height: 1.4; color: var(--forest-canopy);
}
.quote__by { margin-top: 20px; color: var(--warm-timber); }

/* =========================================================================
   CTA
   ========================================================================= */
.cta { position: relative; height: 420px; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(46,61,47,0.9), rgba(46,61,47,0.55));
}
.cta__inner {
  position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start;
}
.cta__title {
  font-family: var(--font-display); font-weight: 500; font-size: 44px;
  color: var(--linen-white); line-height: 1.05;
}
.cta__body { font-size: 15px; line-height: 1.7; color: var(--on-dark); max-width: 440px; margin: 16px 0 26px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================================
   INSTAGRAM
   ========================================================================= */
.insta { background: var(--bushveld-stone); padding: 72px 32px; }
.insta__inner { max-width: var(--maxw); margin: 0 auto; }
.insta__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-bottom: 32px;
}
.insta__script { font-size: 34px; color: var(--warm-timber); }
.insta__handle {
  font-family: var(--font-display); font-weight: 500; font-size: 32px;
  color: var(--forest-canopy); margin-top: 6px;
}
.insta__follow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--linen-white); background: var(--forest-canopy);
  padding: 14px 28px; border-radius: 100px;
  transition: background-color .18s ease, transform .18s ease;
}
.insta__follow:hover { background: #26331f; transform: translateY(-1px); }
.insta__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.insta__cell {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px;
  transition: transform .25s ease, filter .25s ease;
}
.insta__link:hover .insta__cell { transform: scale(1.03); filter: brightness(1.05); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--deep-forest); padding: 56px 32px 34px; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px;
}
.footer__brand { max-width: 320px; }
.footer__lockup { display: flex; align-items: center; gap: 12px; }
.footer__mark { color: var(--bushveld-stone); width: 44px; }
.footer__name {
  font-family: var(--font-display); font-weight: 500; font-size: 24px;
  color: var(--linen-white);
}
.footer__script { font-size: 28px; color: var(--honey-amber); margin-top: 12px; }
.footer__col-title {
  font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-dark-3); margin-bottom: 14px;
}
.footer__text { font-size: 13.5px; line-height: 2; color: var(--on-dark); }
.footer__text a:hover { color: var(--linen-white); text-decoration: underline; }
.footer__bottom {
  max-width: var(--maxw); margin: 40px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(246,242,234,0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 11px; color: #7c876f;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .container, .nav__inner, .booking__form, .hero__inner, .cta__inner { padding-left: 24px; padding-right: 24px; }
  .section { padding: 56px 24px; }
  .explore, .insta { padding: 56px 24px; }
  .story { padding: 64px 24px 52px; }

  /* Nav → drawer */
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(38,51,31,0.98);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    padding: 8px 24px 20px;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav__links.open { max-height: 340px; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid rgba(246,242,234,0.10); }
  .nav__cta { text-align: center; margin-top: 14px; padding: 13px 20px; }

  /* Hero */
  .hero { height: 560px; }
  .hero__script { font-size: 38px; }
  .hero__title { font-size: 50px; }
  .hero__tag { font-size: 19px; }

  /* Grids collapse */
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gallery__item--tall { grid-row: span 2; }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .explore__grid { grid-template-columns: 1fr; }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }

  .story__title { font-size: 32px; }
  .cta { height: auto; min-height: 380px; }
  .cta__inner { padding-top: 56px; padding-bottom: 56px; }
  .cta__title { font-size: 36px; }
  .quote__text { font-size: 23px; }
}

@media (max-width: 560px) {
  .hero__title { font-size: 42px; }
  .hero__actions { flex-direction: column; width: 100%; max-width: 320px; }
  .hero__actions .btn { width: 100%; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--tall { grid-row: span 1; }
  .amenities__grid { grid-template-columns: 1fr; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .booking__form { align-items: stretch; }
  .field { width: 100%; }
  .field__input { width: 100%; }
  .booking .btn-primary { width: 100%; }
  .section__title, .explore .section__title { font-size: 28px; }
  .footer__inner { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
