/* ============================================================
   MAIKOL — brand design system  (blue + yellow rebrand)
   Built around the Maikol logo: cobalt blue + electric yellow,
   with a complementary warm coral pop on a midnight-blue field.
   Same class names — every page restyles from this one file.
   ============================================================ */
:root {
  /* base — deep midnight blue */
  --bg:        #080d24;
  --bg-2:      #0b1230;
  --bg-soft:   #0e1740;
  --surface:   rgba(120, 150, 255, 0.06);
  --surface-2: rgba(120, 150, 255, 0.11);

  /* ink — cool near-white */
  --cream:     #eef1fb;
  --cream-dim: #b3bce0;
  --cream-mut: #7f88b4;

  /* brand */
  --blue:      #1f3c96;   /* brand cobalt */
  --blue-br:   #3a64e6;   /* electric accent / links */
  --yellow:    #ffe11a;   /* brand electric yellow */
  --yellow-2:  #ffd000;
  --coral:     #ff6a3d;   /* complementary warm pop (blue's complement) */
  --orange:    #ff8c2b;
  --pink:      #ed5a86;
  --gold:      var(--yellow);   /* legacy alias used in markup */

  /* warm pop gradient — the energetic highlight against the blue field */
  --sunset:    linear-gradient(100deg, #ffe11a 0%, #ff9e2b 46%, #ff6a3d 100%);
  --sunset-soft: linear-gradient(120deg, rgba(255,225,26,.16), rgba(255,106,61,.16));
  --brand-blue-grad: linear-gradient(120deg, #3a64e6, #1f3c96);

  --line:    rgba(120, 150, 255, 0.16);
  --line-2:  rgba(120, 150, 255, 0.30);

  --radius:  20px;
  --radius-lg: 30px;
  --max:     1160px;
  --shadow:  0 24px 60px -28px rgba(0,0,0,.75);
  --shadow-glow: 0 0 60px -10px rgba(255,225,26,.30);

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Outfit", -apple-system, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  position: relative;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- ambient brand aura that drifts behind everything ---- */
body::before {
  content: "";
  position: fixed; inset: -20vmax;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(38vmax 38vmax at 80% -8%,  rgba(255,225,26,.18),  transparent 60%),
    radial-gradient(40vmax 40vmax at 6% 10%,   rgba(58,100,230,.28),  transparent 62%),
    radial-gradient(46vmax 46vmax at 50% 120%, rgba(255,106,61,.16),  transparent 60%),
    var(--bg);
  background-attachment: fixed;
  animation: aura 24s ease-in-out infinite alternate;
}
@keyframes aura {
  0%   { transform: translate3d(0,0,0) scale(1);    }
  100% { transform: translate3d(-2%,1.5%,0) scale(1.06); }
}

/* fine film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .045; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--blue-br); text-decoration: none; transition: color .2s; }
a:hover { color: var(--yellow); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; }
h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }

.gradient-text {
  background: var(--sunset);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hue 9s ease-in-out infinite alternate;
}
@keyframes hue { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 26px; position: relative; }
section { padding: 86px 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 18px; font-weight: 600;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: var(--sunset);
}

.lead { font-size: 1.22rem; color: var(--cream-dim); max-width: 720px; line-height: 1.6; }

/* ---------- nav (centered wordmark + icon top-right + menu row) ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 13, 36, .55);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(8, 13, 36, .9); border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 16px 26px 12px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.nav-logo { justify-self: center; display: inline-flex; align-items: center; }
.nav-logo img { height: 36px; width: auto; display: block; transition: height .3s; }
.nav.scrolled .nav-logo img { height: 30px; }
.nav-icon { justify-self: end; display: inline-flex; align-items: center; line-height: 0; transition: transform .25s ease; }
.nav-icon img { height: 46px; width: auto; display: block; transition: height .3s; }
.nav.scrolled .nav-icon img { height: 40px; }
.nav-icon:hover { transform: rotate(-6deg) scale(1.06); }
.footer-inner .nav-logo img { height: 44px; }
.nav-toggle { justify-self: start; display: none; background: none; border: 0; color: var(--cream); font-size: 1.7rem; cursor: pointer; }

.nav-links {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 4px; list-style: none;
  max-width: var(--max); margin: 0 auto;
  padding: 10px 26px 12px;
  border-top: 1px solid var(--line);
}
.nav-links a {
  position: relative; color: var(--cream-dim);
  font-size: .94rem; font-weight: 500; padding: 8px 16px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 1.5px;
  background: var(--sunset); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease; border-radius: 2px;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--yellow); }
.nav-cta, .nav-links a.nav-cta {
  background: var(--sunset); color: #0a1029 !important;
  padding: 10px 22px; border-radius: 999px; font-weight: 700;
  box-shadow: 0 8px 24px -10px rgba(255,176,40,.7);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-inner { padding: 12px 20px; }
  .nav-logo img { height: 30px; }
  .nav-icon img { height: 38px; }
  .nav.scrolled .nav-icon img { height: 34px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; max-width: none; margin: 0;
    background: rgba(11,18,48,.97); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
    padding: 10px 0;
  }
  .nav-links.open { display: flex; animation: fadeDown .25s ease; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px; border-radius: 0; }
  .nav-links a::after { display: none; }
  .nav-cta, .nav-links a.nav-cta { margin: 12px auto; display: inline-block; }
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.36) saturate(1.1) contrast(1.04);
  transform: scale(1.06);
  animation: slowzoom 20s ease-out forwards;
}
@keyframes slowzoom { to { transform: scale(1); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, transparent 50%),
    linear-gradient(115deg, rgba(8,13,36,.88) 0%, rgba(31,60,150,.30) 55%, transparent 75%);
}
.hero-content { position: relative; z-index: 2; max-width: 880px; }
.hero .sun {
  position: absolute; right: -8%; bottom: -42%;
  width: min(60vw, 560px); aspect-ratio: 1; border-radius: 50%;
  background: var(--sunset);
  opacity: .92; filter: blur(2px);
  box-shadow: 0 0 130px 36px rgba(255,176,40,.45);
  z-index: 1;
  mix-blend-mode: screen;
  animation: rise 2.2s cubic-bezier(.16,1,.3,1) .1s both;
}
@keyframes rise { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: .92; } }
.hero h1 { margin-bottom: 22px; }
.hero p { font-size: 1.28rem; max-width: 650px; color: var(--cream-dim); margin-bottom: 36px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 14px 40px; list-style: none;
  margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line);
  max-width: 620px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; line-height: 1;
  background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { color: var(--cream-mut); font-size: .86rem; letter-spacing: .04em; margin-top: 5px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 32px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .25s ease, color .2s, border-color .2s, background .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: var(--sunset); background-size: 160% 100%; color: #0a1029;
  box-shadow: 0 14px 34px -14px rgba(255,176,40,.7);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 18px 40px -12px rgba(255,176,40,.85); color:#0a1029; }
.btn-ghost { border: 1.5px solid var(--line-2); color: var(--yellow); background: rgba(120,150,255,.04); }
.btn-ghost:hover { color: var(--cream); border-color: var(--blue-br); background: rgba(58,100,230,.14); }

/* ---------- marquee strip ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; background: rgba(14,23,64,.5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: inline-block; animation: scroll 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display); font-style: italic; font-size: 1.25rem;
  color: var(--cream-dim); margin: 0 6px; letter-spacing: .02em;
}
.marquee span::after { content: "✦"; color: var(--yellow); margin-left: 30px; font-style: normal; font-size: .7em; vertical-align: middle; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; background: var(--sunset);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card:hover::before { opacity: .9; }
.card h3 { margin-bottom: 12px; color: var(--yellow); }
.card .num {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1;
  background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px; display: inline-block;
}
.card p { color: var(--cream-dim); font-size: .99rem; }

/* numbered feature blocks + paired images (retreats) */
.num {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1;
  background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px; display: inline-block;
}
.feature-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature-img img { width: 100%; height: 380px; object-fit: cover; display: block; }
@media (max-width: 900px) { .feature-img img { height: 300px; } }

/* arch image — retro touch */
.arch { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a {
  position: relative; overflow: hidden; border-radius: 16px; display: block;
  border: 1px solid var(--line);
}
.gallery a::after {
  content: "⤢"; position: absolute; right: 12px; bottom: 10px;
  color: var(--cream); font-size: 1.1rem; opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s; text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.gallery img {
  width: 100%; height: 250px; object-fit: cover;
  transition: transform .5s ease, filter .4s ease; cursor: pointer;
}
.gallery a:hover img { transform: scale(1.06); filter: saturate(1.12); }
.gallery a:hover::after { opacity: 1; transform: none; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery img { height: 170px; } }

/* ---------- embeds ---------- */
.embed {
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.embed iframe { display: block; width: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-grid .embed iframe { aspect-ratio: 16 / 9; height: auto; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }

/* ---- lite YouTube facade (click to play) ---- */
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background-color: var(--bg-2); background-size: cover; background-position: center;
  cursor: pointer; padding: 0; box-shadow: var(--shadow);
}
.yt::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,13,36,.55), rgba(8,13,36,.05));
  transition: background .3s;
}
.yt:hover::before { background: rgba(8,13,36,.18); }
.yt-play {
  position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%;
  background: var(--sunset); display: grid; place-items: center;
  box-shadow: 0 10px 26px -6px rgba(255,176,40,.6); transition: transform .2s;
}
.yt:hover .yt-play { transform: scale(1.09); }
.yt-play::after {
  content: ""; width: 0; height: 0; border-style: solid;
  border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #0a1029;
  margin-left: 5px;
}
.yt.playing::before { opacity: 0; }
.yt.playing .yt-play { display: none; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- pill lists (about page) ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 22px; }
.pill-list li a, .pill-list li span {
  display: inline-block; padding: 8px 17px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--cream-dim); font-size: .88rem; transition: all .2s ease;
}
.pill-list li a:hover { color: #0a1029; background: var(--sunset); border-color: transparent; transform: translateY(-2px); }
.pill-list li span:hover { color: var(--cream); border-color: var(--line-2); }

/* ---------- pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card .price {
  font-family: var(--font-display); font-size: 2.7rem; color: var(--cream); margin: 14px 0 6px; line-height: 1;
}
.price-card .meta { color: var(--coral); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card ul { list-style: none; margin: 18px 0 26px; }
.price-card ul li { padding: 7px 0; color: var(--cream-dim); font-size: .96rem; border-bottom: 1px solid var(--line); }
.price-card ul li:last-child { border-bottom: 0; }
.price-card ul li::before { content: "✦"; color: var(--yellow); margin-right: 10px; }

/* ---------- page hero (interior pages) ---------- */
.page-hero { padding: 116px 0 44px; position: relative; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero::after {
  content: ""; position: absolute; left: 26px; bottom: 0; width: 64px; height: 3px;
  background: var(--sunset); border-radius: 3px;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 44px; background: rgba(11,18,48,.5); margin-top: 40px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 26px;
  display: flex; flex-direction: column; gap: 24px; justify-content: center; align-items: center; text-align: center;
}
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; justify-content: center; }
.socials a {
  color: var(--cream-dim); font-weight: 600; font-size: .9rem;
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line);
  transition: all .2s;
}
.socials a:hover { color: var(--cream); border-color: var(--line-2); background: var(--surface); }
.copyright { color: var(--cream-mut); font-size: .85rem; width: 100%; text-align: center; margin-top: 30px; }

/* image logos used as hero titles (disco / retreats pages) */
.shimmer-title { width: min(460px, 82%); height: auto; margin: 4px auto 2px; display: block; }
.metanoia-title { width: min(460px, 82%); height: auto; margin: 4px auto 2px; display: block; }

/* ---------- centered page layout ---------- */
.centered .hero-content { margin: 0 auto; text-align: center; }
.centered .hero p { margin-left: auto; margin-right: auto; }
.centered .page-hero .wrap { text-align: center; }
.centered .page-hero::after { left: 50%; transform: translateX(-50%); }
.centered section > .wrap { text-align: center; }
.centered .eyebrow { justify-content: center; }
.centered .eyebrow::before { display: none; }
.centered .lead { margin-left: auto !important; margin-right: auto !important; }
.centered .btn-row { justify-content: center; }
.centered .hero-stats { justify-content: center; margin-left: auto; margin-right: auto; }
.centered .hero-stats li { align-items: center; }
.centered .pill-list { justify-content: center; }
.centered .card { text-align: center; }
.centered .card .num { display: block; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .hero .sun, body::before, .gradient-text, .marquee-track { animation: none !important; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5, 8, 22, .95); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  cursor: zoom-out; padding: 4vh;
}
.lightbox.open { display: flex; animation: fade .25s ease; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 12px; box-shadow: var(--shadow); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
