* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: calc(8px + 1.5625vw);
  /* ^ Source: https://matthewjamestaylor.com/responsive-padding */
  color-scheme: light dark;
  /* both supported */
  --color-black: #101010;
  --color-white: #fff;
  --color-grey: #6E6E6E;
  --color-light: #efefef;
  --color-accent: #1B5C58;
  --color-accent-b: #568B88;
  --color-accent-c: #1B5C5833;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  /* TODO: still need to be lightified */
  --color-code-background: #2b2d2c;
  --color-code-comment: #637777;
  --color-code-white: #d6deeb;
  --color-code-red: #d3423e;
  --color-code-orange: #f78c6c;
  --color-code-yellow: #ecc48d;
  --color-code-green: #addb67;
  --color-code-light-green: #d9f5dd;
  --color-code-aqua: #7fdbca;
  --color-code-blue: #82b1ff;
  --color-code-light-blue: #80cbc4;
  --color-code-purple: #c792ea;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo,
    Courier, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-black: #c7c7c7;
    --color-white: #101010;
    --color-grey: #888;
    --color-light: #2b2d2c;
    --color-accent: #568B88;
    --color-accent-b: #2E716D;
    --color-text: var(--color-black);
    --color-text-grey: var(--color-grey);
    --color-background: var(--color-white);
    --color-code-background: #2b2d2c;
    --color-code-comment: #637777;
    --color-code-white: #d6deeb;
    --color-code-red: #d3423e;
    --color-code-orange: #f78c6c;
    --color-code-yellow: #ecc48d;
    --color-code-green: #addb67;
    --color-code-light-green: #d9f5dd;
    --color-code-aqua: #7fdbca;
    --color-code-blue: #82b1ff;
    --color-code-light-blue: #80cbc4;
    --color-code-purple: #c792ea;
  }

  body {
    -webkit-font-smoothing: antialiased;
  }

  img {
    filter: brightness(0.8) contrast(1.2);
  }
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}

img {
  width: 100%;
}

main {
  padding: var(--padding);
  max-width: 70rem;
  margin: calc(var(--padding)*4) auto 0;
}

li {
  list-style: none;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: var(--color-black);
  text-decoration: none;
}

.text a:hover {
  color: var(--color-accent-b);
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}

strong,
b {
  font-weight: 600;
}

.bg-light {
  background-color: var(--color-light);
}

.color-grey {
  color: var(--color-text-grey);
}

.header {
  width: 100%;
  /*background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);*/
  background-color: var(--color-background);
}


/*@media (prefers-color-scheme: dark) {
  .header {
    background: rgba(16, 16, 16, 0.7);
  }
}*/

.header-inner {
  padding: 0 0 calc(var(--padding) * 0.75) 0;
  max-width: 70rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo {
  margin: calc(var(--padding) * 0.75);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo svg {
  width: auto;
  max-width: 12rem;
  color: var(--color-black);
}

.logo:hover svg {
  color: var(--color-accent);
}

.menu {
  display: flex;
  align-items: center;

}

.menu a {
  padding: calc(var(--padding)*0.33) calc(var(--padding)*0.5);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1em;
  letter-spacing: 0.025em;
  display: block;
  margin-left: calc(var(--padding)*0.33);
  color: var(--color-text);
}

.menu a:hover {
  text-decoration: underline;
  color: var(--color-accent);
}

.menu a[aria-current] {
  /*text-decoration: underline;*/
  background-color: var(--color-light);
  border-radius: 3px;
}

.menu>a {
  margin-right: calc(var(--padding)*0.75);
}

.social {
  display: flex;
  padding: 0 calc(var(--padding) * 0.5);
  align-items: center;
}

.social a {
  line-height: 100%;
  padding: 0;
  margin: 0 calc(var(--padding) * 0.5);
}

.grid {
  --columns: 12;
  --gutter: calc(var(--padding) * 2);
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.text {
  line-height: 1.6em;
}

.text a {
  text-decoration: underline;
}


.text a[href]:not(:where(

    /* exclude hash only links */
    [href^="#"],
    /* exclude relative but not double slash only links */
    [href^="/"]:not([href^="//"]),
    /* domains to exclude */
    [href*="//trans.ponder.haus"],
    [href*="//stage-trans.ponder.haus"],
    [href*="//ponder-blog.test"])) {
  display: inline-block;
  padding-right: 18px;
  margin-right: 2px;
  background-repeat: no-repeat;
  background-position: right center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B5C58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-external-link'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
}

.text a[href]:hover:not(:where(

    /* exclude hash only links */
    [href^="#"],
    /* exclude relative but not double slash only links */
    [href^="/"]:not([href^="//"]),
    /* domains to exclude */
    [href*="//trans.ponder.haus"],
    [href*="//stage-trans.ponder.haus"],
    [href*="//ponder-blog.test"])) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23568B88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-external-link'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  .text a[href]:not(:where(

      /* exclude hash only links */
      [href^="#"],
      /* exclude relative but not double slash only links */
      [href^="/"]:not([href^="//"]),
      /* domains to exclude */
      [href*="//trans.ponder.haus"],
      [href*="//stage-trans.ponder.haus"],
      [href*="//ponder-blog.test"])) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23568B88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-external-link'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
  }

  .text a[href]:hover:not(:where(

      /* exclude hash only links */
      [href^="#"],
      /* exclude relative but not double slash only links */
      [href^="/"]:not([href^="//"]),
      /* domains to exclude */
      [href*="//trans.ponder.haus"],
      [href*="//stage-trans.ponder.haus"],
      [href*="//ponder-blog.test"])) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232E716D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-external-link'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
  }
}

.text :first-child {
  margin-top: 0;
}

.text :last-child {
  margin-bottom: 0;
}

.text p,
.text ul,
.text ol {
  margin-bottom: 1em;
}

.text p {
  font-size: 1.1rem;
  line-height: 1.6em;
}

.text ul,
.text ol {
  margin-left: calc(var(--padding) * 1);
  font-size: 1.1rem;
  line-height: 1.6em;
}

.text ul p,
.text ol p {
  margin-bottom: 0;
}

.text ul>li,
.text ol>li {
  margin-bottom: calc(var(--padding) * 0.25);
}

.text ul>li {
  list-style: disc;
}

.text ol>li {
  list-style: decimal;
}

.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-top: calc(var(--padding) * 0.25);
}

.text li figcaption,
.text li figcaption {
  font-size: 1rem;
  line-height: 1.4em;
}

.text h1,
.h1 {
  font-size: 2rem;
  margin-bottom: 2em;
  line-height: 1.25em;
  font-weight: 600;
}

.text h2,
.h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25em;
  margin-bottom: 0.75em;
  margin-top: 1.75em;
}

.text h3,
.h3 {
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.5em;
  margin-bottom: 0.75em;
  margin-top: 1.5em;
}

.intro-text,
.note-intro {
  font-weight: normal;
  font-size: 1.35rem;
  line-height: 1.5em;
  margin-bottom: 1.5em;
  max-width: 40rem;
}

.intro-text {
  margin-top: 0.5em;
}

.note-intro {
  margin-top: 1em;
  color: var(--color-text-grey);
}

.text .codeblock {
  display: grid;
}

.text code {
  font-family: var(--font-family-mono);
  background: var(--color-code-background);
  padding: 0 0.5em;
  display: inline-block;
  color: var(--color-code-white);
  border-radius: 0.2rem;
}

.text pre {
  margin: calc(var(--padding) * 3) 0;
  font-size: 1em;
  background: var(--color-code-background);
  color: var(--color-code-white);
  padding: calc(var(--padding) * 1.5);
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
  border-radius: 0.2rem;
}

.text pre code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: 1em;
}

.text p code {
  background: var(--color-light);
  color: var(--color-text);
}

/*.text hr {
  margin: calc(var(--padding) * 6) 0;
}*/

.text dt {
  font-weight: 600;
}

.text blockquote {
  font-size: 1.5rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding-left: var(--padding);
  margin: calc(var(--padding) * 2) 0;
  max-width: 35rem;
}

.text blockquote footer {
  font-size: 0.875rem;
  font-style: italic;
}

.text figure {
  margin: calc(var(--padding) * 3) 0;
}

.text figcaption {
  padding-top: calc(var(--padding) * 0.75);
  color: var(--color-text-grey);
}

.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: calc(var(--padding) * 3) auto;
}

.align-center {
  text-align: center;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: calc(var(--padding) * 0.75) calc(var(--padding) * 1.75);
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: calc(var(--padding) * 1);
  border-radius: 3px;
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}

.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.img[data-contain] img {
  object-fit: contain;
}

.img-caption,
.video-caption {
  padding-top: calc(var(--padding) * 0.75);
  line-height: 1.5em;
}

.footer {
  padding: calc(var(--padding) * 4) var(--padding) calc(var(--padding) * 3);
  /*  background-color: var(--color-accent-c);
  background-image: url("/assets/images/footer-background.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;*/
}

/*@media (prefers-color-scheme: dark) {
  .footer {
    background-image: url("/assets/images/footer-background-dark.svg");
  }
}*/

.footer .grid {
  line-height: 1.5em;
  max-width: 70rem;
  margin: 0 auto;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: 0.75em;
}

.footer ul,
.footer p {
  color: var(--color-text-grey);
}

.footer p {
  max-width: 20rem;
}

.footer-nav li {
  margin-bottom: calc(var(--padding)*0.3);
}

.footer a {
  color: var(--color-text);
  text-decoration: underline;
  cursor: pointer;
}

.footer a:hover {
  color: var(--color-accent);
}

.beta-notice {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--color-accent);
  color: var(--color-white);
  /*backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);*/
}

.beta-notice p {
  padding: calc(var(--padding) * 0.2) var(--padding) calc(var(--padding) * 0.2);
  margin: 0 auto;
  line-height: 1.5em;
  max-width: 70rem;
}

.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}

.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: calc(var(--padding) * 1);
}

.margin-m {
  margin-bottom: calc(var(--padding) * 1.5);
}

.margin-l {
  margin-bottom: calc(var(--padding) * 3);
}

.margin-xl {
  margin-bottom: calc(var(--padding) * 4.5);
}

.margin-xxl {
  margin-bottom: calc(var(--padding) * 6);
}

.pagination {
  display: flex;
  padding-top: calc(var(--padding) * 2);
}

.pagination>span {
  color: var(--color-text-grey);
}

.pagination>* {
  padding: calc(var(--padding) * 0.25);
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: calc(var(--padding) * 1.5);
  font-size: calc(var(--padding) * 0.75);
}

.pagination>a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
  max-width: 60rem;
  margin-bottom: calc(var(--padding) * 1);
}

.note-excerpt a {
  color: var(--color-text);
}

.note-excerpt a:hover {
  color: var(--color-accent);
}

/*.note-excerpt figure.img {
  width: 80px;
  height: 60px;
  padding-bottom: 0;
}*/

.note-excerpt-title {
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  text-decoration: underline;
}

.note-excerpt-text {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 45rem;
  margin-bottom: calc(var(--padding) * 1.5);
}

.note-excerpt-date {
  color: var(--color-text-grey);
}

.note-excerpt-title-wrapper {
  margin-bottom: calc(var(--padding)*0.25);
}

.note-excerpt-title {
  display: inline;
  vertical-align: middle;
  padding-right: calc(var(--padding)*0.33);
}

.note-category {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.66em 1em;
  background-color: var(--color-light);
  border-radius: 5em;
  line-height: 1;
  font-weight: normal;
  color: var(--color-text);
  text-transform: capitalize;
}

.category-responsible-tech {
  /*background-color: #7fdbca33;*/
  background-color: var(--color-light);
}

a:hover .category-responsible-tech {
  background-color: #7fdbca33;
}

.category-considerate-design {
  /*background-color: #f78c6c33;*/
  background-color: var(--color-light);
}

a:hover .category-considerate-design {
  background-color: #f78c6c33;
}

.category-better-business {
  /*background-color: #addb6733;*/
  background-color: var(--color-light);
}

a:hover .category-better-business {
  background-color: #addb6733;
}

.page-section {
  margin-bottom: calc(var(--padding)*4);
}

.page-section:last-child {
  margin-bottom: 0;
}


@media screen and (min-width: 42rem) {
  .header {
    position: fixed;
    top: 0;
    z-index: 2;
  }

  .header-inner {
    padding: 0;
  }
}


@media screen and (min-width: 60rem) {

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

  .grid>.column {
    grid-column: span var(--columns);
    margin-bottom: var(--gutter);
  }

  .margin-s {
    margin-bottom: calc(var(--padding) * 0.33);
  }

  .menu>a {
    font-size: 1.25rem;
    margin-left: calc(var(--padding)*0.33);
  }

  .text p {
    font-size: 1.25rem;
    max-width: 40em;
  }

  .text ul,
  .text ol {
    font-size: 1.25rem;
  }

  .text blockquote {
    font-size: 2rem;
    max-width: 40rem;
  }

  .text blockquote footer {
    font-size: 1rem;
  }

  .text h1,
  .h1 {
    font-size: 3rem;
  }

  .text h2,
  .h2 {
    font-size: 2.25rem;
  }

  .text h3,
  .h3,
  .note-excerpt-title,
  .intro-text,
  .note-intro {
    font-size: 1.5rem;
  }

  .large-listing .note-excerpt-title {
    font-size: 1.75rem;
  }

  .note-excerpt-text {
    font-size: 1.1rem;
  }

  .text pre code {
    font-size: 1.1em;
  }

  .text p code {
    font-size: 0.9em;
  }

  .note-category {
    font-size: 0.85rem;
  }

  .logo svg {
    max-width: 16rem;
  }

}


@media screen and (min-width: 72rem) {

  .logo {
    margin: calc(var(--padding) * 0.75) calc(var(--padding) * 0.75) calc(var(--padding) * 0.75) 0;
  }
}