/* Self-hosted fonts — latin subset only */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/merriweather-normal-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/merriweather-normal-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/merriweather-italic-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/open-sans.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/roboto-flex.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --bg: #ffffff;
  --bgSoft: #f2f2f2;
  --text: #000000;
  --textSoft: #555555;
  --textBlue: #0039d8;
  --textHover: #00c79f;
  --border: #e0e0e0;
}

* {
  margin: 0;
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

body{
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  font-size: 16px;
  margin: auto;
  position: relative;
}

p {
  margin-bottom: 1.2em;
}

a {
  color: var(--textBlue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:visited{
  color: var(--textBlue);
}

a:hover {
  color: var(--textHover);
  text-decoration-thickness: 2px;
}



.container {
  max-width: 800px;
  padding-left: min(4vw, 2rem);
  padding-right: min(4vw, 2rem);
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 480px) {
  .container {
    padding-left: min(5vw, 1rem);
    padding-right: min(5vw, 1rem);
  }
}

/* Homepage */
.homepage {
  font-family: Merriweather, serif;
  line-height: 1.75;

  h1{
      margin-bottom: 1rem;
      font-size: 2rem;
      font-weight: 600;
      line-height: 1.3;
      font-family: "Roboto Flex", "Open Sans", sans-serif;
  }

  p {
      font-size: 1rem;
      margin-bottom: 1.25em;
  }

  hr{
      margin-bottom: 1.5rem;
      border: none;
      height: 1px;
      background: var(--border);
  }

  img {
      display: block;
      margin: 0 auto;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--border);
  }

  figure{
      margin-bottom: 1.5rem;
  }

  figcaption {
      font-style: italic;
      font-size: 0.875rem;
      color: var(--textSoft);
      text-align: center;
      margin-top: 0.5rem;
      line-height: 1.4;
      font-family: "Open Sans", sans-serif;
  }
}


@media (max-width: 768px) {
  .homepage h1 {
    font-size: 1.875rem;
  }
}

@media (max-width: 480px) {
  .homepage img {
    width: 150px;
    height: 150px;
    border: 2px solid var(--border);
  }

  .homepage h1 {
    font-size: 1.625rem;
    margin-bottom: 0.75rem;
  }

  .homepage p {
    font-size: 1rem;
  }
}
/* Homepage End */

/* FOOTNOTES */
.footnotes {
  font-family: Merriweather, serif;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--textSoft);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1rem;
}

.footnotes p {
  font-size: inherit;
  margin-bottom: 0;
}

.footnotes ol {
  padding-left: 1.25rem;
}

.footnotes li {
  margin-bottom: 0.5rem;
}

/* Hide the automatic hr that appears before footnotes */
div.footnotes hr:first-child {
  display: none;
}

/* Footnote reference superscripts in body text */
a.footnote-ref {
  text-decoration: none;
  color: var(--textBlue);
  font-size: 0.75em;
  vertical-align: super;
  line-height: 0;
}

a.footnote-ref:hover {
  color: var(--textHover);
  text-decoration: none;
}

/* Back-reference links at the end of each footnote */
a.footnote-backref {
  text-decoration: none;
  color: var(--textSoft);
  margin-left: 0.25rem;
}

a.footnote-backref:hover {
  color: var(--textBlue);
}

@media (max-width: 480px) {
  .footnotes {
    font-size: 0.825rem;
    padding-top: 0.75rem;
    margin-top: 1.5rem;
  }
}

/* FOOTNOTES END */

/* HEADER START */

/* Header styling */
.site-header {
  text-align: center;
  /* margin-bottom: 20px; */
  padding: 10px;
  background-color: var(--bg);
  /* border-bottom: 1px solid #ddd; */
}

.logo {
  width: 300px; /*Adjust width as necessary */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* HEADER END */


/* FOOTER START */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: var(--bg); /* Change this to your preferred background color */
}

.footer a {
  text-decoration: none;
  color: var(--textBlue);
  margin: 0 10px;
  position: relative;
}

.footer a:not(:first-child)::before {
  content: "|";
  position: absolute;
  left: -15px;
  color: var(--textSoft);
}

.footer a:first-child {
  margin-left: 0; /* Remove left margin for the first link */
}

.footer a:last-child {
  margin-right: 0; /* Remove right margin for the last link */
}

@media (max-width: 768px) {
  .footer {
      padding: 1rem;
  }

  .footer a {
      margin: 0 0.75rem;
      font-size: 0.95rem;
  }

  .footer a:not(:first-child)::before {
      left: -12px;
  }
}

@media (max-width: 480px) {
  .footer {
      padding: 0.75rem 0.25rem;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 0.25rem 0;
  }

  .footer a {
      margin: 0 0.25rem;
      font-size: 0.8rem;
      white-space: nowrap;
  }

  .footer a:not(:first-child)::before {
      left: -6px;
      font-size: 0.8rem;
  }
}
/* FOOTER END   */

hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 1rem 0 1.5rem;
}

/* BLOG SINGLE START */
.blog-header{
  line-height: 1.1;
  margin-bottom: 1rem;
  font-size: 1.875rem;
  margin-top: 1rem;
  color: var(--text);
  font-weight: 600;
  font-family: "Roboto Flex", "Open Sans", sans-serif;
}



.blog-single{
  font-family: Merriweather, serif;
  line-height: 1.73;

  img{
      width: 100%;
      margin: 1rem 0;
  }

  h1,h2,h3,h4,h5,h6 {
      margin-bottom: 1rem;
      margin-top: 2rem;
      line-height: 1.3;
      font-weight: 600;
  }

  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.875rem; }

  blockquote{
      margin: 1.5rem 0;
      font-style: italic;
      color: var(--textSoft);
      padding: 1rem 1.5rem;
      border-left: 4px solid var(--textBlue);
      line-height: 1.6;
      background: var(--bgSoft);
    }
    
   
    blockquote::after{
      content: '';
    }
    
    blockquote span{
      display:block;
      color: var(--text);
      font-style: normal;
      font-weight: bold;
      margin-top:1em;
      text-align: end;
    }

    blockquote p{
      margin-bottom: 5px;
    }

    pre {
      padding: 1rem;
      overflow: auto;
      font-size: 0.875rem;
      line-height: 1.5;
      color: var(--text);
      background-color: var(--bgSoft);
      border-radius: 4px;
      border: 1px solid var(--border);
      margin: 1rem 0;
      font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
    }

    pre code {
      display: inline;
      max-width: auto;
      padding: 0;
      margin: 0;
      overflow: visible;
      line-height: inherit;
      word-wrap: normal;
      background-color: transparent;
      border: 0;
      font-size: inherit;
    }

    code {
      font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
      font-size: 0.875em;
      background-color: var(--bgSoft);
      padding: 0.2em 0.4em;
      border-radius: 3px;
      border: 1px solid var(--border);
    }

    figure {
      margin: 1.5rem 0;
    }

    figcaption {
      font-style: italic;
      font-size: 0.875rem;
      color: var(--textSoft);
      text-align: center;
      margin-top: 0.5rem;
      line-height: 1.4;
    }

  /* Mobile responsiveness */
  @media (max-width: 768px) {
      h1 { font-size: 1.75rem; }
      h2 { font-size: 1.375rem; }
      h3 { font-size: 1.125rem; }

      blockquote {
        padding: 0.75rem 1rem;
        margin: 1.25rem 0;
      }

      pre {
        font-size: 0.8rem;
        padding: 0.75rem;
        overflow-x: auto;
      }
  }

  @media (max-width: 480px) {
      font-size: 1rem;
      line-height: 1.6;

      h1 {
        font-size: 1.625rem;
        margin-top: 1.5rem;
      }
      h2 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
      }
      h3 {
        font-size: 1.125rem;
        margin-top: 1.25rem;
      }

      blockquote {
        padding: 0.5rem 0.75rem;
        margin: 1rem 0;
        font-size: 0.95rem;
      }

      pre {
        font-size: 0.75rem;
        padding: 0.5rem;
        border-radius: 3px;
      }

      code {
        font-size: 0.8em;
        padding: 0.15em 0.3em;
      }

      figcaption {
        font-size: 0.8rem;
        margin-top: 0.375rem;
      }
  }

}

/* 404 Pages */
.container404 {
  text-align: center;
  padding: 20px;

  h1 {
      font-size: 6rem;
      color: var(--textBlue);
      margin: 0;
      font-weight: 700;
  }

  p {
      font-size: 1.2rem;
      margin: 10px 0;
      color: var(--textSoft);
  }
}
/* Responsive styles */
@media (max-width: 600px) {
  .container404 {    
      h1 {
      font-size: 4rem;
      }
  
      p {
      font-size: 1rem;
      }
  
      .home-link {
      padding: 8px 16px;
      font-size: 0.9rem;
      }
  
  }
}

/** CV **/

.resume {
  font-family: Merriweather, serif;
  font-size: 1rem;
  line-height: 1.75;
}

.resume h1 {
  font-family: "Roboto Flex", "Open Sans", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.resume h2 {
  font-family: "Roboto Flex", "Open Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.resume h3,
.resume h4 {
  font-family: "Roboto Flex", "Open Sans", sans-serif;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.resume ul {
  margin-bottom: 1.25rem;
}

.resume .contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.25rem;
  color: var(--textSoft);
  font-family: "Open Sans", sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
}

.resume .contact div {
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.resume .contact div img {
  margin-right: 5px;
}

.resume a {
  color: var(--textBlue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.resume a:hover {
  color: var(--textHover);
  text-decoration-thickness: 2px;
}

@media (max-width: 768px) {
  .resume h1 {
    font-size: 1.75rem;
  }

  .resume h2 {
    font-size: 1.125rem;
  }

  .resume .contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .resume .contact div {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .resume h1 {
    font-size: 1.5rem;
  }

  .resume h2 {
    font-size: 1rem;
  }

  .resume .contact div {
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
}

/* JOURNAL START */

.journal-container {
  padding: 1rem 0;
}

.journal-entry {
  padding: 2.5rem 0;
}

.journal-title {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.1;
  font-family: "Roboto Flex", "Open Sans", sans-serif;
}

.journal-title a {
  color: var(--text);
  text-decoration: none;
}

.journal-title a:hover {
  color: var(--textBlue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.journal-byline {
  font-size: 0.8rem;
  color: var(--textSoft);
  margin-bottom: 1.25rem;
  font-family: "Open Sans", sans-serif;
  letter-spacing: 0.01em;
}

/* Link share callout — card style, distinct from blockquote */
.journal-link-callout {
  display: block;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  margin-top: 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--textBlue);
  text-decoration: none;
  word-break: break-all;
}

.journal-link-callout:hover {
  border-color: var(--textBlue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* Blockquote in journal — left rule, italic, no background */
.journal-body blockquote,
.journal-single-body blockquote {
  border-left: 3px solid var(--border);
  margin: 1.25rem 0;
  padding: 0 0 0 1.1rem;
  font-style: italic;
  color: var(--textSoft);
}

.journal-body blockquote p,
.journal-single-body blockquote p {
  margin-bottom: 0;
}

.journal-body {
  font-size: 1rem;
  line-height: 1.75;
  font-family: Merriweather, serif;
}

.journal-body p {
  margin-bottom: 1.25em;
}

.journal-body p:last-child {
  margin-bottom: 0;
}

/* Images: fill column width, scale proportionally */
.journal-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
  border-radius: 4px;
}

.journal-body figure {
  margin: 1.25rem 0;
}

.journal-body figcaption {
  font-style: italic;
  font-size: 0.8rem;
  color: var(--textSoft);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Responsive video — handles Hugo's youtube shortcode wrapper div */
.journal-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  margin: 1rem 0;
  display: block;
}

/* Hugo youtube shortcode wraps iframe in a div with inline padding-bottom styles */
.journal-body > div,
.journal-body > p > div {
  position: relative;
  margin: 1rem 0;
}

.journal-body > div iframe,
.journal-body > p > div iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Aspect ratio container for the shortcode wrapper */
.journal-body div[style*="padding-bottom"] {
  margin: 1rem 0;
}

/* Divider between entries */
.journal-container > hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* Single entry page */
.journal-single-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.journal-single-header h1 {
  font-size: 1.625rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  line-height: 1.1;
  font-family: "Roboto Flex", "Open Sans", sans-serif;
}

.journal-back {
  font-size: 0.82rem;
  color: var(--textSoft);
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
  font-family: "Open Sans", sans-serif;
}

.journal-back:hover {
  color: var(--textBlue);
}

.journal-single-body {
  font-size: 1rem;
  line-height: 1.75;
  font-family: Merriweather, serif;
}

.journal-single-body p {
  margin-bottom: 1.1em;
}

/* Images on single page: fill column width */
.journal-single-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 1.25rem 0;
  border-radius: 4px;
}

.journal-single-body figure {
  margin: 1.75rem 0;
}

.journal-single-body figcaption {
  font-style: italic;
  font-size: 0.8rem;
  color: var(--textSoft);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.journal-single-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  margin: 1.25rem 0;
  display: block;
}

.journal-single-body > div,
.journal-single-body > p > div {
  position: relative;
  margin: 1.25rem 0;
}

.journal-single-body > div iframe,
.journal-single-body > p > div iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .journal-single-header h1 {
    font-size: 1.4rem;
  }

  .journal-entry {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .journal-entry {
    padding: 1.75rem 0;
  }

  .journal-body {
    font-size: 1rem;
  }

  .journal-single-body {
    font-size: 1rem;
  }
}

.journal-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0 1rem;
  font-size: 0.9rem;
}

.journal-page-link {
  color: var(--textBlue);
  text-decoration: none;
}

.journal-page-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.journal-page-info {
  color: var(--textSoft);
  font-size: 0.82rem;
}

/* JOURNAL END */


/* ── BLOG LIST: Editorial layout ── */

.bl-a-container { padding: 0; }

.bl-a-month-section { margin-bottom: 2.5rem; }

.bl-a-month-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--textSoft);
  margin-bottom: 1.25rem;
}

.bl-a-entry { margin-bottom: 1.75rem; }

.bl-a-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.bl-a-title:hover { color: var(--textBlue); text-decoration: none; }

.bl-a-desc {
  font-size: 0.9rem;
  color: var(--textSoft);
  line-height: 1.5;
  margin: 0 0 0.4rem;
}

.bl-a-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--textSoft);
  font-family: "Open Sans", sans-serif;
}

.bl-a-cat {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bl-a-meta span + span::before {
  content: '·';
  margin-right: 0.5rem;
}

/* BLOG LIST END */


/* ── BLOG SINGLE: post enhancements ── */

.blog-back-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--textSoft);
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.blog-back-link:hover { color: var(--text); text-decoration: none; }

.blog-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  font-size: 0.78rem;
  color: var(--textSoft);
  font-family: "Open Sans", sans-serif;
  margin-top: 0.5rem;
}

.blog-meta-row span + span::before {
  content: '·';
  margin-right: 0.6rem;
}

.blog-meta-cat {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--textSoft);
  font-family: "Open Sans", sans-serif;
}

.blog-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.blog-share {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.blog-share-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--textSoft);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  transition: color 0.12s, border-color 0.12s;
}

.blog-share-btn:hover { color: var(--text); border-color: var(--text); text-decoration: none; }

.blog-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.blog-post-nav-prev,
.blog-post-nav-next {
  font-size: 0.85rem;
  color: var(--textSoft);
  text-decoration: none;
  line-height: 1.4;
  max-width: 45%;
}

.blog-post-nav-next { text-align: right; margin-left: auto; }

.blog-post-nav-prev:hover,
.blog-post-nav-next:hover { color: var(--text); text-decoration: none; }

@media (max-width: 480px) {
  .blog-post-nav { flex-direction: column; gap: 0.75rem; }
  .blog-post-nav-prev,
  .blog-post-nav-next { max-width: 100%; text-align: left; }
}

/* BLOG SINGLE END */

/* ── Empty state ── */
.empty-state {
  color: var(--textSoft);
  font-family: Merriweather, serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 2rem;
}

/* ===================== NAVBAR — Logo left, nav right ===================== */

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/raleway.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.nav-b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.nav-b nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-b nav a {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--textSoft);
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.nav-b nav a:hover { color: var(--text); background: var(--bgSoft); text-decoration: none; }
.nav-b nav a.active { color: var(--text); font-weight: 600; }

.logo-b-text {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.logo-b-brand {
  font-family: "Raleway", sans-serif;
  font-size: 1.9rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-b-sm { font-weight: 900; color: #3a3aad; }
.logo-b-rest { font-weight: 300; }

.logo-b-tagline {
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: none;
  color: #3a3aad;
  margin-top: 0.05rem;
}

@media (max-width: 480px) {
  .logo-b-brand { font-size: 1.4rem; }
  .logo-b-tagline { font-size: 0.62rem; }
  .nav-b nav a {
    font-size: 0.9rem;
    padding: 0.2rem 0.4rem;
  }
}
