/* Background overrides for the five main pages. */
body.theme-2026,
body.theme-2026 .parent-div,
body.theme-2026 .macbook-air--without-pink,
body.theme-2026 .container,
body.theme-2026 .about-me {
  background-color: #FAF9F6;
}

/* Shared navigation refresh; the Benzin face and existing link colors stay inherited. */
body.theme-2026 .about-me { gap: 5.6px; }
body.theme-2026 .about-me .me-link {
  text-transform: uppercase;
  font-size: .7em;
  letter-spacing: .02em;
}
@media (max-width: 768px) {
  body.theme-2026 .about-me { gap: 10.5px; }
}

@media (max-width: 768px) {
  body.theme-2026 .hamburger-menu { right: 20px; }
  body.theme-2026 .about-me {
    width: max-content;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    padding: 20px 24px;
    margin-top: 0;
    /* Toggle: top 15px + three 7.5px bars, then 8px clearance. */
    top: 45.5px;
  }
  body.theme-2026 .about-me.nav-active { right: 20px; }
}

/* Main-page typography; retain existing body sizes, weights and link treatments. */
body.theme-2026,
body.theme-2026 .heading,
body.theme-2026 .product-heading,
body.theme-2026 :is(p, li, figcaption, time),
body.theme-2026 a:not(.me-link):not(.home-button),
body.theme-2026 .essay-title {
  font-family: 'Roboto Mono', monospace;
}

/* Match the homepage name's box and mobile text inset at every width. */
body.theme-2026 .page-header {
  position: absolute;
  top: 18px;
  left: 1.95%;
  width: calc(100% - 3.9%);
}
body.theme-2026 .page-title {
  display: block;
  font-family: Benzin-Medium;
  font-size: calc(27 * var(--ratio));
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: #000;
}
body.theme-2026 .page-subtitle {
  margin: 8px 0 0;
  font-size: 1.2em;
  line-height: 1.8;
  color: #575757;
  text-transform: lowercase;
}

/* Retain the iframe's 150px centered slot without an embedded document. */
body.theme-2026 .home-button-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 150px;
}
body.theme-2026 .home-button {
  --button-scale: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(20px * var(--button-scale)) calc(30px * var(--button-scale)) calc(25px * var(--button-scale));
  background-color: #fefefe;
  color: #2c2c2c;
  font-family: 'Benzin-Regular', 'Benzin-Medium', sans-serif;
  font-size: calc(18px * var(--button-scale));
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border-radius: calc(37.5px * var(--button-scale));
  box-shadow:
    0 calc(7.5px * var(--button-scale)) calc(15px * var(--button-scale)) rgba(0, 0, 0, 0.15),
    0 calc(11.25px * var(--button-scale)) calc(22.5px * var(--button-scale)) rgba(0, 0, 0, 0.1),
    0 calc(15px * var(--button-scale)) calc(37.5px * var(--button-scale)) rgba(0, 0, 0, 0.05),
    inset 0 calc(-6px * var(--button-scale)) 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
body.theme-2026 .home-button:hover {
  transform: translateY(calc(-3.75px * var(--button-scale)));
  box-shadow:
    0 calc(7.5px * var(--button-scale)) calc(15px * var(--button-scale)) rgba(0, 0, 0, 0.2),
    0 calc(11.25px * var(--button-scale)) calc(22.5px * var(--button-scale)) rgba(0, 0, 0, 0.15),
    0 calc(15px * var(--button-scale)) calc(37.5px * var(--button-scale)) rgba(0, 0, 0, 0.1),
    inset 0 calc(-4.5px * var(--button-scale)) 0 rgba(0, 0, 0, 0.1);
}
body.theme-2026 .home-button:active {
  transform: translateY(calc(1.5px * var(--button-scale)));
  box-shadow:
    0 calc(6px * var(--button-scale)) calc(12px * var(--button-scale)) rgba(0, 0, 0, 0.15),
    0 calc(9px * var(--button-scale)) calc(18px * var(--button-scale)) rgba(0, 0, 0, 0.1),
    0 calc(11.25px * var(--button-scale)) calc(30px * var(--button-scale)) rgba(0, 0, 0, 0.05),
    inset 0 calc(-3px * var(--button-scale)) 0 rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  body.theme-2026 .page-header { top: 10px; }
  body.theme-2026 .page-title {
    padding-left: 10px;
    font-size: calc(41.65 * var(--ratio));
  }
  body.theme-2026 .page-subtitle {
    margin-left: 10px;
    font-size: .65em;
    line-height: 2;
  }
  body.theme-2026.principles-page .heading { top: 50px; }
  body.theme-2026 .home-button { --button-scale: .85; }
}
