/* =========================================================
   THE HIVE — ORGANICO REFERENCE DESIGN
   Desktop: 1440px | Mobile: 390px
   ========================================================= */

/* 01. DESIGN TOKENS
   ========================================================= */

:root {
  --hive-noir: #14130f;
  --hive-gold: #c2a05b;
  --hive-gold-deep: #9a7b34;
  --hive-gold-dark: #8a6e33;
  --hive-ivory: #faf3e0;
  --hive-cream: #f3eee3;
  --hive-signin: #ede5d3;
  --hive-card: #faf7ef;
  --hive-border: #c9b98f;
  --hive-divider: #dccfaf;
  --hive-body: #4a463d;
  --hive-body-light: #e7dfcb;

  --hive-container: 1240px;
  --hive-gutter: 32px;
  --hive-header-height: 120px;
}

/* 02. GLOBAL
   ========================================================= */

body.hive {
  background: var(--hive-cream);
  color: var(--hive-body);
}

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

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

body.hive .uppercase {
  text-transform: uppercase;
}

body.hive .seo-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.hive .hero-left,
body.hive .s-promises > *,
body.hive .hive-signin-inner {
  width: 100%;
  max-width: var(--hive-container);
  margin-left: auto;
  margin-right: auto;
}

/* 03. HEADER
   ========================================================= */

/* body.hive #mainNav {
  height: var(--hive-header-height);
  min-height: var(--hive-header-height);
  padding: 0 max(
    var(--hive-gutter),
    calc((100% - var(--hive-container)) / 2)
  );

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: var(--hive-cream);
  border-bottom: 1px solid #e2d8c3;
  box-sizing: border-box;
  z-index: 100;
}

body.hive #mainNav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

body.hive #mainNav .logo-stamp {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

body.hive #mainNav .logo-stamp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.hive #mainNav .logo-text {
  font-family: "Jost", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--hive-noir);
  white-space: nowrap;
}

body.hive #mainNav .logo-text span {
  color: var(--hive-gold-deep);
}

body.hive #mainNav .nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.hive #mainNav .nav-links a {
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--hive-noir);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

body.hive #mainNav .nav-links a:hover,
body.hive #mainNav .nav-links a.active {
  color: var(--hive-gold-dark);
}

body.hive #mainNav .nav-links a.active {
  font-weight: 500;
} */

/* 04. HERO
   ========================================================= */

body.hive .s-hero {
  min-height: calc(100vh - var(--hive-header-height));
  height: auto;
  max-height: none;
  /* padding: 120px var(--hive-gutter) 130px; */
  padding-bottom: 110px;
  display: flex;
  align-items: center;
  background-color: var(--hive-noir);
  background-image: url("/public/images/the-hive-landing/04-hero-watermark-stamp-13pc.png");
  background-repeat: no-repeat;
  background-size: 530px auto;
  background-position: right -125px center;
}

body.hive .hero-left {
  max-width: var(--hive-container);
  gap: 0;
  position: relative;
  z-index: 2;
}

/* Eyebrow */

body.hive .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

body.hive .hero-eyebrow .eyebrow-line {
  width: 44px;
  height: 1px;
  background: var(--hive-gold);
}

body.hive .hero-eyebrow-text {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hive-gold);
}

/* Wordmark */

body.hive .hero-left > div:has(.hero-h1-img) {
  margin-top: 34px;
  margin-bottom: 30px;
}

body.hive .hero-h1-img {
  width: 520px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

/* Description */

body.hive .hero-sub {
  max-width: 520px;
  margin: 0;

  font-family: "Jost", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;

  color: var(--hive-body-light);
}

/* Buttons */

body.hive .hive-btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

body.hive .hive-btn {
  min-height: 48px;
  padding: 0 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;

  border: 1px solid var(--hive-gold);
  transition: all 0.3s ease;
  cursor: pointer;
}

body.hive .hive-btn-primary {
  background: var(--hive-gold);
  color: var(--hive-noir);
}

body.hive .hive-btn-primary:hover {
  background: transparent;
  color: var(--hive-gold);
}

body.hive .hive-btn-secondary {
  background: transparent;
  color: #e0c48a;
}

body.hive .hive-btn-secondary:hover {
  background: rgba(194, 160, 91, 0.12);
  color: var(--hive-ivory);
}

.home-trust-inner {
  opacity: 0;
  transform: translateY(0);
  animation: overlapFadeInUp 1s 0.5s var(--smooth-ease-out) forwards;
  animation-play-state: paused;
}
.home-trust.is-flapping {
  .home-trust-inner {
    animation-play-state: running;
  }
}
@keyframes overlapFadeInUp {
  to {
    opacity: 1;
    transform: translateY(-56px);
  }
}
/* 05. PROMISES
   ========================================================= */

body.hive .s-promises {
  padding: 110px var(--hive-gutter);
  background: var(--hive-cream);
  color: var(--hive-body);
}

body.hive .s-promises .reveal-left {
  max-width: var(--hive-container);
  margin: 0 auto;
}

body.hive .s-promises .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px !important;
}

body.hive .s-promises .eyebrow-line {
  width: 44px;
  height: 1px;
  background: var(--hive-gold-deep);
}

body.hive .s-promises .hero-eyebrow-text {
  color: var(--hive-gold-dark);
}

/* Heading */

body.hive .promises-heading {
  margin: 0 0 55px;
  font-family: "Playfair Display", serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--hive-noir);
}

body.hive .promises-heading em {
  font-weight: 500;
  font-style: italic;
  color: var(--hive-gold-deep);
}

/* Four columns */

body.hive .promises-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;

  width: 100%;
  max-width: var(--hive-container);
  margin: 0 auto;

  border-top: 1px solid var(--hive-border);
}

body.hive .promise-card {
  padding: 26px 24px 12px;
  border: 0;
  border-right: 1px solid var(--hive-divider);
}

body.hive .promise-card:first-child {
  padding-left: 0;
}

body.hive .promise-card:last-child {
  padding-right: 0;
  border-right: 0;
}

body.hive .promise-card .card-num {
  display: block;
  margin-bottom: 16px;

  font-family: "Playfair Display", serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--hive-gold-deep);
}

body.hive .promise-card .card-title {
  margin: 0 0 12px;

  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;

  color: var(--hive-noir);
}

body.hive .promise-card .card-desc {
  margin: 0;

  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;

  color: var(--hive-body);
}

/* 06. SIGN-IN SECTION
   ========================================================= */

body.hive .hive-signin-section {
  padding: 110px var(--hive-gutter);
  background: var(--hive-signin);
}

body.hive .hive-signin-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

/* Brand stamp */

body.hive .hive-signin-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.hive .hive-signin-stamp {
  width: 340px;
  height: 340px;
}

body.hive .hive-signin-stamp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.hive .hive-signin-brand p {
  margin: 24px 0 0;

  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;

  color: var(--hive-body);
}

/* Login card */

body.hive .hive-login-card {
  width: 100%;
  max-width: 480px;
  margin: 0 0 0 auto;
  padding: 48px;
  background: var(--hive-card);
  border: 1px solid var(--hive-border);
}

/* Card eyebrow */

body.hive .hive-form-eyebrow {
  display: block;
  margin-bottom: 14px;

  font-family: "Jost", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--hive-gold-dark);
}

/* Card heading */

body.hive .hive-login-card h2 {
  margin: 0 0 28px;

  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;

  color: var(--hive-noir);
}

/* Fields */

body.hive .hive-login-field {
  margin-bottom: 20px;
}

body.hive .hive-login-field label {
  display: block;
  margin-bottom: 9px;

  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 500;

  color: var(--hive-noir);
}

body.hive .hive-login-field input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;

  background: #fff;
  border: 1px solid #b9a97f;
  border-radius: 0;

  font-family: "Jost", sans-serif;
  font-size: 14px;
  color: var(--hive-noir);
}

body.hive .hive-login-field input:focus {
  outline: none;
  border-color: var(--hive-gold-deep);
  box-shadow: 0 0 0 1px var(--hive-gold-deep);
}

/* Submit */

body.hive .hive-login-submit {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 52px;
  margin-top: 0;

  background: var(--hive-noir);
  border: 1px solid var(--hive-noir);

  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--hive-ivory);
  cursor: pointer;

  transition: all 0.3s ease;
}

body.hive .hive-login-submit:hover {
  background: var(--hive-gold);
  border-color: var(--hive-gold);
  color: var(--hive-noir);
}

/* Footer link */

body.hive .hive-login-footer {
  margin: 22px 0 0;

  font-family: "Jost", sans-serif;
  font-size: 13px;
  color: var(--hive-body);
}

body.hive .hive-login-footer a {
  color: #7a5f24;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 07. FOOTER
   ========================================================= */

body.hive .hive-footer {
  min-height: 0;
  padding: 48px var(--hive-gutter);

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;

  background: var(--hive-noir);
  color: var(--hive-ivory);
}

body.hive .hive-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.hive .hive-footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

body.hive .hive-footer-logo span {
  font-family: "Jost", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--hive-ivory);
  white-space: nowrap;
}

body.hive .hive-footer-logo b {
  color: var(--hive-gold);
  font-weight: 500;
}

body.hive .hive-footer .hive-footer-tagline {
  margin: 0;
  text-align: center;

  font-family: "Playfair Display", serif;
  font-size: 17px;
  font-style: italic;

  color: var(--hive-ivory);
}

body.hive .hive-footer > a {
  justify-self: end;

  font-family: "Jost", sans-serif;
  font-size: 14px;
  color: var(--hive-gold);

  text-decoration: none;
}

/* 08. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1024px) {
  /* body.hive #mainNav {
    padding-left: 28px;
    padding-right: 28px;
  }

  body.hive #mainNav .nav-links {
    gap: 18px;
  }

  body.hive #mainNav .nav-links a {
    font-size: 14px;
  } */

  body.hive .s-hero {
    background-size: 520px auto;
    background-position: right -170px center;
  }

  body.hive .promises-heading {
    font-size: 46px;
  }

  body.hive .promise-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.hive .promise-card .card-title {
    font-size: 21px;
  }

  body.hive .hive-signin-inner {
    gap: 40px;
  }

  body.hive .hive-signin-stamp {
    width: 290px;
    height: 290px;
  }

  body.hive .hive-login-card {
    padding: 36px;
  }
}

/* 09. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 768px) {
  :root {
    --hive-header-height: 200px;
    --hive-gutter: 24px;
  }

  /* body.hive #mainNav {
    height: var(--hive-header-height);
    min-height: var(--hive-header-height);
    padding: 0 24px;
  } */

  body.hive #mainNav .logo-stamp {
    width: 38px;
    height: 38px;
  }

  body.hive #mainNav .logo-text {
    font-size: 18px;
  }

  body.hive #mainNav .nav-links {
    display: none;
  }

  body.hive .s-hero {
    /* min-height: 0; */
    height: auto;
    padding: 90px 24px 100px;
    background-size: 600px auto;
    background-position: right -200px center;
  }

  body.hive .hero-left {
    gap: 0;
  }

  body.hive .hero-eyebrow-text {
    font-size: 10px;
  }

  body.hive .hero-left > div:has(.hero-h1-img) {
    margin-top: 28px;
    margin-bottom: 24px;
  }

  body.hive .hero-h1-img {
    width: 100%;
    max-width: 390px;
    height: auto;
  }

  body.hive .hero-sub {
    max-width: 390px;
    font-size: 16px;
  }

  body.hive .hive-btn-group {
    margin-top: 30px;
    gap: 12px;
  }

  body.hive .hive-btn {
    min-height: 46px;
    padding: 0 18px;
    font-size: 11px;
  }

  /* Promises */

  body.hive .s-promises {
    padding: 75px 24px;
  }

  body.hive .promises-heading {
    font-size: 36px;
    margin-bottom: 36px;
  }

  body.hive .promises-grid {
    grid-template-columns: 1fr;
  }

  body.hive .promise-card,
  body.hive .promise-card:first-child,
  body.hive .promise-card:last-child {
    padding: 24px 0;
    border-right: none;
    border-bottom: 1px solid var(--hive-divider);
  }

  body.hive .promise-card:last-child {
    border-bottom: none;
  }

  body.hive .promise-card .card-title {
    font-size: 23px;
  }

  /* Sign in */

  body.hive .hive-signin-section {
    padding: 75px 24px;
  }

  body.hive .hive-signin-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  body.hive .hive-signin-stamp {
    width: 260px;
    height: 260px;
  }

  body.hive .hive-signin-brand p {
    font-size: 18px;
  }

  body.hive .hive-login-card {
    max-width: 480px;
    padding: 32px;
  }

  /* Footer */

  body.hive .hive-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    padding: 36px 24px;
    text-align: center;
  }

  body.hive .hive-footer-logo {
    justify-content: center;
  }

  body.hive .hive-footer > a {
    justify-self: center;
  }
}

/* 10. SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {
  body.hive .s-hero {
    padding-top: 75px;
    padding-bottom: 140px;
  }

  body.hive .hero-h1-img {
    max-width: 100%;
  }

  body.hive .hive-btn-group {
    align-items: stretch;
    flex-direction: column;
  }

  body.hive .hive-btn {
    width: fit-content;
    max-width: 100%;
  }

  body.hive .promises-heading {
    font-size: 34px;
  }

  body.hive .hive-login-card {
    padding: 26px;
  }
}

/* 11. ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  body.hive *,
  body.hive *::before,
  body.hive *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
