:root {
  --padding: 1.5rem;
  --card-padding: .5rem;
  --card-nav-height: 3.5rem;
  --chrome-bar-height: 60px; /* updated by JS on homepage scroll */
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);




  /* CARD gradient palette */
  --grad-blue:  #CBDDEF;
  --grad-white: #FFFFFF;
  --grad-pink:  #FF8E90;
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;

  /* Type scaling — base font is 16px */
  --font-h1: 30px;
  --font-h2: 1.1rem; 
  --font-h3: 1.1rem;  
  --font-h4: 1.1rem;
  --font-body1: 1.1rem;   
  --font-body2: 1.1rem; 
  --font-body3: 1.1rem; 
  --font-body4: 1.1rem; 
  --margin-s: .75rem;
  --margin-m: 1.5rem;
  --margin-l: 3rem;


    /* 60px — Space Grotesk Medium 500 */
    /* --font-h1: 3.75rem;    */

/* 45px — Space Grotesk Regular 400 */
  /* --font-h2: 2.8125rem;  */

   /* 30px — Space Grotesk Medium 500 */
  /* --font-h3: 1.875rem;   */

/* 25px — Space Grotesk Regular 400 */
  /* --font-h4: 1.5625rem;  */

   /* 36px */
  /* --font-body1: 2.25rem; */

     /* 30px */
  /* --font-body2: 1.875rem;  */

    /* 25px */
  /* --font-body3: 1.5625rem; */

  --font-family-sans: 'Space Grotesk', sans-serif;
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}
body {
  padding: var(--padding);
  max-width: 70rem;
  margin: 0 auto;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}


nav {
  visibility: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
 
    /* -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; */

}

/* ---------- Shared CTA / button style ---------- */
/* Apply .btn to any anchor or button that should look like a site CTA.
   nav-toggle and other UI buttons are deliberately excluded. */
.btn {
  display: inline-block;
  border: 1px solid var(--color-black);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: var(--font-body4);
  font-weight: 400;
  background: transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}
.btn:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* ---------- Typography ---------- */
h1, .h1 { font-size: var(--font-h1); font-weight: 400; line-height: 1.03; }
h2, .h2 { font-size: var(--font-h2); font-weight: 400; line-height: 1.15; text-transform: uppercase;}
h3, .h3 { font-size: var(--font-h3); font-weight: 500; line-height: 1.2; }
h4, .h4 { font-size: var(--font-h4); font-weight: 400; line-height: 1.3; }
.body-1  { font-size: var(--font-body1); font-weight: 400; line-height: 1.35; }
.body-2  { font-size: var(--font-body2); font-weight: 400; line-height: 1.4; }
.body-3  { font-size: var(--font-body3); font-weight: 400; line-height: 1.45; }



/* ---------- Margins ---------- */


.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


/* ---------- Main content wrapper ---------- */
.main {
  padding: var(--card-padding);
  /* padding: calc(var(--card-padding) * 3) var(--card-padding) var(--card-padding); */
  /* max-width: 90rem; */
  margin: 0 auto;
}

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

.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: -1rem;
  margin-left: -1rem;
  margin-bottom: 6rem;
}

.logo {
  padding: 1rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.menu {
  display: flex;
}
.menu a {
  padding: 1rem;
  display: block;
}
.menu a[aria-current] {
  text-decoration: underline;
}



.section {
  padding: 3rem 0;
}
/* Default.php styles (for new pages)-------------------------------------------*/

article.main {
  padding: calc(var(--card-padding) * 15) calc(var(--card-padding) * 3);
  display: flex;
  flex-direction: column;
  gap: var(--margin-m);
}

/* Block images */
article.main figure img {
  width: 100%;
  max-width: 48rem;
  height: auto;
  display: block;
  margin: 0 auto;
  /* padding: 2em 0; */
}

/* Block gallery grid */
article.main figure.gallery ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
article.main figure.gallery ul li img {
  max-height: 30vh;
  width: auto;
  max-width: 100%;
  display: block;
}
.grid {
  --columns: 12;
  --gutter: 1rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.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;
}


.text {
  font-size: var(--font-body3);
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.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-bottom: 0;
}

article  h1.h1 { font-size: var(--font-h1); font-weight: 400; line-height: 1.20; }
article  h2  { font-size: var(--font-h2); font-weight: 400; line-height: 1.15; }
article  h3 { font-size: var(--font-h3); font-weight: 500; line-height: 1.2; }
article  h4  { font-size: var(--font-h4); font-weight: 400; line-height: 1.3; }
.text .codeblock {
  display: grid;
}
article .text h1 { font-size: var(--font-h1); font-weight: 400; line-height: 1.30; }
article .text h2 { font-size: var(--font-h2); font-weight: 400; line-height: 1.15; }
article .text h3 { font-size: var(--font-h3); font-weight: 500; line-height: 1.2; }
article .text h4 { font-size: var(--font-h4); font-weight: 400; line-height: 1.3; }
.text .codeblock {
  display: grid;
}
/* ---------- Headline block ---------- */
.headline {
  font-size: var(--font-h1);
  font-weight: 400;
  line-height: 1.20;
  padding-top: var(--margin-l);
  padding-bottom: var(--margin-l);
}

/* ---------- Title + Subtitle block ---------- */
.titleblock {
  display: flex;
  flex-direction: column;
}
.titleblock-title {
  font-size: var(--font-h1);
  font-weight: 400;
  line-height: 1.20;
}
.titleblock-subtitle {
  font-size: var(--font-h2);
  font-weight: 400;
  line-height: 1.15;
}

.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}

blockquote {
  font-size: var(--font-h1);
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
/* .text blockquote {
  font-size: var(--font-h1);
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
} */
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  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: 3rem auto;
}

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

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  display: block;
    background: transparent;
  border: 1px solid black;
  padding: 0.75rem 1rem;
  font-size: var(--font-body4);
  font-weight: 400;
    width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.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: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}


.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;
}




/* =====================================================================
   Site chrome — fixed nav, site mark, site title, main wrapper
   ===================================================================== */



body.page-home,
body.page-inner {
  max-width: none;
}

body.page-home {
  padding: calc(60px - var(--card-padding) * 3) 0 0 0;
}

body.page-inner {
  --chrome-bar-height: 40px; /* match homepage bar height so mark/title/nav align identically */
  padding: 0;
}

/* On inner pages: mark + compact title stay small — no animation here */
body.page-inner .site-mark,
body.page-inner .site-title-compact {
  font-size: 30px;
}
body.page-inner .site-title-compact {
  opacity: 1;
}
/* body.page-inner .site-chrome-bar {
  padding-top: 1.5rem;
  gap: 1.5rem;
} */

/* Hide the Starterkit header */
.header { display: none !important; }

/* ---------- Chrome bar (contains mark, compact title, and nav) ---------- */
.site-chrome-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--chrome-bar-height);
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2.2em;

  padding: 3em calc(var(--card-padding) * 3) 0 calc(var(--card-padding) * 3); /* JS sets padding-top during homepage phase 1 */
  z-index: 100;
  overflow: visible;
  transition: none;
  will-change: transform;
  overflow-anchor: none;
}

/* ---------- Top row: mark + title + hamburger ---------- */
.site-chrome-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-chrome-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -2rem; /* extend slightly below the bar so the fade clears the nav */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* ---------- CARD mark (inside chrome bar) ---------- */
.site-mark {
  font-weight: 400;
  font-size: var(--font-h1);
  line-height: 1;
  text-box-trim: both;       /* Chrome 123+, Firefox */
  text-box-edge: cap alphabetic;
  /* text-decoration-line: underline;
  text-decoration-color: black;
  text-decoration-style: solid;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.12em; */
  /* letter-spacing: 0.02em; */
  flex-shrink: 0;
  display: block;
        /* -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; */
}

/* ---------- Compact title placeholder (fades in at end of animation)------- */
.site-title-compact {
  /* display: none; */
  font-size: var(--font-h1);
  font-weight: 400;
  text-box-trim: both;       /* Chrome 123+, Firefox */
  text-box-edge: cap alphabetic;
  /* text-decoration-line: underline; */
  /* text-decoration-color: black; */
  /* text-decoration-style: solid; */
  /* text-decoration-thickness: 3px; */
  /* text-underline-offset: 0.12em; */
  opacity: 0;
  will-change: opacity;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  padding-bottom: 0.2em; /* prevents overflow:hidden from clipping the underline */
  margin-bottom: -0.2em; /* cancel layout impact so flex alignment stays correct */
  flex: 1; /* take remaining space so overflow:hidden / text-overflow:ellipsis can fire */
  min-width: 0;
  line-height: 1.03;
      /* -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; */
}

/* Compact chrome bar is hidden on mobile */
@media (max-width: 47.999rem) {
  
  .site-title-compact {
    visibility: hidden;
  }






  /* Compact chrome bar on mobile (incl. homepage) */
  .site-chrome-bar {
    padding-top: 1.5rem;
  }
}

/* ---------- Large site title (starts at viewport bottom, animates up) ---------- */
.site-title-large {
  visibility: hidden;
  position: fixed;
  bottom: var(--card-nav-height);
  right: calc(var(--card-padding) * 3); /* overridden by JS to match compact title right edge */
  font-size: var(--font-h1);
  leading-trim: both;
  font-weight: 400;
  /* text-decoration-line: underline; */
  /* text-decoration-color: black; */
  /* text-decoration-style: solid; */
  /* text-decoration-thickness: 1em; */
  /* text-underline-offset: 0.12em; */
  line-height: 1.03;
  transform-origin: right top;
  will-change: transform, opacity;
  overflow-anchor: none;
  z-index: 90;
  max-width: calc(100vw - var(--card-padding) * 6);
  pointer-events: none;
  /* -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; */
}


/* ---------- Navigation ---------- */
.site-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* padding-top: var(--card-padding); */
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav li {
  display: flex;
}
.site-nav a {
  color: #000000;
  font-weight: 400;
  font-family: var(--font-family-sans);
  font-size: var(--font-body4);
  white-space: nowrap;
}
.site-nav a:hover {
  text-decoration: solid underline black 3px;
  text-underline-offset: 5px;
}
.site-nav a[aria-current] {
  text-decoration: solid underline black 3px;
  text-underline-offset: 5px;
}

/* ---------- Hamburger toggle (mobile only) ---------- */
button.nav-toggle {
  display: none; /* shown via mobile media query */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  /* Position at top-right of chrome bar, matching mark's vertical alignment */
  position: absolute;
  right: calc(var(--card-padding) * 3);
  top: 1.5rem;
}
button.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}
@media (max-width: 69.999rem) {
  button.nav-toggle { display: flex; }
}
@media (min-width: 69.999rem) {
  button.nav-toggle { display: none !important; }
}

/* ---------- Mobile nav overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: calc(var(--card-padding) * 3);
  background: linear-gradient(
    180deg,
    #FF8E90 0%,
    #CBDDEF 60%,
    rgba(203, 221, 239, 0) 100%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  /* Override the broad nav { visibility: hidden } rule */
  visibility: visible;
}
.nav-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.nav-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}
.nav-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--font-h1);
  font-weight: 400;
  line-height: 1;
  padding: 0;
  color: currentColor;
}
.nav-overlay-nav {
  visibility: visible;
}
.nav-overlay-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* gap: 1.5rem; */
}
.nav-overlay-nav a {
  font-size: var(--font-h1);
  font-weight: 400;
  color: black;
  text-decoration: none;
}
.nav-overlay-nav a:hover,
.nav-overlay-nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}


/* =====================================================================
   Universal site footer
   ===================================================================== */

.site-footer {
/* background-color: #ffffff; 
  box-shadow: 0 0 80px 70px #ffffff; */
  padding: calc(var(--card-padding) * 3);
  display: grid;
  /* Mobile: mark top-left, nav top-right, wordmark spans full width below */
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "nav nav"
    "wordmark wordmark";
  gap: calc(var(--card-padding) * 2) calc(var(--card-padding) * 3);
  align-items: start;
}



/* .site-footer-mark {
  grid-area: mark;
  display: block;
  height: 4rem;
  width: auto;
} */

.site-footer-nav {
  grid-area: nav;
  justify-self: start;
  visibility: visible; /* override broad nav { visibility: hidden } */
}

.site-footer-wordmark {
  grid-area: wordmark;
  display: block;
  width: auto;
  font-size: clamp(2rem, 6vw, 6.25rem); /* 32px → 100px */
  font-weight: 400;
  line-height: 1.1;
  text-transform: none;
}

.site-footer-nav ul {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-nav a {
  color: rgb(0, 0, 0);
  font-size: var(--font-body1);
  font-weight: 400;
}

.site-footer-nav a:hover {
  text-decoration: 2px black underline;
  text-underline-offset: 3px;
}

.site-footer-title {
  font-size: var(--font-h1);
  font-weight: 400;
  text-decoration: black underline 3px;
  line-height: 1.03;
  margin: 0;
}


/* 
@media (min-width: 48rem) {
  .site-footer {
    grid-template-areas:
      "mark  ."
      "wordmark nav";
    align-items: end;
  }

  .site-footer-nav {
  grid-area: nav;
  justify-self: end;
  visibility: visible; 
  }
} */

/* Tablet */

@media screen and (min-width: 48rem) {
  :root {
      --card-padding: 1rem;
  --card-nav-height: 3.5rem;
  --chrome-bar-height: 40px; /* updated by JS on homepage scroll */
    --font-h1: 40px; /* 48rem–90rem: mid-size screens (e.g. MacBook Air 13") */
  --font-h2: 20px; 
  --font-h3: 20px;  
  --font-h4: 20px;
  --font-body1: 30px;   
  --font-body2: 30px; 
  --font-body3: 20px;
  --font-body4: 1.1rem; 
  --margin-s: .75rem;
  --margin-m: 1.5rem;
  --margin-l: 3rem;


}

nav {
  visibility: hidden;
}

article.main {
      padding: calc(var(--card-padding) * 10) 0;

}

button.nav-toggle {
  top: calc(var(--card-padding) * 3);
}

.site-title-compact {
  visibility: hidden;
}

.site-title-large {
  visibility: hidden;
}
}

/* Large Desktop */

@media screen and (min-width: 70rem) {
  .btn {
    padding: 0.75rem 1.5rem;
  }

  :root {
      --card-padding: 1.5rem;
  --card-nav-height: 3.5rem;
  --chrome-bar-height: 100px; /* updated by JS on homepage scroll */
    --font-h1: 50px;
  --font-h2: 25px; 
  --font-h3: 25px;  
  --font-h4: 25px;
  --font-body1: 30px;   
  --font-body2: 30px; 
  --font-body3: 25px;
  --font-body4: 1.1rem; 
  --margin-s: .75rem;
  --margin-m: 1.5rem;
  --margin-l: 3rem;}

nav {
  visibility: visible;
}

.site-title-compact {
  visibility: visible;
  display: block;
}

.site-title-large {
  visibility: visible;
}

/* Chrome elements on homepage only: fluid-scale mark + compact title + large title.
   Inner pages override these back to 30px via body.page-inner rules above. */
.site-mark,
.site-title-compact,
.site-title-large {
  font-size: clamp(30px, calc(-40px + 6.25vw), 60px);
}



.main {
  padding: calc(var(--card-padding) * 3) calc(var(--card-padding) * 3 );
  /* padding: calc(var(--card-padding) * 3) var(--card-padding) var(--card-padding); */
  /* max-width: 90rem; */
  margin: 0 auto;
}

  .site-footer {
    grid-template-areas:
      "mark  ."
      "wordmark nav";
    align-items: end;
  }

  .site-footer-nav {
  grid-area: nav;
  justify-self: end;
  visibility: visible; /* override broad nav { visibility: hidden } */
}

  .grid {
    grid-template-columns: repeat(12, 1fr);
    --gutter: 4rem;
  }
  .grid > .column {
    grid-column: span var(--columns);
  }
}


/* XL Desktop */

@media screen and (min-width: 90rem) {
  :root {
  --card-padding: 1.5rem;
  --card-nav-height: 3.5rem;
  --chrome-bar-height: 60px; /* updated by JS on homepage scroll */
  --font-h1: 60px;
  --font-h4: 25px;
  --font-body1: 36px;   
  --font-body2: 30px; 
  --font-body3: 25px; 
  --font-body4: 1.1rem;

  --margin-s: .75rem;
  --margin-m: 1.5rem;
  --margin-l: 3rem;
}
  body {
    --padding: 3rem;
  }

  .main {
  padding: calc(var(--card-padding) * 3) calc(var(--card-padding) * 3 );
  /* padding: calc(var(--card-padding) * 3) var(--card-padding) var(--card-padding); */
  /* max-width: 90rem; */
  margin: 0 auto;
}

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

}

/* Desktop: mark alone on top, wordmark bottom-left, nav bottom-right */

/* ---------- Print ---------- */
@media print {

  body {
    /* font-family:'Times New Roman', Times, serif; */
    /* font-family: var(--font-family-mono); */
    font-family: Arial, Helvetica, sans-serif;
  }

  article.main {
    padding: 0;
  }
  .site-chrome-bar {
        font-family: var(--font-family-sans);

    padding-top:  .2rem;
    padding-bottom: calc(var(--margin-l) * 3);
    padding-left: var(--card-padding);
    position: static;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    /* max-width: 50%; */
  }

  .headline {
    padding-top: 0;
    padding-bottom: var(--margin-m);
  }


  .site-chrome-bar::after {
    display: none;
  }

  .site-mark {
    /* display: none !important; */
    /* visibility: none; */
  }
  .site-title-compact {
    opacity: 1 !important;
    visibility: visible !important;
    text-align: left;
    text-decoration: underline 3px black;
     text-underline-offset: 0.12em;
  }
  .site-chrome-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav,
  .nav-toggle,
  .nav-overlay,
  .site-footer {
    display: none !important;
  }
  body.page-inner {
    padding: 0;
  }
  article.main {
    padding: 0;
  }

  .grid {
    grid-gap: 0;
  }
}
