/* =============================================================
   FENOMEN MİNİK — Storybook Edition v3
   "Çizgi film & resimli kitap" — okul öncesi için canlı, sıcak,
   neşeli, animasyonlu bir dünya.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,700;0,9..144,900;1,9..144,700;1,9..144,900&family=Nunito:wght@500;600;700;800;900&family=Caveat:wght@500;700&display=swap');

/* ---------- TOKENS ---------- */
:root {
  /* sky / paper */
  --sky-1:        #FFFBEE;     /* sunny cream */
  --sky-2:        #FFF1CF;     /* soft butter */
  --sky-3:        #E8F4FF;     /* sky blue tint */
  --sky-4:        #FFE8F0;     /* bubblegum tint */
  --sky-5:        #E7F8E5;     /* mint tint */

  /* candy palette */
  --sun:          #FFC83D;     /* sunshine yellow */
  --sun-d:        #F5A623;
  --bubble:       #FF5BA3;     /* bubblegum pink */
  --bubble-d:     #E63E89;
  --sky-blue:     #4FB8FF;     /* candy blue */
  --sky-blue-d:   #2A8BD6;
  --grape:        #9C6BFF;     /* purple */
  --grape-d:      #7B4CD6;
  --grass:        #4DC95A;     /* leaf green */
  --grass-d:      #2FA63E;
  --tangerine:    #FF8A3D;     /* warm orange */
  --tangerine-d:  #E66C1F;
  --berry:        #FF4D6D;     /* red-pink */

  /* ink */
  --ink:          #2B1B5C;     /* deep storybook purple-navy */
  --ink-soft:     #4A3A85;
  --ink-mute:     #7E6FAE;

  /* type */
  --f-display:    'Fraunces', 'Georgia', serif;
  --f-hand:       'Caveat', cursive;
  --f-body:       'Nunito', system-ui, sans-serif;

  /* radii — chunky, friendly */
  --r-sm:  16px;
  --r-md:  24px;
  --r-lg:  32px;
  --r-xl:  44px;
  --r-pill: 999px;

  /* shadows — soft, playful */
  --sh-1: 0 4px 0 rgba(43, 27, 92, .08);
  --sh-2: 0 10px 0 rgba(43, 27, 92, .12);
  --sh-3: 0 16px 0 rgba(43, 27, 92, .15);
  --sh-glow: 0 20px 40px -10px rgba(255, 91, 163, .35);

  /* layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);

  /* motion */
  --ease:   cubic-bezier(.34, 1.56, .64, 1);
  --ease-2: cubic-bezier(.2, .9, .3, 1.2);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sky-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sun); color: var(--ink); }

/* Hide legacy noise */
.preloader, .animated-bg, .emoji-rain, .go-top, .dark-version,
.others-option-for-responsive, .navbar-area, .page-banner-area,
.fun-characters, .floating-shapes { display: none !important; }

/* ---------- BACKGROUND SCENE (page-wide) ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    /* clouds */
    radial-gradient(ellipse 200px 80px at 12% 18%, #fff 30%, transparent 32%),
    radial-gradient(ellipse 160px 60px at 88% 28%, #fff 30%, transparent 32%),
    radial-gradient(ellipse 240px 90px at 22% 70%, #fff 30%, transparent 32%),
    radial-gradient(ellipse 180px 65px at 80% 82%, #fff 30%, transparent 32%),
    /* color washes */
    radial-gradient(circle 600px at 90% -10%, rgba(255,91,163,.18), transparent 60%),
    radial-gradient(circle 700px at -10% 40%, rgba(79,184,255,.18), transparent 60%),
    radial-gradient(circle 500px at 50% 100%, rgba(255,200,61,.22), transparent 60%);
  opacity: .9;
}
body > * { position: relative; z-index: 1; }

/* ---------- LAYOUT ---------- */
.fm-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
}
.fm-section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.fm-section--sm { padding: clamp(36px, 5vw, 72px) 0; }

/* ---------- TYPE PRIMITIVES ---------- */
.fm-display {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(56px, 9vw, 140px);
  line-height: .88;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0;
}
.fm-h1 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(42px, 7vw, 96px);
  line-height: .92;
  letter-spacing: -.035em;
  margin: 0;
  color: var(--ink);
}
.fm-h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 0;
  color: var(--ink);
}
.fm-h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--ink);
}
.fm-h4 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
}

/* Sticker badge — handwritten / hand-drawn feel */
.fm-sticker {
  display: inline-block;
  position: relative;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  background: var(--sun);
  padding: 6px 18px;
  border-radius: 24px;
  transform: rotate(-3deg);
  box-shadow: var(--sh-1);
}
.fm-sticker.is-pink { background: var(--bubble); color: #fff; }
.fm-sticker.is-blue { background: var(--sky-blue); color: #fff; }
.fm-sticker.is-grape{ background: var(--grape); color: #fff; }
.fm-sticker.is-grass{ background: var(--grass); color: #fff; }

/* Wiggly underline */
.wiggle {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'><path d='M0 7 Q 15 0 30 7 T 60 7 T 90 7 T 120 7' fill='none' stroke='%23FFC83D' stroke-width='6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100% 12px;
  padding-bottom: 10px;
}
.wiggle.is-pink {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'><path d='M0 7 Q 15 0 30 7 T 60 7 T 90 7 T 120 7' fill='none' stroke='%23FF5BA3' stroke-width='6' stroke-linecap='round'/></svg>");
}
.wiggle.is-blue {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'><path d='M0 7 Q 15 0 30 7 T 60 7 T 90 7 T 120 7' fill='none' stroke='%234FB8FF' stroke-width='6' stroke-linecap='round'/></svg>");
}

/* Crayon highlight (block) */
.hi {
  background: linear-gradient(180deg, transparent 60%, var(--sun) 60%);
  padding: 0 6px;
  display: inline;
}
.hi.is-pink { background: linear-gradient(180deg, transparent 60%, var(--bubble) 60%); color: #fff; padding: 0 10px; border-radius: 4px; }

/* ---------- BUTTONS ---------- */
.fm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.005em;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
  white-space: nowrap;
  border: 3px solid var(--ink);
  position: relative;
}
.fm-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 0 var(--ink);
  pointer-events: none;
}
.fm-btn:hover { transform: translateY(-3px); }
.fm-btn:hover::after { box-shadow: 0 9px 0 var(--ink); }
.fm-btn:active { transform: translateY(2px); }
.fm-btn:active::after { box-shadow: 0 1px 0 var(--ink); }
.fm-btn i { font-size: 20px; }

.fm-btn--pink   { background: var(--bubble); color: #fff; }
.fm-btn--yellow { background: var(--sun); color: var(--ink); }
.fm-btn--blue   { background: var(--sky-blue); color: #fff; }
.fm-btn--white  { background: #fff; color: var(--ink); }
.fm-btn--purple { background: var(--grape); color: #fff; }
.fm-btn--green  { background: var(--grass); color: #fff; }

/* Big play button (for cards) */
.fm-btn--circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  padding: 0;
  font-size: 28px;
}

/* ---------- NAVBAR ---------- */
.fm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 238, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--ink);
}
.fm-nav__row {
  display: flex;
  align-items: center;
  height: 104px;
  gap: 22px;
}
.fm-nav__brand { display: inline-flex; align-items: center; }
.fm-nav__brand img { height: 72px; width: auto; transition: transform .3s var(--ease); }
.fm-nav__brand:hover img { transform: rotate(-6deg) scale(1.06); }
@media (max-width: 600px) {
  .fm-nav__row { height: 88px; }
  .fm-nav__brand img { height: 56px; }
}
.fm-nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.fm-nav__item { position: relative; }
.fm-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-family: var(--f-body);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  border-radius: var(--r-pill);
  transition: background .2s, color .2s;
}
.fm-nav__link:hover,
.fm-nav__item:hover > .fm-nav__link { background: var(--sun); }
.fm-nav__link.is-active { background: var(--ink); color: #fff; }
.fm-nav__link i { font-size: 16px; opacity: .8; transition: transform .25s; }
.fm-nav__item:hover .fm-nav__link i { transform: rotate(180deg); }

.fm-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  padding: 10px;
  margin-top: 14px;
  box-shadow: 0 8px 0 var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s, transform .25s var(--ease), visibility .18s;
}
/* Invisible hover bridge so the gap between trigger and panel doesn't break hover */
.fm-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -18px; left: 0; right: 0;
  height: 18px;
}
.fm-nav__item:hover .fm-nav__dropdown,
.fm-nav__dropdown:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Slight delay before closing so accidental mouse-outs forgive */
.fm-nav__dropdown { transition-delay: .15s; }
.fm-nav__item:hover .fm-nav__dropdown,
.fm-nav__dropdown:hover { transition-delay: 0s; }
.fm-nav__dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  border-radius: 14px;
  transition: background .15s, transform .15s;
}
.fm-nav__dropdown a:hover { background: var(--sky-4); transform: translateX(4px); }

.fm-nav__cta { margin-left: 14px; }

.fm-nav__toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--sun);
  border: 3px solid var(--ink);
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 var(--ink);
  margin-left: auto;
}
.fm-nav__toggle span,
.fm-nav__toggle span::before,
.fm-nav__toggle span::after {
  content: '';
  display: block;
  width: 20px; height: 3px;
  background: var(--ink);
  border-radius: 3px;
  position: relative;
}
.fm-nav__toggle span::before { position: absolute; top: -7px; left: 0; }
.fm-nav__toggle span::after  { position: absolute; top: 7px; left: 0; }

@media (max-width: 1180px) {
  .fm-nav__menu, .fm-nav__cta { display: none; }
  .fm-nav__toggle { display: inline-flex; }
}

/* Mobile drawer */
.fm-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(43, 27, 92, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.fm-drawer.is-open { opacity: 1; visibility: visible; }
.fm-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(380px, 90%);
  height: 100%;
  background: var(--sky-1);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease-2);
  border-left: 3px solid var(--ink);
}
.fm-drawer.is-open .fm-drawer__panel { transform: translateX(0); }
.fm-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.fm-drawer__close { width: 44px; height: 44px; border-radius: 14px; background: var(--bubble); color: #fff; border: 3px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 0 var(--ink); }
.fm-drawer a { display: block; padding: 12px 16px; font-family: var(--f-display); font-size: 22px; font-weight: 900; color: var(--ink); border-radius: 16px; transition: background .15s, transform .15s; }
.fm-drawer a:hover { background: var(--sun); transform: translateX(6px); }
.fm-drawer details { margin: 4px 0; }
.fm-drawer details summary { list-style: none; cursor: pointer; padding: 12px 16px; font-family: var(--f-display); font-size: 22px; font-weight: 900; color: var(--ink); display: flex; justify-content: space-between; border-radius: 16px; }
.fm-drawer details summary:hover { background: var(--sky-3); }
.fm-drawer details summary::after { content: '+'; color: var(--bubble); }
.fm-drawer details[open] summary::after { content: '−'; }
.fm-drawer details a { padding: 8px 16px 8px 28px; font-size: 17px; font-family: var(--f-body); font-weight: 700; }

/* ---------- HERO ---------- */
.fm-hero {
  padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}
.fm-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  position: relative;
}
.fm-hero__content { position: relative; z-index: 3; }
.fm-hero__stickers {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.fm-hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(54px, 9vw, 132px);
  line-height: .85;
  letter-spacing: -.045em;
  margin: 0 0 28px;
  color: var(--ink);
}
.fm-hero__title .line { display: block; position: relative; }
.fm-hero__title .swing {
  display: inline-block;
  color: var(--bubble);
  animation: swing 4s ease-in-out infinite;
  transform-origin: 50% 0%;
}
.fm-hero__title .pop {
  display: inline-block;
  color: var(--sun-d);
  animation: pop 3s ease-in-out infinite;
}
.fm-hero__title em {
  font-style: italic;
  color: var(--bubble);
}
@keyframes swing {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}
@keyframes pop {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08) rotate(-2deg); }
}

.fm-hero__sub {
  font-family: var(--f-body);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 0 32px;
}
.fm-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero visual: photo + bubble background + floating shapes */
.fm-hero__visual {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.fm-hero__bubble {
  position: absolute;
  inset: 6%;
  background: var(--sun);
  border-radius: 50%;
  z-index: 0;
  animation: morph 14s ease-in-out infinite;
}
.fm-hero__bubble::after {
  content: '';
  position: absolute;
  inset: -2%;
  border: 4px dashed var(--ink);
  border-radius: 50%;
  opacity: .35;
  animation: spin 60s linear infinite;
}
@keyframes morph {
  0%,100% { border-radius: 50% 50% 50% 50%; transform: rotate(0); }
  25%     { border-radius: 56% 44% 60% 40%; transform: rotate(4deg); }
  50%     { border-radius: 44% 56% 40% 60%; transform: rotate(-4deg); }
  75%     { border-radius: 60% 40% 52% 48%; transform: rotate(2deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.fm-hero__photo {
  position: relative;
  z-index: 2;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(43,27,92,.25));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

/* Floating cartoon stickers around hero */
.fm-float {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  box-shadow: 0 6px 0 var(--ink);
  white-space: nowrap;
}
.fm-float .em { font-size: 22px; line-height: 1; }
.fm-float--1 { top: 4%;  left: -2%;  animation: wob 5s ease-in-out infinite; }
.fm-float--2 { top: 38%; right: -6%; animation: wob 6s ease-in-out infinite reverse; }
.fm-float--3 { bottom: 6%; left: 4%; animation: wob 7s ease-in-out infinite; }
.fm-float--4 { top: 12%; right: 4%; animation: wob 5.5s ease-in-out infinite; }
@keyframes wob {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%     { transform: translateY(-10px) rotate(4deg); }
}

/* Big sparkles/stars */
.fm-spark {
  position: absolute;
  width: 36px; height: 36px;
  z-index: 1;
  animation: twinkle 2.4s ease-in-out infinite;
}
.fm-spark--1 { top: 8%;  right: 12%; animation-delay: 0s; }
.fm-spark--2 { top: 22%; left: 8%;   animation-delay: .6s; width: 24px; height: 24px; }
.fm-spark--3 { bottom: 18%; right: 6%; animation-delay: 1.2s; width: 30px; height: 30px; }
.fm-spark--4 { bottom: 8%;  left: 14%; animation-delay: 1.8s; width: 20px; height: 20px; }
@keyframes twinkle {
  0%,100% { transform: scale(1) rotate(0); opacity: 1; }
  50%     { transform: scale(.6) rotate(20deg); opacity: .4; }
}

@media (max-width: 920px) {
  .fm-hero__grid { grid-template-columns: 1fr; }
  .fm-hero__visual { max-width: 480px; margin: 0 auto; aspect-ratio: 4/5; }
}

/* ---------- MARQUEE (ticker) ---------- */
.fm-ticker {
  background: var(--bubble);
  color: #fff;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 18px 0;
  overflow: hidden;
  transform: rotate(-1.5deg);
  margin: 36px -20px;
  box-shadow: 0 8px 0 rgba(43,27,92,.1);
}
.fm-ticker__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: tick 30s linear infinite;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1;
  letter-spacing: -.02em;
}
.fm-ticker__track span { display: inline-flex; align-items: center; gap: 48px; }
.fm-ticker__track span::after {
  content: '★';
  color: var(--sun);
  font-weight: 400;
  font-size: .8em;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- SECTION HEADERS ---------- */
.fm-shead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.fm-shead h2 { max-width: 18ch; }
.fm-shead p {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0;
}
.fm-shead--left { align-items: flex-start; text-align: left; }
.fm-shead--left h2, .fm-shead--left p { margin-left: 0; }

/* ---------- BULLETIN / PRODUCT CARDS (chunky) ---------- */
.fm-cards {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.fm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: 0 8px 0 var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s, rotate .3s;
}
.fm-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 14px 0 var(--ink);
}
.fm-card__sticker {
  position: absolute;
  top: -14px; right: -10px;
  background: var(--bubble);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 18px;
  transform: rotate(6deg);
  z-index: 2;
  box-shadow: 0 4px 0 var(--ink);
}
.fm-card__sticker.is-y { background: var(--sun); color: var(--ink); }
.fm-card__sticker.is-b { background: var(--sky-blue); color: #fff; }
.fm-card__sticker.is-g { background: var(--grass); color: #fff; }
.fm-card__media {
  aspect-ratio: 4/4;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}
.fm-card--tone-yellow .fm-card__media { background: linear-gradient(135deg, #FFD96B 0%, #F5A623 100%); }
.fm-card--tone-pink   .fm-card__media { background: linear-gradient(135deg, #FFA0CB 0%, #FF5BA3 100%); }
.fm-card--tone-blue   .fm-card__media { background: linear-gradient(135deg, #A6DBFF 0%, #4FB8FF 100%); }
.fm-card--tone-green  .fm-card__media { background: linear-gradient(135deg, #B0EBB6 0%, #4DC95A 100%); }
.fm-card--tone-purple .fm-card__media { background: linear-gradient(135deg, #C7B0F5 0%, #9C6BFF 100%); }
.fm-card--tone-orange .fm-card__media { background: linear-gradient(135deg, #FFC7A0 0%, #FF8A3D 100%); }
.fm-card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .5s var(--ease);
}
.fm-card:hover .fm-card__media img { transform: scale(1.08) rotate(-3deg); }
.fm-card h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
.fm-card p {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  flex: 1;
}
.fm-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 2px dashed rgba(43,27,92,.18);
}
.fm-card__foot .lab {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.fm-card__foot .arr {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid var(--ink);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: background .25s, transform .25s var(--ease);
}
.fm-card:hover .fm-card__foot .arr { background: var(--bubble); color: #fff; transform: rotate(-45deg) scale(1.12); }

/* ---------- AGE CARDS (3 yas) — large playful blocks ---------- */
.fm-age-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, 1fr);
}
.fm-age {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: 0 10px 0 var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s;
  overflow: hidden;
}
.fm-age:hover { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 0 18px 0 var(--ink); }
.fm-age__age {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid var(--ink);
  color: var(--ink);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.02em;
  box-shadow: 0 4px 0 var(--ink);
  transform: rotate(8deg);
  text-align: center;
  padding: 0 6px;
}
.fm-age__age span,
.fm-age__age small {
  display: block;
  line-height: 1;
}
.fm-age__age small {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 3px;
  opacity: .88;
}
.fm-age--pink  { background: linear-gradient(160deg, var(--sky-4) 0%, #fff 60%); }
.fm-age--pink  .fm-age__age { background: var(--bubble); color: #fff; }
.fm-age--blue  { background: linear-gradient(160deg, var(--sky-3) 0%, #fff 60%); }
.fm-age--blue  .fm-age__age { background: var(--sky-blue); color: #fff; }
.fm-age--green { background: linear-gradient(160deg, var(--sky-5) 0%, #fff 60%); }
.fm-age--green .fm-age__age { background: var(--grass); color: #fff; }
.fm-age__media {
  aspect-ratio: 1/1;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.6);
  border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  margin-bottom: 20px;
  position: relative;
}
.fm-age__media img { max-width: 90%; max-height: 90%; object-fit: contain; transition: transform .5s var(--ease); }
.fm-age:hover .fm-age__media img { transform: scale(1.05) rotate(-3deg); }
.fm-age h3 { margin-bottom: 6px; }
.fm-age p { font-size: 15px; color: var(--ink-soft); margin: 0 0 18px; }
.fm-age__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-body);
  font-weight: 800;
  color: var(--ink);
  margin-top: auto;
}
.fm-age__cta .a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background .25s, transform .25s;
}
.fm-age:hover .fm-age__cta .a { background: var(--bubble); transform: rotate(-45deg); }

@media (max-width: 880px) { .fm-age-grid { grid-template-columns: 1fr; } }

/* ---------- WHO WE ARE / SPLIT (storybook scene) ---------- */
.fm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.fm-split__media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 0 12px 0 var(--ink);
  background: var(--sky-3);
}
.fm-split__media img { width: 100%; height: 100%; object-fit: cover; }
.fm-split__media .stamp {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transform: rotate(-4deg);
}
@media (max-width: 880px) {
  .fm-split { grid-template-columns: 1fr; }
}

/* Feature pills */
.fm-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}
.fm-feature {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .25s var(--ease);
}
.fm-feature:hover { transform: translateY(-3px) rotate(-1deg); }
.fm-feature .ic {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--sun);
  border: 3px solid var(--ink);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.fm-feature:nth-child(2) .ic { background: var(--bubble); color: #fff; }
.fm-feature:nth-child(3) .ic { background: var(--sky-blue); color: #fff; }
.fm-feature:nth-child(4) .ic { background: var(--grass); color: #fff; }
.fm-feature h4 { font-family: var(--f-display); font-size: 17px; margin: 0 0 3px; }
.fm-feature p { font-size: 13px; color: var(--ink-mute); margin: 0; line-height: 1.4; font-weight: 600; }

/* ---------- STATS (chunky candy chips) ---------- */
.fm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fm-stat {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 8px 0 var(--ink);
  transition: transform .3s var(--ease);
}
.fm-stat:hover { transform: translateY(-4px) rotate(-1deg); }
.fm-stat:nth-child(1) { background: var(--sky-4); }
.fm-stat:nth-child(2) { background: var(--sky-3); }
.fm-stat:nth-child(3) { background: var(--sky-5); }
.fm-stat:nth-child(4) { background: var(--sky-2); }
.fm-stat .n {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.fm-stat .l {
  display: block;
  margin-top: 8px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
@media (max-width: 760px) { .fm-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- DATES / EVENTS (calendar-card row) ---------- */
.fm-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.fm-date {
  display: grid;
  grid-template-columns: 64px 90px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 6px 0 var(--ink);
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), background .25s;
}
.fm-date__thumb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--sky-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fm-date__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fm-date:hover { transform: translateY(-3px); background: var(--sky-2); }
.fm-date__no {
  width: 100px; height: 100px;
  border-radius: var(--r-md);
  background: var(--sun);
  border: 3px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--f-display);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.fm-date:nth-child(2n) .fm-date__no { background: var(--bubble); color: #fff; }
.fm-date:nth-child(3n) .fm-date__no { background: var(--sky-blue); color: #fff; }
.fm-date:nth-child(4n) .fm-date__no { background: var(--grass); color: #fff; }
.fm-date__no .d { font-size: 36px; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.fm-date__no .m { font-family: var(--f-body); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.fm-date__body h3 { font-size: 22px; margin: 0 0 4px; }
.fm-date__body p { margin: 0; color: var(--ink-mute); font-size: 14px; font-weight: 600; }
.fm-date__arr {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background .25s, transform .25s;
}
.fm-date:hover .fm-date__arr { background: var(--bubble); transform: rotate(-45deg); }
@media (max-width: 700px) {
  .fm-dates { grid-template-columns: 1fr; }
  .fm-date { grid-template-columns: 56px 72px 1fr; padding: 14px; gap: 12px; }
  .fm-date__thumb { width: 56px; height: 56px; }
  .fm-date__no { width: 72px; height: 72px; }
  .fm-date__no .d { font-size: 26px; }
  .fm-date__arr { display: none; }
}

/* ---------- QUOTES (speech bubbles) ---------- */
.fm-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.fm-quote {
  position: relative;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  padding: 28px 26px 24px;
  box-shadow: 0 8px 0 var(--ink);
}
.fm-quote::after {
  content: '';
  position: absolute;
  bottom: -16px; left: 36px;
  width: 24px; height: 24px;
  background: #fff;
  border: 3px solid var(--ink);
  border-top: 0; border-left: 0;
  transform: rotate(45deg);
}
.fm-quote .emoji {
  display: inline-block;
  font-size: 38px;
  line-height: 1;
  margin-bottom: 14px;
  animation: wiggle 3s ease-in-out infinite;
}
@keyframes wiggle {
  0%,100% { transform: rotate(-8deg); }
  50%     { transform: rotate(8deg); }
}
.fm-quote p {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 18px;
}
.fm-quote footer {
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 22px;
  color: var(--bubble);
  border-top: 2px dashed rgba(43,27,92,.18);
  padding-top: 12px;
}
.fm-quote footer span {
  display: block;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 2px;
}

/* ---------- CTA BLOCK (rainbow band) ---------- */
.fm-cta-block {
  position: relative;
  background: var(--bubble);
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 72px);
  box-shadow: 0 14px 0 var(--ink);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
}
.fm-cta-block::before {
  content: '';
  position: absolute;
  top: -80px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--sun);
  opacity: .35;
  animation: floaty 6s ease-in-out infinite;
}
.fm-cta-block::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--sky-blue);
  opacity: .35;
  animation: floaty 8s ease-in-out infinite reverse;
}
.fm-cta-block h2 { color: #fff; position: relative; z-index: 1; }
.fm-cta-block h2 em { color: var(--sun); font-style: normal; }
.fm-cta-block p {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,.95);
  margin: 18px 0 26px;
  max-width: 50ch;
  position: relative; z-index: 1;
}
.fm-cta-block__visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink);
}
.fm-cta-block__visual img { width: 100%; height: 100%; object-fit: cover; }

.fm-cta-block.is-blue { background: var(--sky-blue); }
.fm-cta-block.is-blue::before { background: var(--bubble); }
.fm-cta-block.is-blue::after { background: var(--sun); }
.fm-cta-block.is-blue h2 em { color: var(--sun); }

.fm-cta-block.is-purple { background: var(--grape); }
.fm-cta-block.is-purple::before { background: var(--sun); }
.fm-cta-block.is-purple::after { background: var(--bubble); }
.fm-cta-block.is-purple h2 em { color: var(--sun); }

@media (max-width: 880px) {
  .fm-cta-block { grid-template-columns: 1fr; }
  .fm-cta-block__visual { max-width: 320px; margin: 0 auto; }
}

/* ---------- PAGE INTRO (inner pages) ---------- */
.fm-intro {
  padding: clamp(36px, 5vw, 72px) 0 clamp(28px, 4vw, 56px);
  position: relative;
}
.fm-intro__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.fm-intro__grid h1 em { color: var(--bubble); font-style: italic; }
.fm-intro__grid p {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0;
}
.fm-intro__visual {
  aspect-ratio: 4/4;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--sky-3);
  box-shadow: 0 10px 0 var(--ink);
  position: relative;
}
.fm-intro__visual img { width: 100%; height: 100%; object-fit: cover; }
.fm-intro__crumbs { display: inline-flex; gap: 8px; font-family: var(--f-body); font-size: 13px; font-weight: 700; color: var(--ink-mute); margin-bottom: 20px; }
.fm-intro__crumbs a { color: var(--bubble); }
.fm-intro__crumbs span.sep::before { content: '/'; margin: 0 4px; opacity: .5; }
@media (max-width: 880px) { .fm-intro__grid { grid-template-columns: 1fr; } .fm-intro__visual { max-width: 460px; } }

/* ---------- FORMS ---------- */
.fm-form { display: grid; gap: 18px; }
.fm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .fm-form__row { grid-template-columns: 1fr; } }
.fm-field { display: flex; flex-direction: column; gap: 8px; }
.fm-field label {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
}
.fm-field input, .fm-field textarea, .fm-field select {
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 18px;
  border: 3px solid var(--ink);
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-pill);
  transition: box-shadow .2s, transform .2s;
  width: 100%;
}
.fm-field textarea { border-radius: var(--r-md); min-height: 140px; resize: vertical; }
.fm-field input:focus, .fm-field textarea:focus, .fm-field select:focus {
  outline: none;
  box-shadow: 0 4px 0 var(--ink);
  transform: translateY(-2px);
}
.fm-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path fill='%232B1B5C' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Contact split */
.fm-contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.fm-contact__info { display: flex; flex-direction: column; gap: 18px; }
.fm-contact__card {
  padding: 22px 24px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .25s var(--ease);
}
.fm-contact__card:hover { transform: translateY(-3px) rotate(-1deg); }
.fm-contact__card:nth-child(odd) { background: var(--sky-4); }
.fm-contact__card:nth-child(even){ background: var(--sky-3); }
.fm-contact__card strong {
  display: block;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.fm-contact__card .v {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.2;
}
@media (max-width: 880px) { .fm-contact { grid-template-columns: 1fr; } }

/* ---------- ACCORDION ---------- */
.fm-acc { display: flex; flex-direction: column; gap: 14px; }
.fm-acc details {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .25s var(--ease), background .25s;
}
.fm-acc details:hover { transform: translateY(-2px); }
.fm-acc details[open] { background: var(--sky-2); }
.fm-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink);
}
.fm-acc summary::-webkit-details-marker { display: none; }
.fm-acc summary::after {
  content: '+';
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid var(--ink);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 900;
  transition: transform .3s var(--ease), background .25s, color .25s, rotate .3s;
  box-shadow: 0 3px 0 var(--ink);
}
.fm-acc details[open] summary::after { content: '−'; background: var(--bubble); color: #fff; rotate: 180deg; }
.fm-acc .ans {
  margin: 16px 0 0;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.fm-acc .ans a { color: var(--bubble); border-bottom: 2px solid var(--bubble); font-weight: 800; }

/* ---------- FILE LIST ---------- */
.fm-files { display: flex; flex-direction: column; gap: 16px; }
.fm-file {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 22px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 6px 0 var(--ink);
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), background .25s;
}
.fm-file:hover { transform: translateY(-3px); background: var(--sky-2); }
.fm-file .ic {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: var(--sun);
  border: 3px solid var(--ink);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.fm-file .ic.is-b { background: var(--sky-blue); color: #fff; }
.fm-file .ic.is-g { background: var(--grass); color: #fff; }
.fm-file .ic.is-p { background: var(--grape); color: #fff; }
.fm-file h3 { font-family: var(--f-display); font-size: 22px; font-weight: 900; margin: 0 0 4px; letter-spacing: -.015em; }
.fm-file .meta { font-family: var(--f-body); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); }
.fm-file .arr {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background .25s, transform .25s;
}
.fm-file:hover .arr { background: var(--bubble); transform: rotate(-45deg); }
@media (max-width: 640px) { .fm-file { grid-template-columns: 56px 1fr; } .fm-file .arr { grid-column: 2; justify-self: flex-end; } }

/* ---------- DEALER CARDS ---------- */
.fm-locs {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.fm-loc {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .25s var(--ease), background .25s;
  display: flex; flex-direction: column; gap: 8px;
}
.fm-loc:hover { transform: translateY(-3px) rotate(-1deg); background: var(--sky-4); }
.fm-loc .city {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--bubble);
}
.fm-loc h4 { font-family: var(--f-display); font-size: 20px; font-weight: 900; margin: 4px 0; letter-spacing: -.015em; }
.fm-loc p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.5; font-weight: 600; }
.fm-loc .actions { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.fm-loc .actions a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--sky-blue-d); font-weight: 800;
}
.fm-loc .actions a:hover { color: var(--bubble); }

/* Filter bar */
.fm-filter {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  box-shadow: 0 8px 0 var(--ink);
  margin-bottom: 28px;
  align-items: end;
}
@media (max-width: 720px) { .fm-filter { grid-template-columns: 1fr; } }

/* ---------- SMART BOARD CARDS ---------- */
.fm-sb-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.fm-sb {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 10px 0 var(--ink);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.fm-sb:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 16px 0 var(--ink); }
.fm-sb__media { aspect-ratio: 16/10; overflow: hidden; background: var(--sky-3); }
.fm-sb__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.fm-sb:hover .fm-sb__media img { transform: scale(1.05); }
.fm-sb__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.fm-sb__body h3 { font-family: var(--f-display); font-size: 22px; font-weight: 900; margin: 0; letter-spacing: -.02em; }
.fm-sb__actions { margin-top: auto; display: grid; gap: 8px; }
.fm-sb-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 800;
  background: var(--sky-2);
  color: var(--ink);
  text-decoration: none;
  border: 2.5px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  transition: background .2s, transform .2s;
}
.fm-sb-btn:hover { transform: translateY(-2px); background: var(--sun); }
.fm-sb-btn.is-primary { background: var(--bubble); color: #fff; }
.fm-sb-btn.is-primary:hover { background: var(--bubble-d); }
.fm-sb-btn i { font-size: 17px; }

/* ---------- MODAL ---------- */
.fm-modal {
  position: fixed; inset: 0;
  z-index: 400;
  background: rgba(43, 27, 92, .55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.fm-modal.is-open { display: flex; }
.fm-modal__box {
  background: var(--sky-1);
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 16px 0 var(--ink);
}
.fm-modal__head {
  position: sticky; top: 0; z-index: 1;
  padding: 22px 28px;
  background: var(--sky-1);
  border-bottom: 3px solid var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.fm-modal__head h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  margin: 0;
  letter-spacing: -.02em;
}
.fm-modal__close {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bubble);
  color: #fff;
  border: 3px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
}
.fm-modal__body { padding: 24px 28px 32px; }
.fm-modal__body img { width: 100%; border-radius: var(--r-md); margin-bottom: 22px; border: 3px solid var(--ink); }
.fm-modal__body p { font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 14px; }
.fm-modal__body h4 { font-family: var(--f-display); font-weight: 900; font-size: 20px; color: var(--bubble); margin: 22px 0 14px; }
.fm-modal__body ul { padding-left: 22px; list-style: disc; }
.fm-modal__body ul li { font-family: var(--f-body); font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.fm-modal__body a[target="_blank"] {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--bubble);
  color: #fff !important;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 800;
  border: 2.5px solid var(--ink);
  border-radius: var(--r-pill);
  margin: 0 6px 8px 0;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform .2s, background .2s;
}
.fm-modal__body a[target="_blank"]:hover { background: var(--bubble-d); transform: translateY(-2px); }

/* ---------- AGE PICK TILES (anasayfa "hangi yaştasın") ---------- */
.fm-age-pick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 760px) { .fm-age-pick { grid-template-columns: repeat(2, 1fr); } }
.fm-age-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 1/1.05;
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: 32px;
  background: var(--sun);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s, rotate .25s;
  text-align: center;
  font-family: var(--f-display);
  overflow: hidden;
}
.fm-age-tile::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  top: -90px; right: -90px;
  pointer-events: none;
}
.fm-age-tile:hover {
  transform: translateY(-8px) rotate(-2deg);
  box-shadow: 0 18px 0 var(--ink);
}
.fm-age-tile:active { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.fm-age-tile.is-yellow { background: var(--sun); color: var(--ink); }
.fm-age-tile.is-green  { background: var(--grass); color: #fff; }
.fm-age-tile.is-pink   { background: var(--bubble); color: #fff; }
.fm-age-tile.is-blue   { background: var(--sky-blue); color: #fff; }
.fm-age-tile__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -.04em;
  position: relative;
  z-index: 1;
}
.fm-age-tile__lab {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .02em;
  position: relative; z-index: 1;
  opacity: .92;
}
.fm-age-tile__cta {
  margin-top: 10px;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  position: relative; z-index: 1;
  transition: background .2s, transform .2s;
}
.fm-age-tile:hover .fm-age-tile__cta { background: #fff; transform: scale(1.06); }
.fm-age-tile.is-yellow .fm-age-tile__cta { background: var(--ink); color: var(--sun); }
.fm-age-tile.is-yellow:hover .fm-age-tile__cta { background: var(--ink); color: var(--sun); }

/* ---------- TEACHER KIT GRID (öğretmen seti) ---------- */
.fm-teacher-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.fm-teacher-item {
  margin: 0;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: 0 5px 0 var(--ink);
  padding: 16px;
  transition: transform .35s var(--ease), box-shadow .35s, z-index 0s linear .35s;
  text-align: center;
  display: flex; flex-direction: column;
  position: relative;
}
.fm-teacher-item:hover {
  transform: translateY(-6px) scale(1.08) rotate(-1deg);
  box-shadow: 0 12px 0 var(--ink);
  z-index: 5;
  transition-delay: 0s, 0s, 0s;
}
.fm-teacher-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: var(--sky-1);
  border-radius: var(--r-sm);
  margin-bottom: 12px;
}
.fm-teacher-item figcaption {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.15;
}

/* ---------- BULLETIN cards (anasayfa & bultenler) ---------- */
.fm-bulletins {
  display: grid;
  gap: 32px 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.fm-bulletin {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  transition: transform .4s var(--ease);
  padding-bottom: 28px;
}
.fm-bulletin img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  border: 3px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s, filter .25s;
  cursor: zoom-in;
}
.fm-bulletin:hover { transform: translateY(-6px); z-index: 2; }
.fm-bulletin:hover img { box-shadow: 0 14px 0 var(--ink); filter: brightness(.7); }
.fm-bulletin__actions {
  position: absolute;
  inset: 0 0 28px 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.fm-bulletin:hover .fm-bulletin__actions { opacity: 1; pointer-events: auto; }
.fm-bulletin__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .2s, background .2s;
}
.fm-bulletin__btn i { font-size: 18px; }
.fm-bulletin__btn:hover { transform: translateY(-2px); }
.fm-bulletin__btn.is-explore { background: var(--sun); color: var(--ink); }
.fm-bulletin__btn.is-explore:hover { background: #fff; }
.fm-bulletin__btn.is-download { background: var(--bubble); color: #fff; }
.fm-bulletin__btn.is-download:hover { background: var(--bubble-d); }
.fm-bulletin__name {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 4px 0 var(--ink);
  z-index: 3;
}
.fm-bulletin:hover .fm-bulletin__name { background: var(--bubble); color: #fff; }

/* Bulletin lightbox */
.fm-lightbox {
  position: fixed; inset: 0;
  z-index: 600;
  background: rgba(43,27,92,.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.fm-lightbox.is-open { display: flex; }
.fm-lightbox__box {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: 12px;
  width: min(1400px, 96vw);
  max-height: 95vh;
  box-shadow: 0 20px 0 var(--ink);
  display: flex; flex-direction: column;
}
.fm-lightbox__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 14px; gap: 14px; }
.fm-lightbox__head h4 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  margin: 0;
  letter-spacing: -.015em;
  color: var(--ink);
}
.fm-lightbox__close {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bubble);
  color: #fff;
  border: 3px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
}
.fm-lightbox__img {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border-radius: 18px;
  background: var(--sky-2);
}
.fm-lightbox__img img { width: 100%; height: auto; display: block; }

/* ---------- BOOK PICKER (kitap seçimi modal grid) ---------- */
.fm-book-pick {
  display: flex; flex-direction: column;
  text-align: center;
  transition: transform .3s var(--ease);
}
.fm-book-pick[style*="cursor:pointer"]:hover { transform: translateY(-6px) rotate(-2deg); }
.fm-book-pick__cover {
  aspect-ratio: 3/4;
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 6px 0 var(--ink);
  background: var(--sky-2);
  margin-bottom: 10px;
  transition: box-shadow .3s;
}
.fm-book-pick[style*="cursor:pointer"]:hover .fm-book-pick__cover { box-shadow: 0 12px 0 var(--ink); }
.fm-book-pick__cover img { width: 100%; height: 100%; object-fit: contain; padding: 8px; background: #fff; }
.fm-book-pick__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink);
}

/* ---------- FLIPBOOK VIEWER (sayfa çevirmeli) ---------- */
.fm-fb {
  position: fixed;
  inset: 0;
  z-index: 500;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,91,163,.18), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(79,184,255,.18), transparent 60%),
    linear-gradient(160deg, #2B1B5C 0%, #1a1144 100%);
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 24px 24px 16px;
}
.fm-fb.is-open { display: flex; }

/* Header bar */
.fm-fb__topbar {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: #fff;
  flex-wrap: wrap;
}
.fm-fb__title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  backdrop-filter: blur(8px);
}
.fm-fb__title .name { color: var(--sun); }
.fm-fb__title .badge {
  background: var(--bubble);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.fm-fb__close {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bubble);
  color: #fff;
  border: 3px solid #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0,0,0,.3);
  transition: transform .2s var(--ease), background .2s;
}
.fm-fb__close:hover { background: var(--bubble-d); transform: rotate(90deg); }

/* Book stage */
.fm-fb__stage {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 2200px;
  min-height: 0;
}
.fm-fb__book {
  display: none; /* StPageFlip will manage display */
}
.fm-fb__book.is-ready { display: block; }
.fm-fb__page {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0,0,0,.25);
}
.fm-fb__page canvas, .fm-fb__page img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}
.fm-fb__page--cover {
  background: var(--bubble);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 30px;
  font-family: var(--f-display);
}
.fm-fb__page--cover h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin: 0 0 12px; line-height: 1.05; }
.fm-fb__page--cover h2 em { font-style: italic; color: var(--sun); }
.fm-fb__page--cover p { font-family: var(--f-hand); font-weight: 700; font-size: 22px; margin: 0; opacity: .9; }
.fm-fb__page--end {
  background: linear-gradient(155deg, var(--grape), var(--bubble));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 30px;
  font-family: var(--f-display);
}
.fm-fb__page--end h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 900; margin: 0 0 16px; }
.fm-fb__page--end p { font-family: var(--f-body); font-weight: 600; font-size: 15px; margin: 0 0 24px; max-width: 30ch; line-height: 1.5; opacity: .92; }
.fm-fb__page--end a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sun);
  color: var(--ink);
  border: 3px solid #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,.25);
  transition: transform .2s, background .2s;
}
.fm-fb__page--end a:hover { transform: translateY(-2px); background: #fff; }

/* Loading state */
.fm-fb__loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  background: transparent;
  pointer-events: none;
}
.fm-fb__loading.is-hidden { display: none; }
.fm-fb__spinner {
  width: 60px; height: 60px;
  border: 4px solid rgba(255,255,255,.2);
  border-top-color: var(--sun);
  border-radius: 50%;
  animation: fbSpin 1s linear infinite;
}
@keyframes fbSpin { to { transform: rotate(360deg); } }
.fm-fb__progress {
  width: min(280px, 60vw);
  height: 8px;
  background: rgba(255,255,255,.15);
  border-radius: 999px;
  overflow: hidden;
}
.fm-fb__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--sun), var(--bubble));
  border-radius: 999px;
  transition: width .3s ease;
}

/* Bottom controls */
.fm-fb__controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  color: #fff;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
}
.fm-fb__controls .nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  cursor: pointer;
  border: 0;
  transition: transform .2s var(--ease), background .2s;
}
.fm-fb__controls .nav-btn:hover { background: var(--bubble); color: #fff; transform: scale(1.1); }
.fm-fb__controls .nav-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.fm-fb__controls .nav-btn:disabled:hover { background: var(--sun); color: var(--ink); }
.fm-fb__pageinfo { min-width: 90px; text-align: center; }
.fm-fb__pageinfo strong { color: var(--sun); font-size: 16px; }

@media (max-width: 640px) {
  .fm-fb { padding: 14px; }
  .fm-fb__title { font-size: 13px; padding: 8px 14px; }
  .fm-fb__title .badge { display: none; }
  .fm-fb__close { width: 44px; height: 44px; font-size: 22px; }
  .fm-fb__controls { padding: 6px 6px 6px 16px; gap: 10px; font-size: 13px; }
  .fm-fb__controls .nav-btn { width: 38px; height: 38px; font-size: 20px; }
}

/* Body lock when open */
body.fm-fb-open { overflow: hidden; }

/* ---------- REVEAL ANIMATION ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px) rotate(-2deg); transition: opacity .7s var(--ease-2), transform .7s var(--ease-2); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- FOOTER ---------- */
.fm-foot {
  background: var(--ink);
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 0 0;
  margin-top: 60px;
  position: relative;
  border-top: 3px solid var(--ink);
}
/* Rainbow band */
.fm-foot::before {
  content: '';
  position: absolute;
  top: -22px; left: 0; right: 0;
  height: 22px;
  background:
    repeating-linear-gradient(90deg,
      var(--bubble) 0 12.5%,
      var(--sun) 12.5% 25%,
      var(--sky-blue) 25% 37.5%,
      var(--grass) 37.5% 50%,
      var(--grape) 50% 62.5%,
      var(--tangerine) 62.5% 75%,
      var(--berry) 75% 87.5%,
      var(--bubble) 87.5% 100%
    );
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.fm-foot__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 2px dashed rgba(255,255,255,.18);
}
.fm-foot__brand img { height: 52px; margin-bottom: 22px; filter: brightness(0) invert(1); }
.fm-foot__brand p {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  margin: 0 0 22px;
  max-width: 36ch;
}
.fm-foot__social { display: flex; gap: 10px; }
.fm-foot__social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  border: 2px solid rgba(255,255,255,.15);
  transition: background .25s, transform .25s, border-color .25s;
}
.fm-foot__social a:hover { background: var(--bubble); border-color: var(--bubble); transform: translateY(-3px) rotate(-8deg); }

.fm-foot h5 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 18px;
  color: var(--sun);
  letter-spacing: -.015em;
}
.fm-foot ul li { margin-bottom: 10px; }
.fm-foot ul li a {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,.78);
  transition: color .2s, padding-left .2s;
}
.fm-foot ul li a:hover { color: var(--sun); padding-left: 6px; }
.fm-foot__contact li {
  display: flex; gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.fm-foot__contact li i {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--sun);
  font-size: 18px;
}
.fm-foot__contact strong { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); margin-bottom: 2px; }
.fm-foot__contact a { color: #fff; }
.fm-foot__contact a:hover { color: var(--sun); }

.fm-foot__giant {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(80px, 14vw, 220px);
  line-height: .85;
  letter-spacing: -.045em;
  color: rgba(255,255,255,.06);
  margin: 56px 0 -10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
.fm-foot__bar {
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
}
.fm-foot__bar a { color: rgba(255,255,255,.65); margin-left: 18px; }
.fm-foot__bar a:hover { color: var(--sun); }

@media (max-width: 920px) {
  .fm-foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .fm-foot__top { grid-template-columns: 1fr; }
}

/* ---------- BLOG GRID ---------- */
.fm-blog-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.fm-blog {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  box-shadow: 0 8px 0 var(--ink);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s, rotate .3s;
  position: relative;
}
.fm-blog:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 14px 0 var(--ink); }
.fm-blog__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sky-3);
  position: relative;
  border-bottom: 3px solid var(--ink);
}
.fm-blog__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.fm-blog:hover .fm-blog__media img { transform: scale(1.06); }
.fm-blog__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--bubble);
  color: #fff;
  border: 2.5px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 3px 0 var(--ink);
  transform: rotate(-4deg);
  z-index: 2;
}
.fm-blog__tag.is-y { background: var(--sun); color: var(--ink); }
.fm-blog__tag.is-b { background: var(--sky-blue); color: #fff; }
.fm-blog__tag.is-g { background: var(--grass); color: #fff; }
.fm-blog__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.fm-blog__meta {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-mute);
  display: flex; gap: 12px;
}
.fm-blog__meta .dot { color: var(--bubble); }
.fm-blog h3 {
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--ink);
}
.fm-blog p {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.fm-blog__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  margin-top: auto;
  border-top: 2px dashed rgba(43,27,92,.18);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.fm-blog__foot .a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: background .25s, transform .25s var(--ease);
}
.fm-blog:hover .fm-blog__foot .a { background: var(--bubble); transform: rotate(-45deg) scale(1.1); }

/* ---------- ARTICLE PROSE (blog-details) ---------- */
.fm-article {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.fm-article p { margin: 0 0 1.2em; }
.fm-article strong { color: var(--ink); font-weight: 700; }
.fm-article h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 2em 0 .6em;
}
.fm-article h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  margin: 1.5em 0 .5em;
  letter-spacing: -.015em;
}
.fm-article h4 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 19px;
  color: var(--bubble);
  margin: 1.4em 0 .4em;
}
.fm-article ul, .fm-article ol { padding-left: 24px; margin: 0 0 1.2em; }
.fm-article ul { list-style: none; }
.fm-article ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.fm-article ul li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--sun-d);
  font-weight: 900;
}
.fm-article ol li { margin-bottom: 10px; }
.fm-article ol li::marker { color: var(--bubble); font-weight: 900; }
.fm-article blockquote {
  margin: 1.6em 0;
  padding: 22px 28px;
  background: var(--sky-2);
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: 0 6px 0 var(--ink);
}
.fm-article img { width: 100%; border-radius: var(--r-md); border: 3px solid var(--ink); margin: 1.4em 0; }
.fm-article a { color: var(--bubble); border-bottom: 2px solid currentColor; font-weight: 700; }

.fm-article__head {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.fm-article__cover {
  max-width: 1000px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  aspect-ratio: 21/9;
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 12px 0 var(--ink);
}
.fm-article__cover img { width: 100%; height: 100%; object-fit: cover; }
.fm-article__byline {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-mute);
  margin: 18px 0 0;
}
.fm-article__byline strong { color: var(--bubble); }

/* ---------- GALLERY ---------- */
.fm-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.fm-gallery__item {
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 6px 0 var(--ink);
  aspect-ratio: 4/3;
  background: var(--sky-2);
  transition: transform .3s var(--ease), rotate .3s;
}
.fm-gallery__item:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 10px 0 var(--ink); }
.fm-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.fm-gallery__item:hover img { transform: scale(1.05); }
.fm-gallery__item:nth-child(4n+1) { border-radius: 38% 62% 60% 40% / 50% 60% 40% 50%; }
.fm-gallery__item:nth-child(4n+2) { border-radius: var(--r-lg); }
.fm-gallery__item:nth-child(4n+3) { border-radius: 60% 40% 50% 50% / 38% 62% 38% 62%; }
.fm-gallery__item:nth-child(4n+4) { border-radius: var(--r-xl); }
@media (max-width: 900px) { .fm-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .fm-gallery { grid-template-columns: 1fr; } }

/* ---------- TEAM ---------- */
.fm-team {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.fm-team__card {
  position: relative;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  padding: 22px;
  text-align: center;
  box-shadow: 0 8px 0 var(--ink);
  transition: transform .3s var(--ease), rotate .3s;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  gap: 10px;
}
.fm-team__card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 14px 0 var(--ink); }
.fm-team__avatar {
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ink);
  margin-bottom: 8px;
  background: var(--sky-3);
}
.fm-team__avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.fm-team__card:hover .fm-team__avatar img { transform: scale(1.06); }
.fm-team__card:nth-child(4n+1) .fm-team__avatar { background: var(--sky-4); }
.fm-team__card:nth-child(4n+2) .fm-team__avatar { background: var(--sky-3); }
.fm-team__card:nth-child(4n+3) .fm-team__avatar { background: var(--sky-5); }
.fm-team__card:nth-child(4n+4) .fm-team__avatar { background: var(--sky-2); }
.fm-team__card h3 { font-family: var(--f-display); font-weight: 900; font-size: 20px; margin: 0; letter-spacing: -.015em; }
.fm-team__card .role {
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 20px;
  color: var(--bubble);
}
.fm-team__card .social {
  display: inline-flex;
  gap: 6px;
  margin-top: 8px;
  justify-content: center;
}
.fm-team__card .social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sun);
  border: 2.5px solid var(--ink);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .2s, transform .2s;
}
.fm-team__card .social a:hover { background: var(--bubble); color: #fff; transform: translateY(-2px) rotate(-8deg); }

/* ---------- UTILS ---------- */
.fm-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fm-center { text-align: center; }
.fm-divider { height: 3px; background: var(--ink); border-radius: 999px; margin: clamp(40px, 5vw, 72px) 0; opacity: .12; }
