/* ==========================================================================
   Sections
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.c-hero-home {
  display: block;
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .c-hero-home {
    padding: 8px 8px 0;
  }
}

.c-hero-home_inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  padding: 38svh 12px 16px;
  color: var(--color-white);
}
@media (min-width: 768px) {
  .c-hero-home_inner {
    flex-direction: row;
    align-items: flex-end;
    padding: 0 40px 48px;
  }
}

.c-hero-home_title {
  display: flex;
  flex-direction: column;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.4);
}
/* Split.js rewraps each authored line in .anim-text-item, so the accent line
   cannot be selected positionally — it carries its own modifier instead. */
.c-hero-home_title .-accent-line {
  color: var(--color-orange-soft);
}

.c-hero-home_lede {
  max-width: 30rem;
  margin-top: 18px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.c-hero-home_background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
@media (min-width: 768px) {
  .c-hero-home_background {
    border-radius: var(--radius-2xl);
  }
}

.c-hero-home_background video,
.c-hero-home_background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A slow push on the still, so the hero is never completely static. */
@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-1.5%, -1.5%, 0);
  }
}
.c-hero-home_background img {
  animation: hero-drift 26s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .c-hero-home_background img {
    animation: none;
  }
}

/* Gradient stack — a cap at the top and an overall scrim so white type holds
   against the busy artwork underneath. */
.c-hero-home_scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(20, 12, 16, 0.55) 0%,
      rgba(20, 12, 16, 0) 30%
    ),
    linear-gradient(
      0deg,
      rgba(20, 12, 16, 0.72) 0%,
      rgba(20, 12, 16, 0.12) 55%
    ),
    linear-gradient(0deg, rgba(20, 12, 16, 0.24) 0%, rgba(20, 12, 16, 0.24) 100%);
}

/* Glass card ------------------------------------------------------------- */
.c-hero-card {
  display: flex;
  flex-direction: row;
  gap: var(--gutter);
  width: 100%;
  padding: 6px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  background-color: rgba(30, 20, 24, 0.28);
  backdrop-filter: blur(18px);
  transition: transform var(--transition-duration-slow) var(--ease-back-out);
}
@media (min-width: 640px) {
  .c-hero-card {
    flex-direction: column;
    gap: 6px;
    width: 290px;
  }
}
.c-hero-card:hover {
  transform: translateY(-6px) rotate(-1.5deg);
}

.c-hero-card_media {
  flex: none;
  width: 40%;
  aspect-ratio: 1.6;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
@media (min-width: 640px) {
  .c-hero-card_media {
    width: 100%;
  }
}
.c-hero-card_media img {
  transition: transform var(--transition-duration-slow) var(--ease-expo-out);
}
.c-hero-card:hover .c-hero-card_media img {
  transform: scale(1.07);
}

.c-hero-card_body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 6px;
}
@media (min-width: 640px) {
  .c-hero-card_body {
    gap: 34px;
    padding: 12px 10px;
  }
}
.c-hero-card_row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.c-hero-card_arrow {
  transition: transform var(--transition-duration-slow) var(--ease-back-out);
}
.c-hero-card:hover .c-hero-card_arrow {
  transform: scale(1.35) rotate(12deg);
}

/* --------------------------------------------------------------------------
   2. Galaxy — headline over the drifting image field
   The section the whole design is built around: as you scroll, 32 cutouts
   and product shots drift, scale by depth and wrap endlessly behind the type.
   -------------------------------------------------------------------------- */
.c-standout-image-galaxy {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--color-cream);
}

.c-standout-image-galaxy_inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  min-height: 100svh;
  padding: clamp(96px, 14vw, 180px) var(--page-x);
  text-align: center;
}

/* Staircase indent — --pl values are carried inline, one per line. */
.c-standout-image-galaxy_title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(15em, 100%);
}
/* The indent is em-based, so on a narrow screen a long line can be pushed
   past the viewport — body has overflow-x hidden, so it would silently clip.
   Capping against vw keeps the staircase without ever losing a word. */
.c-standout-image-galaxy_title > span {
  padding-left: min(var(--pl-sm, 0px), 9vw);
}
@media (min-width: 640px) {
  .c-standout-image-galaxy_title > span {
    padding-left: var(--pl, 0);
  }
}

/* Keeps the field readable behind the headline. */
.c-standout-image-galaxy_veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 56% 46% at 50% 50%,
    rgba(253, 247, 240, 0.92) 0%,
    rgba(253, 247, 240, 0.66) 48%,
    rgba(253, 247, 240, 0) 100%
  );
}

/* --------------------------------------------------------------------------
   3. Intro band
   -------------------------------------------------------------------------- */
.s-split {
  display: grid;
  gap: 40px;
  padding-inline: var(--page-x);
}
@media (min-width: 900px) {
  .s-split {
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
  }
}

/* --------------------------------------------------------------------------
   4. Category carousel
   -------------------------------------------------------------------------- */
.s-categories_head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-inline: var(--page-x);
  margin-bottom: 44px;
}
@media (min-width: 768px) {
  .s-categories_head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   5. Mascots
   -------------------------------------------------------------------------- */
.s-mascots {
  background-color: var(--color-cream-deep);
  overflow: hidden;
}
.s-mascots_head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 46rem;
  padding-inline: var(--page-x);
  margin-bottom: 52px;
}
.s-mascots_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px var(--gutter);
  padding-inline: var(--page-x);
}
@media (min-width: 640px) {
  .s-mascots_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 900px) {
  .s-mascots_grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 1280px) {
  .s-mascots_grid.-seven {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* --------------------------------------------------------------------------
   6. Promises grid
   -------------------------------------------------------------------------- */
.s-promises_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px var(--gutter);
  padding-inline: var(--page-x);
}
@media (min-width: 900px) {
  .s-promises_grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   7. Conservation band
   -------------------------------------------------------------------------- */
.s-cause {
  position: relative;
  color: var(--color-white);
  background-color: var(--color-forest);
  overflow: hidden;
}
.s-cause_bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}
.s-cause_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s-cause_inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
  padding-inline: var(--page-x);
}
@media (min-width: 960px) {
  .s-cause_inner {
    grid-template-columns: 1.35fr 1fr;
    gap: 72px;
    align-items: center;
  }
}
.s-cause_copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 42rem;
}
.s-cause_partners {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.s-cause_partner {
  padding: 9px 15px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-full);
  color: var(--color-white);
  transition: background-color var(--transition-duration-fast)
      var(--ease-power2-out),
    border-color var(--transition-duration-fast) var(--ease-power2-out),
    transform var(--transition-duration-fast) var(--ease-back-out);
}
.s-cause_partner:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-ink);
  transform: translateY(-3px);
}

.s-cause_medallion {
  display: grid;
  place-items: center;
}
.s-cause_medallion img {
  width: min(340px, 78vw);
  height: auto;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.45));
}

/* --------------------------------------------------------------------------
   8. Counter panel
   -------------------------------------------------------------------------- */
.s-numbers_inner {
  display: grid;
  gap: 40px;
  padding-inline: var(--page-x);
}
@media (min-width: 900px) {
  .s-numbers_inner {
    grid-template-columns: 1fr 1.6fr;
    gap: 72px;
    align-items: start;
  }
}

.c-data-panel {
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--color-white);
  box-shadow: 6px 7px 0 var(--color-ink);
}
.c-data-panel_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 2px solid var(--color-ink);
  background-color: var(--color-gold);
}
.c-data-panel_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .c-data-panel_grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.c-data-panel_cell {
  padding: 28px 22px;
  border-right: 2px solid var(--color-ink);
  border-bottom: 2px solid var(--color-ink);
}
.c-data-panel_cell:nth-child(2n) {
  border-right: 0;
}
@media (min-width: 640px) {
  .c-data-panel_cell {
    border-bottom: 0;
  }
  .c-data-panel_cell:nth-child(2n) {
    border-right: 2px solid var(--color-ink);
  }
  .c-data-panel_cell:last-child {
    border-right: 0;
  }
}
.c-data-panel_value {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-orange);
}
.c-data-panel_foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-top: 2px solid var(--color-ink);
  background-color: var(--color-cream);
}

/* --------------------------------------------------------------------------
   9. Product grid
   -------------------------------------------------------------------------- */
.s-products_head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--page-x);
  margin-bottom: 44px;
}

.s-products_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px var(--gutter);
  padding-inline: var(--page-x);
}
@media (min-width: 700px) {
  .s-products_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1000px) {
  .s-products_grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Filter chips (shop page) */
.s-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-inline: var(--page-x);
  margin-bottom: 40px;
}
.c-chip {
  padding: 10px 17px;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 3px 3px 0 var(--color-ink);
  transition: background-color var(--transition-duration-fast)
      var(--ease-power2-out),
    color var(--transition-duration-fast) var(--ease-power2-out),
    transform var(--transition-duration-fast) var(--ease-back-out),
    box-shadow var(--transition-duration-fast) var(--ease-power2-out);
}
.c-chip:hover {
  transform: translate(-1px, -2px);
  box-shadow: 5px 6px 0 var(--color-ink);
}
.c-chip.is-active {
  background-color: var(--color-ink);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   10. Newsletter
   -------------------------------------------------------------------------- */
.s-club {
  background-color: var(--color-purple);
  color: var(--color-white);
  overflow: hidden;
}
.s-club_inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 46rem;
  margin-inline: auto;
  padding-inline: var(--page-x);
  text-align: center;
}
.c-signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 34rem;
}
@media (min-width: 560px) {
  .c-signup {
    flex-direction: row;
  }
}
.c-signup input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  color: var(--color-ink);
  box-shadow: 3px 3px 0 var(--color-ink);
}
.c-signup input::placeholder {
  color: var(--color-gray-400);
}
.c-signup input:focus {
  outline: none;
  box-shadow: 3px 3px 0 var(--color-ink), 0 0 0 4px rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   11. Closing CTA
   -------------------------------------------------------------------------- */
.s-cta {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 88svh;
  padding: var(--page-x);
  color: var(--color-white);
  overflow: hidden;
}
.s-cta_bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.s-cta_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s-cta_bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(20, 12, 16, 0.82) 0%,
    rgba(20, 12, 16, 0.2) 62%,
    rgba(20, 12, 16, 0.3) 100%
  );
}
.s-cta_inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 46rem;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.c-footer {
  background-color: var(--color-ink);
  color: var(--color-white);
  padding-top: clamp(64px, 8vw, 112px);
}
.c-footer_top {
  display: grid;
  gap: 44px;
  padding-inline: var(--page-x);
  padding-bottom: 60px;
}
@media (min-width: 900px) {
  .c-footer_top {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
  }
}
.c-footer_col h3 {
  margin-bottom: 20px;
  color: var(--color-gold);
}
.c-footer_col li + li {
  margin-top: 11px;
}
.c-footer_col a {
  color: var(--color-gray-200);
  transition: color var(--transition-duration-fast) var(--ease-power2-out);
}
.c-footer_col a:hover {
  color: var(--color-orange-soft);
}

.c-footer_brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.c-footer_brand img {
  width: 40px;
  height: 40px;
}

.c-footer_socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.c-footer_socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  color: var(--color-white);
  transition: background-color var(--transition-duration-fast)
      var(--ease-power2-out),
    border-color var(--transition-duration-fast) var(--ease-power2-out),
    transform var(--transition-duration-fast) var(--ease-back-out);
}
.c-footer_socials a:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  transform: translateY(-3px) rotate(-6deg);
}
.c-footer_socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.c-footer_banner {
  aspect-ratio: 21 / 6;
  margin-inline: var(--page-x);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.c-footer_bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px var(--page-x);
  margin-top: 36px;
  border-top: 2px solid rgba(255, 255, 255, 0.14);
  color: var(--color-gray-400);
}
.c-footer_legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.c-footer_legal a:hover {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Interior page header (subpages)
   -------------------------------------------------------------------------- */
.s-page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 62svh;
  /* Clears the header *and* the announcement bar stacked above it. */
  padding: calc(var(--header-height) + var(--announce-height) + 48px)
    var(--page-x) 48px;
  color: var(--color-white);
  overflow: hidden;
  background-color: var(--color-ink);
}
.s-page-hero_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.s-page-hero_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s-page-hero_bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(20, 12, 16, 0.85) 0%,
    rgba(20, 12, 16, 0.28) 58%,
    rgba(20, 12, 16, 0.55) 100%
  );
}
.s-page-hero_inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 52rem;
}

/* --------------------------------------------------------------------------
   Story / prose blocks
   -------------------------------------------------------------------------- */
.s-story_inner {
  display: grid;
  gap: 44px;
  align-items: center;
  padding-inline: var(--page-x);
}
@media (min-width: 900px) {
  .s-story_inner {
    grid-template-columns: 1fr 1fr;
    gap: 76px;
  }
  .s-story_inner.-reverse .s-story_media {
    order: -1;
  }
}
.s-story_media {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background-color: var(--color-blush);
  box-shadow: 8px 10px 0 var(--color-ink);
}
.s-story_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s-story_copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.s-story_copy p {
  color: var(--color-gray-500);
}

/* Pillars */
.s-pillars_grid {
  display: grid;
  gap: 20px var(--gutter);
  padding-inline: var(--page-x);
}
@media (min-width: 768px) {
  .s-pillars_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.c-pillar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 26px;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-xl);
  background-color: var(--pillar-tint, var(--color-white));
  box-shadow: 5px 6px 0 var(--color-ink);
  transition: transform var(--transition-duration-slow) var(--ease-back-out),
    box-shadow var(--transition-duration-slow) var(--ease-back-out);
}
.c-pillar:hover {
  transform: translate(-2px, -5px) rotate(-1deg);
  box-shadow: 9px 12px 0 var(--color-ink);
}
.c-pillar_icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */
.s-contact_inner {
  display: grid;
  gap: 48px;
  padding-inline: var(--page-x);
}
@media (min-width: 900px) {
  .s-contact_inner {
    grid-template-columns: 1fr 1.25fr;
    gap: 76px;
    align-items: start;
  }
}
.c-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-2xl);
  background-color: var(--color-white);
  box-shadow: 7px 8px 0 var(--color-ink);
}
@media (min-width: 640px) {
  .c-form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
.c-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.c-field label {
  font-family: var(--font-display);
  font-weight: 500;
}
.c-field input,
.c-field textarea,
.c-field select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-md);
  background-color: var(--color-cream);
  transition: box-shadow var(--transition-duration-fast) var(--ease-power2-out),
    background-color var(--transition-duration-fast) var(--ease-power2-out);
}
.c-field input:focus,
.c-field textarea:focus,
.c-field select:focus {
  outline: none;
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-purple-soft);
}
.c-field textarea {
  min-height: 150px;
  resize: vertical;
}

.c-contact-detail {
  display: flex;
  gap: 16px;
  padding-block: 22px;
  border-bottom: 2px solid var(--color-gray-200);
}
.c-contact-detail:first-child {
  border-top: 2px solid var(--color-gray-200);
}
.c-contact-detail_icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-full);
  background-color: var(--color-gold);
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.s-faq_inner {
  display: grid;
  gap: 40px;
  padding-inline: var(--page-x);
}
@media (min-width: 900px) {
  .s-faq_inner {
    grid-template-columns: 1fr 1.6fr;
    gap: 72px;
    align-items: start;
  }
}
