/* =========================================================
   JustReef Delivery Sponsor Site
   File: style.css
   ========================================================= */

/* =========================================================
   01. Theme variables
   ========================================================= */

:root {
  --bg: #070706;
  --bg-soft: #11100d;
  --panel: rgba(12, 11, 9, 0.78);
  --panel-strong: rgba(10, 9, 8, 0.92);
  --yellow: #fff000;
  --yellow-soft: rgba(255, 240, 0, 0.25);
  --orange: #ff7a1a;
  --white: #ffffff;
  --muted: #c9c3b8;
  --muted-dark: #8d867b;
  --line: rgba(255, 240, 0, 0.25);
  --shadow: rgba(0, 0, 0, 0.7);

  --hero-block-width: 650px;

  --font-heading: "Bebas Neue", Impact, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

/* =========================================================
   02. Reset / base
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 122, 26, 0.18), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(255, 240, 0, 0.08), transparent 28%),
    linear-gradient(135deg, #050505 0%, #12100c 45%, #050505 100%);
  z-index: -3;
}

/* =========================================================
   03. Page system
   ========================================================= */

.site-shell {
  min-height: 100vh;
  position: relative;
}

.page {
  display: none;
  min-height: 100vh;
  padding: 34px 48px;
  position: relative;
  opacity: 0;
  transform: translateX(26px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.page.active {
  display: block;
}

.page.visible {
  opacity: 1;
  transform: translateX(0);
}

.page:not(.active) {
  display: none !important;
}

.page.active.hero,
.page.active.content-page,
.page.active.about-page {
  display: grid;
}

/* =========================================================
   04. Hero page
   ========================================================= */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 26px 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -6% -14% -6% -14%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.90), rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.70)),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.96;
  transform: translateX(230px) scale(1.02);
  transform-origin: center center;
  z-index: -2;
}

.hero::after {
  display: none;
  content: none;
}

.hero-card {
  width: var(--hero-block-width);
  max-width: 100%;
  padding: 12px 0;
  margin-top: -8px;
}

/* =========================================================
   05. Hero logo
   ========================================================= */

.logo-mark {
  position: absolute;
  top: clamp(0px, 2vh, 35px);
  right: clamp(70px, 7vw, 150px);
  width: clamp(190px, 12vw, 250px);
  height: clamp(190px, 12vw, 250px);
  display: grid;
  place-items: center;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 3;
  perspective: 900px;
  transform-style: preserve-3d;
  animation: justreefLogoCoinSpin 24s linear infinite;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 12px 26px rgba(0, 0, 0, 0.82))
    drop-shadow(0 0 18px rgba(255, 240, 0, 0.18));
  backface-visibility: hidden;
  transform: rotateY(0deg);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/logo.png") center / contain no-repeat;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  filter:
    drop-shadow(0 12px 26px rgba(0, 0, 0, 0.82))
    drop-shadow(0 0 18px rgba(255, 240, 0, 0.18));
}

@keyframes justreefLogoCoinSpin {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(-360deg);
  }
}

/* =========================================================
   06. Hero text
   ========================================================= */

.hero-brand-title {
  width: fit-content;
  color: var(--yellow);
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.35vw, 2.65rem);
  line-height: 0.9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 38px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 240, 0, 0.65);
  text-shadow:
    0 8px 22px rgba(0, 0, 0, 0.9),
    0 0 16px rgba(255, 240, 0, 0.18);
}

.kicker {
  width: 100%;
  max-width: 650px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 5px;
  text-shadow: 0 7px 18px rgba(0, 0, 0, 0.82);
}

.hero-title {
  width: 100%;
  font-family: var(--font-heading);
  text-transform: uppercase;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.85);
}

.title-line {
  display: block;
  width: 100%;
  line-height: 0.80;
  letter-spacing: 0.005em;
  transform-origin: left center;
}

.title-line-white {
  color: var(--white);
  font-size: clamp(4.85rem, 8.8vw, 8.4rem);
  transform: scaleX(1.06);
}

.title-line-yellow {
  color: var(--yellow);
  font-size: clamp(5.85rem, 11vw, 10.6rem);
  line-height: 0.76;
  transform: scaleX(1.12);
}

.hero-copy {
  width: 100%;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.16vw, 1.04rem);
  line-height: 1.58;
  font-weight: 600;
}

/* =========================================================
   07. Home navigation cards
   ========================================================= */

.nav-grid {
  width: 100%;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(8px);
}

.nav-card {
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.24);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  padding: 14px 64px 14px 16px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.nav-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 240, 0, 0.10));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.nav-card:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
  background: rgba(255, 240, 0, 0.08);
}

.nav-card:hover::before {
  opacity: 1;
}

.nav-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.32rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.nav-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  margin-top: 4px;
  position: relative;
  z-index: 2;
}

.nav-icon {
  position: absolute;
  right: 17px;
  top: 50%;
  bottom: auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 240, 0, 0.42);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--yellow);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  opacity: 1;
  z-index: 2;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.42),
    inset 0 0 10px rgba(255, 240, 0, 0.08);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.nav-card:hover .nav-icon {
  transform: translateY(-50%) scale(1.08);
  border-color: var(--yellow);
  background: rgba(255, 240, 0, 0.12);
  box-shadow:
    0 0 18px rgba(255, 240, 0, 0.36),
    inset 0 0 14px rgba(255, 240, 0, 0.12);
}

/* =========================================================
   08. Footer
   ========================================================= */

.site-footer {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.75);
}

.site-footer span,
.site-footer a {
  display: inline-flex;
  align-items: center;
  color: var(--yellow);
}

.site-footer span:not(:last-child)::after,
.site-footer a:not(:last-child)::after {
  content: "·";
  margin-left: 12px;
  color: var(--yellow);
  opacity: 0.9;
}

.site-footer a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 240, 0, 0.45);
  transition:
    border-color 0.22s ease,
    opacity 0.22s ease;
}

.site-footer a:hover {
  border-bottom-color: var(--yellow);
  opacity: 0.82;
}

/* =========================================================
   09. Shared inner page content
   ========================================================= */

.content-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58)),
    var(--bg);
}

.content-card {
  width: min(980px, 100%);
  background: var(--panel);
  border: 1px solid rgba(255, 240, 0, 0.18);
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}

.page-kicker {
  color: var(--yellow);
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 18px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-copy {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 760px;
  margin-bottom: 16px;
}

.page-copy a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 240, 0, 0.45);
}

.page-copy a:hover {
  border-bottom-color: var(--yellow);
}

.story-pullquote {
  max-width: 720px;
  margin: 16px 0 16px;
  padding: 14px 18px 14px 20px;
  position: relative;
  border-left: 4px solid var(--yellow);
  background:
    linear-gradient(90deg, rgba(255, 240, 0, 0.14), rgba(255, 240, 0, 0.035)),
    rgba(0, 0, 0, 0.22);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.35),
    inset 0 0 24px rgba(255, 240, 0, 0.045);
}

.story-pullquote::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 240, 0, 0.16);
  pointer-events: none;
}

.story-pullquote span {
  display: block;
  color: var(--white);
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.story-pullquote strong {
  display: block;
  color: var(--yellow);
  font-family: var(--font-heading);
  font-size: clamp(0.98rem, 1.28vw, 1.28rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.04;
  text-transform: uppercase;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.72);
}

.back-button {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  background: rgba(0, 0, 0, 0.35);
  padding: 12px 16px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.back-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 240, 0, 0.08);
}

/* =========================================================
   10. About-style inner page layout
   ========================================================= */

.about-page {
  min-height: 100vh;
  padding: 22px 48px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 24%, rgba(255, 122, 26, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.94), rgba(16, 12, 7, 0.84)),
    var(--bg);
}

.about-page::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.76)),
    url("images/BG_map_overlay.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.35;
  filter: grayscale(1) blur(0.6px) contrast(1.12);
  transform: scale(1.05);
}

.about-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 31% 64%, rgba(255, 240, 0, 0.10) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 52%, rgba(255, 240, 0, 0.08) 0 1px, transparent 3px),
    radial-gradient(circle at 68% 42%, rgba(255, 122, 26, 0.08) 0 2px, transparent 4px),
    radial-gradient(circle at 43% 38%, rgba(255, 240, 0, 0.06) 0 1px, transparent 3px);
  opacity: 0.28;
}

.about-layout {
  width: min(1500px, 100%);
  min-height: calc(100vh - 44px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
  gap: clamp(30px, 4vw, 72px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-copy-panel {
  max-width: 750px;
  position: relative;
  z-index: 2;
}

.about-page .page-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  margin-bottom: 8px;
}

.about-page .page-title {
  font-size: clamp(3.3rem, 5.8vw, 5.9rem);
  line-height: 0.82;
  margin-bottom: 18px;
}

.about-page .page-copy {
  max-width: 720px;
  font-size: clamp(0.84rem, 0.96vw, 0.98rem);
  line-height: 1.48;
  margin-bottom: 10px;
}

/* =========================================================
   11. Inner page image panels
   ========================================================= */

.about-image-panel {
  position: relative;
  width: 100%;
  align-self: center;
  isolation: isolate;
}

.about-image-panel::before {
  content: "";
  position: absolute;
  inset: 16px -14px -14px 16px;
  border: 1px solid rgba(255, 240, 0, 0.32);
  z-index: 1;
}

.about-image-panel::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 240, 0, 0.42) 0%,
      rgba(255, 174, 26, 0.28) 30%,
      rgba(255, 240, 0, 0.13) 52%,
      transparent 76%
    );
  filter: blur(38px);
  opacity: 0.72;
  transform: scale(0.98);
  animation: justreefImageGlowPulse 3.2s ease-in-out infinite;
}

.about-profile-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-height: calc(100vh - 88px);
  object-fit: cover;
  object-position: center center;
  border: 1px solid rgba(255, 240, 0, 0.22);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.62),
    0 0 42px rgba(255, 240, 0, 0.08);
}

@keyframes justreefImageGlowPulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.94);
  }

  50% {
    opacity: 1;
    transform: scale(2.14);
  }
}

/* =========================================================
   12. Watch page
   ========================================================= */

.watch-side-panel {
  width: 100%;
  align-self: center;
  position: relative;
  z-index: 2;
}

.watch-image-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.watch-link-card {
  display: inline-block;
  width: auto;
  min-width: 230px;
  min-height: 48px;
  border: 1px solid rgba(255, 240, 0, 0.55);
  background: rgba(0, 0, 0, 0.30);
  color: var(--yellow);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  padding: 12px 52px 12px 16px;
  position: relative;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 1.28rem;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.35),
    inset 0 0 14px rgba(255, 240, 0, 0.055);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.watch-link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 240, 0, 0.10));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.watch-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  background: rgba(255, 240, 0, 0.08);
  box-shadow:
    0 0 18px rgba(255, 240, 0, 0.18),
    0 14px 34px rgba(0, 0, 0, 0.38),
    inset 0 0 14px rgba(255, 240, 0, 0.08);
}

.watch-link-card:hover::before {
  opacity: 1;
}

.watch-link-card .nav-icon {
  right: 14px;
  width: 28px;
  height: 28px;
  font-size: 0.92rem;
}

.watch-link-card:hover .nav-icon {
  transform: translateY(-50%) scale(1.08);
  border-color: var(--yellow);
  background: rgba(255, 240, 0, 0.12);
  box-shadow:
    0 0 18px rgba(255, 240, 0, 0.36),
    inset 0 0 14px rgba(255, 240, 0, 0.12);
}

.watch-link-label {
  position: relative;
  z-index: 2;
}

/* =========================================================
   13. Contact page
   ========================================================= */

.contact-layout {
  align-items: center;
}

.contact-panel-wrap {
  width: 100%;
  align-self: center;
  position: relative;
  z-index: 2;
}

.contact-card {
  width: 100%;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid rgba(255, 240, 0, 0.34);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.82), rgba(10, 9, 7, 0.72)),
    rgba(0, 0, 0, 0.48);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.58),
    inset 0 0 34px rgba(255, 240, 0, 0.035);
}

.contact-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  margin-bottom: 18px;
}

.contact-title-row .page-title {
  order: 1;
  margin-bottom: 0;
}

.contact-title-row .contact-icon {
  order: 2;
}

.contact-icon {
  order: 2;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(58px, 5.8vw, 92px);
  height: clamp(58px, 5.8vw, 92px);
  color: var(--white);
  font-size: clamp(3.2rem, 5.3vw, 5.8rem);
  line-height: 1;
  transform: translateY(-4px);
  text-shadow:
    0 8px 24px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(255, 255, 255, 0.16);
}

.contact-email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 14px;
  color: var(--yellow);
  border: 1px solid rgba(255, 240, 0, 0.55);
  background: rgba(255, 240, 0, 0.08);
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 0 16px rgba(255, 240, 0, 0.06);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.contact-email-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 240, 0, 0.14);
  box-shadow:
    0 0 22px rgba(255, 240, 0, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.38);
}

.contact-note {
  margin-top: 2px;
}

/* =========================================================
   14. Contact page - What happens next
   ========================================================= */

.contact-next-panel {
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 6px 0;
  position: relative;
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
}

.contact-next-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.contact-next-kicker {
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-next-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.72);
}

.contact-next-trigger {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-left: 6px;
  border: 2px solid var(--yellow);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 240, 0, 0.20), rgba(0, 0, 0, 0.55));
  color: var(--yellow);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1;
  text-align: center;
  box-shadow:
    0 0 20px rgba(255, 240, 0, 0.22),
    inset 0 0 18px rgba(255, 240, 0, 0.08);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
  animation: justreefQuestionPulse 2.2s ease-in-out infinite;
}

.contact-next-trigger:hover {
  transform: translateY(-2px) scale(1.05);
  background:
    radial-gradient(circle, rgba(255, 240, 0, 0.32), rgba(0, 0, 0, 0.48));
  box-shadow:
    0 0 26px rgba(255, 240, 0, 0.38),
    inset 0 0 20px rgba(255, 240, 0, 0.12);
}

.contact-next-trigger:focus-visible {
  outline: 3px solid rgba(255, 240, 0, 0.75);
  outline-offset: 4px;
}

.contact-next-panel.is-open .contact-next-trigger {
  animation: none;
}

.contact-next-steps {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.contact-next-steps[hidden] {
  display: none !important;
}

.contact-next-step {
  opacity: 0;
  transform: translateY(10px);
  padding: 12px 12px 12px 16px;
  border-left: 2px solid rgba(255, 240, 0, 0.72);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 18px rgba(255, 240, 0, 0.035);
}

.contact-next-panel.is-open .contact-next-step {
  animation: justreefNextStepIn 0.35s ease forwards;
}

.contact-next-panel.is-open .contact-next-step:nth-child(1) {
  animation-delay: 0.05s;
}

.contact-next-panel.is-open .contact-next-step:nth-child(2) {
  animation-delay: 0.22s;
}

.contact-next-panel.is-open .contact-next-step:nth-child(3) {
  animation-delay: 0.39s;
}

.contact-next-step h3 {
  color: var(--yellow);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.contact-next-step p {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

@keyframes justreefQuestionPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 14px rgba(255, 240, 0, 0.18),
      inset 0 0 14px rgba(255, 240, 0, 0.07);
  }

  50% {
    transform: scale(1.07);
    box-shadow:
      0 0 28px rgba(255, 240, 0, 0.36),
      inset 0 0 18px rgba(255, 240, 0, 0.11);
  }
}

@keyframes justreefNextStepIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   15. Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .logo-mark,
  .about-image-panel::after,
  .contact-next-trigger {
    animation: none;
  }

  .about-image-panel::after {
    opacity: 0.42;
    transform: scale(1);
  }
}

/* =========================================================
   16. Mobile
   ========================================================= */

@media (max-width: 1000px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-image-panel,
  .contact-panel-wrap,
  .watch-side-panel {
    max-width: 640px;
  }

  .watch-image-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --hero-block-width: 100%;
  }

  .hero,
  .page {
    padding: 20px;
  }

  .hero {
    align-items: end;
  }

  .hero::before {
    inset: -6% -14% -6% -14%;
    background-size: cover;
    background-position: center center;
    transform: translateX(70px) scale(1.04);
  }

  .hero-card {
    width: 100%;
    padding: 6px 0;
    transform: none;
  }

  .logo-mark {
    position: static;
    width: 74px;
    height: 74px;
    margin: 0 0 20px;
  }

  .logo-mark img {
    width: 74px;
    height: 74px;
  }

  .hero-brand-title {
    font-size: clamp(1.45rem, 8vw, 2.15rem);
    letter-spacing: 0.055em;
    margin-bottom: 20px;
  }

  .kicker {
    width: 100%;
    max-width: none;
    font-size: 0.64rem;
    letter-spacing: 0.24em;
    margin-bottom: 6px;
  }

  .title-line-white {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
    transform: none;
  }

  .title-line-yellow {
    font-size: clamp(4rem, 21vw, 6.4rem);
    line-height: 0.76;
    transform: none;
  }

  .hero-copy {
    width: 100%;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .nav-grid {
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .nav-card {
    min-height: 82px;
    padding: 16px 64px 16px 18px;
  }

  .nav-title {
    font-size: 1.34rem;
  }

  .nav-subtitle {
    font-size: 0.76rem;
  }

  .nav-icon {
    right: 18px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .site-footer {
    margin-top: 20px;
    gap: 6px 10px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .site-footer span:not(:last-child)::after,
  .site-footer a:not(:last-child)::after {
    margin-left: 10px;
  }

  .about-page {
    padding: 24px 20px;
  }

  .about-page::before {
    opacity: 0.14;
    filter: grayscale(1) blur(1px) contrast(1.08);
  }

  .about-page::after {
    opacity: 0.20;
  }

  .about-layout {
    min-height: auto;
    gap: 30px;
  }

  .story-pullquote {
    margin: 16px 0;
    padding: 14px 16px;
  }

  .story-pullquote span {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .story-pullquote strong {
    font-size: clamp(1.35rem, 8vw, 1.9rem);
  }

  .contact-title-row {
    gap: 12px;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
    font-size: 2rem;
  }

  .contact-email-button {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
  }

  .contact-next-header {
    gap: 12px;
  }

  .contact-next-trigger {
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
    margin-left: 2px;
  }

  .contact-next-title {
    font-size: 1.7rem;
  }

  .contact-next-step p {
    font-size: 0.82rem;
  }

  .about-profile-image {
    max-height: none;
  }

  .watch-image-actions {
    justify-content: flex-start;
  }

  .watch-link-card {
    min-width: 210px;
    font-size: 1.18rem;
  }
}
/* FINAL OVERRIDE — keep hero logo spinning */
.logo-mark {
  animation: justreefLogoCoinSpin 24s linear infinite !important;
}