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

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

body {
  margin: 0;
  background: var(--ikn-onyx);
  color: var(--ikn-ivory);
  font-family: var(--ikn-font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ikn-ivory);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

a:hover {
  color: var(--ikn-signal-bright);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ikn-signal-wash);
  border-color: var(--ikn-signal);
}

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

hr {
  border: 0;
  border-top: 1px solid var(--ikn-steel);
  margin: var(--s-7) 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ikn-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ikn-ivory);
}

.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;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--ikn-graphite);
  clip: auto !important;
  clip-path: none;
  color: var(--ikn-ivory);
  display: block;
  font-size: 14px;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

@media (min-width: 768px) {
  .container,
  .container-narrow {
    padding: 0 var(--s-6);
  }
}

.site-main > section {
  padding: var(--s-6) 0 var(--s-7);
  border-top: 1px solid var(--ikn-steel);
}

.site-main > section:first-child {
  border-top: 0;
}

.site-main > .hero-shell {
  border-top: 0;
}

.site-main > section.hero-shell--page {
  padding: var(--s-6) 0 var(--s-4);
}

.site-main > section.hero-shell--page.page-hero--compact {
  padding: var(--s-5) 0 var(--s-3);
}

.site-main > section.hero-shell--page .hero-title {
  margin: var(--s-3) 0 var(--s-2);
}

.site-main > section.hero-shell--home {
  padding: var(--s-8) 0 var(--s-7);
}

.site-main > .hero-shell + section {
  padding-top: var(--s-5);
}

@media (max-width: 767px) {
  .site-main > section {
    padding: var(--s-5) 0 var(--s-6);
  }

  .site-main > .hero-shell + section {
    padding-top: var(--s-4);
  }
}

.section-header {
  margin-bottom: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 680px;
}

.section-kicker {
  font-family: var(--ikn-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ikn-signal);
}

.section-title {
  font-family: var(--ikn-font-display);
  font-size: var(--text-section);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-sub {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--ikn-silver);
  max-width: 620px;
  margin: 0;
}

.entry-content {
  color: var(--ikn-silver);
  font-family: var(--ikn-font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
}

.entry-content > * + * {
  margin-top: 1.25em;
}

.entry-content h1 {
  font-size: var(--text-h1);
  line-height: 1.2;
  color: var(--ikn-ivory);
  margin-top: 0;
}

.entry-content h2 {
  font-size: var(--text-h2);
  line-height: 1.25;
  color: var(--ikn-ivory);
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.entry-content h3 {
  font-size: var(--text-h3);
  line-height: 1.3;
  color: var(--ikn-ivory);
  margin-top: 1.75em;
  margin-bottom: 0.5em;
}

.entry-content h4 {
  font-size: var(--text-h4);
  line-height: 1.35;
  color: var(--ikn-ivory);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th,
.entry-content dd,
.entry-content dt,
.entry-content blockquote,
.entry-content figcaption {
  font-family: var(--ikn-font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
}

.entry-content strong,
.entry-content b {
  font-weight: 600;
  font-size: inherit;
  color: var(--ikn-ivory);
}

.entry-content .hero-title,
.entry-content .hero-sub,
.entry-content .section-title,
.entry-content .section-kicker {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  line-height: inherit;
  margin: inherit;
  max-width: none;
  text-transform: none;
  color: inherit;
}

.entry-content [class*="elementor-"],
.entry-content [class*="et_pb_"] {
  font-size: inherit;
  line-height: inherit;
}

.entry-content a {
  color: var(--ikn-signal-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.25em;
}

.mono {
  font-family: var(--ikn-font-mono);
}

.text-signal {
  color: var(--ikn-signal);
}

.text-silver {
  color: var(--ikn-silver);
}

.text-ash {
  color: var(--ikn-ash);
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-6 {
  margin-top: var(--s-6);
}

.grid {
  display: grid;
  gap: var(--s-4);
}

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

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

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

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
