/* ==========================================================================
   celaine.net - pastel blue and pink design system
   Friendly, professional, made to feel cozy and welcoming.
   ========================================================================== */

:root {
  /* Palette */
  --pink-50: #fff5f9;
  --pink-100: #ffe7f2;
  --pink-200: #ffd3e6;
  --pink-300: #ffb8d7;
  --pink-400: #f79fc4;
  --pink-500: #ef8bb4;
  --pink-600: #d96a9a;

  --blue-50: #f2f9ff;
  --blue-100: #e3f3ff;
  --blue-200: #c8e7fd;
  --blue-300: #a5d6f7;
  --blue-400: #7cc0ec;
  --blue-500: #5aa8db;
  --blue-600: #4189bd;

  --peach-100: #ffefe4;
  --peach-300: #ffc9a8;
  --peach-500: #f8ab86;

  --lav-100: #efecfd;
  --lav-300: #c3bdf4;
  --lav-500: #a49bef;

  /* Ink */
  --ink: #35455c;
  --muted: #66788c;
  --line: #ecdfe9;
  --line-blue: #dfeefb;
  --bg: #fffdfd;

  /* Shape and depth */
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 18px rgba(53, 69, 92, 0.06);
  --shadow-md: 0 14px 34px rgba(53, 69, 92, 0.10);
  --shadow-lg: 0 24px 60px rgba(53, 69, 92, 0.14);

  /* Type */
  --font-head: "Quicksand", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

/* Reset ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  color-scheme: light;
}

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1.1em; }

a { color: var(--blue-600); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--pink-600); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }

::selection { background: var(--pink-200); }

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Utilities --------------------------------------------------------------- */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.tight { padding: clamp(36px, 5vw, 56px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p.lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-600);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pink-400), var(--blue-400));
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-weight: 800;
  transition: top 0.2s;
}

.skip-link:focus { top: 16px; }

.divider-sparkle {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--pink-300);
  margin: 8px 0 26px;
}

.divider-sparkle::before,
.divider-sparkle::after {
  content: "";
  height: 2px;
  flex: 1;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--pink-200), var(--blue-200), transparent);
}

.divider-sparkle svg { width: 20px; height: 20px; flex: none; }

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 253, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.25s, background 0.25s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 26px rgba(53, 69, 92, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 3px 12px rgba(53, 69, 92, 0.16);
  flex: none;
}

.brand-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--pink-500), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover { background: var(--pink-50); color: var(--pink-600); }

.nav a[aria-current="page"] {
  background: var(--blue-100);
  color: var(--blue-600);
}

.header-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: var(--pink-50);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2.5px;
  border-radius: 99px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle span::before { transform: translate(-50%, -8px); }
.nav-toggle span::after { transform: translate(-50%, 8px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background-image: linear-gradient(135deg, #f7a6c9, var(--pink-500));
  color: #fff;
  box-shadow: 0 10px 22px rgba(239, 139, 180, 0.38);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(239, 139, 180, 0.48);
}

.btn-secondary {
  background: #fff;
  border-color: var(--blue-300);
  color: var(--blue-600);
  box-shadow: 0 8px 18px rgba(124, 192, 236, 0.2);
}

.btn-secondary:hover {
  background: var(--blue-50);
  color: var(--blue-600);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--pink-300);
  color: var(--pink-600);
}

.btn-ghost:hover { background: var(--pink-50); color: var(--pink-600); }

.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(60px, 8vw, 104px) 0 clamp(52px, 6vw, 76px);
  background:
    radial-gradient(900px 420px at 88% -60px, var(--pink-100), transparent 70%),
    radial-gradient(820px 400px at 6% -40px, var(--blue-100), transparent 70%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 64px);
  align-items: center;
}

.hero-title { margin-bottom: 0.35em; }

.hero-title .tint {
  background: linear-gradient(120deg, var(--pink-500), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions { margin-top: 26px; }

/* Hero art: the latest video, with floating notes */

.hero-art { position: relative; }

.embed-card {
  position: relative;
  z-index: 2;
  max-width: 470px;
  margin-inline: auto;
  background: #fff;
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #fff;
}

.embed-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(340px 200px at 20% 10%, var(--pink-100), transparent 70%),
    radial-gradient(300px 200px at 85% 90%, var(--blue-100), transparent 70%),
    linear-gradient(135deg, #fdf0f7, #eef7fe);
}

.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.float-chip {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line-blue);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  animation: floaty 5.5s ease-in-out infinite;
  pointer-events: none;
}

.float-chip .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 8px;
  background: var(--pink-400);
  vertical-align: 1px;
}

.float-chip.chip-a { top: -6px; left: -12px; }
.float-chip.chip-b { top: 60%; right: -16px; animation-delay: 1.2s; }
.float-chip.chip-c { bottom: -10px; left: -6px; animation-delay: 2.1s; }
.float-chip.chip-b .dot { background: var(--blue-400); }
.float-chip.chip-c .dot { background: var(--lav-500); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Page hero (inner pages) -------------------------------------------------- */

.page-hero {
  padding: clamp(48px, 7vw, 84px) 0 clamp(36px, 5vw, 56px);
  background:
    radial-gradient(860px 380px at 90% -80px, var(--pink-50), transparent 70%),
    radial-gradient(760px 360px at 4% -60px, var(--blue-50), transparent 70%);
}

.page-hero .lead {
  max-width: 44rem;
  font-size: 1.12rem;
  color: var(--muted);
}

/* Cards ------------------------------------------------------------------- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.icon-badge svg { width: 27px; height: 27px; }

.tint-pink { background: linear-gradient(135deg, #f9a8c9, #ec7fae); }
.tint-blue { background: linear-gradient(135deg, #8ec9ec, #5da8dc); }
.tint-peach { background: linear-gradient(135deg, #ffcdae, #f5a27f); }
.tint-lav { background: linear-gradient(135deg, #c3bdf4, #9d92ec); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--pink-300), var(--blue-300));
}

.project-card.tint-line-peach::before { background: linear-gradient(90deg, #ffc9a8, #f5a27f); }
.project-card.tint-line-lav::before { background: linear-gradient(90deg, #c3bdf4, #9d92ec); }
.project-card.tint-line-blue::before { background: linear-gradient(90deg, #a5d6f7, #5da8dc); }

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.project-card h3 { margin: 2px 0 0; font-size: 1.32rem; }
.project-card p { color: var(--muted); margin: 0; }

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pink-600);
  text-decoration: none;
}

.card-link svg { width: 17px; height: 17px; transition: transform 0.2s; }
.card-link:hover { color: var(--pink-600); }
.card-link:hover svg { transform: translateX(4px); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
}

a.chip { text-decoration: none; }
a.chip:hover { transform: translateY(-1px); }

.chip.pink { background: var(--pink-50); border-color: var(--pink-100); color: var(--pink-600); }
.chip.peach { background: var(--peach-100); border-color: #ffdfcc; color: #c96f46; }
.chip.lav { background: var(--lav-100); border-color: #e2ddfa; color: #7a6fd6; }

/* Stats ------------------------------------------------------------------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  background: linear-gradient(120deg, var(--pink-500), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.stat-label { color: var(--muted); font-size: 0.95rem; }

/* Value cards and lists ---------------------------------------------------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.value-card { display: flex; flex-direction: column; gap: 12px; }
.value-card h3 { margin: 4px 0 0; }
.value-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--pink-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d96a9a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.check-list li strong { font-family: var(--font-head); }

/* Quotes ------------------------------------------------------------------ */

.quote-card {
  position: relative;
  background: linear-gradient(135deg, var(--pink-50), var(--blue-50));
  border: 1px solid #fff;
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}

.quote-card p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  margin: 0 0 10px;
}

.quote-card .who { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* Video feed -------------------------------------------------------------- */

.feed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.feed-tab {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 19px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.feed-tab:hover { border-color: var(--blue-300); transform: translateY(-1px); }

.feed-tab.is-active {
  background-image: linear-gradient(135deg, #f7a6c9, var(--pink-500));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(239, 139, 180, 0.35);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 22px;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-200);
  color: var(--ink);
}

.video-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--pink-50), var(--blue-50));
  overflow: hidden;
}

.video-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(53, 69, 92, 0.26);
  opacity: 0;
  transition: opacity 0.22s;
}

.video-card:hover .play,
.video-card:focus-visible .play { opacity: 1; }

.video-card .play.is-visible { opacity: 1; }

.video-card .play span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  display: grid;
  place-items: center;
  color: var(--pink-600);
  box-shadow: var(--shadow-sm);
}

.video-card .play svg { width: 22px; height: 22px; }

.video-body { padding: 15px 17px 17px; }

.video-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Loading skeletons */

.video-skeleton {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.video-skeleton .sk-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(100deg, var(--blue-50) 32%, #ffffff 50%, var(--blue-50) 68%);
  background-size: 220% 100%;
  animation: shimmer 1.5s infinite linear;
}

.video-skeleton .sk-line {
  height: 12px;
  margin: 16px 17px;
  border-radius: 99px;
  background: linear-gradient(100deg, var(--pink-50) 32%, #ffffff 50%, var(--pink-50) 68%);
  background-size: 220% 100%;
  animation: shimmer 1.5s infinite linear;
}

.video-skeleton .sk-line.short { width: 55%; margin-top: -4px; margin-bottom: 20px; }

@keyframes shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.feed-note {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.feed-status {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 18px 0;
}

.feed-status a { font-weight: 700; }

/* Link groups (socials page) ----------------------------------------------- */

.link-group { margin-bottom: clamp(34px, 5vw, 52px); }

.link-group > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  margin-bottom: 18px;
}

.link-group > h3 svg { width: 21px; height: 21px; color: var(--pink-500); flex: none; }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 15px 17px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-200);
  color: var(--ink);
}

.link-card .icon-badge { width: 46px; height: 46px; border-radius: 14px; }
.link-card .icon-badge svg { width: 22px; height: 22px; }

.link-card .lt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.link-card .lt strong { font-family: var(--font-head); font-size: 0.99rem; }
.link-card .lt span { color: var(--muted); font-size: 0.84rem; overflow-wrap: anywhere; }

.link-card .go { margin-left: auto; color: var(--blue-400); flex: none; }
.link-card .go svg { width: 18px; height: 18px; }

/* Email highlight box */

.email-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, var(--pink-50), var(--blue-50));
  border: 1px solid #fff;
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.email-box .icon-badge { width: 50px; height: 50px; border-radius: 16px; }
.email-box p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.email-box .email { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }

/* CTA band ----------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(38px, 6vw, 64px);
  background: linear-gradient(135deg, var(--pink-100), var(--blue-100));
  border: 1px solid #fff;
  box-shadow: var(--shadow-md);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
}

.cta-band::before {
  width: 300px;
  height: 300px;
  right: -90px;
  top: -120px;
  background: radial-gradient(circle at 30% 30%, #ffd3e6, transparent 70%);
}

.cta-band::after {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -140px;
  background: radial-gradient(circle at 60% 40%, #c8e7fd, transparent 70%);
}

.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 22ch; }
.cta-band p { max-width: 56ch; color: var(--ink); }

/* Waves ------------------------------------------------------------------- */

.wave { line-height: 0; }
.wave svg { display: block; width: 100%; height: clamp(40px, 6vw, 70px); }

/* Reveal on scroll --------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .wave-bars i { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Footer ------------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(64px, 9vw, 110px);
  background: linear-gradient(180deg, #fff, var(--pink-50) 55%, var(--blue-50));
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(44px, 6vw, 68px) 0 34px;
}

.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 30ch; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}

.footer-social a:hover { transform: translateY(-3px); border-color: var(--pink-300); color: var(--pink-600); }
.footer-social svg { width: 19px; height: 19px; }

.site-footer h4 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--pink-600); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--pink-600); }

/* Responsive --------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: 2; }
  .float-chip.chip-a { left: 6%; }
  .float-chip.chip-b { right: 4%; }
  .float-chip.chip-c { left: 8%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 70;
  }

  .nav.is-open { display: flex; }

  .nav a { padding: 13px 16px; border-radius: 14px; font-size: 1.02rem; }
  .nav a[aria-current="page"] { background: var(--blue-50); }
  .header-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 8px;
    border-radius: 14px;
  }
  .header-inner { justify-content: space-between; }
}

@media (max-width: 680px) {
  .stat-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-top: 48px; }
  .float-chip { font-size: 0.8rem; padding: 9px 14px; }
  .float-chip.chip-b { top: -6px; right: -8px; }
  .embed-card { max-width: 360px; }
  .embed-card.wide { max-width: 100%; padding: 8px; }
  .embed-card.wide .embed-frame { border-radius: 16px; }
}

@media (max-width: 430px) {
  .brand-word { font-size: 1.25rem; }
  .brand-img { width: 32px; height: 32px; }
  .btn { padding: 12px 20px; font-size: 0.92rem; }
}

/* Text helpers and split layouts ------------------------------------------- */

.prose { max-width: 68ch; }
.prose p { font-size: 1.08rem; }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.split.wide-left { grid-template-columns: 1.35fr 0.65fr; }

@media (max-width: 900px) {
  .split, .split.wide-left { grid-template-columns: 1fr; }
}

.fact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }

.fact-list li { display: flex; gap: 13px; align-items: flex-start; }

.fact-list .icon-badge { width: 42px; height: 42px; border-radius: 13px; margin-top: 2px; }
.fact-list .icon-badge svg { width: 21px; height: 21px; }

.fact-list strong { font-family: var(--font-head); display: block; font-size: 0.99rem; }
.fact-list .desc { color: var(--muted); font-size: 0.92rem; }

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mini-stats .stat { padding: 22px 16px; }
.mini-stats .stat-num { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.mini-stats .stat-label { font-size: 0.86rem; }

@media (max-width: 680px) {
  .mini-stats { grid-template-columns: 1fr; }
}

/* Embeds and small notes ---------------------------------------------------- */

.embed-holder iframe {
  width: 100%;
  border: 0;
  border-radius: 16px;
  display: block;
  background: var(--blue-50);
}

.muted-note { color: var(--muted); max-width: 62ch; }
.group-note { color: var(--muted); font-size: 0.92rem; margin-top: 16px; }
.center-note { color: var(--muted); text-align: center; margin-top: 28px; }
.push-right { margin-left: auto; }

/* Brand partner tiles and case studies -------------------------------------- */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.brand-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.93rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.brand-tile:hover {
  transform: translateY(-3px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.brand-tile img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  flex: none;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.case-card { display: flex; flex-direction: column; gap: 8px; }

.case-head { display: flex; align-items: center; gap: 12px; }

.case-head img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 9px;
  flex: none;
}

.case-head div { display: flex; flex-direction: column; gap: 1px; }
.case-head strong { font-family: var(--font-head); font-size: 0.98rem; }
.case-card h3 { margin: 8px 0 0; font-size: 1.05rem; }

.case-stat {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  background: linear-gradient(120deg, var(--pink-500), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-meta { color: var(--muted); font-size: 0.84rem; margin: 0; }

/* Shorts and mini video cards ------------------------------------------------ */

.badge-short {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--pink-600);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 11px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.video-card.is-short .thumb { aspect-ratio: 9 / 16; }
.video-card.is-short .video-title { font-size: 0.92rem; }

[data-shorts-grid] { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }

.mini-video {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.mini-video:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-200);
  color: var(--ink);
}

.mini-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-50), var(--blue-50));
}

.mini-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* The play overlay inside mini cards needs its own positioning: the
   .video-card .play rules do not reach it, and left unstyled it stretches
   the thumbnail into a tall portrait box. */
.mini-thumb .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(53, 69, 92, 0.26);
  opacity: 0;
  transition: opacity 0.22s;
}

.mini-video:hover .play,
.mini-video:focus-visible .play,
.mini-thumb .play.is-visible { opacity: 1; }

.mini-thumb .play span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  display: grid;
  place-items: center;
  color: var(--pink-600);
  box-shadow: var(--shadow-sm);
}

.mini-thumb .play svg { width: 20px; height: 20px; }

.mini-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
}

.mini-body strong {
  font-family: var(--font-head);
  font-size: 0.92rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-body span { color: var(--muted); font-size: 0.8rem; }

.mini-empty {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pink-600);
}

.mini-empty-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink-50);
  display: grid;
  place-items: center;
  flex: none;
}

.mini-empty-icon svg { width: 18px; height: 18px; }

/* Socials profile block (Beacons style) -------------------------------------- */

.profile-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: clamp(38px, 6vw, 64px) 0 8px;
}

.profile-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}

.profile-block h1 { margin: 4px 0 0; font-size: clamp(1.8rem, 3.4vw, 2.4rem); }

.profile-tagline { color: var(--muted); margin: 0; }

.profile-email {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--pink-600);
  text-decoration: none;
}

.icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.icon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 104px;
  padding: 14px 8px 12px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.icon-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-200);
  color: var(--ink);
}

.icon-tile .icon-badge { width: 44px; height: 44px; border-radius: 13px; }
.icon-tile .icon-badge svg { width: 22px; height: 22px; }

.icon-tile .tile-sub { color: var(--muted); font-size: 0.68rem; font-weight: 600; }

.icon-grid.spaced { margin-top: 18px; }
.icon-tile.wide { width: 150px; }

/* Live feed helpers ---------------------------------------------------------- */

.vpc-slot { display: contents; }
.video-grid .feed-status { grid-column: 1 / -1; }

.embed-card.wide { max-width: 800px; }

.brand-mono {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--pink-100);
  color: var(--pink-600);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  flex: none;
}

/* Project cards with latest video -------------------------------------------- */

.pc-head { display: flex; align-items: center; gap: 14px; }
.pc-head h3 { margin: 0; }

.pc-head h3 a { color: var(--ink); text-decoration: none; }
.pc-head h3 a:hover { color: var(--pink-600); }

.pc-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

[hidden] { display: none !important; }
