/* =========================================================================
   STUDY FRUITS — Stylesheet
   Brand: warm gold/amber, cream, white, navy shadows. Poppins. Cozy & premium.
   ========================================================================= */

:root {
  --gold:        #D4AC60;
  --gold-deep:   #B98F44;
  --cream:       #F4F0E8;
  --cream-soft:  #FBF8F2;
  --white:       #FFFFFF;
  --navy:        #1C2230;
  --navy-soft:   #2A3142;
  --ink:         #2C3038;
  --ink-soft:    #5b6270;
  --orange:      #F39A2B;

  --radius:      22px;
  --radius-sm:   14px;
  --shadow:      0 18px 50px -18px rgba(28, 34, 48, 0.35);
  --shadow-soft: 0 8px 30px -12px rgba(28, 34, 48, 0.22);
  --maxw:        1180px;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream-soft);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-deep);
}

h1, h2, h3 { font-weight: 700; line-height: 1.15; color: var(--navy); letter-spacing: -.01em; }
section h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.section-sub { color: var(--ink-soft); max-width: 620px; margin: 0 auto; font-weight: 400; }

/* ---------- Wordmark (study fru[🍊]ts) ---------- */
.wordmark {
  font-weight: 700; letter-spacing: -.02em; color: var(--navy);
  display: inline-flex; align-items: baseline; line-height: 1;
}
.wordmark .dot-i { position: relative; display: inline-block; }
.wordmark .dot-i img {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: .92em; height: auto; bottom: .62em;
  filter: drop-shadow(0 3px 5px rgba(28,34,48,.25));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .98rem; padding: .8rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--gold-deep); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.65); color: var(--navy); border-color: rgba(28,34,48,.12); }
.btn-ghost:hover { background: #fff; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(28,34,48,.07);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.site-header .wordmark { font-size: 1.5rem; }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a { font-weight: 500; color: var(--ink); font-size: .98rem; transition: color .15s; }
.nav-links a:hover { color: var(--gold-deep); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--navy); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 0%, #FFE3B0 0%, #F6C982 28%, #E8A65C 55%, #C97E45 100%);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px;
  background: linear-gradient(to bottom, rgba(251,248,242,0), var(--cream-soft));
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.hero-copy h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: #fff; text-shadow: 0 4px 24px rgba(120,70,20,.35); }
.hero-copy .tagline { margin: 1.1rem 0 1.8rem; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #fff; font-weight: 400; text-shadow: 0 2px 12px rgba(120,70,20,.3); max-width: 30ch; }
.hero-copy .eyebrow { color: rgba(255,255,255,.92); }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art img { width: min(100%, 420px); animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(120,70,20,.4)); }
.hero-art .glow { position: absolute; inset: 10% 12%; background: radial-gradient(circle, rgba(255,255,255,.5), transparent 65%); filter: blur(20px); z-index: -1; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-18px) rotate(1deg); } }

/* animated sky layer */
.hero .sky { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero .sun {
  position: absolute; top: -110px; right: -40px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,224,160,.25) 58%, transparent 70%);
  animation: sunPulse 9s ease-in-out infinite;
}
@keyframes sunPulse { 0%,100% { transform: scale(1); opacity: .92; } 50% { transform: scale(1.06); opacity: 1; } }

/* drifting clouds */
.hero .cloud {
  position: absolute; background: rgba(255,255,255,.55); border-radius: 100px;
  filter: blur(8px); opacity: .55;
}
.hero .cloud::before, .hero .cloud::after {
  content: ""; position: absolute; background: inherit; border-radius: 100px;
}
.hero .cloud.c1 { width: 180px; height: 38px; top: 18%; left: -220px; animation: drift1 38s linear infinite; }
.hero .cloud.c2 { width: 120px; height: 28px; top: 42%; left: -180px; opacity: .4; animation: drift2 52s linear infinite; }
.hero .cloud.c3 { width: 220px; height: 46px; top: 9%;  left: -260px; opacity: .35; animation: drift1 64s linear infinite; }
.hero .cloud.c1::before { width: 90px; height: 60px; top: -26px; left: 30px; }
.hero .cloud.c2::before { width: 60px; height: 42px; top: -18px; left: 24px; }
.hero .cloud.c3::before { width: 110px; height: 70px; top: -30px; left: 50px; }
@keyframes drift1 { from { transform: translateX(0); } to { transform: translateX(125vw); } }
@keyframes drift2 { from { transform: translateX(0); } to { transform: translateX(130vw); } }

/* faint twinkle stars (for the dusk feel) */
.hero .stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.5px 1.5px at 70% 18%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 45% 12%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 85% 35%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 33% 22%, rgba(255,255,255,.65), transparent);
  opacity: .5; animation: twinkle 5s ease-in-out infinite;
}
@keyframes twinkle { 0%,100% { opacity: .25; } 50% { opacity: .6; } }

.hero-meta { margin-top: 1.6rem; font-size: .92rem; color: rgba(255,255,255,.9); font-weight: 500; text-shadow: 0 2px 10px rgba(120,70,20,.35); }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-art img, .hero .sun, .hero .cloud, .hero .stars { animation: none !important; }
}

/* =========================================================================
   LISTEN EVERYWHERE
   ========================================================================= */
.listen { background: linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%); }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-top: 1rem; }
.platform {
  display: flex; align-items: center; gap: .9rem; background: #fff; border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem; box-shadow: var(--shadow-soft); border: 1px solid rgba(28,34,48,.05);
  transition: transform .2s ease, box-shadow .2s ease; flex: 0 1 240px; min-width: 220px;
}
.platform:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.platform .pf-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; }
.platform .pf-icon svg { width: 24px; height: 24px; }
.platform.youtube    .pf-icon { background: #FF0000; }
.platform.spotify    .pf-icon { background: #1DB954; }
.platform.applemusic .pf-icon { background: linear-gradient(135deg, #FB5C74, #FA233B); }
.platform .pf-name { display: block; font-weight: 600; color: var(--navy); }
.platform .pf-note { display: block; font-size: .82rem; color: var(--ink-soft); }

/* mascot peeking on subscribe band */
.subscribe { position: relative; overflow: hidden; }
.subscribe .sub-mascot { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); }
.subscribe .sub-mascot img { width: 64px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.4)); animation: float 6s ease-in-out infinite; }

/* =========================================================================
   GENERIC SECTION
   ========================================================================= */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { text-align: center; margin-bottom: 2.8rem; }

/* ---------- Journey ---------- */
.journey { background: var(--cream-soft); }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1rem; }
.journey-card {
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(28,34,48,.05); text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.journey-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.journey-card .emoji { font-size: 2rem; }
.journey-card h3 { font-size: 1.15rem; margin: .6rem 0 .3rem; }
.journey-card p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Mixes ---------- */
.mixes { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%); }
.mix-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 1rem; }
.mix-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid rgba(28,34,48,.05); }
.mix-frame { position: relative; aspect-ratio: 16/9; background: var(--navy); }
.mix-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mix-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; text-align: center; color: #fff;
  background: radial-gradient(130% 100% at 50% 0%, #F6C982, #C97E45);
}
.mix-placeholder .pl-time { font-size: 1.6rem; font-weight: 700; letter-spacing: .04em; text-shadow: 0 3px 12px rgba(120,70,20,.4); }
.mix-placeholder .pl-tag { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; opacity: .9; }
.mix-placeholder .pl-note { margin-top: .6rem; font-size: .72rem; opacity: .82; background: rgba(0,0,0,.18); padding: .25rem .7rem; border-radius: 999px; }
.mix-meta { padding: 1rem 1.3rem; display: flex; align-items: center; justify-content: space-between; }
.mix-meta .t { font-weight: 600; color: var(--navy); }
.mix-meta .c { font-size: .85rem; color: var(--gold-deep); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

/* ---------- Cities ---------- */
.cities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1rem; }
.city-card { position: relative; border-radius: var(--radius); padding: 2rem 1.6rem; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; box-shadow: var(--shadow-soft); }
.city-card.dubai   { background: linear-gradient(160deg, #E8A65C, #B5673A); }
.city-card.bali    { background: linear-gradient(160deg, #E9B36B, #9A7B3E); }
.city-card.soon    { background: linear-gradient(160deg, #3a4258, #232a3a); }
.city-card .badge { position: absolute; top: 1rem; right: 1rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; background: rgba(255,255,255,.22); padding: .3rem .7rem; border-radius: 999px; font-weight: 600; }
.city-card h3 { color: #fff; font-size: 1.5rem; }
.city-card p { font-size: .88rem; opacity: .9; }

/* ---------- Blog teaser & list ---------- */
.blog-teaser { background: var(--cream-soft); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; }
.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(28,34,48,.05); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .pc-cover { aspect-ratio: 16/9; background: linear-gradient(160deg, #F6C982, #C97E45); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; }
.post-card .pc-body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-card .pc-date { font-size: .76rem; color: var(--gold-deep); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { font-size: 1.18rem; margin: .35rem 0 .5rem; }
.post-card p { font-size: .9rem; color: var(--ink-soft); flex: 1; }
.post-card .pc-more { margin-top: .9rem; font-weight: 600; color: var(--gold-deep); font-size: .9rem; }
.center-cta { text-align: center; margin-top: 2.4rem; }

/* ---------- Subscribe band ---------- */
.subscribe { background: var(--navy); color: #fff; text-align: center; }
.subscribe h2 { color: #fff; }
.subscribe p { color: rgba(255,255,255,.78); max-width: 540px; margin: .6rem auto 1.8rem; }

/* =========================================================================
   BLOG (article + list pages)
   ========================================================================= */
.page-hero { background: linear-gradient(160deg, #F6C982, #D98C4E); padding: clamp(2.5rem,6vw,4rem) 0; color: #fff; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem,5vw,3rem); text-shadow: 0 3px 16px rgba(120,70,20,.35); }
.page-hero p { color: rgba(255,255,255,.92); margin-top: .5rem; }

.article { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem,6vw,4rem) 24px; }
.article .meta { color: var(--gold-deep); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
.article h1 { font-size: clamp(1.9rem,5vw,2.8rem); margin: .5rem 0 1.5rem; }
.article-body { font-size: 1.06rem; color: #3a4050; }
.article-body h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.article-body h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.article-body p { margin: 1rem 0; }
.article-body ul, .article-body ol { margin: 1rem 0 1rem 1.4rem; }
.article-body li { margin: .4rem 0; }
.article-body img { border-radius: var(--radius-sm); margin: 1.5rem 0; }
.article-body a { color: var(--gold-deep); text-decoration: underline; }
.article-body blockquote { border-left: 4px solid var(--gold); padding-left: 1.2rem; margin: 1.5rem 0; color: var(--ink-soft); font-style: italic; }
.back-link { display: inline-block; margin-bottom: 1.5rem; color: var(--gold-deep); font-weight: 600; }
.loading { text-align: center; color: var(--ink-soft); padding: 3rem 0; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: #161B26; color: rgba(255,255,255,.7); padding: 3rem 0 2rem; }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.site-footer .wordmark { font-size: 1.6rem; color: #fff; }
.site-footer .wordmark .dot-i img, .site-header .wordmark .dot-i img { filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.social { display: flex; gap: 1rem; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); transition: background .18s, transform .18s; color: #fff;
}
.social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }
.foot-note { font-size: .82rem; color: rgba(255,255,255,.45); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-art { order: -1; }
  .hero-art img { width: min(70%, 280px); }
  .hero-cta { justify-content: center; }
  .hero-copy .tagline { margin-left: auto; margin-right: auto; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid, .posts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nav-links { position: fixed; inset: 70px 0 auto 0; background: var(--cream-soft); flex-direction: column; gap: 0; padding: .5rem 0; box-shadow: var(--shadow-soft); transform: translateY(-130%); transition: transform .25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .9rem 24px; width: 100%; border-bottom: 1px solid rgba(28,34,48,.06); }
  .nav-toggle { display: block; }
  .mix-grid { grid-template-columns: 1fr; }
  .cities-grid, .posts-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
}
