/*
==========================================================================
AFKARUNA LANDING PAGE — MAIN STYLESHEET
==========================================================================

TABLE OF CONTENTS
1. CSS Variables & Reset
2. Global Layout & Typography
3. Header & Navigation
4. Hero Section
5. Hero Statistics / Trust Strip
6. General Section Styles
7. Journals Section
8. About Section
9. Call-to-Action Section
10. Contact Section
11. Indexing & Research Support
12. Footer
13. Responsive Styles
14. Accessibility & Motion Preferences

Tip:
Use Ctrl + F and search for the numbered section title to find a part quickly.
==========================================================================
*/

/* ==========================================================================
   1. CSS VARIABLES & RESET
   ========================================================================== */

:root {
  --navy: #071b35;
  --navy2: #0c2848;
  --lime: #b8d400;
  --lime2: #d8eb4c;
  --ink: #15243a;
  --muted: #637086;
  --paper: #f6f8fb;
  --line: #e5eaf0;
  --white: #fff;
  --shadow: 0 24px 60px rgba(7, 27, 53, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
} 
/* ==========================================================================
   2. GLOBAL LAYOUT & TYPOGRAPHY
   ========================================================================== */

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
} 
/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(7, 27, 53, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img {
  width: 190px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #dbe5ef;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a:hover {
  color: var(--lime2);
}
.nav-cta {
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
} /* ==========================================================================
   4. HERO SECTION
   ========================================================================== */

.hero {
  min-height: 800px;
  padding: 150px 0 85px;
  background: linear-gradient(128deg, #06172d 0%, #0c2c4d 66%, #113859 100%);
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto -10% -280px;
  height: 430px;
  background: #fff;
  transform: rotate(-5deg);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
}
.orb-one {
  width: 420px;
  height: 420px;
  background: #46749a;
  right: -120px;
  top: 60px;
}
.orb-two {
  width: 260px;
  height: 260px;
  background: var(--lime);
  left: -130px;
  bottom: 80px;
  opacity: 0.1;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 12px;
  font-weight: 800;
  color: #789107;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.hero .eyebrow {
  color: var(--lime2);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  color: #fff;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 22px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime2);
}
.hero-copy > p {
  font-size: 17px;
  line-height: 1.85;
  color: #b8c7d8;
  max-width: 680px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin: 34px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 23px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--lime);
  color: #122238;
  box-shadow: 0 15px 30px rgba(184, 212, 0, 0.18);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}
.mini-proof {
  display: flex;
  gap: 24px;
  color: #94a8bb;
  font-size: 12px;
  margin-top: 35px;
}
.mini-proof span {
  padding-right: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.mini-proof span:last-child {
  border: 0;
}
.mini-proof b {
  display: block;
  color: #fff;
  font-size: 16px;
}
.hero-art {
  height: 520px;
  position: relative;
}
.book {
  position: absolute;
  width: 225px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.38);
  background: #fff;
}
.book img {
  width: 100%;
  display: block;
}
.book-a {
  left: 10%;
  top: 45px;
  transform: rotate(-7deg);
  z-index: 2;
}
.book-b {
  right: 4%;
  top: 5px;
  transform: rotate(8deg);
}
.book-c {
  right: 18%;
  bottom: 0;
  width: 205px;
  transform: rotate(2deg);
  z-index: 3;
}
.floating-tag {
  position: absolute;
  background: #fff;
  color: var(--navy);
  padding: 11px 15px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow);
  z-index: 6;
}
.tag-one {
  left: 0;
  bottom: 80px;
}
.tag-two {
  right: -15px;
  top: 235px;
} /* ==========================================================================
   5. HERO STATISTICS / TRUST STRIP
   ========================================================================== */

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -75px;
}
.trust-grid {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 28px 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-grid > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 4px 25px;
  border-right: 1px solid var(--line);
}
.trust-grid > div:last-child {
  border: 0;
}
.trust-grid .icon {
  grid-row: 1/3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #f1f5d6;
  color: #7b9200;
  border-radius: 50%;
  font-size: 22px;
}
.trust-grid strong {
  font-size: 15px;
}
.trust-grid small {
  color: var(--muted);
} /* ==========================================================================
   6. GENERAL SECTION STYLES
   ========================================================================== */

.section {
  padding: 105px 0;
}
.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 45px;
}
.section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.15;
  color: var(--navy);
  margin: 15px 0 0;
}
.section-head p,
.about-copy p,
.contact p {
  color: var(--muted);
  line-height: 1.85;
} /* ==========================================================================
   7. JOURNALS SECTION
   ========================================================================== */

.journals {
  background: var(--paper);
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.journal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 115px 1fr;
  min-height: 270px;
  transition: 0.25s;
}
.journal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(7, 27, 53, 0.1);
}
.journal-card > img {
  width: 115px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.card-body {
  padding: 24px 21px;
  display: flex;
  flex-direction: column;
}
.badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #718400;
  font-weight: 800;
}
.card-body h3 {
  font-size: 17px;
  line-height: 1.45;
  color: var(--navy);
  margin: 10px 0;
}
.card-body p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.card-body a {
  font-size: 12px;
  font-weight: 800;
  color: #6f8300;
} /* ==========================================================================
   8. ABOUT SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 85px;
  align-items: center;
}
.about-panel {
  position: relative;
  height: 470px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 70px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--navy), #174e72);
  box-shadow: var(--shadow);
}
.about-panel::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}
.about-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(72%, 310px);
  max-height: 280px;
  object-fit: contain;
}

.about-note {
  position: absolute;
  z-index: 2;
  left: 35px;
  bottom: 30px;
  padding-left: 15px;
  border-left: 3px solid var(--lime);
  color: #d7e4ee;
  font-size: 13px;
  line-height: 1.6;
}
.about-copy h2 {
  margin: 18px 0 25px;
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.check-grid span {
  padding: 13px;
  background: var(--paper);
  border-radius: 6px;
} /* ==========================================================================
   9. CALL-TO-ACTION SECTION
   ========================================================================== */

.cta-section {
  padding: 0 0 100px;
}
.cta-box {
  background: linear-gradient(120deg, #7e9300, var(--lime));
  padding: 55px 62px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  box-shadow: 0 25px 55px rgba(122, 143, 0, 0.24);
}
.eyebrow.light {
  color: #fff;
}
.cta-box h2 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  margin: 15px 0 8px;
}
.cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.btn-white {
  background: #fff;
  color: var(--navy);
  white-space: nowrap;
} /* ==========================================================================
   10. CONTACT SECTION
   ========================================================================== */

.contact {
  background: #f8fafc;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}
.contact h2 {
  margin: 15px 0 20px;
}
.contact-cards {
  display: grid;
  gap: 12px;
}
.contact-cards > a,
.contact-cards > div {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-cards span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eff4d5;
  color: #718400;
  display: grid;
  place-items: center;
}
.contact-cards small {
  display: block;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-cards strong {
  font-size: 14px;
  color: var(--navy);
} /* ==========================================================================
   12. FOOTER
   ========================================================================== */

footer {
  background: var(--navy);
  padding: 30px 0;
  color: #91a3b5;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.footer-inner img {
  width: 155px;
}
.footer-inner p {
  margin: 0;
}
.footer-inner a {
  color: var(--lime2);
}
/* ==========================================================================
   13. RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1000px) {
  .journal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .hero {
    min-height: auto;
    padding-bottom: 150px;
  }
  .section-head,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    gap: 45px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid > div:nth-child(2) {
    border-right: 0;
  }
  .trust-grid > div {
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  .trust-grid > div:nth-child(3),
  .trust-grid > div:nth-child(4) {
    border-bottom: 0;
  }
}
@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .nav-toggle {
    display: grid;
    gap: 5px;
  }
  .nav-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
  }
  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 70px;
    background: var(--navy2);
    border-radius: 10px;
    padding: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open {
    display: flex;
  }
  .brand img {
    width: 165px;
  }
  .hero {
    padding-top: 125px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-actions,
  .mini-proof {
    flex-direction: column;
  }
  .mini-proof span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
  }
  .trust-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }
  .trust-grid > div:last-child {
    border-bottom: 0 !important;
  }
  .section {
    padding: 75px 0;
  }
  .journal-card {
    grid-template-columns: 100px 1fr;
  }
  .journal-card > img {
    width: 100px;
  }
  .about-panel {
    height: 350px;
  }
  .big-number {
    font-size: 200px;
  }
  .check-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    padding: 38px 26px;
    align-items: flex-start;
    flex-direction: column;
  }
  .cta-box h2 {
    font-size: 30px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
}

/* Revision: clearer hero statistics */
.hero:after {
  height: 260px;
  bottom: -215px;
  transform: rotate(-3deg);
  z-index: 0;
}
.hero-grid {
  z-index: 2;
}
.mini-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(125px, 1fr));
  gap: 12px;
  max-width: 590px;
  margin-top: 38px;
}
.mini-proof span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(9px);
}
.mini-proof b {
  font-size: 22px;
  line-height: 1.05;
  color: #fff;
}
.mini-proof small {
  margin-top: 7px;
  color: #c8d4df;
  font-size: 12px;
  line-height: 1.25;
}

/* Indexed In & Supported By */
/* ==========================================================================
   11. INDEXING & RESEARCH SUPPORT
   ========================================================================== */

.indexing-section {
  padding: 88px 0 96px;
  background: #fff;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.indexing-head {
  text-align: center;
  max-width: 760px;
}
.indexing-head .eyebrow {
  justify-content: center;
}
.indexing-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.15;
  color: var(--navy);
  margin: 15px 0 16px;
}
.indexing-head p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 auto 42px;
}
.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}
.logo-marquee:before,
.logo-marquee:after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: min(12vw, 150px);
  pointer-events: none;
}
.logo-marquee:before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}
.logo-marquee:after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: indexMarquee 34s linear infinite;
}
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}
.logo-item {
  width: 220px;
  height: 104px;
  padding: 22px 25px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(7, 27, 53, 0.06);
}
.logo-item img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(0.92);
}
@keyframes indexMarquee {
  to {
    transform: translateX(calc(-50% - 11px));
  }
}
/* ==========================================================================
   14. ACCESSIBILITY & MOTION PREFERENCES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding: 0 20px;
  }
  .logo-item[aria-hidden="true"] {
    display: none;
  }
}
@media (max-width: 720px) {
  .mini-proof {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
  .mini-proof span {
    min-height: 76px;
    padding: 12px 10px;
  }
  .mini-proof b {
    font-size: 19px;
  }
  .mini-proof small {
    font-size: 10px;
  }
  .indexing-section {
    padding: 70px 0 76px;
  }
  .logo-item {
    width: 170px;
    height: 88px;
    padding: 18px;
  }
  .logo-item img {
    max-height: 48px;
  }
}

/* Contact icon fix: keep all icons perfectly circular */
.contact-cards > a,
.contact-cards > div {
  align-items: flex-start;
}

.contact-cards > a > span,
.contact-cards > div > span {
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex: 0 0 42px;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

.contact-cards > a > div,
.contact-cards > div > div {
  min-width: 0;
  flex: 1;
}

.contact-cards strong {
  display: block;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   15. PREMIUM PAGE ANIMATIONS
   ========================================================================== */

body {
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Page Loader
   -------------------------------------------------------------------------- */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(184, 212, 0, 0.1), transparent 28%),
    var(--navy);
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  animation: loaderLogo 1.15s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}

.loader-logo::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(216, 235, 76, 0.18);
  border-radius: 30px;
  animation: loaderRing 1.8s ease-in-out infinite;
}

.loader-logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.loader-line {
  position: absolute;
  width: 138px;
  height: 2px;
  margin-top: 132px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.loader-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--lime2), transparent);
  transform: translateX(-100%);
  animation: loaderLine 1.25s ease-in-out infinite;
}

@keyframes loaderLogo {
  from {
    opacity: 0.72;
    transform: translateY(5px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(-5px) scale(1);
  }
}

@keyframes loaderRing {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes loaderLine {
  0% {
    transform: translateX(-110%);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(110%);
  }
}

/* --------------------------------------------------------------------------
   Header Reveal
   -------------------------------------------------------------------------- */

.reveal-header {
  opacity: 0;
  transform: translateY(-100%);
}

body.is-ready .reveal-header {
  animation: headerReveal 0.85s 0.08s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes headerReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Hero Stagger Animation
   -------------------------------------------------------------------------- */

.hero-animate {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(9px);
}

body.is-ready .hero-animate {
  animation: heroReveal 0.95s var(--delay, 0s)
    cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-art-reveal {
  opacity: 0;
  transform: translateX(58px) scale(0.93);
  filter: blur(11px);
}

body.is-ready .hero-art-reveal {
  animation: heroArtReveal 1.2s 0.42s
    cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroArtReveal {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

/* --------------------------------------------------------------------------
   Floating Hero Artwork
   -------------------------------------------------------------------------- */

body.is-ready .book-a {
  animation: floatBookA 6s ease-in-out infinite;
}

body.is-ready .book-b {
  animation: floatBookB 7s ease-in-out infinite;
}

body.is-ready .book-c {
  animation: floatBookC 5.5s ease-in-out infinite;
}

body.is-ready .floating-tag {
  animation: floatingTag 4.8s ease-in-out infinite;
}

body.is-ready .tag-two {
  animation-delay: -2.1s;
}

@keyframes floatBookA {
  0%,
  100% {
    transform: rotate(-7deg) translateY(0);
  }

  50% {
    transform: rotate(-5deg) translateY(-12px);
  }
}

@keyframes floatBookB {
  0%,
  100% {
    transform: rotate(8deg) translateY(0);
  }

  50% {
    transform: rotate(6deg) translateY(14px);
  }
}

@keyframes floatBookC {
  0%,
  100% {
    transform: rotate(2deg) translateY(0);
  }

  50% {
    transform: rotate(4deg) translateY(-9px);
  }
}

@keyframes floatingTag {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* --------------------------------------------------------------------------
   Scroll Reveal
   -------------------------------------------------------------------------- */

.scroll-reveal {
  opacity: 0;
  transform: translateY(56px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--item-delay, 0s);
}

.scroll-reveal.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --------------------------------------------------------------------------
   Hero Background Motion
   -------------------------------------------------------------------------- */

.orb-one {
  animation: orbDriftOne 12s ease-in-out infinite alternate;
}

.orb-two {
  animation: orbDriftTwo 10s ease-in-out infinite alternate;
}

@keyframes orbDriftOne {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-25px, 20px, 0) scale(1.08);
  }
}

@keyframes orbDriftTwo {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(28px, -16px, 0) scale(1.12);
  }
}

/* --------------------------------------------------------------------------
   Premium Hover Effects
   -------------------------------------------------------------------------- */

.journal-card {
  position: relative;
  isolation: isolate;
}

.journal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(184, 212, 0, 0.13),
    transparent 58%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.journal-card:hover::after {
  opacity: 1;
}

.journal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(7, 27, 53, 0.12);
}

.journal-card > img {
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
}

.journal-card:hover > img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: -55%;
  left: -80%;
  width: 42%;
  height: 210%;
  background: rgba(255, 255, 255, 0.26);
  transform: rotate(20deg);
  transition: left 0.65s ease;
}

.btn:hover::after {
  left: 135%;
}

.logo-item {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.logo-item:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 212, 0, 0.35);
  box-shadow: 0 16px 38px rgba(7, 27, 53, 0.1);
}

.contact-cards > a,
.contact-cards > div {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.contact-cards > a:hover,
.contact-cards > div:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 212, 0, 0.38);
  box-shadow: 0 16px 34px rgba(7, 27, 53, 0.08);
}

/* --------------------------------------------------------------------------
   About Logo Motion
   -------------------------------------------------------------------------- */

.about-panel {
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
}

.about-logo {
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s ease;
}

.about-panel:hover .about-logo {
  transform: scale(1.045) translateZ(24px);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
}

.about-panel::before {
  animation: aboutCircle 8s ease-in-out infinite;
}

@keyframes aboutCircle {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }

  50% {
    opacity: 0.25;
    transform: scale(1.07);
  }
}

/* --------------------------------------------------------------------------
   Responsive Animation Adjustments
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .hero-art-reveal {
    display: none;
  }

  .scroll-reveal {
    transform: translateY(38px);
  }
}

@media (max-width: 720px) {
  .page-loader {
    background:
      radial-gradient(circle at 50% 44%, rgba(184, 212, 0, 0.09), transparent 34%),
      var(--navy);
  }

  .loader-logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }

  .loader-logo img {
    width: 47px;
    height: 47px;
  }

  .loader-line {
    width: 118px;
    margin-top: 116px;
  }

  .hero-animate {
    transform: translateY(28px);
    filter: blur(6px);
  }

  .scroll-reveal {
    transform: translateY(30px);
  }
}

/* --------------------------------------------------------------------------
   Accessibility & Reduced Motion
   -------------------------------------------------------------------------- */

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

  .page-loader {
    display: none;
  }

  .reveal-header,
  .hero-animate,
  .hero-art-reveal,
  .scroll-reveal,
  .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

