/* ==========================================================================
   EventNook Blog — theme
   --------------------------------------------------------------------------
   Self-contained: no Bootstrap, no framework. Brand tokens mirror
   sites/eventnook/code/assets/style.css (ink #1e0e62, blue #0071e3, violet
   #6e46e7) so the blog reads as part of eventnook.com without inheriting that
   site's whole CSS stack.

   Editorial shape: dark gradient mastheads for hero/article/CTA, a light card
   surface for everything else, DM Sans for interface + headlines, Lora for the
   article column.
   ========================================================================== */

:root {
  --ink: #12093d;
  --ink-2: #1e0e62;
  --ink-soft: #494470;
  --muted: #6f6a8c;
  --line: #e8e6f2;
  --line-soft: #f1eff8;
  --bg: #ffffff;
  --bg-soft: #f8f7fc;

  --blue: #0071e3;
  --blue-dark: #0040dd;
  --violet: #6e46e7;
  --tint: #eef4ff;

  --grad: linear-gradient(135deg, #0071e3 0%, #6e46e7 100%);
  --grad-dark: linear-gradient(150deg, #0b0730 0%, #1a0f56 45%, #2a1370 100%);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(18, 9, 61, .05), 0 4px 14px rgba(18, 9, 61, .05);
  --shadow: 0 2px 6px rgba(18, 9, 61, .05), 0 16px 40px rgba(18, 9, 61, .09);
  --shadow-lg: 0 4px 10px rgba(18, 9, 61, .07), 0 30px 70px rgba(18, 9, 61, .16);

  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;

  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.025em;
}

::selection { background: rgba(110, 70, 231, .18); }

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

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 748px; }

@media (max-width: 560px) { .wrap { padding: 0 18px; } }

.eyebrow {
  margin: 0 0 .75rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--onDark { color: #8fc0ff; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .78rem 1.5rem;
  border-radius: 980px;
  background: var(--grad);
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 113, 227, .32);
  filter: saturate(1.1);
}
.btn--light { background: #fff; color: var(--ink-2); }
.btn--light:hover { color: var(--ink-2); box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }

/* ==========================================================================
   header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(232, 230, 242, .9);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 32px; height: 32px;
  flex: none;
  border-radius: 8px;
  object-fit: contain;
  display: block;
}
.brand__logo { height: 26px; width: auto; display: block; }
.brand__mark::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 3px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 32%, 38% 32%, 38% 100%, 0 100%);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 700; font-size: 1.04rem; letter-spacing: -.03em; }
.brand__sub {
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 500;
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
  padding: .2rem 0;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: right .25s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { right: 0; }
.site-nav__cta {
  color: #fff !important;
  background: var(--ink-2);
  padding: .5rem 1.05rem !important;
  border-radius: 980px;
  font-weight: 500;
}
.site-nav__cta::after { display: none; }
.site-nav__cta:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 38px;
  padding: 9px 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.nav-toggle span + span { margin-top: 4px; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 24px 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: .7rem 0; }
  .site-nav a::after { display: none; }
  .site-nav__cta { margin-top: .6rem; text-align: center; }
}

/* ==========================================================================
   hero (listing pages)
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  margin-bottom: 3rem;
  background:
    radial-gradient(130% 120% at 88% -20%, #2a1370 0%, rgba(42, 19, 112, 0) 55%),
    linear-gradient(155deg, #0a0630 0%, #160c50 46%, #221065 100%);
}
/* Drifting aurora — EventNook blue + violet + cyan. */
.hero__glow {
  position: absolute;
  inset: -55% -20% -25% -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 46% at 16% 8%, rgba(0, 113, 227, .62) 0%, transparent 60%),
    radial-gradient(36% 44% at 84% 18%, rgba(110, 70, 231, .62) 0%, transparent 62%),
    radial-gradient(30% 40% at 62% 94%, rgba(0, 200, 255, .30) 0%, transparent 65%);
  filter: blur(8px);
  animation: heroDrift 20s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
/* Fine dot grid, faded toward the edges. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(78% 62% at 46% 24%, #000 38%, transparent 100%);
  mask-image: radial-gradient(78% 62% at 46% 24%, #000 38%, transparent 100%);
}
/* Soft settle into the page below. */
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 130px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(9, 5, 44, .55), transparent);
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.7rem);
  margin-bottom: .6rem;
  background: linear-gradient(178deg, #ffffff 18%, #bcd3ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 40px rgba(0, 113, 227, .18);
}
.hero__lead {
  margin: 0;
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .76);
}
.hero__lead a { color: #9cc6ff; text-decoration: underline; text-underline-offset: 3px; }
.hero__lead a:hover { color: #fff; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #a9c8ff;
}
.hero .eyebrow::before {
  content: '';
  width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #0071e3, #6e46e7);
}
@media (prefers-reduced-motion: reduce) { .hero__glow { animation: none; } }

.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.9rem; }

/* ==========================================================================
   chips & tags
   ========================================================================== */

.chip {
  display: inline-block;
  padding: .28rem .72rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--blue-dark);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.chip:hover { background: var(--blue); color: #fff; }
.chip--ghost {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.chip--ghost:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(0, 113, 227, .65), rgba(110, 70, 231, .65));
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 113, 227, .3);
}
.chip--ghost:hover { background: #fff; color: var(--ink-2); border-color: #fff; }
.chip--onDark {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #d9e6ff;
}
.chip--onDark:hover { background: #fff; color: var(--ink-2); }

.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 3rem 0 0; }
.tag {
  padding: .34rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: .82rem;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.tag:hover { border-color: var(--blue); color: var(--blue); background: #fff; }

/* ==========================================================================
   feature panel (lead article on page 1)
   ========================================================================== */

.feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  margin-bottom: 4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .3s ease, transform .3s ease;
}
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature__link { position: absolute; inset: 0; z-index: 3; }
.feature__media {
  position: relative;
  min-height: 320px;
  background: var(--grad-dark);
  overflow: hidden;
}
.feature__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__body {
  padding: 2.4rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  justify-content: center;
}
.feature__top { display: flex; align-items: center; gap: .7rem; position: relative; z-index: 4; }
.feature__top .chip { position: relative; z-index: 4; }
.feature__flag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature h2 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); margin: .2rem 0 0; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.feature__meta { font-size: .84rem; color: var(--muted); }
.feature__more {
  margin-top: .6rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--blue);
}
.feature:hover .feature__more span { display: inline-block; transform: translateX(3px); }
.feature__more span { transition: transform .2s ease; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 220px; aspect-ratio: 16 / 9; }
  .feature__body { padding: 1.8rem; }
}

/* ==========================================================================
   section head + card grid
   ========================================================================== */

.section-head { display: flex; align-items: center; gap: 1.1rem; margin: 0 0 1.6rem; }
.section-head h2 {
  margin: 0;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.section-head .rule { flex: 1; height: 1px; background: var(--line); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.9rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: transparent;
}
.card__link { position: absolute; inset: 0; z-index: 2; }
.card__cover { position: relative; aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.card:hover .card__cover img { transform: scale(1.045); }
.card__cover--empty {
  display: grid;
  place-items: center;
  background: var(--grad-dark);
}
.card__cover--empty span {
  padding: 0 1.5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  text-align: center;
}
.card__body { padding: 1.25rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__body .chip { position: relative; z-index: 3; align-self: flex-start; }
.card h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .93rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: .5rem;
  font-size: .8rem;
  color: var(--muted);
}
.card__meta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
  flex: none;
}

/* ==========================================================================
   article
   ========================================================================== */

.progress {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  height: 3px;
  z-index: 70;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad);
}

.article__head {
  position: relative;
  overflow: hidden;
  background: var(--grad-dark);
  color: #fff;
  padding: 4rem 0 3.4rem;
}
.article__glow {
  position: absolute;
  inset: -50% -10% auto -10%;
  height: 150%;
  background:
    radial-gradient(42% 50% at 22% 10%, rgba(0, 113, 227, .5) 0%, transparent 62%),
    radial-gradient(36% 44% at 80% 30%, rgba(110, 70, 231, .5) 0%, transparent 64%);
  filter: blur(6px);
  pointer-events: none;
}
.article__head-inner { position: relative; }
.article__head h1 {
  font-size: clamp(1.95rem, 4.4vw, 2.85rem);
  margin: 1rem 0 .7rem;
  color: #fff;
}
.article__dek {
  margin: 0 0 1.9rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .74);
}

.byline { display: flex; align-items: center; gap: .85rem; }
.byline__avatar {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 113, 227, .35);
}
.byline__who { font-weight: 700; font-size: .95rem; color: #fff; }
.byline__sub { font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* banner overlaps the dark masthead */
.article__banner {
  width: 100%;
  max-width: 1000px;
  margin: -2.2rem auto 2.75rem;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.article__banner img {
  width: 100%;
  display: block;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.entry-content {
  font-family: var(--serif);
  font-size: 1.13rem;
  line-height: 1.8;
  color: #241f3f;
}
.entry-content > p:first-of-type { font-size: 1.22rem; line-height: 1.72; color: #1c1836; }
.entry-content p { margin: 0 0 1.45rem; }
.entry-content h2 {
  font-family: var(--sans);
  font-size: 1.68rem;
  margin: 3rem 0 .95rem;
  scroll-margin-top: 96px;
}
.entry-content h3 { font-family: var(--sans); font-size: 1.3rem; margin: 2.3rem 0 .7rem; }
.entry-content h4 { font-family: var(--sans); font-size: 1.08rem; margin: 1.9rem 0 .6rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.45rem; padding-left: 1.35rem; }
.entry-content li { margin-bottom: .55rem; }
.entry-content li::marker { color: var(--violet); }
.entry-content strong { color: var(--ink-2); }
.entry-content a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-color: rgba(0, 113, 227, .35);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.entry-content a:hover { text-decoration-color: var(--blue); }
.entry-content img { border-radius: var(--r); display: block; }

.entry-content blockquote {
  position: relative;
  margin: 2.4rem 0;
  padding: .2rem 0 .2rem 1.6rem;
  border-left: 3px solid transparent;
  border-image: var(--grad) 1;
  color: var(--ink-soft);
  font-size: 1.2rem;
  font-style: italic;
}
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.8rem 0; }
.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  padding: .12em .42em;
  border-radius: 6px;
}
.entry-content pre {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1.1rem 1.3rem;
  border-radius: var(--r);
  overflow-x: auto;
  font-size: .92rem;
}
.entry-content pre code { background: none; border: 0; padding: 0; }
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.8rem;
  font-family: var(--sans);
  font-size: .94rem;
}
.entry-content th, .entry-content td {
  border: 1px solid var(--line);
  padding: .65rem .8rem;
  text-align: left;
}
.entry-content th { background: var(--bg-soft); font-weight: 700; }

/* WordPress classes carried over from thirteen years of post HTML */
.entry-content figure { margin: 2.4rem 0; }
.entry-content figure img { margin-inline: auto; }
.entry-content figcaption, .wp-caption-text {
  margin-top: .7rem;
  font-family: var(--sans);
  font-size: .85rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.wp-caption { max-width: 100% !important; }
.alignleft { float: left; margin: .3rem 1.7rem 1.3rem 0; max-width: 50%; }
.alignright { float: right; margin: .3rem 0 1.3rem 1.7rem; max-width: 50%; }
.aligncenter, .alignnone { clear: both; margin-inline: auto; }
.entry-content .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin: 2.4rem 0;
}
.entry-content .wp-block-gallery figure { margin: 0; }
.entry-content .wp-block-gallery img { width: 100%; }
.entry-content .is-style-rounded img { border-radius: var(--r); }
.entry-content .wp-block-image { margin: 2.4rem 0; }
.entry-content .wp-block-buttons { display: flex; gap: .8rem; flex-wrap: wrap; margin: 0 0 1.8rem; }
.entry-content .wp-block-button__link {
  display: inline-block;
  padding: .7rem 1.4rem;
  border-radius: 980px;
  background: var(--grad);
  color: #fff !important;
  font-family: var(--sans);
  font-size: .95rem;
  text-decoration: none !important;
}
.entry-content .wp-block-embed__wrapper { margin: 0; }
.entry-content .evnk-callout {
  margin: 0 0 1.8rem;
  padding: 1.05rem 1.3rem;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--tint);
  font-family: var(--sans);
  font-size: 1rem;
}

.embed { position: relative; padding-bottom: 56.25%; height: 0; margin: 2.4rem 0; }
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

/* floats must never escape the article column */
.entry-content::after { content: ''; display: block; clear: both; }

@media (max-width: 620px) {
  .entry-content { font-size: 1.06rem; }
  .alignleft, .alignright { float: none; max-width: 100%; margin: 1.6rem auto; }
}

/* ---------- share / cta / neighbours ---------- */

.share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 3rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.share > span { color: var(--muted); font-weight: 500; margin-right: .2rem; }
.share a {
  padding: .38rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.share a:hover { border-color: var(--blue); color: var(--blue); background: var(--tint); }

.cta {
  position: relative;
  overflow: hidden;
  margin: 3.5rem 0 0;
  padding: 2.4rem 2.2rem;
  border-radius: var(--r-xl);
  background: var(--grad-dark);
  color: #fff;
}
.cta__glow {
  position: absolute;
  inset: -60% -20% auto -20%;
  height: 200%;
  background:
    radial-gradient(40% 50% at 15% 20%, rgba(0, 113, 227, .55) 0%, transparent 62%),
    radial-gradient(35% 45% at 85% 70%, rgba(110, 70, 231, .55) 0%, transparent 64%);
  filter: blur(4px);
  pointer-events: none;
}
.cta__body { position: relative; }
.cta h2 { color: #fff; font-size: 1.55rem; margin: 0 0 .55rem; }
.cta p { margin: 0 0 1.5rem; font-size: .99rem; color: rgba(255, 255, 255, .78); max-width: 42ch; }

.neighbours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 3rem 0 4.5rem;
}
.neighbour {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.neighbour:hover { border-color: transparent; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.neighbour--next { text-align: right; }
.neighbour__label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.neighbour__title {
  font-size: .96rem;
  font-weight: 500;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 620px) {
  .neighbours { grid-template-columns: 1fr; }
  .neighbour--next { text-align: left; }
}

.related { margin: 0 auto 5rem; }
.related h2 { font-size: 1.35rem; margin-bottom: 1.5rem; }

/* ==========================================================================
   footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 3.5rem 0 1.75rem;
}
.site-footer__grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1.7fr repeat(3, 1fr);
}
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__brand .brand__name { font-size: 1.05rem; }
.site-footer__brand p {
  margin: .55rem 0 1.2rem;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: .92rem;
}
.site-footer h4 {
  margin-bottom: .9rem;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer li a { color: var(--ink-soft); font-size: .92rem; }
.site-footer li a:hover { color: var(--blue); }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  margin-top: 2.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
