:root {
      --violet: #8578F2;
      --blue: #55C7DF;
      --ink: #121722;
      --surface: #202735;
      --ivory: #F2EEE5;
      --mist: #BDC6D3;
      --coral: #EF9175;
      --moss: #7FC5A0;
      --gold: #F0C66F;
      --rose: #EF7E8B;

      --border: rgba(189, 198, 211, 0.18);
      --border-strong: rgba(189, 198, 211, 0.32);
      --shadow: 0 24px 64px rgba(0, 0, 0, 0.28);

      --radius-control: 8px;
      --radius-card: 16px;
      --radius-expressive: 20px;
      --page-width: 1184px;

      --font-display: "Nova Round", ui-rounded, system-ui, sans-serif;
      --font-sans: "Geist", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      --font-mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
    }

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

    html {
      scroll-behavior: smooth;
      background: var(--ink);
    }

    body {
      min-width: 320px;
      margin: 0;
      overflow-x: hidden;
      background: var(--ink);
      color: var(--ivory);
      font-family: var(--font-sans);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    body::before {
      display: none;
    }

    .background-tile {
      position: fixed;
      z-index: 1;
      inset: 0;
      pointer-events: none;

      background-image: url("../assets/background-tile.svg");
      background-repeat: repeat;
      background-position: top left;
      background-size: 152px auto;

      opacity: 0.18;
    }

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

    [hidden] {
      display: none !important;
    }

    img,
    svg {
      display: block;
      max-width: 100%;
    }

    a {
      color: var(--blue);
      text-underline-offset: 0.22em;
      text-decoration-thickness: 1px;
    }

    a:hover {
      text-decoration-thickness: 2px;
    }

    a:focus-visible,
    button:focus-visible {
      outline: 3px solid var(--blue);
      outline-offset: 4px;
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    h1,
    h2,
    h3 {
      text-wrap: balance;
    }

    h1 {
      max-width: 9ch;
      margin-bottom: 24px;
      font-family: var(--font-display);
      font-size: clamp(2.75rem, 9vw, 4.5rem);
      font-weight: 400;
      letter-spacing: -0.025em;
      line-height: 0.96;
    }

    h2 {
      margin-bottom: 24px;
      font-size: clamp(2rem, 5vw, 3.25rem);
      font-weight: 700;
      letter-spacing: -0.035em;
      line-height: 1.05;
    }

    h3 {
      margin-bottom: 12px;
      font-size: 1.25rem;
      font-weight: 600;
      line-height: 1.25;
    }

    .skip-link {
      position: fixed;
      z-index: 100;
      top: 16px;
      left: 16px;
      padding: 8px 16px;
      border-radius: var(--radius-control);
      background: var(--ivory);
      color: var(--ink);
      font-weight: 700;
      transform: translateY(-160%);
      transition: transform 160ms cubic-bezier(.2, .8, .2, 1);
    }

    .skip-link:focus {
      transform: translateY(0);
    }

    .site-shell {
      position: relative;
      z-index: 2;
    }

    .wrap {
      width: min(calc(100% - 32px), var(--page-width));
      margin-inline: auto;
    }

    .site-header {
      position: sticky;
      z-index: 50;
      top: 0;
      border-bottom: 1px solid var(--border);
      background: rgba(18, 23, 34, 0.9);
      backdrop-filter: blur(16px);
    }

    .nav {
      display: flex;
      min-height: 72px;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: var(--ivory);
      text-decoration: none;
    }

    .brand:hover {
      text-decoration: none;
    }

    .brand__mark {
      width: 40px;
      height: 40px;
      padding: 7px;
      border-radius: 10px;
      background: var(--ivory);
      object-fit: contain;
    }

    .brand__name {
      font-family: var(--font-display);
      font-size: 1.4rem;
      line-height: 1;
    }

    .nav__links {
      display: none;
      align-items: center;
      gap: 24px;
      font-size: 0.8125rem;
      font-weight: 600;
      line-height: 1.4;
    }

    .nav__links a {
      color: var(--mist);
      text-decoration: underline;
      text-decoration-color: transparent;
    }

    .nav__links a:hover {
      color: var(--ivory);
      text-decoration-color: var(--blue);
    }

    .nav__status {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--mist);
      font-size: 0.8125rem;
      font-weight: 600;
      line-height: 1.4;
    }

    .button {
      display: inline-flex;
      min-height: 48px;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 18px;
      border: 1px solid transparent;
      border-radius: var(--radius-control);
      font-size: 0.875rem;
      font-weight: 700;
      line-height: 1.25;
      text-align: center;
      text-decoration: none;
      transition:
        transform 160ms cubic-bezier(.2, .8, .2, 1),
        background-color 160ms cubic-bezier(.2, .8, .2, 1),
        border-color 160ms cubic-bezier(.2, .8, .2, 1),
        color 160ms cubic-bezier(.2, .8, .2, 1);
    }

    .button:hover {
      transform: translateY(-2px);
      text-decoration: none;
    }

    .button svg {
      width: 20px;
      height: 20px;
      flex: 0 0 auto;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 2;
    }

    .button--primary {
      background: var(--violet);
      color: var(--ink);
    }

    .button--primary:hover {
      background: #968CF5;
    }

    .button--secondary {
      border-color: var(--border-strong);
      background: var(--surface);
      color: var(--ivory);
    }

    .button--secondary:hover {
      border-color: var(--blue);
      background: #252E3E;
    }

    .button--compact {
      min-height: 40px;
      padding: 8px 14px;
      font-size: 0.8125rem;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 24px;
      color: var(--blue);
      font-family: var(--font-mono);
      font-size: 0.8125rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      line-height: 1.4;
    }

    .eyebrow__dot {
      width: 8px;
      height: 8px;
      flex: 0 0 auto;
      border-radius: 50%;
      background: var(--blue);
      box-shadow: 0 0 0 5px rgba(85, 199, 223, 0.1);
    }

    .hero {
      display: grid;
      min-height: calc(100svh - 72px);
      align-items: center;
      gap: 48px;
      padding-block: 64px 80px;
    }

    .hero__copy {
      max-width: 656px;
      animation: arrive 600ms cubic-bezier(.2, .8, .2, 1) both;
    }

    .hero__lede {
      max-width: 65ch;
      margin-bottom: 32px;
      color: var(--mist);
      font-size: 1.0625rem;
      line-height: 1.6;
    }

    .hero__actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }

    .text-link {
      display: inline-flex;
      min-height: 48px;
      align-items: center;
      padding-inline: 4px;
      color: var(--blue);
      font-size: 0.875rem;
      font-weight: 600;
    }

    .hero__note {
      margin: 24px 0 0;
      color: var(--mist);
      font-size: 0.8125rem;
      line-height: 1.4;
    }

    .hero__visual {
      position: relative;
      display: grid;
      min-height: 440px;
      place-items: center;
      animation: arrive 700ms 80ms cubic-bezier(.2, .8, .2, 1) both;
    }

    .portal {
      position: relative;
      isolation: isolate;
      display: grid;
      width: min(100%, 424px);
      aspect-ratio: 4 / 5;
      place-items: center;
      overflow: hidden;
      border: 1px solid rgba(242, 238, 229, 0.32);
      border-radius: 212px 212px var(--radius-expressive) var(--radius-expressive);
      background: linear-gradient(145deg, #7567ee 0%, #36bdd9 100%);
      box-shadow:
        0 0 0 12px rgba(133, 120, 242, 0.06),
        var(--shadow);
    }

    .portal::before {
      content: "";
      position: absolute;
      z-index: -1;
      inset: 16px;
      border: 1px solid rgba(242, 238, 229, 0.32);
      border-radius: 196px 196px 12px 12px;
      background:
        radial-gradient(circle at 50% 30%, rgba(242, 238, 229, 0.11), transparent 34%),
        rgba(18, 23, 34, 0.25);
    }

    .portal__center {
      display: grid;
      place-items: center;
      gap: 20px;
      padding: 48px;
      text-align: center;
    }

    .portal__mark-frame {
      display: grid;
      width: 128px;
      height: 128px;
      place-items: center;
      padding: 24px;
      border: 1px solid rgba(18, 23, 34, 0.16);
      border-radius: var(--radius-card);
      background: var(--ivory);
      box-shadow: 0 16px 40px rgba(18, 23, 34, 0.25);
    }

    .portal__mark {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .portal__word {
      margin: 0;
      color: var(--ink);
      font-family: var(--font-display);
      font-size: 2rem;
      line-height: 1;
    }

    .portal__caption {
      position: absolute;
      right: 24px;
      bottom: 24px;
      left: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 12px 16px;
      border: 1px solid rgba(242, 238, 229, 0.24);
      border-radius: 12px;
      background: rgba(18, 23, 34, 0.78);
      color: var(--ivory);
      font-size: 0.8125rem;
      line-height: 1.4;
      backdrop-filter: blur(10px);
    }

    .portal__signal {
      width: 10px;
      height: 10px;
      flex: 0 0 auto;
      border-radius: 50%;
      background: var(--blue);
      box-shadow: 0 0 18px rgba(85, 199, 223, 0.8);
    }

    .portal__star {
      position: absolute;
      top: 27%;
      right: 17%;
      color: var(--ivory);
      font-size: 1.4rem;
      line-height: 1;
      animation: signal 4s ease-in-out infinite;
    }

    .section {
      padding-block: 80px;
      scroll-margin-top: 88px;
    }

    .section--bordered {
      border-top: 1px solid var(--border);
    }

    .section-heading {
      display: grid;
      gap: 24px;
      margin-bottom: 48px;
    }

    .section-heading .eyebrow {
      margin-bottom: 0;
    }

    .section-heading h2 {
      max-width: 14ch;
      margin-bottom: 0;
    }

    .section-heading__copy {
      max-width: 65ch;
      margin: 0;
      color: var(--mist);
    }

    .feature-grid {
      display: grid;
      gap: 16px;
    }

    .feature-card {
      min-height: 256px;
      padding: 32px;
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      background: var(--surface);
      box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
    }

    .feature-card__number {
      margin-bottom: 48px;
      color: var(--blue);
      font-family: var(--font-mono);
      font-size: 0.8125rem;
      font-weight: 600;
      line-height: 1.4;
    }

    .feature-card p:last-child {
      margin-bottom: 0;
      color: var(--mist);
    }

    .workshop {
      display: grid;
      gap: 16px;
    }

    .workshop__main,
    .workshop__aside {
      padding: 32px;
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      background: var(--surface);
    }

    .workshop__main h2 {
      max-width: 15ch;
    }

    .workshop__main > p {
      max-width: 65ch;
      color: var(--mist);
    }

    .status-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 32px 0 0;
      padding: 0;
      list-style: none;
    }

    .status-list li {
      padding: 7px 11px;
      border: 1px solid var(--border);
      border-radius: var(--radius-control);
      color: var(--ivory);
      font-size: 0.8125rem;
      font-weight: 500;
      line-height: 1.4;
    }

    .workshop__aside {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 48px;
      border-top: 3px solid var(--blue);
    }

    .workshop__aside-label {
      margin-bottom: 8px;
      color: var(--blue);
      font-family: var(--font-mono);
      font-size: 0.8125rem;
      font-weight: 600;
      line-height: 1.4;
    }

    .workshop__aside-line {
      margin-bottom: 0;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.5rem;
      line-height: 1.3;
    }

    .workshop__aside-note {
      margin-bottom: 0;
      color: var(--mist);
      font-size: 0.875rem;
    }

    .showcase-grid {
      display: grid;
      gap: 16px;
    }

    .community-card {
      position: relative;
      overflow: hidden;
      padding: 40px 32px;
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-expressive);
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .community-card::before {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--violet), var(--blue));
    }

    .community-card__grid {
      position: relative;
      z-index: 1;
      max-width: 720px;
    }

    .community-card h2 {
      max-width: 12ch;
    }

    .community-card__copy {
      max-width: 65ch;
      margin-bottom: 32px;
      color: var(--mist);
    }

    .community-list {
      display: grid;
      gap: 16px;
      align-content: start;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .community-list li {
      display: grid;
      grid-template-columns: 10px 1fr;
      align-items: center;
      gap: 12px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--border);
      color: var(--ivory);
      font-size: 0.875rem;
      font-weight: 500;
    }

    .community-list li::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--blue);
    }

    .site-footer {
      padding-block: 40px;
      border-top: 1px solid var(--border);
    }

    .footer__inner {
      display: grid;
      gap: 24px;
    }

    .footer__identity {
      display: flex;
      align-items: baseline;
      gap: 12px;
      flex-wrap: wrap;
    }

    .footer__wordmark {
      margin: 0;
      font-family: var(--font-display);
      font-size: 1.5rem;
      line-height: 1;
    }

    .footer__tagline,
    .footer__meta {
      margin: 0;
      color: var(--mist);
      font-size: 0.8125rem;
      line-height: 1.4;
    }

    .footer__links {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
      font-size: 0.8125rem;
      font-weight: 600;
    }

    @keyframes arrive {
      from {
        opacity: 0;
        transform: translateY(18px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes signal {
      0%,
      100% {
        opacity: 0.7;
        transform: scale(0.9) rotate(0deg);
      }
      50% {
        opacity: 1;
        transform: scale(1.08) rotate(8deg);
      }
    }

    @media (min-width: 520px) {
      .wrap {
        width: min(calc(100% - 48px), var(--page-width));
      }

      .community-card {
        padding: 48px;
      }
    }

    @media (min-width: 760px) {
      .nav__links {
        display: flex;
      }

      .hero {
        padding-block: 80px 96px;
      }

      .section {
        padding-block: 96px;
      }

      .section-heading {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
        align-items: end;
      }

      .section-heading .eyebrow {
        grid-column: 1 / -1;
      }

      .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .community-card__grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
        align-items: center;
      }

      .footer__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
      }

      .footer__links {
        justify-content: flex-end;
      }
    }

    @media (min-width: 1050px) {
      .wrap {
        width: min(calc(100% - 96px), var(--page-width));
      }

      .hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
        gap: 80px;
      }

      .workshop {
        grid-template-columns: minmax(0, 1.55fr) minmax(288px, 0.45fr);
      }
    }

    @media (max-width: 519px) {
      .brand__mark {
        width: 36px;
        height: 36px;
      }

      .brand__name {
        font-size: 1.25rem;
      }

      .site-header .button--compact {
        padding-inline: 12px;
      }

      .hero__actions {
        align-items: stretch;
        flex-direction: column;
      }

      .hero__actions .button,
      .hero__actions .text-link {
        width: 100%;
      }

      .text-link {
        justify-content: center;
      }

      .portal__center {
        padding: 32px;
      }

      .portal__mark-frame {
        width: 104px;
        height: 104px;
        padding: 20px;
      }

      .portal__word {
        font-size: 1.65rem;
      }

      .feature-card,
      .workshop__main,
      .workshop__aside {
        padding: 24px;
      }
    }

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

      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }


/* --------------------------------------------------------------------------
   Somwyr motion layer
   -------------------------------------------------------------------------- */

.brand__mark {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 10px rgba(85, 199, 223, 0.28));
}

.hero__visual {
  perspective: none;
}

.portal {
  transform: none;
  transform-style: flat;
  transition: none;
  animation: portal-breathe 5.5s ease-in-out infinite;
}

/* The dark inner doorway. This now visibly brightens and softens with the pulse. */
.portal::before {
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(226, 251, 255, 0.34) 0%, rgba(85, 199, 223, 0.18) 20%, transparent 48%),
    radial-gradient(ellipse at 52% 72%, rgba(133, 120, 242, 0.34) 0%, rgba(72, 56, 172, 0.18) 38%, transparent 68%),
    linear-gradient(180deg, rgba(24, 34, 58, 0.84), rgba(8, 12, 24, 0.96));
  box-shadow:
    inset 0 0 36px rgba(85, 199, 223, 0.28),
    inset 0 -34px 70px rgba(96, 71, 226, 0.30),
    0 0 26px rgba(85, 199, 223, 0.18);
  animation: portal-inner-breathe 5.5s ease-in-out infinite;
}

/* A broad moving current inside the doorway rather than a barely visible blur. */
.portal::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 20px;
  border-radius: 190px 190px 10px 10px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 32% 30%, rgba(232, 254, 255, 0.58) 0%, rgba(85, 199, 223, 0.30) 16%, transparent 42%),
    radial-gradient(ellipse at 72% 64%, rgba(164, 146, 255, 0.54) 0%, rgba(133, 120, 242, 0.34) 20%, transparent 48%),
    conic-gradient(from 205deg at 50% 54%, transparent 0deg, rgba(85, 199, 223, 0.20) 68deg, transparent 132deg, rgba(133, 120, 242, 0.24) 235deg, transparent 320deg);
  background-size: 125% 125%, 130% 130%, 145% 145%;
  background-position: 0% 0%, 100% 100%, 50% 50%;
  mix-blend-mode: screen;
  filter: blur(10px) saturate(1.35);
  opacity: 0.92;
  animation: portal-current 9s ease-in-out infinite alternate;
}

.portal__center {
  position: relative;
  z-index: 3;
  transform: none;
}

.portal__mark--open {
  width: 112px;
  height: 112px;
  padding: 0;
  background: transparent;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 24px rgba(18, 23, 34, 0.38))
    drop-shadow(0 0 24px rgba(220, 250, 255, 0.34));
  animation: mark-drift 6s ease-in-out infinite;
}

.portal__word {
  text-shadow: 0 0 22px rgba(220, 250, 255, 0.22);
}

.portal__motes {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.portal__mote {
  --mote-size: 4px;
  --mote-duration: 8s;
  --mote-delay: 0s;
  --mote-x: 50%;
  --mote-drift: 20px;
  position: absolute;
  left: var(--mote-x);
  bottom: -16px;
  width: var(--mote-size);
  height: var(--mote-size);
  border-radius: 999px;
  background: rgba(230, 253, 255, 0.96);
  box-shadow:
    0 0 8px rgba(220, 250, 255, 0.95),
    0 0 18px rgba(85, 199, 223, 0.85);
  opacity: 0;
  animation: mote-rise var(--mote-duration) var(--mote-delay) linear infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(.2, .8, .2, 1), transform 700ms cubic-bezier(.2, .8, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-grid .reveal--child:nth-child(2) { transition-delay: 90ms; }
.feature-grid .reveal--child:nth-child(3) { transition-delay: 180ms; }

@keyframes portal-breathe {
  0%, 100% {
    border-color: rgba(242, 238, 229, 0.30);
    filter: brightness(0.94) saturate(0.96);
    box-shadow:
      0 0 0 10px rgba(133, 120, 242, 0.05),
      0 0 34px rgba(85, 199, 223, 0.10),
      0 24px 64px rgba(0, 0, 0, 0.28);
  }
  50% {
    border-color: rgba(226, 251, 255, 0.58);
    filter: brightness(1.12) saturate(1.18);
    box-shadow:
      0 0 0 16px rgba(85, 199, 223, 0.11),
      0 0 72px rgba(85, 199, 223, 0.35),
      0 0 110px rgba(133, 120, 242, 0.18),
      0 30px 82px rgba(0, 0, 0, 0.38);
  }
}

@keyframes portal-inner-breathe {
  0%, 100% {
    opacity: 0.82;
    box-shadow:
      inset 0 0 34px rgba(85, 199, 223, 0.22),
      inset 0 -34px 70px rgba(96, 71, 226, 0.24),
      0 0 22px rgba(85, 199, 223, 0.14);
  }
  50% {
    opacity: 1;
    box-shadow:
      inset 0 0 58px rgba(132, 230, 247, 0.48),
      inset 0 -42px 96px rgba(133, 120, 242, 0.50),
      0 0 46px rgba(85, 199, 223, 0.34);
  }
}

@keyframes portal-current {
  0% {
    background-position: 0% 4%, 100% 96%, 42% 50%;
    transform: scale(0.96) rotate(-4deg);
    opacity: 0.68;
  }
  50% {
    background-position: 24% 18%, 74% 70%, 58% 45%;
    opacity: 1;
  }
  100% {
    background-position: 52% 32%, 48% 42%, 48% 58%;
    transform: scale(1.08) rotate(5deg);
    opacity: 0.82;
  }
}

@keyframes mark-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes mote-rise {
  0% { transform: translate3d(0, 0, 0) scale(0.65); opacity: 0; }
  12% { opacity: 0.92; }
  72% { opacity: 0.62; }
  100% { transform: translate3d(var(--mote-drift), -480px, 0) scale(1.25); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .portal,
  .portal::before,
  .portal::after,
  .portal__mark--open,
  .portal__mote {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   July 2026 site update
   -------------------------------------------------------------------------- */

:root {
  --ink: #0b0f18;
  --surface: #1a2230;
  --surface-deep: #111722;
  --surface-raised: #222c3c;
  --border: rgba(189, 198, 211, 0.22);
  --border-strong: rgba(189, 198, 211, 0.42);
}

body {
  background:
    radial-gradient(circle at 82% 8%, rgba(85, 199, 223, 0.08), transparent 28rem),
    radial-gradient(circle at 14% 32%, rgba(133, 120, 242, 0.09), transparent 32rem),
    var(--ink);
}

body::before {
  opacity: 0.16;
  filter: contrast(1.45) brightness(1.28);
  mix-blend-mode: screen;
}

.site-header { background: rgba(11, 15, 24, 0.9); }

.logo-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(100%, 500px);
  min-height: 500px;
  place-items: center;
  overflow: hidden;
  padding: 34px 30px 72px;
  border: 1px solid var(--border-strong);
  border-radius: 42% 42% var(--radius-expressive) var(--radius-expressive) / 34% 34% var(--radius-expressive) var(--radius-expressive);
  background:
    linear-gradient(145deg, rgba(34, 44, 60, 0.92), rgba(10, 15, 25, 0.98)),
    var(--surface-deep);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48), 0 0 0 12px rgba(133, 120, 242, 0.045);
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(242, 238, 229, 0.13);
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 36%, rgba(85, 199, 223, 0.16), transparent 38%),
    radial-gradient(circle at 50% 78%, rgba(133, 120, 242, 0.18), transparent 42%);
}

.logo-stage__glow {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 199, 223, 0.22), rgba(133, 120, 242, 0.12) 42%, transparent 72%);
  filter: blur(24px);
  animation: logo-glow 6s ease-in-out infinite;
}

.logo-stage__art {
  position: relative;
  z-index: 2;
  width: 92%;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42));
}

.logo-stage__caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 12, 20, 0.82);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  backdrop-filter: blur(12px);
}

.logo-stage__signal {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px rgba(85, 199, 223, 0.9);
}

@keyframes logo-glow {
  0%, 100% { opacity: 0.65; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.08); }
}

.section-heading--update h2 { max-width: 18ch; }

.update-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.update-rail {
  display: grid;
  gap: 12px;
}

.status-block {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, var(--surface-raised), var(--surface-deep));
}

.status-block--accent { border-top: 3px solid var(--blue); }
.status-block__label { display: block; margin-bottom: 8px; color: var(--blue); font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.status-block strong { display: block; margin-bottom: 8px; font-size: 1.15rem; }
.status-block p { margin: 0; color: var(--mist); font-size: 0.84rem; line-height: 1.5; }

.update-story {
  display: grid;
  gap: 16px;
}

.update-block {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(26, 34, 48, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
}

.update-block__index { color: var(--blue); font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; }
.update-block h3 { margin-bottom: 14px; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.update-block p { color: var(--mist); }
.update-block p:last-child { margin-bottom: 0; }
.update-block--closing { background: linear-gradient(145deg, rgba(133, 120, 242, 0.13), rgba(26, 34, 48, 0.95)); }
.update-block blockquote { margin: 24px 0; padding-left: 20px; border-left: 3px solid var(--violet); color: var(--ivory); font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; }

.screenshot-grid {
  display: grid;
  gap: 14px;
}

.shot-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface-deep);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(133, 120, 242, 0.14), rgba(85, 199, 223, 0.08));
}

.shot-card figcaption { display: grid; gap: 4px; padding: 16px 18px 18px; }
.shot-card figcaption strong { color: var(--ivory); }
.shot-card figcaption span { color: var(--mist); font-size: 0.84rem; line-height: 1.45; }

.update-cta {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-expressive);
  background: linear-gradient(120deg, rgba(133, 120, 242, 0.18), rgba(85, 199, 223, 0.10), var(--surface));
}
.update-cta .eyebrow { margin-bottom: 10px; }
.update-cta h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.update-cta p:last-child { margin-bottom: 0; color: var(--mist); }

@media (min-width: 760px) {
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-card--wide { grid-column: 1 / -1; }
  .update-cta { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (min-width: 1050px) {
  .update-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
  .update-rail { position: sticky; top: 96px; }
}

@media (max-width: 519px) {
  .logo-stage { min-height: 390px; padding: 24px 18px 66px; }
  .update-block { grid-template-columns: 1fr; padding: 22px; }
  .update-block__index { margin-bottom: -4px; }
}

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


/* --------------------------------------------------------------------------
   Expressive somwyr header logo
   Clean gradient mark — no stars or dots
   -------------------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  text-decoration: none;
}

/*
 * Hide the original SVG image visually, but retain its space and markup.
 * The gradient version is drawn with a mask on ::before.
 */
.brand__mark {
  display: block;
  width: 28px;
  height: 38px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  filter:
    drop-shadow(0 0 6px rgba(133, 120, 242, 0.25))
    drop-shadow(0 0 10px rgba(85, 199, 223, 0.18));
}

.brand::before {
  content: none;
}

.brand__name {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.brand:hover {
  text-decoration: none;
}

.brand:hover::before {
  filter:
    drop-shadow(0 0 8px rgba(133, 120, 242, 0.38))
    drop-shadow(0 0 14px rgba(85, 199, 223, 0.3));
}

@media (max-width: 519px) {
  .brand::before {
    width: 25px;
    height: 34px;
  }

  .brand__name {
    font-size: 1.25rem;
  }
}
