/* ==========================================================================
   iKnow Education — design system
   Direction: "Study Plan" — the look of a well-kept exam-prep notebook.
   Loaded last so it wins over bootstrap.min.css and the legacy template css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   Brand colours are re-declared by the layout from Site Settings, so an admin
   can recolour the whole site without touching this file.
   -------------------------------------------------------------------------- */
:root {
  --ik-ink: #0a1f44;
  --ik-ink-soft: #4a5c7d;
  --ik-ink-faint: #7b89a3;

  --ik-blue: #1450c8;
  --ik-blue-deep: #0b3aa0;
  --ik-blue-wash: #eaf0fd;

  --ik-orange: #e2611b;
  --ik-orange-deep: #c44f10;
  --ik-orange-wash: #fdefe6;

  --ik-marker: #ffc85c;

  --ik-paper: #f6f9fe;
  --ik-white: #ffffff;
  --ik-rule: #dce5f5;

  --ik-font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --ik-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid type scale */
  --ik-h1: clamp(2.15rem, 1.25rem + 3.4vw, 4rem);
  --ik-h2: clamp(1.7rem, 1.15rem + 2.1vw, 2.85rem);
  --ik-h3: clamp(1.3rem, 1.05rem + 0.95vw, 1.85rem);
  --ik-h4: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  --ik-lead: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);

  --ik-radius: 18px;
  --ik-radius-lg: 28px;
  --ik-radius-pill: 999px;

  --ik-shadow-sm: 0 1px 2px rgba(10, 31, 68, .05), 0 4px 12px rgba(10, 31, 68, .05);
  --ik-shadow: 0 2px 4px rgba(10, 31, 68, .04), 0 12px 28px rgba(10, 31, 68, .09);
  --ik-shadow-lg: 0 4px 8px rgba(10, 31, 68, .05), 0 24px 54px rgba(10, 31, 68, .14);

  --ik-ease: cubic-bezier(.22, 1, .36, 1);
  --ik-dur: .34s;

  --ik-section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ik-font-body);
  background-color: var(--ik-paper);
  color: var(--ik-ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ik-font-display);
  color: var(--ik-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1, .h1 { font-size: var(--ik-h1); font-weight: 800; letter-spacing: -0.035em; }
h2, .h2 { font-size: var(--ik-h2); font-weight: 800; letter-spacing: -0.03em; }
h3, .h3 { font-size: var(--ik-h3); }
h4, .h4 { font-size: var(--ik-h4); line-height: 1.3; }
h5, .h5 { font-size: 1.05rem; line-height: 1.35; }

p { margin-bottom: 1rem; }

a { text-decoration: none; transition: color var(--ik-dur) var(--ik-ease); }

img { max-width: 100%; }

::selection { background: var(--ik-marker); color: var(--ik-ink); }

:focus-visible {
  outline: 3px solid var(--ik-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Legacy template utilities that fight the new palette ---------------------- */
.text-primary { color: var(--ik-blue) !important; }
.text-ink { color: var(--ik-ink) !important; }
.text-orange { color: var(--ik-orange) !important; }
.text-muted { color: var(--ik-ink-faint) !important; }
.bg-paper { background-color: var(--ik-paper) !important; }
.bg-wash { background-color: var(--ik-blue-wash) !important; }

/* --------------------------------------------------------------------------
   3. Signature — the highlighter sweep
   A marker stroke painted behind key words. Slightly irregular edges and a
   multiply blend so it reads as ink soaking into paper, not a CSS rectangle.
   It wipes left-to-right when scrolled into view.
   -------------------------------------------------------------------------- */
.mk {
  position: relative;
  display: inline;
  background: none;
  color: inherit;
  padding: 0 .08em;
  white-space: nowrap;
}

.mk::before {
  content: "";
  position: absolute;
  left: -0.12em;
  right: -0.12em;
  top: 0.14em;
  bottom: 0.02em;
  z-index: -1;
  background: var(--ik-marker);
  mix-blend-mode: multiply;
  border-radius: 0.28em 0.6em 0.4em 0.5em / 0.7em 0.4em 0.8em 0.35em;
  transform: rotate(-.5deg);
  transform-origin: left center;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .75s var(--ik-ease);
}

.mk.is-lit::before,
.no-js .mk::before { clip-path: inset(0 0 0 0); }

/* The two flat colour treatments that sit alongside the highlighter. */
.ik-tx { color: var(--ik-blue); }
.ik-tx-alt { color: var(--ik-orange); }

/* On the dark blue panel and the footer, blue-on-blue would vanish. */
.ik-panel .ik-tx,
.ik-footer .ik-tx { color: #fff; }
.ik-panel .ik-tx-alt,
.ik-footer .ik-tx-alt { color: var(--ik-marker); }

/* --------------------------------------------------------------------------
   4. Motion system
   One reveal utility, staggered by --d. Everything else is hover-scale.
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .6s var(--ik-ease) var(--d, 0s),
    transform .6s var(--ik-ease) var(--d, 0s);
  will-change: opacity, transform;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .mk::before { clip-path: inset(0 0 0 0); }
}

/* Printing and full-page screenshots never scroll, so nothing would trigger
   the reveal observer and everything below the fold would come out blank. */
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .mk::before { clip-path: inset(0 0 0 0) !important; }
  .ik-nav-wrap, .ik-top { position: static; }
}

/* --------------------------------------------------------------------------
   5. Layout primitives
   -------------------------------------------------------------------------- */
.ik-section { padding-block: var(--ik-section-y); }
.ik-section--tight { padding-block: calc(var(--ik-section-y) * .6); }

.ik-shell {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

@media (max-width: 575.98px) {
  .ik-shell { width: min(1180px, 100% - 1.75rem); }
}

/* Wider variant for full-bleed panels (the Intro/Vision blocks) — on large
   monitors the standard 1180px shell leaves those big colour blocks looking
   stranded in a sea of margin, so they get more room to breathe. */
.ik-shell--wide { width: min(1440px, 100% - 2.5rem); }

/* Section header: eyebrow + marker rule + title + optional lead ------------- */
.ik-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ik-font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ik-blue);
  margin-bottom: 1rem;
}

.ik-eyebrow::before {
  content: "";
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: var(--ik-marker);
  flex: none;
}

.ik-eyebrow--orange { color: var(--ik-orange); }
.ik-eyebrow--light { color: rgba(255, 255, 255, .85); }
.ik-eyebrow--light::before { background: var(--ik-marker); }

.ik-head { max-width: 46rem; }
.ik-head--center { margin-inline: auto; text-align: center; }

.ik-head h2,
.ik-head h1 { margin-bottom: .9rem; }

.ik-lead {
  font-size: var(--ik-lead);
  color: var(--ik-ink-soft);
  line-height: 1.6;
  margin-bottom: 0;
}

.ik-head--center .ik-eyebrow { justify-content: center; }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.ik-btn {
  --btn-bg: var(--ik-orange);
  --btn-fg: #fff;
  --btn-bg-hover: var(--ik-orange-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--ik-font-body);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1;
  padding: .95rem 1.7rem;
  border-radius: var(--ik-radius-pill);
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-align: center;
  transition:
    background-color var(--ik-dur) var(--ik-ease),
    transform var(--ik-dur) var(--ik-ease),
    box-shadow var(--ik-dur) var(--ik-ease),
    color var(--ik-dur) var(--ik-ease),
    border-color var(--ik-dur) var(--ik-ease);
}

.ik-btn:hover,
.ik-btn:focus-visible {
  background: var(--btn-bg-hover);
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 31, 68, .18);
}

.ik-btn:active { transform: translateY(0); box-shadow: none; }

.ik-btn i,
.ik-btn svg { transition: transform var(--ik-dur) var(--ik-ease); }
.ik-btn:hover i.ik-arrow { transform: translateX(4px); }

.ik-btn--blue { --btn-bg: var(--ik-blue); --btn-bg-hover: var(--ik-blue-deep); }
.ik-btn--ink { --btn-bg: var(--ik-ink); --btn-bg-hover: #061530; }
.ik-btn--white { --btn-bg: #fff; --btn-fg: var(--ik-ink); --btn-bg-hover: #fff; }
.ik-btn--white:hover { color: var(--ik-ink); }

.ik-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ik-ink);
  --btn-bg-hover: transparent;
  border-color: var(--ik-rule);
}

.ik-btn--ghost:hover,
.ik-btn--ghost:focus-visible {
  border-color: var(--ik-ink);
  color: var(--ik-ink);
  box-shadow: none;
}

.ik-btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bg-hover: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .45);
}

.ik-btn--ghost-light:hover { color: #fff; }

.ik-btn--sm { padding: .65rem 1.25rem; font-size: .88rem; }
.ik-btn--lg { padding: 1.1rem 2.15rem; font-size: 1.05rem; }
.ik-btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.ik-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ik-white);
  border: 1px solid var(--ik-rule);
  border-radius: var(--ik-radius);
  overflow: hidden;
  transition:
    transform var(--ik-dur) var(--ik-ease),
    box-shadow var(--ik-dur) var(--ik-ease),
    border-color var(--ik-dur) var(--ik-ease);
}

.ik-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ik-shadow-lg);
  border-color: transparent;
}

.ik-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ik-blue-wash);
}

.ik-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ik-ease);
}

.ik-card:hover .ik-card__media img { transform: scale(1.06); }

.ik-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: .6rem;
  padding: 1.4rem 1.4rem 1.5rem;
}

.ik-card__title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ik-ink);
  margin: 0;
}

.ik-card__text {
  font-size: .94rem;
  color: var(--ik-ink-soft);
  margin: 0;
  flex: 1 1 auto;
}

.ik-card__foot { margin-top: 1rem; }

.ik-card__title a { color: inherit; }
.ik-card__title a:hover { color: var(--ik-blue); }

.ik-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ik-ink-faint);
}

.ik-card__meta span::before { content: "·"; margin-right: .5rem; }

/* Note card — the "index tab" device used for feature/benefit blocks -------- */
.ik-note {
  position: relative;
  height: 100%;
  background: var(--ik-white);
  border: 1px solid var(--ik-rule);
  border-radius: var(--ik-radius);
  padding: 1.6rem 1.5rem;
  transition:
    transform var(--ik-dur) var(--ik-ease),
    box-shadow var(--ik-dur) var(--ik-ease);
}

.ik-note::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0;
  width: 46px;
  height: 5px;
  border-radius: 0 0 4px 4px;
  background: var(--ik-marker);
  transition: width var(--ik-dur) var(--ik-ease);
}

.ik-note:hover { transform: translateY(-4px); box-shadow: var(--ik-shadow); }
.ik-note:hover::before { width: 76px; }

.ik-note__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ik-orange-wash);
  color: var(--ik-orange);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.ik-note__icon--blue { background: var(--ik-blue-wash); color: var(--ik-blue); }

.ik-note h3,
.ik-note h4 { font-size: 1.08rem; margin-bottom: .5rem; }
.ik-note p { font-size: .94rem; margin: 0; }

/* --------------------------------------------------------------------------
   8. Panels — the big colour-blocked bands
   -------------------------------------------------------------------------- */
.ik-panel {
  position: relative;
  border-radius: var(--ik-radius-lg);
  background: var(--ik-blue);
  background-image:
    radial-gradient(120% 130% at 12% 0%, rgba(255, 255, 255, .14) 0%, transparent 55%);
  color: #fff;
  overflow: hidden;
  padding: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
}

.ik-panel h1,
.ik-panel h2,
.ik-panel h3,
.ik-panel h4 { color: #fff; }

.ik-panel p { color: rgba(255, 255, 255, .88); }

/* Faint ruled-paper grid — the notebook cue, kept almost subliminal */
.ik-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 100% 32px;
  opacity: .8;
}

.ik-panel > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   9. Navbar
   -------------------------------------------------------------------------- */
.ik-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 1rem 0;
  transition: padding var(--ik-dur) var(--ik-ease);
}

.ik-nav-wrap.is-stuck { padding: .5rem 0; }

.ik-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--ik-rule);
  border-radius: var(--ik-radius-pill);
  padding: .6rem .7rem .6rem 1.35rem;
  box-shadow: var(--ik-shadow-sm);
  transition:
    box-shadow var(--ik-dur) var(--ik-ease),
    background-color var(--ik-dur) var(--ik-ease);
}

.ik-nav-wrap.is-stuck .ik-nav { box-shadow: var(--ik-shadow); }

.ik-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--ik-font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  color: var(--ik-ink);
  flex: none;
}

.ik-brand img { width: 24px; height: 24px; object-fit: contain; }
.ik-brand b { color: var(--ik-blue); font-weight: 800; }
.ik-brand span { font-weight: 600; }

.ik-nav__menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
}

.ik-nav__links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.ik-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .85rem;
  border-radius: var(--ik-radius-pill);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ik-ink-soft);
  background: none;
  border: 0;
  transition:
    color var(--ik-dur) var(--ik-ease),
    background-color var(--ik-dur) var(--ik-ease);
}

.ik-nav__link:hover,
.ik-nav__link:focus-visible { color: var(--ik-ink); background: var(--ik-blue-wash); }

.ik-nav__link.is-active { color: var(--ik-blue); }

.ik-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .28rem;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--ik-marker);
  transform: translateX(-50%);
}

.ik-nav__caret {
  font-size: .6rem;
  transition: transform var(--ik-dur) var(--ik-ease);
}

.ik-nav__item--drop:hover .ik-nav__caret,
.ik-nav__item--drop.is-open .ik-nav__caret { transform: rotate(180deg); }

/* Dropdown */
.ik-nav__item--drop { position: relative; }

.ik-drop {
  position: absolute;
  top: calc(100% + .55rem);
  left: 50%;
  min-width: 260px;
  padding: .5rem;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ik-rule);
  border-radius: 16px;
  box-shadow: var(--ik-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition:
    opacity .22s var(--ik-ease),
    transform .22s var(--ik-ease),
    visibility .22s;
}

.ik-nav__item--drop:hover > .ik-drop,
.ik-nav__item--drop:focus-within > .ik-drop,
.ik-nav__item--drop.is-open > .ik-drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.ik-drop a {
  display: block;
  padding: .6rem .8rem;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ik-ink-soft);
  transition: background-color .2s var(--ik-ease), color .2s var(--ik-ease);
}

.ik-drop a:hover { background: var(--ik-blue-wash); color: var(--ik-blue); }

.ik-drop hr { margin: .4rem .5rem; border: 0; border-top: 1px solid var(--ik-rule); }

.ik-nav__cta { flex: none; }

.ik-nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border: 1px solid var(--ik-rule);
  border-radius: 50%;
  background: #fff;
  color: var(--ik-ink);
}

@media (max-width: 991.98px) {
  .ik-nav { padding: .6rem .7rem; }
  .ik-nav__toggle { display: grid; margin-left: auto; }

  .ik-nav__menu {
    position: absolute;
    top: calc(100% + .6rem);
    left: 0;
    right: 0;
    display: grid;
    gap: .4rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--ik-rule);
    border-radius: 22px;
    box-shadow: var(--ik-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .28s var(--ik-ease), transform .28s var(--ik-ease), visibility .28s;
  }

  .ik-nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }

  .ik-nav__links { flex-direction: column; align-items: stretch; margin: 0; gap: .15rem; }
  .ik-nav__link { justify-content: space-between; }
  .ik-nav__link.is-active::after { display: none; }

  .ik-drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--ik-rule);
    border-radius: 0;
    margin: .2rem 0 .4rem .85rem;
    padding: 0 0 0 .4rem;
    min-width: 0;
    display: none;
  }

  .ik-nav__item--drop.is-open > .ik-drop { display: block; }
  .ik-nav__cta { margin-top: .5rem; }
  .ik-nav__cta .ik-btn { width: 100%; }
}

.ik-nav { position: relative; }

/* --------------------------------------------------------------------------
   10. Hero
   -------------------------------------------------------------------------- */
.ik-hero {
  position: relative;
  padding-top: clamp(2.5rem, 1rem + 5vw, 5rem);
  padding-bottom: clamp(1rem, .5rem + 2vw, 2.5rem);
  overflow: hidden;
}

.ik-hero__inner { position: relative; z-index: 2; text-align: center; }

.ik-hero h1 { margin-bottom: 1.1rem; }

.ik-hero__lead {
  font-size: var(--ik-lead);
  color: var(--ik-ink-soft);
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.ik-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}

/* Floating collage stickers. Hidden below lg so they never crowd the copy. */
.ik-hero__decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ik-hero__decor img {
  position: absolute;
  opacity: 0;
  animation: ik-float-in .9s var(--ik-ease) forwards;
}

.ik-hero__decor img:nth-child(1) { left: -1.5rem; top: 2.5rem; width: clamp(150px, 15vw, 220px); animation-delay: .2s; }
.ik-hero__decor img:nth-child(2) { right: -1.5rem; top: 2.5rem; width: clamp(150px, 15vw, 220px); animation-delay: .34s; }

@keyframes ik-float-in {
  from { opacity: 0; transform: translateY(28px) scale(.94); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 1199.98px) {
  .ik-hero__decor { display: none; }
}

/* The stack of result cards below the headline. It lifts on hover so it reads
   as the link it is. */
.ik-showcase {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 560px;
  margin: clamp(1.5rem, 1rem + 2vw, 3rem) auto calc(var(--ik-section-y) * -.35);
  background: var(--ik-white);
  border-radius: var(--ik-radius-lg) var(--ik-radius-lg) 0 0;
  box-shadow: var(--ik-shadow-lg);
  overflow: hidden;
  transition: transform .5s var(--ik-ease), box-shadow .5s var(--ik-ease);
}

.ik-showcase img { display: block; width: 100%; }

.ik-showcase:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(10, 31, 68, .07), 0 36px 70px rgba(10, 31, 68, .18);
}

/* --------------------------------------------------------------------------
   11. Marquee — the ticker of highlighted phrases
   -------------------------------------------------------------------------- */
.ik-marquee {
  position: relative;
  overflow: hidden;
  padding: .9rem 0;
  background: var(--ik-ink);
  transform: rotate(-1deg);
  margin-block: calc(var(--ik-section-y) * .5);
}

.ik-marquee__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: ik-marquee 32s linear infinite;
}

.ik-marquee:hover .ik-marquee__track { animation-play-state: paused; }

.ik-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--ik-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
}

.ik-marquee__item::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ik-marker);
  flex: none;
}

@keyframes ik-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ik-marquee__track { animation: none; }
}

/* --------------------------------------------------------------------------
   12. Pricing / class cards
   -------------------------------------------------------------------------- */
.ik-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ik-white);
  border: 1px solid var(--ik-rule);
  border-radius: var(--ik-radius);
  overflow: hidden;
  transition:
    transform var(--ik-dur) var(--ik-ease),
    box-shadow var(--ik-dur) var(--ik-ease);
}

.ik-plan:hover { transform: translateY(-6px); box-shadow: var(--ik-shadow-lg); }

.ik-plan--gold { border-color: var(--ik-marker); box-shadow: 0 0 0 3px rgba(255, 200, 92, .28); }

.ik-plan__head {
  position: relative;
  padding: 1.35rem 1.5rem;
  background: var(--ik-blue);
  color: #fff;
}

.ik-plan--gold .ik-plan__head { background: var(--ik-ink); }

.ik-plan__head h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
  padding-right: 4.5rem;
}

.ik-plan__badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .6rem;
  border-radius: var(--ik-radius-pill);
  background: var(--ik-marker);
  color: var(--ik-ink);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ik-plan__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.5rem;
}

.ik-plan__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.ik-plan__list li {
  display: flex;
  gap: .6rem;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--ik-ink-soft);
}

.ik-plan__list i {
  color: var(--ik-blue);
  font-size: 1rem;
  line-height: 1.35;
  flex: none;
}

.ik-plan__list--bonus i { color: var(--ik-orange); }

.ik-plan__rule {
  height: 1px;
  border: 0;
  border-top: 1px dashed var(--ik-rule);
  margin: 1.2rem 0;
  opacity: 1;
}

.ik-plan__foot {
  margin-top: auto;
  padding-top: 1.4rem;
}

.ik-plan__price {
  font-family: var(--ik-font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ik-ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.1rem;
}

.ik-plan__price-note {
  font-size: .8rem;
  color: var(--ik-ink-faint);
  margin-bottom: 1rem;
}

/* Plan grid. The column count follows how many classes a program actually has,
   so a single class centres instead of stranding itself in a four-up grid. */
.ik-plans {
  display: grid;
  gap: 1.5rem;
  justify-content: center;
}

.ik-plans--1 { grid-template-columns: minmax(0, 520px); }
.ik-plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
.ik-plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ik-plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1099.98px) {
  .ik-plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899.98px) {
  .ik-plans--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639.98px) {
  .ik-plans { grid-template-columns: minmax(0, 1fr) !important; max-width: 460px; margin-inline: auto; }
}

/* Programs page kicker — the line above "Paket Komplit Untuk Suksesmu!" */
.ik-benefits-kicker {
  font-family: var(--ik-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ik-ink-soft);
  margin-bottom: .6rem;
}

/* Class detail --------------------------------------------------------------- */
.ik-detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--ik-white);
  border: 1px solid var(--ik-rule);
  border-radius: var(--ik-radius-lg);
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .ik-detail { grid-template-columns: 1fr; }
}

.ik-detail__media {
  position: relative;
  min-height: 300px;
  background: var(--ik-blue);
}

.ik-detail__media img { width: 100%; height: 100%; object-fit: cover; }

.ik-detail__body {
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .5rem;
}

.ik-detail__body h1 { font-size: var(--ik-h2); }

.ik-plan__badge--static { position: static; margin-bottom: .5rem; }

.ik-detail__price {
  font-family: var(--ik-font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ik-ink);
  margin: .75rem 0 1.25rem;
}

.ik-detail__block { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }

.ik-detail__heading {
  font-size: var(--ik-h3);
  margin-bottom: 1.5rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--ik-rule);
}

.ik-note--compact { padding: 1.25rem 1.1rem; text-align: center; }
.ik-note--compact::before { left: 50%; transform: translateX(-50%); }
.ik-note--compact:hover::before { width: 76px; }
.ik-note--compact .ik-note__icon { margin-inline: auto; }
.ik-note--compact p { font-size: .92rem; font-weight: 500; color: var(--ik-ink); }
.ik-note__icon svg { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   13. Testimonials
   A one-at-a-time slider, matching the original student-story card: photo
   panel on the left, blue score panel on the right, quote underneath. The
   viewport is a scroll-snap strip, so it swipes natively on touch and the
   arrows/dots are just a nicer way to drive the same scroll.
   -------------------------------------------------------------------------- */
.ik-testi {
  background: var(--ik-white);
  border: 1px solid var(--ik-rule);
  border-radius: var(--ik-radius-lg);
  box-shadow: var(--ik-shadow-sm);
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem) clamp(1rem, .5rem + 1.5vw, 2.25rem);
  /* The Testimonial page's own header zeroes out the section's top padding
     (see .ik-pagehead + .ik-section) so the card doesn't get a double gap —
     but that leaves it sitting right under the header with no room of its
     own, so it carries its own margin instead. */
  margin-top: clamp(1.5rem, .8rem + 2.5vw, 3rem);
}

.ik-testi__head { text-align: center; margin-bottom: clamp(2rem, 1.4rem + 1.6vw, 3.25rem); }

.ik-testi__head h2 {
  margin: 0;
  color: var(--ik-blue-deep);
  display: inline-block;
  padding-bottom: .9rem;
  position: relative;
}

.ik-testi__head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  border-radius: 2px;
  background: var(--ik-blue-deep);
}

/* Stage: viewport flanked by the two arrows. */
.ik-testi__stage {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}

.ik-testi__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: var(--ik-radius);
}

.ik-testi__viewport::-webkit-scrollbar { display: none; }

.ik-testi__slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: center;
  padding: .35rem;
}

.ik-testi__card {
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  min-height: 300px;
  height: 100%;
  background: var(--ik-white);
  border: 1px solid var(--ik-rule);
  border-radius: var(--ik-radius);
  box-shadow: var(--ik-shadow-sm);
  overflow: hidden;
}

/* --- Left: photo with the name over the top, the role over the bottom ----- */
.ik-testi__photo {
  position: relative;
  background: #697dcb;
  overflow: hidden;
}

.ik-testi__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ik-testi__name,
.ik-testi__role {
  position: absolute;
  left: 1.25rem;
  right: 1rem;
  z-index: 2;
  color: #fff;
  text-shadow: 0 0 6px rgba(0, 0, 0, .75);
  margin: 0;
}

.ik-testi__name { top: 1.15rem; font-size: 1.4rem; font-weight: 700; }
.ik-testi__role { bottom: 1.15rem; font-size: .95rem; font-weight: 600; }

/* --- Right: the blue score panel, then the quote ------------------------- */
.ik-testi__main {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.ik-testi__panel {
  background: var(--ik-blue-deep);
  color: #fff;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.ik-testi__panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ik-testi__brand {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.ik-testi__brand img { width: 20px; height: 20px; object-fit: contain; }

.ik-testi__program {
  font-family: var(--ik-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: .35rem 0 0;
  color: #fff;
}

.ik-testi__overall { flex: 0 0 auto; text-align: left; }

.ik-testi__meter {
  width: 200px;
  max-width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  overflow: hidden;
}

.ik-testi__meter span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(to right, #ff6a00, #ff9e44);
}

.ik-testi__overall p { margin: .4rem 0 0; font-size: .85rem; color: #fff; }
.ik-testi__overall b { font-weight: 700; }

.ik-testi__bands { display: flex; flex-wrap: wrap; gap: .55rem; }

.ik-testi__band {
  background: #ff7e2c;
  color: #fff;
  border-radius: var(--ik-radius-pill);
  padding: .35rem .95rem;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}

.ik-testi__text {
  margin: 0;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--ik-ink-soft);
}

/* --- Arrows -------------------------------------------------------------- */
.ik-testi__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ik-rule);
  border-radius: 50%;
  background: var(--ik-white);
  color: var(--ik-blue-deep);
  font-size: 1.1rem;
  box-shadow: var(--ik-shadow-sm);
  cursor: pointer;
  transition: transform var(--ik-dur) var(--ik-ease), box-shadow var(--ik-dur) var(--ik-ease), color var(--ik-dur) var(--ik-ease);
}

.ik-testi__nav:hover { color: var(--ik-orange); box-shadow: var(--ik-shadow); transform: translateY(-50%) scale(1.06); }
.ik-testi__nav--prev { left: -22px; }
.ik-testi__nav--next { right: -22px; }

/* --- Dots ---------------------------------------------------------------- */
.ik-testi__dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.75rem;
}

.ik-testi__dots:empty { display: none; }

.ik-testi__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccd5e4;
  cursor: pointer;
  transition: background var(--ik-dur) var(--ik-ease), transform var(--ik-dur) var(--ik-ease);
}

.ik-testi__dot.is-active { background: var(--ik-blue-deep); transform: scale(1.2); }

@media (max-width: 991.98px) {
  .ik-testi__nav--prev { left: 2px; }
  .ik-testi__nav--next { right: 2px; }
}

@media (max-width: 767.98px) {
  .ik-testi__card { grid-template-columns: 1fr; min-height: 0; }
  .ik-testi__photo { height: 220px; }
  .ik-testi__panel-top { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .ik-testi__meter { width: 100%; }
  .ik-testi__nav { display: none; }
}

/* --------------------------------------------------------------------------
   14. Instructor cards
   -------------------------------------------------------------------------- */
.ik-tutor { position: relative; }

/* Square, because the instructor photos are supplied as square designed cards
   (1080x1080 with their own frame). A portrait box would crop the top and
   bottom off that artwork. Every card gets the same box regardless of what
   gets uploaded later, so a row always lines up. */
.ik-tutor__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--ik-radius);
  overflow: hidden;
  background: var(--ik-blue-wash);
}

.ik-tutor__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ik-ease);
}

.ik-tutor:hover .ik-tutor__media img { transform: scale(1.05); }

/* The name plate overlaps the photo. A fixed min-height keeps one-line and
   two-line names on the same baseline across a row of cards. */
.ik-tutor__name {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 3.6rem;
  margin: -2.2rem 1rem 0;
  padding: .7rem 1rem;
  border-radius: 14px;
  background: var(--ik-blue);
  color: #fff;
  font-family: var(--ik-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  box-shadow: var(--ik-shadow);
}

.ik-tutor__facts {
  list-style: none;
  margin: 1.1rem .25rem 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}

.ik-tutor__facts li {
  display: flex;
  gap: .55rem;
  font-size: .9rem;
  color: var(--ik-ink-soft);
}

.ik-tutor__facts i { color: var(--ik-orange); flex: none; line-height: 1.4; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.ik-footer {
  position: relative;
  background: var(--ik-ink);
  color: rgba(255, 255, 255, .78);
  padding-top: clamp(3rem, 2rem + 4vw, 5rem);
  padding-bottom: 2rem;
  overflow: hidden;
}

.ik-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 100% 34px;
  pointer-events: none;
}

.ik-footer > * { position: relative; }

.ik-footer h2,
.ik-footer h3,
.ik-footer h4 { color: #fff; }

.ik-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: end;
  padding-bottom: 2.5rem;
}

@media (max-width: 767.98px) {
  .ik-footer__grid { grid-template-columns: 1fr; gap: 2rem; align-items: start; }
}

.ik-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ik-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
}

.ik-footer__brand img { width: 30px; height: 30px; object-fit: contain; }
.ik-footer__brand span { font-weight: 500; }

.ik-footer__blurb { max-width: 30rem; margin-bottom: 1.6rem; }

.ik-footer__title {
  font-family: var(--ik-font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 1rem;
}

.ik-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }

.ik-footer__list a {
  color: rgba(255, 255, 255, .78);
  font-size: .94rem;
  font-weight: 500;
}

.ik-footer__list a:hover { color: var(--ik-marker); }

.ik-socials { display: flex; flex-wrap: wrap; gap: .55rem; }

.ik-social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 1.05rem;
  transition:
    background-color var(--ik-dur) var(--ik-ease),
    color var(--ik-dur) var(--ik-ease),
    transform var(--ik-dur) var(--ik-ease),
    border-color var(--ik-dur) var(--ik-ease);
}

.ik-social:hover {
  background: var(--ik-marker);
  border-color: var(--ik-marker);
  color: var(--ik-ink);
  transform: translateY(-3px);
}

.ik-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}

/* --------------------------------------------------------------------------
   16. Page header (inner pages)
   -------------------------------------------------------------------------- */
.ik-pagehead {
  padding-top: clamp(2rem, 1rem + 3vw, 3.5rem);
  padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
  text-align: center;
}

.ik-pagehead h1 { margin-bottom: .9rem; }
.ik-pagehead .ik-lead { max-width: 42rem; margin-inline: auto; }

/* A page header already provides the breathing room the next section would
   add, so drop the duplicate gap. */
.ik-pagehead + .ik-section { padding-top: 0; }

/* Landmark cut-outs flanking the Testimonial page header. */
.ik-pagehead--decor { position: relative; overflow: hidden; }

.ik-pagehead__decor { position: absolute; inset: 0; pointer-events: none; }

.ik-pagehead__decor img {
  position: absolute;
  bottom: -1rem;
  height: clamp(120px, 14vw, 190px);
  width: auto;
  opacity: .9;
}

.ik-pagehead__decor img:nth-child(1) { left: 1%; }
.ik-pagehead__decor img:nth-child(2) { left: 11%; height: clamp(100px, 11vw, 150px); }
.ik-pagehead__decor img:nth-child(3) { right: 11%; height: clamp(100px, 11vw, 150px); }
.ik-pagehead__decor img:nth-child(4) { right: 1%; }

@media (max-width: 991.98px) {
  .ik-pagehead__decor { display: none; }
}

.ik-pagehead--decor .ik-shell { position: relative; z-index: 1; }

/* Figure with a caption — the About page's top image. Tilted a touch, the way
   the original page presented the phone mockup, so it reads as a photo dropped
   onto the page rather than a boxed-in screenshot. */
.ik-about-figure {
  margin: clamp(1.5rem, 1rem + 2vw, 3rem) auto 0;
  max-width: 900px;
}

.ik-about-figure img {
  display: block;
  width: 100%;
  max-height: clamp(380px, 52vw, 680px);
  object-fit: contain;
  transform: rotate(-3deg);
  transition: transform .6s var(--ik-ease);
}

.ik-about-figure:hover img { transform: rotate(0deg); }

.ik-about-figure figcaption {
  margin-top: 1.5rem;
  font-size: .92rem;
  color: var(--ik-ink-faint);
}

/* Breadcrumb */
.ik-crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ik-ink-faint);
}

.ik-crumbs a { color: var(--ik-ink-faint); }
.ik-crumbs a:hover { color: var(--ik-blue); }
.ik-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* --------------------------------------------------------------------------
   17. Prose (blog detail, rich text from the admin editor)
   -------------------------------------------------------------------------- */
.ik-prose { font-size: 1.05rem; line-height: 1.75; color: var(--ik-ink-soft); }
.ik-prose > * + * { margin-top: 1.1rem; }
.ik-prose h2 { font-size: var(--ik-h3); margin-top: 2.4rem; }
.ik-prose h3 { font-size: var(--ik-h4); margin-top: 2rem; }
.ik-prose a { color: var(--ik-blue); text-decoration: underline; text-underline-offset: 3px; }
.ik-prose img { border-radius: var(--ik-radius); }
.ik-prose ul, .ik-prose ol { padding-left: 1.3rem; }
.ik-prose li + li { margin-top: .35rem; }

/* Blog detail: one measured column, so long reads stay readable. */
.ik-article { max-width: 46rem; margin-inline: auto; }

.ik-article h1 { margin-bottom: 1rem; }

.ik-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ik-ink-faint);
  margin-bottom: 2rem;
}

.ik-article__meta i { margin-right: .35rem; }

.ik-article__cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--ik-radius);
  margin-bottom: 2.5rem;
}

.ik-article__foot {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ik-rule);
}

.ik-prose blockquote {
  margin: 2rem 0;
  padding: 1rem 0 1rem 1.5rem;
  border-left: 4px solid var(--ik-marker);
  font-size: 1.15rem;
  color: var(--ik-ink);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   18. Grid helpers
   -------------------------------------------------------------------------- */
.ik-grid { display: grid; gap: 1.5rem; }
.ik-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.ik-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ik-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

.ik-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}

/* --------------------------------------------------------------------------
   19. Back to top
   -------------------------------------------------------------------------- */
.ik-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--ik-ink);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  cursor: pointer;
  transition: opacity var(--ik-dur) var(--ik-ease), transform var(--ik-dur) var(--ik-ease), visibility var(--ik-dur), background-color var(--ik-dur) var(--ik-ease);
}

.ik-top.is-in { opacity: 1; visibility: visible; transform: none; }
.ik-top:hover { background: var(--ik-blue); }

/* --------------------------------------------------------------------------
   20. Empty state
   -------------------------------------------------------------------------- */
.ik-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--ik-rule);
  border-radius: var(--ik-radius);
  color: var(--ik-ink-faint);
  background: var(--ik-white);
}

.ik-empty strong { display: block; color: var(--ik-ink); font-family: var(--ik-font-display); margin-bottom: .3rem; }

/* --------------------------------------------------------------------------
   21. 404
   -------------------------------------------------------------------------- */
.ik-404 {
  font-family: var(--ik-font-display);
  font-size: clamp(5rem, 3rem + 12vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: .9;
  color: var(--ik-blue-wash);
  margin-bottom: .5rem;
}
