/* ══════════════════════════════════════════════════════
   COOK WITH SHADES — cook.css
   Color Palette: #2d3250 · #424769 · #676f9d · #f9b17a · #fff
   Fonts: Fredoka · DM Sans · Raleway
══════════════════════════════════════════════════════ */

/* ── VARIABLES ───────────────────────────────────── */
:root {
  --ck-bg:           #2d3250;
  --ck-card:         #424769;
  --ck-border:       #676f9d;
  --ck-accent:       #f9b17a;
  --ck-accent-light: #ffd4ae;
  --ck-white:        #ffffff;
  --ck-text:         rgba(255,255,255,0.85);
  --ck-muted:        rgba(103,111,157,0.85);

  --ck-bg-90:        rgba(45,50,80,0.90);
  --ck-card-60:      rgba(66,71,105,0.60);
  --ck-accent-20:    rgba(249,177,122,0.20);
  --ck-accent-40:    rgba(249,177,122,0.40);
  --ck-border-20:    rgba(103,111,157,0.20);
  --ck-border-30:    rgba(103,111,157,0.30);

  --ck-font-head:    'Fredoka', sans-serif;
  --ck-font-body:    'DM Sans', sans-serif;
  --ck-font-accent:  'Raleway', sans-serif;

  --ck-max-w:        1240px;
  --ck-pad-x:        clamp(1.25rem, 5vw, 3.5rem);
  --ck-ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ck-spring:       cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── BASE RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ck-font-body);
  background: var(--ck-bg);
  color: var(--ck-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ── UTILITIES ───────────────────────────────────── */
.ck-nav-spacer { height: 72px; }

.ck-container {
  width: 100%;
  max-width: var(--ck-max-w);
  margin: 0 auto;
  padding: 0 var(--ck-pad-x);
}

.ck-accent-text {
  color: var(--ck-accent);
  font-style: normal;
}

/* ── SCROLL REVEAL ───────────────────────────────── */
[data-ck-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ck-ease), transform 0.75s var(--ck-ease);
}
[data-ck-reveal].ck-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SECTION HEADERS ─────────────────────────────── */
.ck-section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.ck-section-tag {
  display: inline-block;
  font-family: var(--ck-font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ck-accent);
  margin-bottom: 0.75rem;
  padding: 5px 14px;
  border: 1px solid var(--ck-accent-40);
  border-radius: 100px;
  background: var(--ck-accent-20);
}
.ck-section-h2 {
  font-family: var(--ck-font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--ck-white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.ck-section-sub {
  font-size: 1rem;
  color: var(--ck-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── PILL TAG ────────────────────────────────────── */
.ck-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--ck-border-30);
  border-radius: 100px;
  background: rgba(66,71,105,0.5);
  font-family: var(--ck-font-accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ck-muted);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.ck-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ck-accent);
  box-shadow: 0 0 8px var(--ck-accent);
  animation: ck-pulse-dot 2.5s ease-in-out infinite;
}
@keyframes ck-pulse-dot {
  0%,100% { box-shadow: 0 0 6px var(--ck-accent); transform: scale(1); }
  50%      { box-shadow: 0 0 14px var(--ck-accent); transform: scale(1.3); }
}

/* ── BUTTONS ─────────────────────────────────────── */
.ck-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  background: var(--ck-accent);
  color: var(--ck-bg);
  text-decoration: none;
  border-radius: 50px;
  font-family: var(--ck-font-accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ck-ease), box-shadow 0.3s var(--ck-ease);
  z-index: 0;
}
.ck-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ck-accent), var(--ck-accent-light));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.ck-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(249,177,122,0.4), 0 4px 12px rgba(249,177,122,0.25);
}
.ck-btn-primary:hover::before { opacity: 1; }
.ck-btn-primary:active { transform: translateY(0); }

.ck-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  background: transparent;
  color: var(--ck-white);
  text-decoration: none;
  border-radius: 50px;
  border: 1.5px solid var(--ck-border-30);
  font-family: var(--ck-font-accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ck-ease);
}
.ck-btn-ghost:hover {
  background: rgba(103,111,157,0.2);
  border-color: var(--ck-border);
  transform: translateY(-2px);
}
.ck-btn-ico { font-size: 1rem; }
.ck-btn-inline { margin-top: 2rem; }


/* ══════════════════════════════════════════════════════
   SECTION 1 — HERO
══════════════════════════════════════════════════════ */
.ck-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;

  /* NAVBAR SPACE FIX */
  padding: 10rem 0 4rem;

  overflow: hidden;
}

/* BG gradient + grid */
.ck-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 10%, rgba(249,177,122,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(66,71,105,0.5) 0%, transparent 70%),
    var(--ck-bg);
  z-index: 0;
}

.ck-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103,111,157,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,111,157,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 80%);
}

.ck-hero > * { position: relative; z-index: 1; }

/* Blobs */
.ck-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.ck-hb-1 {
  width: 500px; height: 500px;
  background: rgba(249,177,122,0.06);
  top: -100px; right: -100px;
  animation: ck-blob-drift 10s ease-in-out infinite alternate;
}
.ck-hb-2 {
  width: 400px; height: 400px;
  background: rgba(66,71,105,0.3);
  bottom: -50px; left: -80px;
  animation: ck-blob-drift 14s ease-in-out infinite alternate-reverse;
}
@keyframes ck-blob-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.1); }
}

/* Floating emojis */
.ck-fe {
  position: absolute;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  animation: ck-float-em 8s ease-in-out infinite;
}
.ck-fe-1 { top: 18%; left: 8%;  animation-delay: 0s;   animation-duration: 7s;  }
.ck-fe-2 { top: 55%; left: 3%;  animation-delay: 1.5s; animation-duration: 9s;  }
.ck-fe-3 { top: 25%; right: 6%; animation-delay: 0.8s; animation-duration: 8s;  }
.ck-fe-4 { top: 70%; right: 4%; animation-delay: 2s;   animation-duration: 10s; }
.ck-fe-5 { top: 80%; left: 15%; animation-delay: 0.5s; animation-duration: 6s;  }
@keyframes ck-float-em {
  0%,100% { transform: translateY(0)   rotate(0deg);  }
  33%      { transform: translateY(-18px) rotate(5deg);  }
  66%      { transform: translateY(10px)  rotate(-4deg); }
}

/* Hero layout */
.ck-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── Hero Content (left) ── */
.ck-hero-h1 {
  font-family: var(--ck-font-head);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--ck-white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.ck-hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--ck-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}
.ck-hero-desc strong { color: var(--ck-white); }

.ck-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Stats */
.ck-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.ck-stat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--ck-card-60);
  border: 1px solid var(--ck-border-20);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ck-ease), border-color 0.3s;
}
.ck-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--ck-accent-40);
}
.ck-stat-emoji { font-size: 1.25rem; }
.ck-stat-info { display: flex; flex-direction: column; gap: 1px; }
.ck-stat-info strong {
  font-family: var(--ck-font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ck-white);
  line-height: 1;
}
.ck-stat-info span {
  font-size: 0.72rem;
  color: var(--ck-muted);
  letter-spacing: 0.03em;
}

/* ── Hero Visual (right) ── */
.ck-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.ck-hero-frame {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rotating rings */
.ck-frame-ring {
  position: absolute;
  border-radius: 50%;
  border-style: dashed;
  pointer-events: none;
}
.ck-fr-outer {
  inset: -30px;
  border-width: 1.5px;
  border-color: rgba(249,177,122,0.18);
  animation: ck-ring-spin 20s linear infinite;
}
.ck-fr-inner {
  inset: -12px;
  border-width: 1.5px;
  border-color: rgba(103,111,157,0.3);
  animation: ck-ring-spin 12s linear infinite reverse;
}
@keyframes ck-ring-spin {
  to { transform: rotate(360deg); }
}

/* Main image */
.ck-frame-img {
  width: 340px;
  height: 340px;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 3px rgba(249,177,122,0.25),
    0 0 60px rgba(249,177,122,0.12),
    0 20px 60px rgba(0,0,0,0.4);
  animation: ck-morph-shape 10s ease-in-out infinite;
}
@keyframes ck-morph-shape {
  0%,100% { border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; }
  33%      { border-radius: 55% 45% 40% 60% / 55% 40% 60% 45%; }
  66%      { border-radius: 45% 55% 60% 40% / 40% 60% 45% 55%; }
}
.ck-frame-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ck-ease);
}
.ck-hero-frame:hover .ck-frame-img img { transform: scale(1.06); }

.ck-frame-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249,177,122,0.15) 0%, transparent 50%, rgba(66,71,105,0.2) 100%);
  pointer-events: none;
}

/* Floating tag cards */
.ck-ftag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--ck-card);
  border: 1px solid var(--ck-border-20);
  border-radius: 12px;
  font-family: var(--ck-font-accent);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ck-white);
  white-space: nowrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  animation: ck-tag-float 6s ease-in-out infinite;
}
.ck-ftag span { font-size: 0.95rem; }
.ck-ftag-1 { top: 5%;  left: -10%; animation-delay: 0s;    animation-duration: 6s; }
.ck-ftag-2 { top: 70%; left: -12%; animation-delay: 1.5s;  animation-duration: 7s; }
.ck-ftag-3 { top: 5%;  right: -8%; animation-delay: 0.8s;  animation-duration: 6.5s; }
.ck-ftag-4 { top: 70%; right: -5%; animation-delay: 2.2s;  animation-duration: 8s; }
@keyframes ck-tag-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* HUD corner brackets */
.ck-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 2;
  pointer-events: none;
}
.ck-corner::before, .ck-corner::after { content: ''; position: absolute; background: var(--ck-accent); opacity: 0.6; }
.ck-corner::before { width: 100%; height: 2px; top: 0; left: 0; }
.ck-corner::after  { width: 2px; height: 100%; top: 0; left: 0; }
.ck-c-tl { top: -4px; left: -4px; }
.ck-c-tr { top: -4px; right: -4px; transform: scaleX(-1); }
.ck-c-bl { bottom: -4px; left: -4px; transform: scaleY(-1); }
.ck-c-br { bottom: -4px; right: -4px; transform: scale(-1); }

/* Wave divider */
.ck-wave-bottom {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}
.ck-wave-bottom svg { display: block; width: 100%; height: 70px; }
.ck-wave-flip { transform: scaleY(-1); bottom: auto; top: -1px; }


/* ══════════════════════════════════════════════════════
   SECTION 2 — REELS
══════════════════════════════════════════════════════ */
.ck-reels-section {
  background: var(--ck-card);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.ck-reels-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(249,177,122,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.ck-reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Reel card */
.ck-reel-card {
  background: rgba(45,50,80,0.6);
  border: 1px solid var(--ck-border-20);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s var(--ck-ease), box-shadow 0.4s var(--ck-ease), border-color 0.4s;
  cursor: pointer;
}
.ck-reel-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px var(--ck-accent-40);
  border-color: var(--ck-accent-40);
}

.ck-reel-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.ck-reel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ck-ease);
}
.ck-reel-card:hover .ck-reel-thumb img { transform: scale(1.08); }

.ck-reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(45,50,80,0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
}
.ck-reel-card:hover .ck-reel-overlay { opacity: 1; }

.ck-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(249,177,122,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 8px rgba(249,177,122,0.2);
  transition: transform 0.3s var(--ck-spring);
}
.ck-reel-card:hover .ck-play-btn { transform: scale(1.12); }

.ck-reel-ig-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(45,50,80,0.8);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.ck-reel-duration {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  background: rgba(0,0,0,0.6);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.ck-reel-info {
  padding: 1.25rem;
}
.ck-reel-info h4 {
  font-family: var(--ck-font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ck-white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.ck-reel-info p {
  font-size: 0.85rem;
  color: var(--ck-muted);
  line-height: 1.55;
  margin-bottom: 0.875rem;
}
.ck-reel-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ck-font-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ck-accent);
  text-decoration: none;
  transition: gap 0.3s var(--ck-ease);
}
.ck-reel-link span { transition: transform 0.3s var(--ck-ease); }
.ck-reel-link:hover { gap: 8px; }
.ck-reel-link:hover span { transform: translateX(3px); }


/* ══════════════════════════════════════════════════════
   SECTION 3 — RECIPE HIGHLIGHTS
══════════════════════════════════════════════════════ */
.ck-recipes-section {
  background: var(--ck-bg);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.ck-recipes-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 90% 80%, rgba(66,71,105,0.4) 0%, transparent 60%);
  pointer-events: none;
}

/* Filter buttons */
.ck-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.ck-filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--ck-border-20);
  background: transparent;
  font-family: var(--ck-font-accent);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ck-muted);
  cursor: pointer;
  transition: all 0.3s var(--ck-ease);
}
.ck-filter-btn:hover {
  border-color: var(--ck-accent-40);
  color: var(--ck-white);
  background: var(--ck-accent-20);
}
.ck-filter-active {
  background: var(--ck-accent) !important;
  border-color: var(--ck-accent) !important;
  color: var(--ck-bg) !important;
  box-shadow: 0 4px 16px rgba(249,177,122,0.35);
}

/* Recipe grid */
.ck-recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Recipe card */
.ck-recipe-card {
  background: var(--ck-card);
  border: 1px solid var(--ck-border-20);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform    0.4s var(--ck-ease),
    box-shadow   0.4s var(--ck-ease),
    border-color 0.4s,
    opacity      0.3s,
    scale        0.3s;
}
.ck-recipe-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 48px rgba(0,0,0,0.3),
    0 0 0 1px var(--ck-accent-40),
    0 0 30px rgba(249,177,122,0.08);
  border-color: var(--ck-accent-40);
}
.ck-recipe-card.ck-card-hidden {
  opacity: 0;
  pointer-events: none;
  scale: 0.96;
  transform: translateY(10px);
}

.ck-rc-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ck-rc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ck-ease);
}
.ck-recipe-card:hover .ck-rc-img-wrap img { transform: scale(1.08); }

.ck-rc-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  background: rgba(45,50,80,0.85);
  border: 1px solid var(--ck-border-20);
  border-radius: 100px;
  font-family: var(--ck-font-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--ck-accent);
  backdrop-filter: blur(8px);
}

.ck-rc-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45,50,80,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ck-font-accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ck-white);
  opacity: 0;
  transition: opacity 0.35s;
  backdrop-filter: blur(4px);
}
.ck-recipe-card:hover .ck-rc-hover-overlay { opacity: 1; }

.ck-rc-body {
  padding: 1.125rem 1.25rem 1.25rem;
}
.ck-rc-name {
  font-family: var(--ck-font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ck-white);
  margin-bottom: 0.625rem;
  line-height: 1.25;
}
.ck-rc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ck-rc-meta span {
  font-size: 0.75rem;
  color: var(--ck-muted);
  background: rgba(45,50,80,0.6);
  border-radius: 100px;
  padding: 3px 10px;
  border: 1px solid var(--ck-border-20);
}


/* ══════════════════════════════════════════════════════
   SECTION 4 — PERSONALITY
══════════════════════════════════════════════════════ */
.ck-personality-section {
  background: var(--ck-card);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.ck-pers-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.ck-pb-1 {
  width: 450px; height: 450px;
  background: rgba(249,177,122,0.05);
  top: -100px; right: -80px;
}
.ck-pb-2 {
  width: 350px; height: 350px;
  background: rgba(45,50,80,0.8);
  bottom: -80px; left: -60px;
}

.ck-pers-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Visual side */
.ck-pers-img-wrap {
  position: relative;
  width: 380px;
  max-width: 100%;
}
.ck-pers-ring {
  position: absolute;
  inset: -20px;
  border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
  border: 1.5px dashed rgba(249,177,122,0.2);
  animation: ck-ring-spin 18s linear infinite;
}
.ck-pers-ring-2 {
  position: absolute;
  inset: -8px;
  border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
  border: 1px solid rgba(103,111,157,0.2);
  animation: ck-ring-spin 10s linear infinite reverse;
}
.ck-pers-img {
  width: 100%;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow:
    0 0 0 3px rgba(249,177,122,0.2),
    0 24px 60px rgba(0,0,0,0.35);
  animation: ck-morph-shape 12s ease-in-out infinite 2s;
}

.ck-pers-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--ck-bg);
  border: 1px solid var(--ck-border-20);
  border-radius: 12px;
  font-family: var(--ck-font-accent);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ck-white);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.ck-pbadge-1 {
  top: 10%;
  right: -20px;
  animation: ck-tag-float 5.5s ease-in-out infinite;
}
.ck-pbadge-2 {
  bottom: 15%;
  left: -20px;
  animation: ck-tag-float 7s ease-in-out infinite 1s;
}

/* Text side */
.ck-pers-text { padding-left: 1rem; }

.ck-story-paras {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin: 1.25rem 0 1.75rem;
}
.ck-story-paras p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ck-muted);
}
.ck-story-paras em {
  color: var(--ck-accent);
  font-style: normal;
  font-weight: 500;
}

.ck-pers-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.ck-ptag {
  padding: 7px 14px;
  background: var(--ck-accent-20);
  border: 1px solid var(--ck-accent-40);
  border-radius: 100px;
  font-family: var(--ck-font-accent);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ck-accent-light);
  letter-spacing: 0.02em;
  transition: background 0.3s, transform 0.3s var(--ck-ease);
  cursor: default;
}
.ck-ptag:hover {
  background: var(--ck-accent-40);
  transform: translateY(-2px);
}


/* ══════════════════════════════════════════════════════
   SECTION 5 — INSTAGRAM CTA
══════════════════════════════════════════════════════ */
.ck-ig-section {
  background: var(--ck-bg);
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ambient glow */
.ck-ig-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,177,122,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: ck-glow-pulse-big 5s ease-in-out infinite;
}
@keyframes ck-glow-pulse-big {
  0%,100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}

.ck-ig-ring {
  position: absolute;
  border-radius: 50%;
  border-style: dashed;
  pointer-events: none;
  opacity: 0.1;
}
.ck-igr-1 {
  width: 700px; height: 700px;
  border-width: 1px;
  border-color: var(--ck-accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ck-ring-spin 30s linear infinite;
}
.ck-igr-2 {
  width: 500px; height: 500px;
  border-width: 1px;
  border-color: var(--ck-border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ck-ring-spin 20s linear infinite reverse;
}

.ck-ig-inner {
  position: relative;
  z-index: 1;
}

.ck-ig-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ck-accent-20);
  border: 1px solid var(--ck-accent-40);
  color: var(--ck-accent);
  margin: 0 auto 1.25rem;
}

.ck-ig-heading {
  font-family: var(--ck-font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--ck-white);
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
}
.ck-ig-sub {
  font-size: 1rem;
  color: var(--ck-muted);
  max-width: 480px;
  margin: 0 auto 3rem;
  line-height: 1.65;
}

/* Post grid */
.ck-ig-posts {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 3rem;
}
.ck-ig-post {
  width: 180px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ck-ease), box-shadow 0.4s;
  border: 2px solid var(--ck-border-20);
  aspect-ratio: 1;
}
.ck-ig-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ck-ease);
}
.ck-ig-post:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.ck-ig-post:hover img { transform: scale(1.08); }

.ck-ig-post-featured {
  width: 220px;
  aspect-ratio: 1;
  border-color: var(--ck-accent-40);
  box-shadow: 0 0 0 3px var(--ck-accent-20), 0 12px 40px rgba(0,0,0,0.25);
}

.ck-ig-post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,50,80,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}
.ck-ig-post:hover .ck-ig-post-overlay { opacity: 1; }
.ck-ig-likes {
  font-size: 0.78rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.03em;
}

/* Follow button */
.ck-ig-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.ck-ig-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--ck-accent);
  color: var(--ck-bg);
  text-decoration: none;
  border-radius: 100px;
  font-family: var(--ck-font-accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ck-ease), box-shadow 0.35s var(--ck-ease);
  z-index: 0;
}
.ck-ig-follow-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ck-accent), var(--ck-accent-light));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.ck-ig-follow-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(249,177,122,0.45), 0 6px 16px rgba(249,177,122,0.25);
}
.ck-ig-follow-btn:hover::before { opacity: 1; }
.ck-follow-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s var(--ck-ease);
}
.ck-ig-follow-btn:hover .ck-follow-arrow { transform: translateX(5px); }

.ck-ig-footnote {
  font-size: 0.875rem;
  color: var(--ck-muted);
}


/* ══════════════════════════════════════════════════════
   RECIPE MODAL
══════════════════════════════════════════════════════ */
.ck-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ck-ease), visibility 0s 0.35s;
  visibility: hidden;
}
.ck-modal-wrap.ck-modal-active {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ck-ease);
}

.ck-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,16,35,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

.ck-modal {
  position: relative;
  z-index: 1;
  background: var(--ck-card);
  border: 1px solid var(--ck-border-20);
  border-radius: 24px;
  max-width: 900px;
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(249,177,122,0.15);
  transform: scale(0.88) translateY(24px);
  transition: transform 0.45s var(--ck-ease);
}
.ck-modal-wrap.ck-modal-active .ck-modal {
  transform: scale(1) translateY(0);
}

.ck-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(45,50,80,0.9);
  border: 1px solid var(--ck-border-20);
  color: var(--ck-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}
.ck-modal-close:hover { background: var(--ck-accent); color: var(--ck-bg); transform: scale(1.1); }

.ck-modal-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  height: 100%;
}

/* Modal image side */
.ck-modal-img-side {
  position: relative;
  min-height: 300px;
}
.ck-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ck-modal-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,50,80,0.3) 0%, transparent 60%);
}
.ck-modal-cat-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 13px;
  background: var(--ck-accent);
  color: var(--ck-bg);
  border-radius: 100px;
  font-family: var(--ck-font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Modal details side */
.ck-modal-detail-side {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  overflow: hidden;
}

.ck-modal-title {
  font-family: var(--ck-font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ck-white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.ck-modal-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ck-border-20);
}
.ck-ms-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ck-ms-icon {
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ck-accent-20);
  border-radius: 8px;
}
.ck-ms-item div { display: flex; flex-direction: column; gap: 1px; }
.ck-ms-item strong { font-size: 0.85rem; color: var(--ck-white); font-weight: 600; }
.ck-ms-item span  { font-size: 0.72rem; color: var(--ck-muted); }

.ck-modal-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ck-muted);
  margin-bottom: 1rem;
}

.ck-modal-scrollable {
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--ck-border-20) transparent;
  padding-right: 6px;
}
.ck-modal-scrollable::-webkit-scrollbar { width: 4px; }
.ck-modal-scrollable::-webkit-scrollbar-thumb { background: var(--ck-border-20); border-radius: 2px; }

.ck-modal-block { margin-bottom: 1.25rem; }
.ck-modal-block h4 {
  font-family: var(--ck-font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ck-accent);
  margin-bottom: 0.75rem;
}

.ck-m-ingredients {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ck-m-ingredients li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ck-muted);
  line-height: 1.4;
}
.ck-m-ingredients li::before {
  content: '·';
  color: var(--ck-accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ck-m-steps {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ck-m-steps li {
  counter-increment: steps;
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--ck-muted);
  line-height: 1.5;
}
.ck-m-steps li::before {
  content: counter(steps);
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ck-accent);
  color: var(--ck-bg);
  font-family: var(--ck-font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── No-scroll body ── */
body.ck-no-scroll { overflow: hidden; }


/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ck-hero-layout { grid-template-columns: 1.1fr 1fr; gap: 2.5rem; }
  .ck-hero-frame { width: 320px; height: 320px; }
  .ck-frame-img { width: 280px; height: 280px; }
  .ck-reels-grid { grid-template-columns: repeat(2, 1fr); }
  .ck-recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .ck-pers-layout { gap: 3rem; }
}

@media (max-width: 768px) {
  .ck-hero { min-height: auto; padding: 3rem 0 4rem; }
  .ck-hero-layout { grid-template-columns: 1fr; gap: 3rem; }
  .ck-hero-visual { order: -1; }
  .ck-hero-frame { width: 280px; height: 280px; margin: 0 auto; }
  .ck-frame-img { width: 240px; height: 240px; }
  .ck-ftag-2, .ck-ftag-4 { display: none; }
  .ck-ftag-1 { left: -5%; }
  .ck-ftag-3 { right: -5%; }

  .ck-reels-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .ck-recipe-grid { grid-template-columns: repeat(2, 1fr); }

  .ck-pers-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .ck-pers-img-wrap { width: 280px; margin: 0 auto; }
  .ck-pers-text { padding-left: 0; }
  .ck-pbadge-1 { right: -5px; }
  .ck-pbadge-2 { left: -5px; }

  .ck-ig-posts { gap: 0.625rem; }
  .ck-ig-post { width: 100px; }
  .ck-ig-post-featured { width: 130px; }

  .ck-modal-layout { grid-template-columns: 1fr; }
  .ck-modal-img-side { min-height: 200px; max-height: 220px; }
  .ck-modal { max-height: 92vh; }
  .ck-modal-detail-side { max-height: calc(92vh - 220px); }
  .ck-modal-stats { flex-wrap: wrap; gap: 0.75rem; }
}

@media (max-width: 520px) {
  .ck-recipe-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .ck-hero-h1 { font-size: 2.25rem; }
  .ck-hero-btns { flex-direction: column; }
  .ck-btn-primary, .ck-btn-ghost { width: 100%; justify-content: center; }
  .ck-stats-row { gap: 0.5rem; }
  .ck-stat-card { flex: 1; min-width: 0; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  [data-ck-reveal] { transition: none !important; opacity: 1 !important; transform: none !important; }
  .ck-frame-img, .ck-pers-img { animation: none !important; }
  .ck-fr-outer, .ck-fr-inner, .ck-pers-ring, .ck-pers-ring-2, .ck-igr-1, .ck-igr-2 { animation: none !important; }
  .ck-fe { animation: none !important; }
  .ck-ftag, .ck-pers-badge { animation: none !important; }
  .ck-pill-dot { animation: none !important; }
  .ck-hb-1, .ck-hb-2 { animation: none !important; }
  .ck-ig-glow { animation: none !important; }
}

/* =========================================================
   RECIPE MODAL
========================================================= */

.ck-recipe-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.ck-rm-active {
  opacity: 1;
  visibility: visible;
}

.ck-rm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
}

.ck-rm-box {
  position: relative;
  width: min(950px, calc(100% - 30px));
  max-height: 90vh;
  overflow-y: auto;
  margin: 40px auto;
  background: #424769;
  border-radius: 28px;
  border: 1px solid rgba(249,177,122,0.2);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: translateY(50px) scale(0.96);
  transition: all 0.45s cubic-bezier(0.16,1,0.3,1);
}

.ck-rm-active .ck-rm-box {
  transform: translateY(0) scale(1);
}

.ck-rm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  color: white;
  cursor: pointer;
  z-index: 10;
  font-size: 1rem;
}

.ck-rm-image-wrap {
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.ck-rm-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ck-rm-content {
  padding: 2rem;
}

.ck-rm-category {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(249,177,122,0.15);
  color: #f9b17a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.ck-rm-title {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: var(--ck-font-head);
}

.ck-rm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.ck-rm-meta span {
  padding: 7px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
}

.ck-rm-desc {
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}

.ck-rm-section {
  margin-top: 2rem;
}

.ck-rm-section h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.ck-rm-ingredients,
.ck-rm-steps {
  padding-left: 20px;
}

.ck-rm-ingredients li,
.ck-rm-steps li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}
.ck-nav-space {
  height: 110px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

  .ck-hero-layout,
  .ck-pers-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .ck-hero-content {
    text-align: center;
  }

  .ck-hero-desc {
    margin-inline: auto;
  }

  .ck-hero-btns,
  .ck-stats-row {
    justify-content: center;
  }

  .ck-pers-text {
    padding-left: 0;
  }

  .ck-pers-visual {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 900px) {

  .ck-recipe-grid,
  .ck-reels-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ck-ig-posts {
    flex-wrap: wrap;
  }
}


@media (max-width: 700px) {

  .ck-hero {
   padding-top: 9rem;
    min-height: auto;
  }

  .ck-hero-frame {
    width: 300px;
    height: 300px;
  }

  .ck-frame-img {
    width: 260px;
    height: 260px;
  }

  .ck-ftag {
    display: none;
  }

  .ck-recipe-grid,
  .ck-reels-grid {
    grid-template-columns: 1fr;
  }

  .ck-rm-image-wrap {
    height: 220px;
  }

  .ck-rm-content {
    padding: 1.3rem;
  }

  .ck-rm-title {
    font-size: 1.5rem;
  }

  .ck-ig-post,
  .ck-ig-post-featured {
    width: 100%;
    max-width: 280px;
  }
}
.ck-btn-ico i,
.ck-stat-emoji i,
.ck-ftag i,
.ck-pers-badge i,
.ck-ptag i,
.ck-rc-meta i,
.ck-rm-meta i,
.ck-fe i {
  color: var(--ck-accent);
}

.ck-rc-meta i,
.ck-rm-meta i {
  margin-right: 6px;
}

.ck-ftag i,
.ck-pers-badge i {
  font-size: 0.9rem;
}

.ck-fe i {
  filter: drop-shadow(0 0 10px rgba(249,177,122,0.35));
}
.ck-wave-hand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ck-wave-hand i {
  font-size: 1.2rem;
  color: var(--ck-accent);
  transform-origin: bottom center;

  animation: ck-hand-wave 1.8s ease-in-out infinite;
}

/* HAND WAVE ANIMATION */
@keyframes ck-hand-wave {

  0% {
    transform: rotate(0deg) translateX(0);
  }

  10% {
    transform: rotate(14deg) translateX(2px);
  }

  20% {
    transform: rotate(-8deg) translateX(-2px);
  }

  30% {
    transform: rotate(14deg) translateX(2px);
  }

  40% {
    transform: rotate(-4deg) translateX(-1px);
  }

  50% {
    transform: rotate(10deg) translateX(1px);
  }

  60% {
    transform: rotate(0deg) translateX(0);
  }

  100% {
    transform: rotate(0deg) translateX(0);
  }
}

.ck-wave-hand {
  animation: ck-hand-float 3s ease-in-out infinite;
}

@keyframes ck-hand-float {

  0%,100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-4px);
  }
}