:root {
  --ibse-black: #050505;
  --ibse-ink: #101014;
  --ibse-panel: #16161d;
  --ibse-panel-soft: #202029;
  --ibse-orange: #ff6a00;
  --ibse-orange-dark: #d95400;
  --ibse-orange-soft: #fff1e7;
  --ibse-white: #ffffff;
  --ibse-muted: #707078;
  --ibse-muted-light: #c9c9d1;
  --ibse-border: rgba(255, 255, 255, 0.16);
  --ibse-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  --ibse-radius: 22px;
  --ibse-radius-sm: 14px;
  --ibse-container: min(1120px, calc(100vw - 40px));
  --ibse-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ibse-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  background: #f5f2ef;
  color: var(--ibse-ink);
  font-family: var(--ibse-font);
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: var(--ibse-orange-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--ibse-black);
}

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

::selection {
  background: var(--ibse-orange);
  color: var(--ibse-black);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
  background: var(--ibse-white);
  border-radius: 8px;
  box-shadow: var(--ibse-shadow);
  clip: auto !important;
  clip-path: none;
  color: var(--ibse-black);
  display: block;
  font-weight: 800;
  height: auto;
  left: 16px;
  padding: 12px 16px;
  top: 16px;
  width: auto;
  z-index: 100000;
}

.skip-link {
  position: fixed;
}

.container,
.site-header__inner,
.site-footer__inner,
.section__inner,
.content-wrap,
.hero__inner {
  width: var(--ibse-container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  color: var(--ibse-white);
}

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

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

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.custom-logo-link,
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ibse-white);
  text-decoration: none;
}

.custom-logo,
.site-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.site-title-wrap {
  display: grid;
  gap: 0;
}

.site-title {
  color: var(--ibse-white);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
}

.site-description {
  color: var(--ibse-muted-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.main-navigation ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  border-radius: 999px;
  color: var(--ibse-white);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  padding: 12px 14px;
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  background: var(--ibse-orange);
  color: var(--ibse-black);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--ibse-orange);
  border: 0;
  border-radius: 999px;
  color: var(--ibse-black);
  cursor: pointer;
  font-weight: 900;
  padding: 12px 16px;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  width: 18px;
}

.menu-toggle__icon {
  position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  left: 0;
  position: absolute;
}

.menu-toggle__icon::before {
  top: -6px;
}

.menu-toggle__icon::after {
  top: 6px;
}

.site-main {
  min-height: 65vh;
}

.hero {
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 106, 0, 0.30), transparent 28rem),
    radial-gradient(circle at 14% 25%, rgba(255, 106, 0, 0.12), transparent 22rem),
    linear-gradient(135deg, #050505 0%, #15151b 58%, #050505 100%);
  color: var(--ibse-white);
  overflow: hidden;
  position: relative;
}

.hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  opacity: 0.25;
  position: absolute;
}

.hero__inner {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  min-height: 720px;
  padding: clamp(72px, 8vw, 128px) 0;
  position: relative;
  z-index: 1;
}

.hero__copy {
  align-self: center;
}

.eyebrow {
  align-items: center;
  color: var(--ibse-orange);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 950;
  gap: 10px;
  letter-spacing: 0.18em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

.hero h1,
.page-title,
.entry-title {
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero h1 {
  color: var(--ibse-white);
  font-size: clamp(3.4rem, 8vw, 7.7rem);
  margin: 0;
  max-width: 11ch;
}

.hero__lead {
  color: var(--ibse-muted-light);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  margin: 28px 0 0;
  max-width: 690px;
}

.hero__actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 950;
  gap: 10px;
  justify-content: center;
  line-height: 1.15;
  min-height: 50px;
  padding: 14px 22px;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
button[type="submit"]:hover,
button[type="submit"]:focus {
  transform: translateY(-1px);
}

.button--primary,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  background: var(--ibse-orange);
  color: var(--ibse-black);
}

.button--primary:hover,
.button--primary:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
button[type="submit"]:hover,
button[type="submit"]:focus {
  background: var(--ibse-white);
  color: var(--ibse-black);
}

.button--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--ibse-white);
}

.button--secondary:hover,
.button--secondary:focus {
  background: var(--ibse-white);
  border-color: var(--ibse-white);
  color: var(--ibse-black);
}

.button--dark {
  background: var(--ibse-black);
  color: var(--ibse-white);
}

.button--dark:hover,
.button--dark:focus {
  background: var(--ibse-orange);
  color: var(--ibse-black);
}

.hero__visual {
  align-self: center;
  min-height: 560px;
  position: relative;
}

.hero__emblem {
  aspect-ratio: 1;
  background: rgba(255, 106, 0, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(255, 106, 0, 0.04), var(--ibse-shadow);
  display: grid;
  inset: 50% auto auto 50%;
  place-items: center;
  position: absolute;
  transform: translate(-50%, -52%);
  width: min(560px, 100%);
}

.hero__emblem img {
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55));
  width: min(440px, 82%);
}

.terminal-card {
  background: rgba(10, 10, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  bottom: 20px;
  box-shadow: var(--ibse-shadow);
  color: var(--ibse-white);
  max-width: 390px;
  overflow: hidden;
  position: absolute;
  right: 0;
  width: min(390px, 90%);
}

.terminal-card__bar {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 7px;
  padding: 12px 16px;
}

.terminal-card__bar span {
  background: var(--ibse-orange);
  border-radius: 50%;
  display: block;
  height: 10px;
  width: 10px;
}

.terminal-card pre {
  font-family: var(--ibse-mono);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  overflow-x: auto;
  padding: 18px;
  white-space: pre-wrap;
}

.token-orange {
  color: var(--ibse-orange);
}

.section {
  padding: clamp(72px, 8vw, 118px) 0;
}

.section--light {
  background: #f5f2ef;
}

.section--white {
  background: var(--ibse-white);
}

.section--dark {
  background: var(--ibse-black);
  color: var(--ibse-white);
}

.section--orange {
  background: var(--ibse-orange);
  color: var(--ibse-black);
}

.section__header {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.42fr);
  margin-bottom: 38px;
}

.section__header h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 0;
}

.section__header p {
  color: var(--ibse-muted);
  font-size: 1.08rem;
  margin: 0;
}

.section--dark .section__header p,
.section--dark .card p,
.section--dark .post-card p,
.section--dark .resource-card p {
  color: var(--ibse-muted-light);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card,
.post-card,
.resource-card,
.value-card {
  background: var(--ibse-white);
  border: 1px solid rgba(16, 16, 20, 0.10);
  border-radius: var(--ibse-radius);
  box-shadow: 0 16px 50px rgba(16, 16, 20, 0.08);
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
}

.section--dark .card,
.section--dark .post-card,
.section--dark .resource-card,
.section--dark .value-card {
  background: var(--ibse-panel);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.card h3,
.post-card h3,
.resource-card h3,
.value-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.card p,
.post-card p,
.resource-card p,
.value-card p {
  color: var(--ibse-muted);
  margin: 0;
}

.card__icon {
  align-items: center;
  background: var(--ibse-orange);
  border-radius: 16px;
  color: var(--ibse-black);
  display: inline-flex;
  font-family: var(--ibse-mono);
  font-size: 1.1rem;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  margin-bottom: 24px;
  width: 48px;
}

.card--outline {
  background: transparent;
  border-color: rgba(255, 106, 0, 0.35);
}

.stats-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.stat {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  padding: 28px 24px 0 0;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  color: var(--ibse-orange);
  display: block;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat span {
  color: var(--ibse-muted-light);
  display: block;
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-top: 10px;
  text-transform: uppercase;
}

.pledge {
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.17), transparent 42%),
    var(--ibse-panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--ibse-radius) + 8px);
  color: var(--ibse-white);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.42fr);
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px);
}

.pledge h2 {
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin: 0 0 22px;
}

.pledge p {
  color: var(--ibse-muted-light);
  font-size: 1.12rem;
  margin: 0;
}

.pledge-list {
  counter-reset: pledge;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pledge-list li {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  padding: 16px;
}

.pledge-list li::before {
  background: var(--ibse-orange);
  border-radius: 50%;
  color: var(--ibse-black);
  content: counter(pledge);
  counter-increment: pledge;
  display: inline-grid;
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 950;
  height: 28px;
  place-items: center;
  width: 28px;
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
}

.split--reverse {
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 0.9fr);
}

.split__media {
  background: var(--ibse-black);
  border-radius: var(--ibse-radius);
  box-shadow: var(--ibse-shadow);
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.split__media::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 106, 0, 0.30), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
  content: "";
  inset: 0;
  position: absolute;
}

.split__media img {
  bottom: 50%;
  left: 50%;
  max-width: none;
  position: absolute;
  transform: translate(-50%, 50%);
  width: min(430px, 88%);
  z-index: 1;
}

.split h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 0 0 22px;
}

.split p {
  color: var(--ibse-muted);
  margin: 0 0 18px;
}

.feature-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.feature-list li {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 26px 1fr;
}

.feature-list li::before {
  background: var(--ibse-orange);
  border-radius: 50%;
  color: var(--ibse-black);
  content: "</>";
  font-family: var(--ibse-mono);
  font-size: 0.58rem;
  font-weight: 900;
  height: 26px;
  line-height: 26px;
  text-align: center;
  width: 26px;
}

.code-band {
  background: var(--ibse-black);
  border-radius: var(--ibse-radius);
  color: var(--ibse-white);
  overflow: hidden;
}

.code-band__header {
  align-items: center;
  background: var(--ibse-orange);
  color: var(--ibse-black);
  display: flex;
  font-weight: 950;
  justify-content: space-between;
  padding: 14px 20px;
}

.code-band pre {
  color: var(--ibse-muted-light);
  font-family: var(--ibse-mono);
  font-size: clamp(0.88rem, 2vw, 1rem);
  line-height: 1.75;
  margin: 0;
  overflow-x: auto;
  padding: clamp(20px, 4vw, 34px);
}

.resource-card a,
.post-card a {
  color: inherit;
  text-decoration: none;
}

.resource-card a:hover,
.resource-card a:focus,
.post-card a:hover,
.post-card a:focus {
  color: var(--ibse-orange-dark);
}

.section--dark .resource-card a:hover,
.section--dark .resource-card a:focus,
.section--dark .post-card a:hover,
.section--dark .post-card a:focus {
  color: var(--ibse-orange);
}

.post-card__meta,
.entry-meta,
.entry-footer,
.comment-metadata {
  color: var(--ibse-muted);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section--dark .post-card__meta {
  color: var(--ibse-muted-light);
}

.post-card__thumb {
  border-radius: 18px;
  margin: -10px -10px 22px;
  overflow: hidden;
}

.post-card__thumb img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.cta-panel {
  align-items: center;
  background:
    radial-gradient(circle at 92% 24%, rgba(255, 255, 255, 0.35), transparent 18rem),
    var(--ibse-orange);
  border-radius: calc(var(--ibse-radius) + 12px);
  color: var(--ibse-black);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.75fr) auto;
  padding: clamp(28px, 5vw, 54px);
}

.cta-panel h2 {
  font-size: clamp(2.3rem, 5vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 0 0 14px;
}

.cta-panel p {
  margin: 0;
  max-width: 760px;
}

.cta-panel .button--dark:hover,
.cta-panel .button--dark:focus {
  background: var(--ibse-white);
}

.page-header,
.archive-header {
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 106, 0, 0.25), transparent 28rem),
    linear-gradient(135deg, #050505, #17171f);
  color: var(--ibse-white);
  padding: clamp(70px, 8vw, 112px) 0;
}

.page-header .content-wrap,
.archive-header .content-wrap {
  display: grid;
  gap: 18px;
}

.page-title {
  color: var(--ibse-white);
  font-size: clamp(3rem, 7vw, 6.5rem);
  margin: 0;
}

.archive-description,
.page-header p {
  color: var(--ibse-muted-light);
  font-size: 1.15rem;
  margin: 0;
  max-width: 760px;
}

.content-area {
  padding: clamp(54px, 7vw, 90px) 0;
}

.content-layout {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.entry-content,
.entry-summary,
.comment-content {
  overflow-wrap: break-word;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.entry-content h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.entry-content h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content pre,
.entry-content table {
  margin-bottom: 1.35em;
}

.entry-content a {
  font-weight: 800;
}

.entry-content blockquote {
  border-left: 6px solid var(--ibse-orange);
  color: var(--ibse-ink);
  font-size: 1.25rem;
  margin-left: 0;
  padding-left: 22px;
}

.entry-content pre,
.entry-content code {
  font-family: var(--ibse-mono);
}

.entry-content pre {
  background: var(--ibse-black);
  border-radius: 18px;
  color: var(--ibse-white);
  overflow-x: auto;
  padding: 20px;
}

.entry-content table {
  border-collapse: collapse;
  width: 100%;
}

.entry-content th,
.entry-content td {
  border: 1px solid rgba(16, 16, 20, 0.14);
  padding: 10px 12px;
  text-align: left;
}

.entry-content th {
  background: var(--ibse-orange-soft);
}

.entry-title {
  font-size: clamp(2.4rem, 5vw, 5rem);
  margin: 0 0 16px;
}

.entry-title a {
  color: inherit;
  text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
  color: var(--ibse-orange-dark);
}

.post,
.page.type-page,
.search-result-item {
  background: var(--ibse-white);
  border: 1px solid rgba(16, 16, 20, 0.10);
  border-radius: var(--ibse-radius);
  box-shadow: 0 16px 50px rgba(16, 16, 20, 0.06);
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 46px);
}

.single .post,
.page .page.type-page {
  margin-bottom: 0;
}

.post-thumbnail {
  border-radius: 20px;
  margin: 0 0 28px;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-top: 30px;
}

.nav-links a,
.page-numbers {
  background: var(--ibse-white);
  border: 1px solid rgba(16, 16, 20, 0.12);
  border-radius: 999px;
  color: var(--ibse-black);
  display: inline-flex;
  font-weight: 900;
  padding: 12px 16px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus,
.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus {
  background: var(--ibse-orange);
  color: var(--ibse-black);
}

.sidebar {
  display: grid;
  gap: 22px;
}

.widget {
  background: var(--ibse-white);
  border: 1px solid rgba(16, 16, 20, 0.10);
  border-radius: var(--ibse-radius);
  padding: 24px;
}

.widget-title,
.widget h2,
.widget h3 {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li + li {
  margin-top: 9px;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  background: var(--ibse-white);
  border: 1px solid rgba(16, 16, 20, 0.18);
  border-radius: 14px;
  color: var(--ibse-ink);
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  min-height: 160px;
}

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

.comment-body,
.comment-respond {
  background: var(--ibse-white);
  border: 1px solid rgba(16, 16, 20, 0.10);
  border-radius: var(--ibse-radius);
  margin-bottom: 18px;
  padding: 22px;
}

.comment-author {
  align-items: center;
  display: flex;
  gap: 10px;
  font-weight: 900;
}

.comment-author img {
  border-radius: 50%;
}

.site-footer {
  background: var(--ibse-black);
  color: var(--ibse-white);
  padding: 56px 0 30px;
}

.site-footer__inner {
  display: grid;
  gap: 36px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(180px, 0.35fr));
}

.footer-brand {
  max-width: 520px;
}

.footer-brand .site-logo img {
  width: 72px;
  height: 72px;
}

.footer-brand p {
  color: var(--ibse-muted-light);
  margin: 16px 0 0;
}

.footer-heading {
  color: var(--ibse-orange);
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.footer-menu,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li + li,
.footer-links li + li {
  margin-top: 8px;
}

.footer-menu a,
.footer-links a {
  color: var(--ibse-white);
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus,
.footer-links a:hover,
.footer-links a:focus {
  color: var(--ibse-orange);
}

.site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ibse-muted-light);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 24px;
}

.site-info p {
  margin: 0;
}

.alignwide {
  margin-left: calc((100% - min(1120px, 100%)) / 2);
  max-width: 1120px;
  width: min(1120px, 100%);
}

.alignfull {
  margin-left: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

.wp-caption,
.gallery-caption {
  max-width: 100%;
}

.wp-caption-text {
  color: var(--ibse-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.bypostauthor {
  outline: 2px solid var(--ibse-orange);
  outline-offset: 4px;
}

.not-found-card {
  background: var(--ibse-white);
  border-radius: var(--ibse-radius);
  padding: clamp(28px, 5vw, 48px);
}

@media (max-width: 1024px) {
  .hero__inner,
  .section__header,
  .pledge,
  .split,
  .split--reverse,
  .cta-panel,
  .content-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
  }

  .hero__visual {
    min-height: 500px;
  }

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

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

  .stat:nth-child(2) {
    border-right: 0;
  }
}

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

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

  .site-description {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation ul {
    background: rgba(5, 5, 5, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
    flex-direction: column;
    inset: 72px 0 auto;
    padding: 18px var(--ibse-container) 24px;
    position: fixed;
    width: 100%;
  }

  .main-navigation.is-open ul {
    display: flex;
  }

  .main-navigation li,
  .main-navigation a {
    width: 100%;
  }

  .main-navigation a {
    justify-content: center;
    padding: 15px;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  :root {
    --ibse-container: min(100vw - 28px, 1120px);
  }

  .custom-logo,
  .site-logo img {
    height: 46px;
    width: 46px;
  }

  .site-title {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
  }

  .hero__inner {
    padding: 58px 0 74px;
  }

  .hero__visual {
    min-height: 380px;
  }

  .hero__emblem {
    width: min(380px, 96%);
  }

  .terminal-card {
    bottom: -8px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 22px 0;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .search-form {
    flex-direction: column;
  }

  .site-info {
    display: grid;
  }
}

@media (max-width: 420px) {
  .site-title-wrap {
    display: none;
  }

  .hero h1,
  .page-title {
    font-size: 3rem;
  }
}

.content-layout--no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.search-form label {
  flex: 1;
}
