/* ==========================================================
   GridLeap Studios — "The Honey Flow"
   ========================================================== */

:root {
  --orange-deep: #E65A00;
  --orange-mid:  #FF8A2A;
  --orange-soft: #FFB347;
  --amber:       #FFBF00;
  --cream:       #FFFDF5;
  --cream-warm:  #FBEFD8;
  --choc:        #1A1614;
  --choc-soft:   #2A2320;
  --brown-warm:  #4A2A14;

  --radius-xl: 56px;
  --radius-lg: 40px;
  --radius-md: 28px;

  --ease-honey: cubic-bezier(.22,.9,.28,1);

  --shadow-soft: 0 30px 60px -30px rgba(74, 32, 10, 0.35),
                 0 8px 20px -10px rgba(74, 32, 10, 0.20);
  --shadow-inner: inset 0 1px 0 rgba(255,255,255,0.6),
                  inset 0 -10px 30px rgba(230, 90, 0, 0.08);

  --shadow-soft-dark: 0 30px 60px -30px rgba(0,0,0,.6),
                      0 8px 20px -10px rgba(0,0,0,.4);
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  background: var(--cream);
  color: var(--brown-warm);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; border: none; background: none; color: inherit; }

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* ============ Custom soft cursor ============ */
.soft-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center,
    rgba(255, 191, 0, 0.55) 0%,
    rgba(255, 138, 42, 0.35) 35%,
    rgba(230, 90, 0, 0.0) 75%);
  mix-blend-mode: screen;
  transition: width .35s var(--ease-honey),
              height .35s var(--ease-honey),
              background .35s var(--ease-honey);
  filter: blur(0.4px);
}
.soft-cursor.is-hover {
  width: 90px; height: 90px;
  background: radial-gradient(circle at center,
    rgba(255, 191, 0, 0.45) 0%,
    rgba(255, 138, 42, 0.30) 40%,
    rgba(230, 90, 0, 0.0) 80%);
}
@media (max-width: 720px) {
  body { cursor: auto; }
  button, a { cursor: pointer; }
  .soft-cursor { display: none; }
}

/* ============ Floating orbs (parallax depth) ============ */
.orb-field {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.orb--1 {
  width: 520px; height: 520px;
  top: -120px; left: -120px;
  background: radial-gradient(circle, var(--orange-mid), transparent 70%);
}
.orb--2 {
  width: 420px; height: 420px;
  top: 50%; right: -160px;
  background: radial-gradient(circle, var(--amber), transparent 70%);
  opacity: 0.35;
}
.orb--3 {
  width: 600px; height: 600px;
  bottom: -200px; left: 30%;
  background: radial-gradient(circle, var(--orange-deep), transparent 70%);
  opacity: 0.30;
}

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 12px 22px;
  background: rgba(26, 22, 20, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: 999px;
  box-shadow: var(--shadow-soft-dark);
  border: 1px solid rgba(255, 191, 0, 0.18);
}
.nav__logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  color: var(--cream);
}
.nav__links {
  display: flex; gap: 22px;
  list-style: none;
  font-size: 0.92rem;
  color: var(--cream-warm);
}
.nav__links a {
  position: relative;
  padding: 6px 4px;
  opacity: 0.85;
  transition: opacity .3s var(--ease-honey);
}
.nav__links a:hover { opacity: 1; color: var(--amber); }
@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(230,90,0,0.35), transparent 60%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(255,138,42,0.22), transparent 60%),
    var(--choc);
  color: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 140px 6vw 180px;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 28px;
  opacity: 0.9;
}
.hero__title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 12rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #F4D8B4;
  text-shadow:
    0 6px 30px rgba(230, 90, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  gap: 0.04em;
}
.hero__word {
  display: inline-block;
  animation: float-soft 6s ease-in-out infinite;
}
.hero__word[data-float="1"] {
  animation-delay: -2.5s;
  color: var(--orange-soft);
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-14px) rotate(-0.6deg); }
}
.hero__sub {
  margin: 32px auto 0;
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255, 253, 245, 0.78);
}
.hero__cta {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 44px;
  flex-wrap: wrap;
}

/* ============ Blob buttons ============ */
.blob-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--choc);
  background: linear-gradient(160deg, var(--orange-soft), var(--orange-deep));
  border-radius: 999px;
  box-shadow:
    0 14px 36px -10px rgba(230,90,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -8px 18px rgba(180, 60, 0, 0.18);
  transition: transform .5s var(--ease-honey),
              box-shadow .5s var(--ease-honey),
              filter .5s var(--ease-honey);
  isolation: isolate;
}
.blob-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(160deg, var(--amber), var(--orange-deep));
  z-index: -1;
  filter: url(#blob-warp);
  opacity: 0;
  transition: opacity .5s var(--ease-honey);
}
.blob-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 22px 48px -10px rgba(230,90,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -10px 22px rgba(180, 60, 0, 0.18);
}
.blob-btn:hover::before { opacity: 1; }

.blob-btn--ghost {
  background: rgba(255, 253, 245, 0.06);
  color: var(--cream);
  border: 1px solid rgba(255, 191, 0, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 30px -16px rgba(0,0,0,0.5);
}
.blob-btn--ghost::before {
  background: linear-gradient(160deg, rgba(255,191,0,0.25), rgba(230,90,0,0.45));
}

/* ============ Wave canvases ============ */
.wave-canvas {
  position: absolute;
  left: 0;
  width: 100%;
  height: 180px;
  display: block;
  z-index: 3;
  pointer-events: auto;
}
.wave-canvas--top    { bottom: -2px; }
.wave-canvas--bottom { bottom: -2px; }

/* ============ Body section ============ */
.body-section {
  position: relative;
  background: var(--cream);
  padding: 180px 0 220px;
  overflow: hidden;
}
.body-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 40% at 80% 10%, rgba(255, 179, 71, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 30% at 10% 90%, rgba(255, 191, 0, 0.10), transparent 60%);
  pointer-events: none;
}
.section-head {
  text-align: center;
  margin: 0 auto 80px;
  max-width: 720px;
  position: relative;
  z-index: 2;
}
.section-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 18px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--brown-warm);
}
.section-lede {
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(74, 42, 20, 0.76);
}

/* ============ Bento grid ============ */
.bento {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 22px;
}
.bento__card {
  position: relative;
  grid-column: span 2;
  background: linear-gradient(160deg, #fff8e6, #fbe6c2);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-soft), var(--shadow-inner);
  transition: transform .6s var(--ease-honey),
              box-shadow .6s var(--ease-honey);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.bento__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 70px -30px rgba(74, 32, 10, 0.45),
    0 12px 28px -10px rgba(74, 32, 10, 0.22),
    var(--shadow-inner);
}
.bento__card--wide { grid-column: span 4; }
.bento__card--tall { grid-row: span 2; }
.bento__card--accent {
  background: linear-gradient(160deg, var(--orange-soft), var(--orange-deep));
  color: var(--cream);
}
.bento__card--accent .bento__tag,
.bento__card--accent h3,
.bento__card--accent p { color: var(--cream); }
.bento__card--dark {
  background: linear-gradient(160deg, #2A2320, #1A1614);
  color: var(--cream-warm);
  box-shadow: var(--shadow-soft-dark),
              inset 0 1px 0 rgba(255,191,0,0.12);
}
.bento__card--dark .bento__tag { color: var(--amber); }

.bento__tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  font-weight: 600;
}
.bento__card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--brown-warm);
}
.bento__card p {
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(74, 42, 20, 0.78);
}
.bento__pill {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  background: rgba(255,253,245,0.18);
  border: 1px solid rgba(255,253,245,0.35);
  border-radius: 999px;
}
.bento__list {
  list-style: none;
  margin-top: auto;
  display: flex; flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(74, 42, 20, 0.72);
}
.bento__list li::before {
  content: '◉';
  color: var(--orange-deep);
  margin-right: 10px;
  font-size: 0.7rem;
  vertical-align: middle;
}
.bento__projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.bento__projects > div {
  padding: 16px 18px;
  background: rgba(255,191,0,0.08);
  border: 1px solid rgba(255,191,0,0.18);
  border-radius: 22px;
  display: flex; flex-direction: column;
  gap: 4px;
}
.bento__projects strong {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  color: var(--cream);
}
.bento__projects span {
  font-size: 0.82rem;
  color: rgba(255,253,245,0.55);
}

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card,
  .bento__card--wide { grid-column: span 2; }
  .bento__card--tall { grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card,
  .bento__card--wide { grid-column: span 1; }
}

/* ============ Showcase (games media) ============ */
.showcase-head {
  margin-top: 140px;
}
.showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.showcase__card {
  background: linear-gradient(160deg, #fff8e6, #fbe6c2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), var(--shadow-inner);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .6s var(--ease-honey),
              box-shadow .6s var(--ease-honey);
}
.showcase__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 70px -30px rgba(74, 32, 10, 0.45),
    0 12px 28px -10px rgba(74, 32, 10, 0.22),
    var(--shadow-inner);
}
.showcase__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(160deg, rgba(230, 90, 0, 0.18), rgba(255, 191, 0, 0.12)),
    repeating-linear-gradient(45deg,
      rgba(74, 42, 20, 0.06) 0 12px,
      transparent 12px 24px);
  border-bottom: 1px solid rgba(74, 42, 20, 0.08);
  overflow: hidden;
}
.showcase__media::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(74, 42, 20, 0.5);
}
.showcase__media:has(img)::before,
.showcase__media:has(video)::before { content: none; }
.showcase__media:has(img),
.showcase__media:has(video) { background: var(--choc); }
.showcase__media img,
.showcase__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.showcase__body {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.showcase__body h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--brown-warm);
}
.showcase__body p {
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(74, 42, 20, 0.78);
}
@media (max-width: 720px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-head { margin-top: 100px; }
}

/* ============ Footer ============ */
.footer {
  position: relative;
  padding: 200px 0 80px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(230,90,0,0.30), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(255,191,0,0.18), transparent 60%),
    var(--choc);
  color: var(--cream);
  overflow: hidden;
}
.footer__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.footer__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.footer__title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--cream);
}

/* Glowing morphing contact container */
.contact-card {
  position: relative;
  margin: 60px auto 0;
  max-width: 720px;
  padding: 56px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--orange-soft), var(--orange-deep));
  box-shadow:
    0 40px 90px -20px rgba(230,90,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -16px 40px rgba(180,60,0,0.25);
  text-align: center;
  isolation: isolate;
  animation: morph-blob 12s ease-in-out infinite;
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: linear-gradient(160deg, var(--amber), var(--orange-deep));
  z-index: -1;
  filter: blur(24px);
  opacity: 0.65;
  animation: morph-blob 12s ease-in-out infinite reverse;
}
@keyframes morph-blob {
  0%, 100% {
    border-radius: 56px 64px 50px 70px / 64px 50px 72px 54px;
  }
  50% {
    border-radius: 70px 50px 64px 54px / 50px 70px 54px 64px;
  }
}
.contact-card__line {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  color: var(--choc);
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
  transition: transform .4s var(--ease-honey);
}
.contact-card__line:hover { transform: scale(1.02); }
.contact-card__line--small {
  margin-top: 14px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--brown-warm);
}

.footer__socials {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  padding: 0;
}
.footer__social {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-warm, #c9a27a);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.footer__social:hover { opacity: 0.75; transform: translateY(-1px); }

.footer__meta {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 253, 245, 0.5);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  .hero__word,
  .contact-card,
  .contact-card::before {
    animation: none !important;
  }
  * { transition-duration: 0.01ms !important; }
}
