* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-dark-grey: #333;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-dark-grey);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --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;
  --brand-navy: #00293b; /* brand headline color */
  --brand-orange: #c77000;
  --brand-teal: #006080;
  --brand-aqua: #00aab7; /* brand accent color */
  --brand-gold: #f8b300; /* brand accent color */
  --accent-moss: #0e3308;
  --accent-ink: #023e48; /* primary brand color */
  --accent-lagoon: #1b666b; 
  --accent-clay: #a64510; /* primary brand color */
  --accent-apricot: #ffa948;

  --font-family-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-headline: "Syne", Verdana, Helvetica, Arial, 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);
}
img {
  width: 100%;
  box-shadow: 0 0 10px 0 #00293b1a;
}
body {
  overflow-x: hidden;
  padding: 0 var(--padding) var(--padding);
  max-width: 70rem;
  margin: 0 auto;
  line-height: 1.2;
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

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

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

.social {
  display: flex;
  padding: 0 .5rem .5rem 0;
}
.social a {
  padding: 1rem .5rem;
  color: var(--brand-gold)
}
.social a:first-child {
  padding-left: 0;
}
.social a:hover {
  color: var(--color-code-white);
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.grid.is-dark {
  background: var(--accent-ink);
  color: var(--color-white);
  padding: 3rem 1.5rem;
}

.grid.is-dark + .grid.is-dark {
  margin-top: 0;
  padding-top: 0;
  box-shadow: 0 10px 10px 0 #00293b1a;
}
@media screen and (min-width: 60rem) {
  .grid.is-dark {
    padding: 4.5rem 3rem;
  }
}
.grid.is-dark .text h2,
.grid.is-dark .text h3,
.grid.is-dark .text h4,
.grid.is-dark .text .h2,
.grid.is-dark .text .h3 {
  color: var(--color-white);
}
.grid.is-dark .text code {
  background: rgb(255 255 255 / 12%);
  color: var(--color-white);
}

.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;
  font-family: var(--font-family-headline);
}

.text {
  font-family: var(--font-family-sans);
  line-height: 1.5em;
}

header.h1 p {
  font-family: var(--font-family-sans);
  font-weight: 400;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p:last-child {
  margin-bottom: calc(1.5rem + 0.5rem);
}
.text ul p:last-child,
.text ol p: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;
}
.text h1,
.h1,
.intro {
  font-family: var(--font-family-headline);
  font-weight: 500;
  font-size: 2.25rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-family: var(--font-family-headline);
  font-size: 1.625rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  color: var(--brand-navy);
}
.text h3,
.h3 {
  font-family: var(--font-family-headline);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--brand-navy);
}
.text h4,
.h4 {
  font-family: var(--font-family-headline);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--brand-navy);
}

.text h2,
.text h3,
.text .h2,
.text .h3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.text h2:where(
    .align-center,
    [style*="text-align: center"],
    [style*="text-align:center"]
  ),
.text h3:where(
    .align-center,
    [style*="text-align: center"],
    [style*="text-align:center"]
  ),
.text .h2:where(
    .align-center,
    [style*="text-align: center"],
    [style*="text-align:center"]
  ),
.text .h3:where(
    .align-center,
    [style*="text-align: center"],
    [style*="text-align:center"]
  ) {
  align-items: center;
}
.text h2:where(
    .align-end,
    [style*="text-align: right"],
    [style*="text-align:right"],
    [style*="text-align: end"],
    [style*="text-align:end"]
  ),
.text h3:where(
    .align-end,
    [style*="text-align: right"],
    [style*="text-align:right"],
    [style*="text-align: end"],
    [style*="text-align:end"]
  ),
.text .h2:where(
    .align-end,
    [style*="text-align: right"],
    [style*="text-align:right"],
    [style*="text-align: end"],
    [style*="text-align:end"]
  ),
.text .h3:where(
    .align-end,
    [style*="text-align: right"],
    [style*="text-align:right"],
    [style*="text-align: end"],
    [style*="text-align:end"]
  ) {
  align-items: flex-end;
}
.text h2::after,
.text .h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-top: 1.25rem;
  background: var(--brand-aqua);
  flex-shrink: 0;
}

.text h4 {
  font-family: var(--font-family-headline);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--brand-navy);
}
.text h5,
.text h6 {
  font-family: var(--font-family-headline);
  font-weight: 500;
}

.text p + :is(h1, h2, h3, h4, h5, h6),
.text p + :is(.h1, .h2, .h3) {
  padding-top: 0.5rem;
}

.text .codeblock {
  display: grid;
}
.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;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--brand-aqua);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 45rem;
  line-height: 1.5;
}
.text > blockquote > .footer {
  font-size: .875rem;
  font-style: italic;
  color: var(--color-text-grey);
  margin-top: .25rem;
}
.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;
}

.block-text {
  max-width: 800px;
}

.block-text.align-center {
  margin-inline: auto;
}

.block-text.align-end {
  margin-inline-start: auto;
}

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

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

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

.cta {
  background: var(--accent-clay);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--accent-clay);
}
.text .cta {
  text-decoration: none;
}
.cta:hover {
  filter: brightness(1.05);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  /* border: none;
  border-radius: 4px; */
  margin: 1.5rem 0;
  box-shadow: 0 0 10px 0 #00293b0f;
}
.card.cover-img {
  padding: 0;
}
.card.cover-img .card__body {
  padding: 0 1.25rem 1.25rem;
}
.card__image {
  margin: -1.25rem -1.25rem 0.25rem;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}
.card__image img {
  display: block;
  width: 100%;
  box-shadow: none;
  margin: 0;
}
.card.cover-img .card__image {
  width: 100%;
  height: 250px;
  margin: auto;
}
.card.cover-img .card__image img {
  object-fit: cover;
  object-position: center;
  height: 100%;
}
.card .card__title {
  font-family: var(--font-family-headline);
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 600;
  margin-top: .5rem;
  margin-bottom: .5rem;
}
.card .card__kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-grey);
  margin-bottom: .5rem;
}
.card__text {
  line-height: 1.5;
}
.card__cta {
  align-self: flex-start;
  margin-top: 0.25rem;
}
.card__cta-label {
  font-weight: 600;
  line-height: 1.4;
}

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

.h1-hero {
  background-size: cover;
  background-position: 20% 50%;
  background-repeat: no-repeat;
  padding: 3rem;
}

.hero-block {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 3rem;
  padding: 0;
}
.hero-block--has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 41 59 / 45%);
  pointer-events: none;
}
.hero-block-inner {
  position: relative;
  z-index: 1;
  max-width: 70rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}
.hero-block-inner .h1 {
  margin-bottom: .5rem;
  color: var(--color-white);
}
.hero-subtitle {
  color: var(--brand-gold);
  margin: .5rem 0 1.5rem;
  font-size: 1.625rem;
  font-style: italic;
}

.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 {
  position: relative;
  padding: 6rem 0 3rem;
  margin-top: 3rem;
  line-height: 1.5em;
  background-color: var(--accent-ink);
}
footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--brand-gold);
  margin-bottom: 1.5rem;
}
footer:after {
  content: "";
  display: block;
  width: 150vw;
  height: 100%;
  background: var(--accent-ink);
  position: absolute;
  top: 0;
  left: -50%;
  z-index:-1;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
  color: var(--color-white);
  font-size: 1.25rem;
  z-index:1;
}
.footer ul,
.footer p {
  color: var(--color-code-white);
  z-index:1;
}

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

.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-0 {
  margin-bottom: 0 !important;
}
.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;
}

.grid.is-attached {
  margin-bottom: 0;
}
.grid.is-attached + .grid {
  margin-top: 0;
}

/* Contact form: 8 columns centered on large grids; fields + orange submit */
.contact-form-grid > .contact-form-inner {
  margin-bottom: 0;
}
.contact-form-fields label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.3;
  margin-bottom: 0.375rem;
  color: var(--color-text-grey);
}
.contact-form-fields input[type="text"],
.contact-form-fields input[type="email"],
.contact-form-fields textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font: inherit;
  line-height: 1.5;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-grey);
  background: var(--color-white);
  color: var(--color-text);
}
.contact-form-fields textarea {
  resize: vertical;
  min-height: 8rem;
}
.contact-form-fields input:focus-visible,
.contact-form-fields textarea:focus-visible {
  outline: 2px solid var(--brand-aqua);
  outline-offset: 2px;
}
.contact-form-fields p {
  margin-bottom: 1.25rem;
}
.contact-form-fields p:last-child {
  margin-bottom: 0;
}
.contact-form .text .contact-form-fields + * {
  margin-top: 1rem;
}
.contact-form-submit.cta {
  background: var(--accent-clay);
  color: var(--color-white);
  border-color: var(--color-white);
  outline-color: var(--accent-clay);
}
.contact-form-submit.cta:hover {
  filter: brightness(1.05);
}
.contact-form-success {
  margin-top: 0.5rem;
}

@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem 3rem 0;
  }

  .text h1,
  .h1,
  .intro {
    font-size: 3.25rem;
  }
  .text h2,
  .h2 {
    font-size: 2.25rem;
  }
  .text h3,
  .h3 {
    font-size: 1.625rem;
  }
  .text h4 {
    font-size: 1.325rem;
  }

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

  .contact-form-grid > .contact-form-inner {
    grid-column: 3 / span 8;
  }

}

.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);
}
.uniform__potty {
  position: absolute;
  left: -9999px;
}
