@font-face {
  font-family: "Exposurevar";
  src: url("../../_ts_fonts/66193ad4e4fdd6ac603ec212_ExposureVAR.ttf") format("truetype");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oldschool Grotesk";
  src: url("../../_ts_fonts/66193e99f3f819649172df21_OldschoolGrotesk_W-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oldschool Grotesk";
  src: url("../../_ts_fonts/6625d6a743fc3144a6fadbbb_OldschoolGrotesk_W-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #005c65;
  --teal-hover: #0a4347;
  --green: #9deab2;
  --green-tint: #d7f9e1;
  --lemon-tint: #fdffdd;
  --blue-tint: #e7f3ff;
  --mint: #e1f0ee;
  --grey: #f4f6fa;
  --slate: #314d5c;
  --line: #cfe0dd;
  --field-border: #9db6bb;
  --white: #fff;
  --focus: #005c65;
  --shadow-card: 0 1px 2px rgba(0, 50, 60, .05), 0 14px 34px rgba(0, 50, 60, .10);
  --display: "Exposurevar", Georgia, serif;
  --sans: "Oldschool Grotesk", Tahoma, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal);
  text-underline-offset: 3px;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--teal);
  font-weight: 500;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  color: var(--teal);
  font-family: var(--display);
  font-weight: 400;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

.btn-primary {
  display: inline-flex;
  min-width: 180px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .3px;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal);
  text-decoration: none;
}

.brand::before {
  content: "";
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  background: url("/assets/brand-mark.svg") center / contain no-repeat;
}

.brand-name {
  color: inherit;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.card-kicker {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .075em;
  text-decoration: none;
  text-transform: uppercase;
}

.card-kicker:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 52px 0 26px;
  background: var(--teal);
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 34px;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand::before {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  background-image: url("/assets/brand-mark-light.svg");
}

.site-footer .brand-name {
  font-size: 38px;
}

.footer-label {
  color: var(--green);
}

.footer-description,
.footer-intro {
  max-width: 320px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
}

.footer-label {
  margin: 0 0 13px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link,
.site-footer address {
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-style: normal;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
}

/* Article pages */
.article-hero {
  background: var(--green);
}

.article-hero__inner {
  display: grid;
  gap: 34px;
  padding-top: 38px;
  padding-bottom: 48px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  color: var(--teal);
  font-size: 14px;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 6px;
  content: "/";
}

.breadcrumbs a {
  font-weight: 500;
}

.article-hero h1 {
  max-width: 780px;
  margin: 14px 0 17px;
  font-size: clamp(42px, 6vw, 64px);
  letter-spacing: -.7px;
  line-height: 1.03;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 23px;
  color: var(--teal);
  font-size: 14px;
}

.article-hero__art {
  overflow: hidden;
  align-self: end;
  border-radius: 26px;
  background: var(--white);
}

.article-hero__art img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.article-shell {
  display: grid;
  gap: 34px;
  padding-top: 54px;
  padding-bottom: 70px;
}

.article-aside {
  align-self: start;
}

.toc-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.toc-card {
  margin-top: 12px;
  padding: 18px;
}

.toc-card summary {
  color: var(--teal);
  cursor: pointer;
  font-weight: 500;
}

.toc-card nav {
  margin-top: 12px;
}

.toc-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-list a {
  display: block;
  padding: 6px 8px;
  border-left: 2px solid var(--line);
  color: var(--slate);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.toc-list a:hover,
.toc-list a[aria-current="true"] {
  border-color: var(--teal);
  color: var(--teal);
}

.article-body {
  min-width: 0;
}

.prose > :first-child {
  margin-top: 0;
}

.prose p,
.prose ul,
.prose ol {
  max-width: 720px;
}

.prose h2 {
  max-width: 760px;
  margin: 58px 0 18px;
  scroll-margin-top: 100px;
  font-size: clamp(33px, 4vw, 43px);
  line-height: 1.1;
}

.prose h3 {
  max-width: 720px;
  margin: 32px 0 10px;
  scroll-margin-top: 100px;
  font-size: 28px;
  line-height: 1.15;
}

.prose p {
  margin: 0 0 19px;
}

.prose ul,
.prose ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--teal);
  font-weight: 500;
}

@media (min-width: 620px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 880px) {
  .container {
    padding-right: 40px;
    padding-left: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }

  .article-hero__inner {
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
    align-items: center;
    padding-top: 52px;
    padding-bottom: 64px;
  }

  .article-shell {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 58px;
    padding-top: 72px;
    padding-bottom: 94px;
  }

  .article-aside {
    position: sticky;
    top: 94px;
  }

  .toc-card summary {
    cursor: default;
    list-style: none;
  }

  .toc-card summary::-webkit-details-marker {
    display: none;
  }

  .toc-card[open] nav {
    display: block;
  }

}

@media (min-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .article-aside,
  .site-footer {
    display: none !important;
  }

  .article-hero {
    background: var(--white);
  }

  .article-shell {
    display: block;
    padding: 20px 0;
  }
}
