@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@200..800&display=swap');

:root {
  --mina-shell-bg: var(--mina-ui-bg, #080909);
  --mina-shell-text: var(--mina-ui-text, #f7f7f3);
  --mina-shell-muted: var(--mina-ui-muted, #c7ccca);
  --mina-shell-border: var(--mina-ui-border, #6f7774);
  --mina-shell-accent: var(--mina-ui-accent, #ff5151);
  --mina-shell-surface: var(--mina-ui-surface, #111412);
  --mina-shell-body: var(--body-font, Helvetica, Arial, sans-serif);
  --mina-shell-title: var(--title-font, 'Oxanium', 'Arial Narrow', Arial, sans-serif);
}

.dekoboko-project-body {
  margin-top: clamp(2rem, 5vw, 4.5rem);
}

.dekoboko-project-body > :first-child {
  margin-top: 0;
}

.dekoboko-project-body h2,
.dekoboko-project-body h3,
.dekoboko-project-body h4 {
  margin-top: 2.25em;
}

.dekoboko-project-body ul,
.dekoboko-project-body ol {
  margin: 1.25rem 0;
  padding-left: 1.4em;
}

.dekoboko-project-body li + li {
  margin-top: 0.55em;
}

.dekoboko-project-body blockquote {
  margin: 1.75rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--mina-ui-border, currentColor);
}

.dekoboko-project-body pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--mina-ui-border, currentColor);
  background: var(--mina-ui-surface-subtle, transparent);
}

.dekoboko-project-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

@media (prefers-color-scheme: light) {
  :root {
    --mina-shell-bg: #f4f5f2;
    --mina-shell-text: #111312;
    --mina-shell-muted: #454b48;
    --mina-shell-border: #737b77;
    --mina-shell-accent: #b71920;
    --mina-shell-surface: #eceee9;
  }
}

body.mina-static-shell {
  min-height: 100vh;
  background: var(--mina-shell-bg);
  color: var(--mina-shell-text);
  font-family: var(--mina-shell-body);
}

.mina-static-header,
.mina-static-header * {
  box-sizing: border-box;
}

.mina-static-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 4rem;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid color-mix(in srgb, var(--mina-shell-border) 62%, transparent);
  background: color-mix(in srgb, var(--mina-shell-bg) 78%, transparent);
  color: var(--mina-shell-text);
  -webkit-backdrop-filter: blur(28px) saturate(1.12);
  backdrop-filter: blur(28px) saturate(1.12);
}

.mina-static-header__brand {
  flex: 0 0 auto;
  color: inherit;
  font-family: var(--mina-shell-title);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.mina-static-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.35rem, 1.5vw, 1.2rem);
  overflow-x: auto;
}

.mina-static-header__nav a {
  flex: 0 0 auto;
  padding: 0.35rem 0.1rem;
  border-bottom: 1px solid transparent;
  color: var(--mina-shell-muted);
  font-family: var(--mina-shell-title);
  font-size: 0.82rem;
  font-weight: 350;
  line-height: 1.2;
  text-decoration: none;
}

.mina-static-header__nav a:hover,
.mina-static-header__nav a:focus-visible,
.mina-static-header__nav a[aria-current="page"] {
  border-bottom-color: currentColor;
  color: var(--mina-shell-text);
}

.mina-static-header__nav a:focus-visible,
.mina-static-header__brand:focus-visible {
  outline: 2px solid var(--mina-shell-accent);
  outline-offset: 4px;
}

.mina-static-header__index {
  margin-inline: 0.35rem;
  color: var(--mina-shell-text) !important;
}

body.mina-static-shell .skip-link {
  z-index: 1100;
}

body.mina-legacy-content .main-fluid,
body.mina-legacy-content #primary,
body.mina-legacy-content #content,
body.mina-legacy-content article,
body.mina-legacy-content .the-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

body.mina-legacy-content .the-content {
  width: min(76rem, calc(100vw - 2rem));
  margin-inline: auto;
  padding-block: clamp(2.5rem, 7vw, 6rem);
}

body.archive-index-page {
  overflow-x: hidden;
}

body.archive-index-page .main-fluid,
body.archive-index-page #primary,
body.archive-index-page #content,
body.archive-index-page article,
body.archive-index-page .the-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0;
}

body.archive-index-page .the-content {
  padding-block: clamp(2.5rem, 7vw, 6rem) 0;
}

body.archive-index-page .mina-page-context {
  margin-inline: clamp(1rem, 4vw, 3rem);
}

.mina-page-context {
  display: grid;
  gap: 0.85rem;
  margin-bottom: clamp(2.5rem, 7vw, 6rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--mina-shell-border);
}

.mina-page-context__route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 !important;
  color: var(--mina-shell-muted) !important;
  font-family: var(--mina-shell-title);
  font-size: 0.78rem !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

.mina-page-context__route a {
  color: var(--mina-shell-text);
  text-underline-offset: 0.24em;
}

.mina-page-context h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--mina-shell-text) !important;
  font-family: var(--mina-shell-title);
  font-size: clamp(2.7rem, 8vw, 7rem);
  font-weight: 350;
  line-height: 0.92;
  letter-spacing: 0;
}

body.mina-legacy-content .the-content > .Title,
body.mina-legacy-content .the-content > .pagetitle {
  display: none;
}

.mina-document-title {
  max-width: 18ch;
  margin: 0 0 clamp(1.5rem, 4vw, 3rem);
  color: var(--mina-shell-text) !important;
  font-family: var(--mina-shell-title);
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
}

.mina-document-title a {
  color: inherit;
}

.mina-document-descriptor {
  margin: calc(clamp(2.5rem, 7vw, 6rem) * -0.72) 0 clamp(2rem, 5vw, 4rem) !important;
  color: var(--mina-shell-muted) !important;
  font-family: var(--mina-shell-title) !important;
  font-size: clamp(1rem, 2vw, 1.35rem) !important;
  line-height: 1.3 !important;
}

.mina-content-note {
  max-width: 72ch;
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  padding: 1rem;
  border: 1px solid var(--mina-shell-border);
  background: var(--mina-shell-surface);
  color: var(--mina-shell-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.mina-content-note strong {
  font-family: var(--mina-shell-title);
  font-weight: 550;
}

body.mina-legacy-content .the-content > .pageintro,
body.mina-legacy-content .the-content > .legacy-project-meta {
  display: block;
  max-width: 68rem;
  margin: 0.5rem 0 !important;
  color: var(--mina-shell-muted) !important;
  font-family: var(--mina-shell-body);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: left !important;
  text-transform: uppercase;
}

body.mina-legacy-content .the-content > .pageintro + hr,
body.mina-legacy-content .the-content > .legacy-project-meta + .pageintro + hr,
body.mina-legacy-content .the-content > .pagetitle + .legacy-project-meta {
  margin-top: 1rem;
}

body.mina-legacy-content .the-content > hr {
  margin: clamp(1.5rem, 4vw, 3rem) 0;
  border: 0;
  border-top: 1px solid var(--mina-shell-border);
}

body.mina-legacy-content .the-content p,
body.mina-legacy-content .the-content .intro,
body.mina-legacy-content .the-content .text,
body.mina-legacy-content .the-content .scripturebody,
body.mina-legacy-content .the-content .scripturefootnotes,
body.mina-legacy-content .the-content .article {
  max-width: 72ch;
  color: var(--mina-shell-text) !important;
  font-family: var(--mina-shell-body);
  line-height: 1.62;
}

body.mina-legacy-content .the-content .intro,
body.mina-legacy-content .the-content .text,
body.mina-legacy-content .the-content .article {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-style: normal;
  font-weight: 400;
  text-align: left;
}

body.mina-legacy-content .the-content .scripturebody {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-style: normal;
  text-align: left;
}

body.mina-legacy-content .the-content .scripturefootnotes {
  margin: 0;
  color: var(--mina-shell-muted) !important;
  font-size: 0.9rem;
  font-style: normal;
  text-align: left;
}

body.mina-legacy-content .the-content img,
body.mina-legacy-content .the-content video,
body.mina-legacy-content .the-content iframe,
body.mina-legacy-content .the-content canvas {
  max-width: 100%;
}

body.mina-legacy-content .the-content a {
  text-underline-offset: 0.22em;
}

.about-main {
  width: min(76rem, calc(100vw - 2rem));
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(4rem, 10vw, 8rem);
}

.about-hero {
  display: grid;
  gap: 1.25rem;
  max-width: 68rem;
  margin: 0 0 clamp(5rem, 12vw, 10rem);
  padding: 0;
  background: transparent;
}

.about-kicker {
  margin: 0;
  color: var(--mina-shell-muted);
  font-family: var(--mina-shell-title);
  font-size: 0.78rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--mina-shell-text);
  font-family: var(--mina-shell-title);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 350;
  line-height: 0.9;
}

.about-lede {
  max-width: 56rem;
  margin: 0;
  color: var(--mina-shell-text);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  line-height: 1.35;
}

.about-sections {
  border-top: 1px solid var(--mina-shell-border);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(3rem, 0.25fr) minmax(0, 1.75fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  margin: 0;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--mina-shell-border);
  background: transparent;
}

.about-section__number {
  margin: 0;
  color: var(--mina-shell-muted);
  font-family: var(--mina-shell-title);
  font-size: 0.8rem;
}

.about-section h2 {
  margin: 0 0 1.5rem;
  color: var(--mina-shell-text);
  font-family: var(--mina-shell-title);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 350;
  line-height: 1;
}

.about-section p:not(.about-section__number) {
  max-width: 72ch;
  margin: 0 0 1.25rem;
  color: var(--mina-shell-text);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.65;
}

.about-section a,
.about-next a {
  color: var(--mina-shell-text);
  text-underline-offset: 0.22em;
}

.about-section a:hover,
.about-section a:focus-visible,
.about-next a:hover,
.about-next a:focus-visible {
  color: var(--mina-shell-accent);
}

.about-next {
  margin-top: clamp(5rem, 12vw, 10rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--mina-shell-border);
  background: var(--mina-shell-surface);
}

.about-next h2 {
  max-width: 18ch;
  margin: 1rem 0 clamp(2rem, 5vw, 4rem);
  color: var(--mina-shell-text);
  font-family: var(--mina-shell-title);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 350;
  line-height: 1;
}

.about-next__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--mina-shell-border);
}

.about-next__links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-right: 1px solid var(--mina-shell-border);
  text-decoration: none;
}

.about-next__links a:last-child {
  border-right: 0;
}

body.scripture-page {
  overflow-x: clip;
}

body.scripture-page .scripturebody,
body.scripture-page .scripturefootnotes {
  width: calc(100vw - (2 * clamp(1rem, 4vw, 3rem)));
  max-width: none !important;
  margin-left: 50% !important;
  transform: translateX(-50%);
}

body.scripture-page .scripturebody {
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--mina-shell-border);
  border-bottom: 1px solid var(--mina-shell-border);
  column-count: 2;
  column-gap: clamp(3rem, 8vw, 8rem);
  column-rule: 1px solid color-mix(in srgb, var(--mina-shell-border) 60%, transparent);
  column-fill: balance;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.05rem, 1.45vw, 1.24rem) !important;
  line-height: 1.72 !important;
  text-align: justify !important;
  text-wrap: pretty;
  hyphens: auto;
}

body.scripture-page .scripture-verse {
  break-inside: avoid;
  margin: 0 0 1.05em !important;
  color: var(--mina-shell-text) !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  text-align: inherit !important;
  orphans: 3;
  widows: 3;
}

.scripture-reference-target {
  scroll-margin-top: 7rem;
  border-radius: 0.18em;
  transition: background-color 0.2s ease, outline-color 0.2s ease;
}

.scripture-reference-target:target {
  outline: 2px solid var(--mina-shell-accent);
  outline-offset: 0.14em;
  background: color-mix(in srgb, var(--mina-shell-accent) 20%, transparent);
}

.scripture-reference {
  color: inherit !important;
  font: inherit;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: color-mix(in srgb, var(--mina-shell-accent) 72%, transparent);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.14em;
}

.scripture-reference sup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35em;
  min-height: 1.35em;
  margin-left: 0.08em;
  border-radius: 50%;
  color: var(--mina-shell-accent) !important;
  font-family: var(--mina-shell-title);
  font-size: 0.72em;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.scripture-reference:hover,
.scripture-reference:focus-visible {
  outline: 1px solid var(--mina-shell-accent);
  outline-offset: 2px;
}

body.scripture-page .scripturefootnotes {
  display: block;
  column-count: 3;
  column-gap: clamp(1rem, 2vw, 1.5rem);
  column-rule: 1px solid color-mix(in srgb, var(--mina-shell-border) 72%, transparent);
  column-fill: balance;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

body.scripture-page.mina-legacy-content .the-content > .intro {
  max-width: 68rem;
  margin: 0 auto clamp(2.5rem, 6vw, 5rem) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  text-align: center;
}

body.scripture-page .scripture-footnote {
  break-inside: avoid;
  scroll-margin-top: 6rem;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.22rem 0.3rem 0.32rem;
  border: 0;
  color: var(--mina-shell-muted) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 0.86rem !important;
  line-height: 1.38 !important;
  transition: background-color 0.2s ease, color 0.2s ease, outline-color 0.2s ease;
}

body.scripture-page .scripture-footnote:target {
  outline: 2px solid var(--mina-shell-accent);
  outline-offset: -2px;
  background: color-mix(in srgb, var(--mina-shell-accent) 18%, var(--mina-shell-surface));
  color: var(--mina-shell-text) !important;
}

.scripture-footnote__backlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  min-height: 1.6rem;
  color: var(--mina-shell-accent) !important;
  font-family: var(--mina-shell-title);
  text-decoration: none;
}

@media (max-width: 767px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-next__links {
    grid-template-columns: 1fr;
  }

  .about-next__links a,
  .about-next__links a:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--mina-shell-border);
  }

  .about-next__links a:last-child {
    border-bottom: 0;
  }

  body.scripture-page .scripturebody {
    column-count: 1;
    text-align: left !important;
  }

  body.scripture-page .scripturefootnotes {
    column-count: 1;
    column-rule: 0;
  }
}

.mina-cv {
  display: grid;
  gap: clamp(2.5rem, 7vw, 5rem);
}

.mina-cv__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--mina-shell-border);
}

.mina-cv__intro p {
  max-width: 54rem;
  margin: 0;
  color: var(--mina-shell-muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.mina-cv__download {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--mina-shell-border);
  color: var(--mina-shell-text);
  text-decoration: none;
}

.mina-cv__download:hover,
.mina-cv__download:focus-visible {
  border-color: var(--mina-shell-accent);
  color: var(--mina-shell-accent);
}

.mina-cv__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.mina-cv__section {
  border-top: 1px solid var(--mina-shell-border);
  padding-top: 1rem;
}

.mina-cv__section h2 {
  margin: 0 0 1.2rem;
  color: var(--mina-shell-text);
  font-family: var(--mina-shell-title);
  font-size: clamp(1.5rem, 3.5vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
}

.mina-cv__section ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mina-cv__section li {
  color: var(--mina-shell-text);
  line-height: 1.45;
}

.mina-cv__section li span {
  display: block;
  margin-top: 0.12rem;
  color: var(--mina-shell-muted);
  font-size: 0.88rem;
}

.mina-cv__section--wide {
  grid-column: 1 / -1;
}

.mina-cv__section--wide ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 2rem;
}

@media (max-width: 767px) {
  .mina-static-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    min-height: auto;
  }

  .mina-static-header__nav {
    justify-content: flex-start;
    width: 100%;
  }

  .mina-cv__intro,
  .mina-cv__grid {
    grid-template-columns: 1fr;
  }

  .mina-cv__download {
    justify-self: start;
  }

  .mina-cv__section--wide {
    grid-column: auto;
  }

  .mina-cv__section--wide ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mina-static-header {
    scroll-behavior: auto;
  }
}
