:root {
  --mase-navy-950: #05071e;
  --mase-navy-900: #070b2b;
  --mase-navy-850: #0b0d31;
  --mase-purple-900: #120a35;
  --mase-purple-800: #2b0f5e;
  --mase-blue: #1ea7ff;
  --mase-violet: #7c4dff;
  --mase-purple: #a855f7;
  --mase-white: #fff;
  --mase-text: #c9c9d6;
  --mase-muted: #9597ad;
  --mase-border: rgba(255, 255, 255, 0.11);
  --mase-surface: rgba(255, 255, 255, 0.045);
  --mase-surface-strong: rgba(255, 255, 255, 0.075);
  --mase-gradient: linear-gradient(115deg, var(--mase-blue) 0%, var(--mase-violet) 55%, var(--mase-purple) 100%);
  --mase-display: "Sora", system-ui, sans-serif;
  --mase-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mase-container: 1240px;
  --mase-radius-sm: 12px;
  --mase-radius: 20px;
  --mase-radius-lg: 30px;
  --mase-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% -10%, rgba(30, 167, 255, 0.11), transparent 29rem),
    radial-gradient(circle at 91% 10%, rgba(124, 77, 255, 0.12), transparent 32rem),
    var(--mase-navy-950);
  color: var(--mase-text);
  font-family: var(--mase-body);
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: var(--mase-white);
  font-family: var(--mase-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

p {
  margin: 0 0 1.35em;
}

ul,
ol {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 40px), var(--mase-container));
  margin-inline: auto;
}

.container--narrow {
  max-width: 900px;
}

.container--article {
  max-width: 820px;
}

.section {
  position: relative;
  padding: clamp(82px, 9vw, 138px) 0;
}

.section--surface {
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(135deg, rgba(18, 10, 53, 0.52), rgba(7, 11, 43, 0.2)),
    rgba(255, 255, 255, 0.018);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--mase-white);
  color: var(--mase-navy-950);
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #b6b8cb;
  font-family: var(--mase-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mase-blue);
  box-shadow: 0 0 18px var(--mase-blue);
}

.section-intro h2,
.section-heading h2,
.contact-cta h2,
.archive-heading h1,
.page-hero h1 {
  font-size: clamp(2.35rem, 4.5vw, 4.7rem);
}

.section-intro h2 span,
.section-heading h2 span,
.contact-cta h2 span,
.page-hero h1 span {
  background: var(--mase-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(32px, 8vw, 120px);
  margin-bottom: clamp(46px, 6vw, 76px);
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 540px;
  margin: 0 0 8px;
  color: var(--mase-muted);
  font-size: 1.05rem;
}

.section-heading--center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-heading--center > p {
  margin: 20px auto 0;
}

.section-lead {
  max-width: 600px;
  color: var(--mase-text);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.rich-copy {
  max-width: 670px;
  color: var(--mase-muted);
  font-size: 1.03rem;
}

.rich-copy p:last-child {
  margin-bottom: 0;
}

.rich-copy--large {
  color: var(--mase-text);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button,
button.button,
input[type="submit"] {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--mase-gradient);
  box-shadow: 0 12px 32px rgba(87, 85, 255, 0.22);
  color: var(--mase-white);
  cursor: pointer;
  font-family: var(--mase-display);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(87, 85, 255, 0.34);
  filter: brightness(1.08);
}

.button--small {
  min-height: 44px;
  padding: 11px 19px;
  font-size: 0.78rem;
}

.button--ghost {
  border-color: var(--mase-border);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: var(--mase-white);
  font-family: var(--mase-display);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover {
  gap: 12px;
  color: #a985ff;
}

/* Header */
.site-header {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(5, 7, 30, 0.86);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header.is-scrolled {
  top: 32px;
}

.site-header__inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-brand,
.site-brand a,
.custom-logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.site-brand__logo {
  width: 154px;
  height: 54px;
  object-fit: cover;
  object-position: center;
}

.custom-logo {
  width: 154px;
  height: 54px;
  object-fit: contain;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu a {
  position: relative;
  display: block;
  padding: 12px 0;
  color: #dedee9;
  font-size: 0.88rem;
  font-weight: 600;
}

.primary-menu a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--mase-gradient);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 1px solid var(--mase-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mase-white);
  cursor: pointer;
}

.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  padding: 140px 0 72px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 30, 0.98) 0%, rgba(7, 11, 43, 0.9) 48%, rgba(18, 10, 53, 0.56) 100%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(255, 255, 255, 0.025) calc(8.333% - 1px), rgba(255, 255, 255, 0.025) 8.333%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -34%;
  width: 70%;
  height: 80%;
  border: 1px solid rgba(124, 77, 255, 0.18);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}

.hero__glow--blue {
  top: 22%;
  left: -140px;
  width: 390px;
  height: 390px;
  background: var(--mase-blue);
}

.hero__glow--violet {
  right: -70px;
  bottom: 0;
  width: 500px;
  height: 500px;
  background: var(--mase-purple);
}

.hero__grid {
  display: grid;
  min-height: 640px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(35px, 6vw, 92px);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 6.25vw, 6.35rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.99;
}

.hero h1 span {
  background: var(--mase-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 670px;
  margin-bottom: 34px;
  color: #b4b5c8;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
}

.hero__topics {
  margin: 38px 0 0;
  color: #7f829d;
  font-family: var(--mase-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero__topics span {
  margin-inline: 7px;
  color: var(--mase-violet);
}

.hero__visual {
  position: relative;
  align-self: end;
  min-height: 640px;
}

.hero__portrait-wrap {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -72px;
  width: min(100%, 560px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 46% 46% 26px 26px;
  background: linear-gradient(145deg, rgba(30, 167, 255, 0.08), rgba(168, 85, 247, 0.12));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.42), 0 0 70px rgba(124, 77, 255, 0.16);
}

.hero__portrait {
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero__portrait-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(5, 7, 30, 0.68) 100%);
  pointer-events: none;
}

.hero__orbit {
  position: absolute;
  top: 7%;
  right: -12%;
  width: 112%;
  aspect-ratio: 1;
  border: 1px solid rgba(30, 167, 255, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(124, 77, 255, 0.08);
}

.hero__badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(8, 10, 38, 0.7);
  box-shadow: var(--mase-shadow);
  color: #dcddea;
  font-size: 0.75rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero__badge span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--mase-gradient);
  color: #fff;
  font-family: var(--mase-display);
  font-size: 0.66rem;
}

.hero__badge--top {
  top: 22%;
  left: -35px;
}

.hero__badge--bottom {
  right: -24px;
  bottom: 80px;
}

/* About */
.about-preview__grid,
.founder-section__grid,
.why-section__grid,
.split-content,
.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(55px, 9vw, 140px);
}

.principle-stack {
  position: relative;
  display: grid;
  gap: 14px;
}

.principle-stack::before {
  position: absolute;
  z-index: -1;
  top: 10%;
  right: 8%;
  width: 60%;
  height: 80%;
  border-radius: 50%;
  background: rgba(124, 77, 255, 0.14);
  content: "";
  filter: blur(70px);
}

.principle-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--mase-border);
  border-radius: var(--mase-radius);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.principle-card:nth-child(2) {
  transform: translateX(30px);
}

.principle-card__number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(124, 77, 255, 0.32);
  border-radius: 50%;
  color: #a991ff;
  font-family: var(--mase-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.principle-card h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.principle-card p {
  margin: 0;
  color: var(--mase-muted);
  font-size: 0.9rem;
}

/* Explore cards */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.topic-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--mase-border);
  border-radius: var(--mase-radius);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.topic-card::before {
  position: absolute;
  top: -85px;
  right: -85px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(124, 77, 255, 0.2);
  content: "";
  filter: blur(30px);
  opacity: 0;
  transition: opacity 200ms ease;
}

.topic-card:hover {
  border-color: rgba(124, 77, 255, 0.48);
  background: rgba(124, 77, 255, 0.07);
  transform: translateY(-5px);
}

.topic-card:hover::before {
  opacity: 1;
}

.topic-card__number {
  margin-bottom: auto;
  color: #787b96;
  font-family: var(--mase-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.topic-card h3 {
  margin: 48px 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.topic-card p {
  margin-bottom: 25px;
  color: var(--mase-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.topic-card__link {
  margin-top: auto;
  color: #d8d9e6;
  font-family: var(--mase-display);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Article cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mase-border);
  border-radius: var(--mase-radius);
  background: var(--mase-surface);
  transition: transform 200ms ease, border-color 200ms ease;
}

.article-card:hover {
  border-color: rgba(124, 77, 255, 0.38);
  transform: translateY(-5px);
}

.article-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.47;
  background: linear-gradient(145deg, #0d1644, #241052);
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.article-card:hover .article-card__image img {
  transform: scale(1.035);
}

.article-card__image--abstract {
  position: absolute;
  display: grid;
  inset: 0;
  place-items: center;
  background:
    linear-gradient(135deg, transparent 44%, rgba(30, 167, 255, 0.18) 44%, rgba(30, 167, 255, 0.18) 46%, transparent 46%),
    radial-gradient(circle at 72% 26%, rgba(168, 85, 247, 0.42), transparent 30%),
    linear-gradient(140deg, #0b143e, #211052);
}

.article-card__image--abstract::before,
.article-card__image--abstract::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.article-card__image--abstract::before {
  width: 180px;
  height: 180px;
}

.article-card__image--abstract::after {
  width: 110px;
  height: 110px;
}

.article-card__image--abstract span {
  position: relative;
  z-index: 1;
  background: var(--mase-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--mase-display);
  font-size: 2rem;
  font-weight: 800;
}

.article-card__body {
  padding: 26px;
}

.article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}

.article-card__meta time {
  color: #7f8297;
  font-size: 0.73rem;
}

.article-card__category {
  color: #9e82ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-card__body h3 {
  margin-bottom: 14px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.27;
}

.article-card__body h3 a:hover {
  color: #b8a7ff;
}

.article-card__body p,
.article-card__excerpt {
  color: var(--mase-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.article-card__excerpt p {
  margin: 0;
}

.article-card .text-link {
  margin-top: 24px;
  font-size: 0.76rem;
}

.section-action {
  margin-top: 42px;
  text-align: center;
}

/* Categories */
.category-list {
  border-top: 1px solid var(--mase-border);
}

.category-row {
  display: grid;
  min-height: 102px;
  grid-template-columns: 60px minmax(220px, 0.8fr) minmax(280px, 1.2fr) 40px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--mase-border);
  transition: padding 180ms ease, background 180ms ease;
}

.category-row:hover {
  padding-inline: 16px;
  background: linear-gradient(90deg, rgba(124, 77, 255, 0.08), transparent);
}

.category-row__number {
  color: #696c87;
  font-family: var(--mase-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.category-row__name {
  color: var(--mase-white);
  font-family: var(--mase-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 600;
}

.category-row__description {
  color: var(--mase-muted);
  font-size: 0.92rem;
}

.category-row__arrow {
  color: #9d82ff;
  font-size: 1.2rem;
  text-align: right;
}

/* Why MASE */
.why-section__grid {
  align-items: start;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.value-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-card {
  min-height: 220px;
  padding: 25px;
  border: 1px solid var(--mase-border);
  border-radius: var(--mase-radius);
  background: rgba(255, 255, 255, 0.035);
}

.value-card > span {
  display: inline-block;
  margin-bottom: 42px;
  color: #8270c9;
  font-family: var(--mase-display);
  font-size: 0.7rem;
  font-weight: 700;
}

.value-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.value-card p {
  margin: 0;
  color: var(--mase-muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

/* Founder */
.founder-section__grid {
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1fr);
}

.founder-section__visual {
  position: relative;
  padding: 0 0 34px 34px;
}

.founder-section__visual::before {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 72%;
  height: 74%;
  border-radius: var(--mase-radius-lg);
  background: linear-gradient(145deg, rgba(30, 167, 255, 0.38), rgba(124, 77, 255, 0.24));
  content: "";
  filter: blur(1px);
}

.founder-section__frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--mase-radius-lg);
  box-shadow: var(--mase-shadow);
}

.founder-section__frame img {
  width: 100%;
  aspect-ratio: 0.94;
  object-fit: cover;
  object-position: 50% 28%;
}

.founder-section__signature {
  position: absolute;
  right: -20px;
  bottom: 5px;
  padding: 10px 15px;
  border: 1px solid var(--mase-border);
  border-radius: 999px;
  background: rgba(7, 11, 43, 0.86);
  color: #adafc3;
  font-family: var(--mase-display);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Newsletter */
.newsletter-section {
  padding-top: 42px;
}

.newsletter-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
  overflow: hidden;
  padding: clamp(38px, 6vw, 74px);
  border: 1px solid rgba(164, 121, 255, 0.32);
  border-radius: var(--mase-radius-lg);
  background:
    linear-gradient(115deg, rgba(30, 167, 255, 0.09), rgba(124, 77, 255, 0.15) 55%, rgba(168, 85, 247, 0.17)),
    #0c0b30;
  box-shadow: var(--mase-shadow);
}

.newsletter-panel::before {
  position: absolute;
  right: -100px;
  bottom: -230px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.newsletter-panel__glow {
  position: absolute;
  top: -130px;
  left: 20%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--mase-violet);
  filter: blur(110px);
  opacity: 0.2;
}

.newsletter-panel__content,
.newsletter-panel__form {
  position: relative;
  z-index: 1;
}

.newsletter-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.newsletter-panel h2 span {
  color: #a88cff;
}

.newsletter-panel__content p {
  max-width: 590px;
  margin: 0;
  color: #aaacc0;
}

.newsletter-form {
  display: flex;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(5, 7, 30, 0.58);
}

.newsletter-form input[type="email"] {
  min-width: 0;
  flex: 1;
  padding: 12px 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--mase-white);
}

.newsletter-panel__form small {
  display: block;
  margin: 12px 0 0 18px;
  color: #82849e;
  font-size: 0.72rem;
}

/* Contact CTA */
.contact-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.65fr);
  align-items: end;
  gap: clamp(50px, 10vw, 150px);
  padding-block: 20px;
}

.contact-cta h2 {
  margin: 0;
}

.contact-cta__inner > div:last-child p {
  max-width: 520px;
  color: var(--mase-muted);
  font-size: 1.04rem;
}

/* Footer */
.site-footer {
  padding: 78px 0 26px;
  border-top: 1px solid var(--mase-border);
  background: #040619;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 0.7fr);
  gap: clamp(35px, 6vw, 82px);
  padding-bottom: 62px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 22px;
  background: var(--mase-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--mase-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-brand p {
  max-width: 410px;
  margin: 0;
  color: #85879c;
  font-size: 0.88rem;
}

.footer-title {
  margin-bottom: 22px;
  color: #8f91a6;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: #c2c3d1;
  font-size: 0.86rem;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: #a58cff;
}

.footer-bottom {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #6f7188;
  font-size: 0.74rem;
}

.footer-bottom p {
  margin: 0;
}

/* Page and blog headers */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 110px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 82% 35%, rgba(124, 77, 255, 0.25), transparent 28rem),
    linear-gradient(120deg, #060921, #10092f);
}

.page-hero::after {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(30, 167, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.page-hero--compact {
  padding-bottom: 90px;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 990px;
  margin-bottom: 26px;
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  color: #a9aabc;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.page-shell {
  min-height: 70vh;
  padding-top: 180px;
}

.archive-heading {
  max-width: 840px;
  margin-bottom: 60px;
}

.archive-heading h1 {
  margin-bottom: 20px;
}

.archive-description {
  color: var(--mase-muted);
}

.blog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 55px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-chip {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--mase-border);
  border-radius: 999px;
  color: #aaacbd;
  font-size: 0.78rem;
  font-weight: 600;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: rgba(124, 77, 255, 0.48);
  background: rgba(124, 77, 255, 0.12);
  color: var(--mase-white);
}

.search-form {
  display: flex;
  min-width: min(100%, 380px);
  gap: 9px;
}

.search-field,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--mase-border);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--mase-white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-field:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--mase-violet);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.14);
}

.search-field::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.newsletter-form input::placeholder {
  color: #767991;
}

.navigation.pagination {
  margin-top: 55px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--mase-border);
  border-radius: 50%;
  color: #bfc0cf;
  font-size: 0.82rem;
}

.page-numbers.current,
.page-numbers:hover {
  border-color: transparent;
  background: var(--mase-gradient);
  color: #fff;
}

/* About and service pages */
.split-content {
  align-items: start;
}

.split-content h2 {
  font-size: clamp(2.15rem, 4vw, 3.9rem);
}

.split-content h2 span {
  color: #a98fff;
}

.mission-section .section-lead {
  margin: 60px 0 0;
}

.custom-page-content {
  max-width: 820px;
  margin: 70px auto 0;
}

.services-list {
  border-top: 1px solid var(--mase-border);
}

.service-row {
  display: grid;
  grid-template-columns: 60px minmax(260px, 0.85fr) minmax(300px, 1fr);
  align-items: center;
  gap: 34px;
  padding: 38px 0;
  border-bottom: 1px solid var(--mase-border);
}

.service-row > span {
  color: #757892;
  font-family: var(--mase-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.service-row h2,
.service-row p {
  margin: 0;
}

.service-row h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.service-row p {
  color: var(--mase-muted);
}

/* Contact */
.contact-page__grid {
  align-items: start;
}

.contact-page__aside {
  position: sticky;
  top: 130px;
}

.contact-page__aside h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.contact-page__aside h2 span {
  color: #a98fff;
}

.contact-page__aside p {
  max-width: 470px;
  color: var(--mase-muted);
}

.contact-form-panel {
  padding: clamp(28px, 4.5vw, 48px);
  border: 1px solid var(--mase-border);
  border-radius: var(--mase-radius-lg);
  background: var(--mase-surface);
  box-shadow: var(--mase-shadow);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  color: #cfd0dc;
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-notice {
  padding: 12px 15px;
  margin: 0 0 18px;
  border-radius: 10px;
  font-size: 0.85rem;
}

.form-notice--success {
  border: 1px solid rgba(60, 211, 145, 0.3);
  background: rgba(60, 211, 145, 0.08);
  color: #a8f1cf;
}

.form-notice--error {
  border: 1px solid rgba(255, 105, 130, 0.3);
  background: rgba(255, 105, 130, 0.08);
  color: #ffbac6;
}

/* Generic and single content */
.page-entry .entry-header {
  margin-bottom: 50px;
}

.page-entry .entry-header h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.entry-content {
  color: #c1c2d0;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.7em;
}

.entry-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.entry-content h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.entry-content a {
  color: #9f87ff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content blockquote {
  padding: 6px 0 6px 28px;
  margin: 42px 0;
  border-left: 3px solid var(--mase-violet);
  color: var(--mase-white);
  font-family: var(--mase-display);
  font-size: 1.25rem;
}

.entry-content img,
.entry-content .wp-block-image {
  border-radius: var(--mase-radius);
}

.single-shell {
  padding-top: 170px;
}

.single-article__header {
  text-align: center;
}

.single-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 25px;
  color: #85889f;
  font-size: 0.76rem;
}

.single-article__header h1 {
  margin-bottom: 26px;
  font-size: clamp(2.65rem, 5.8vw, 5.8rem);
}

.single-article__lead {
  max-width: 760px;
  margin: 0 auto;
  color: #aaacbf;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.single-article__hero {
  overflow: hidden;
  margin-top: 65px;
  border: 1px solid var(--mase-border);
  border-radius: var(--mase-radius-lg);
}

.single-article__hero img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.single-article > .entry-content {
  padding-top: 75px;
  font-size: 1.08rem;
}

.single-article__footer {
  padding: 54px 0 90px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
}

.tag-list a {
  padding: 7px 13px;
  border: 1px solid var(--mase-border);
  border-radius: 999px;
  color: #a9abba;
  font-size: 0.75rem;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.post-navigation a {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--mase-border);
  border-radius: var(--mase-radius);
  color: var(--mase-white);
  font-family: var(--mase-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.post-navigation a span {
  margin-bottom: 8px;
  color: #7e8199;
  font-family: var(--mase-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-next {
  text-align: right;
}

.comments-area {
  padding-bottom: 100px;
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-body {
  padding: 22px;
  margin-bottom: 14px;
  border: 1px solid var(--mase-border);
  border-radius: var(--mase-radius);
}

.empty-state,
.error-page__inner {
  padding: 70px 0;
  text-align: center;
}

.empty-state h2,
.error-page h1 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.empty-state .button-row,
.error-page .button-row {
  justify-content: center;
}

.error-page {
  display: grid;
  min-height: 85vh;
  align-items: center;
  padding-top: 90px;
}

.error-code {
  display: block;
  margin-bottom: -20px;
  background: var(--mase-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--mase-display);
  font-size: clamp(7rem, 18vw, 15rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  opacity: 0.26;
}

/* Responsive */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  }

  .hero h1 {
    font-size: clamp(3.1rem, 7vw, 5.5rem);
  }

  .hero__badge--top {
    left: -10px;
  }

  .hero__badge--bottom {
    right: -5px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 0.7fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .admin-bar .site-header.is-scrolled {
    top: 46px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .primary-navigation {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: grid;
    max-height: 0;
    overflow: hidden;
    gap: 16px;
    border: 1px solid transparent;
    border-radius: var(--mase-radius);
    background: rgba(5, 7, 30, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, padding 180ms ease;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .primary-navigation.is-open {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 18px;
    border-color: var(--mase-border);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-menu {
    display: grid;
    gap: 0;
  }

  .primary-menu a {
    padding: 13px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .primary-menu a::after {
    display: none;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding: 45px 0 10px;
  }

  .hero__visual {
    width: min(100%, 570px);
    min-height: 580px;
    margin-inline: auto;
  }

  .hero__portrait-wrap {
    bottom: -1px;
  }

  .about-preview__grid,
  .founder-section__grid,
  .why-section__grid,
  .split-content,
  .contact-page__grid,
  .contact-cta__inner,
  .newsletter-panel {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .principle-stack {
    max-width: 650px;
  }

  .founder-section__visual {
    max-width: 600px;
  }

  .founder-section__grid .section-intro {
    grid-row: 1;
  }

  .newsletter-panel {
    gap: 34px;
  }

  .contact-cta__inner {
    align-items: start;
    gap: 32px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .search-form {
    width: 100%;
  }

  .contact-page__aside {
    position: static;
  }

  .mission-section .section-lead {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--mase-container));
  }

  .section {
    padding: 76px 0;
  }

  .site-header__inner {
    min-height: 76px;
  }

  .site-brand__logo,
  .custom-logo {
    width: 126px;
    height: 44px;
  }

  .hero {
    padding-top: 108px;
  }

  .hero__content {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: clamp(2.72rem, 13.1vw, 4.5rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__topics {
    line-height: 1.8;
  }

  .hero__visual {
    min-height: 470px;
  }

  .hero__badge {
    font-size: 0.67rem;
  }

  .hero__badge--top {
    top: 18%;
    left: 2px;
  }

  .hero__badge--bottom {
    right: 2px;
    bottom: 52px;
  }

  .hero__portrait-wrap {
    width: 94%;
  }

  .topic-grid,
  .article-grid,
  .value-grid,
  .value-grid--four,
  .form-grid,
  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 270px;
  }

  .principle-card:nth-child(2) {
    transform: none;
  }

  .category-row {
    min-height: 0;
    grid-template-columns: 38px 1fr 30px;
    gap: 12px;
    padding: 24px 0;
  }

  .category-row__description {
    grid-column: 2 / -1;
  }

  .category-row__arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .founder-section__visual {
    padding: 0 0 20px 18px;
  }

  .founder-section__signature {
    right: 0;
  }

  .newsletter-panel {
    padding: 32px 22px;
  }

  .newsletter-form {
    padding: 7px;
    border-radius: 18px;
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    min-height: 48px;
  }

  .newsletter-form .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    padding-top: 22px;
    flex-direction: column;
  }

  .page-hero {
    padding: 150px 0 80px;
  }

  .service-row {
    grid-template-columns: 38px 1fr;
    gap: 10px 14px;
    padding: 28px 0;
  }

  .service-row p {
    grid-column: 2;
  }

  .contact-form-panel {
    padding: 24px 18px;
  }

  .single-shell {
    padding-top: 130px;
  }

  .single-article__header h1 {
    font-size: clamp(2.35rem, 11vw, 4rem);
  }

  .single-article__hero {
    width: calc(100% - 28px);
    margin-top: 44px;
  }

  .single-article > .entry-content {
    padding-top: 52px;
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .hero__visual {
    min-height: 390px;
  }

  .hero__badge--bottom {
    bottom: 24px;
  }

  .button-row .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

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