/* Enhanced Pigment SMP Academy — homepage */

:root {
  --paper: #f3f1ed;
  --paper-deep: #e8e5df;
  --ink: #111111;
  --ink-2: #1a1a1a;
  --text: #2b2926;
  --grey: #67635d;
  --muted: #98938b;
  --line: rgba(17, 17, 17, 0.13);
  --line-light: rgba(255, 255, 255, 0.14);
  --on-dark: rgba(243, 241, 237, 0.68);
  --wrap: 1300px;
  --pad: clamp(20px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(80px, 10vw, 144px);
  --header-h: 76px;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure,
blockquote,
dl,
dd,
h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Layout */

.wrap {
  width: min(var(--wrap), 100% - var(--pad) * 2);
  margin-inline: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

.grid > * {
  grid-column: 1 / -1;
}

/* Type */

.label {
  font-size: 11px;
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--grey);
}

.h-xl {
  font-size: clamp(2.75rem, 7vw, 6.75rem);
  font-weight: 350;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.h-lg {
  margin-top: 20px;
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.lead {
  max-width: 34em;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--grey);
}

.caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* Buttons & links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  font-size: 12px;
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

.link span {
  transition: transform 0.3s var(--ease);
}

.link:hover span {
  transform: translateX(4px);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand img {
  width: auto;
  height: 34px;
}

.nav {
  display: none;
  margin-left: auto;
  gap: 32px;
}

.nav a {
  position: relative;
  font-size: 14px;
  color: var(--text);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: none;
}

.menu-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 24px var(--pad) 40px;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a:not(.btn) {
  padding: 18px 0;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.nav-mobile .btn {
  margin-top: auto;
}

@media (min-width: 1080px) {
  .nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
    height: 42px;
    padding: 0 20px;
  }

  .menu-toggle,
  .nav-mobile {
    display: none;
  }
}

/* Hero */

.hero {
  padding: clamp(48px, 7vw, 104px) 0 var(--section);
}

.hero__cohort {
  display: inline-flex;
  gap: 0.4em;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}

.hero__cohort span {
  transition: transform 0.3s var(--ease);
}

.hero__cohort:hover span {
  transform: translateX(4px);
}

.hero__title {
  max-width: 14ch;
}

.hero__body {
  row-gap: 48px;
}

.hero__intro {
  align-self: end;
}

.hero__intro .lead {
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.hero__facts div {
  padding: 16px 16px 0 0;
}

.hero__facts dd {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink);
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
}

@media (min-width: 960px) {
  .hero__body {
    grid-template-rows: auto 1fr;
    row-gap: 64px;
  }

  .hero__title {
    grid-column: 1 / 8;
    grid-row: 1;
    max-width: none;
  }

  .hero__intro {
    grid-column: 1 / 6;
    grid-row: 2;
  }

  .hero__figure {
    grid-column: 8 / 13;
    grid-row: 1 / 3;
    padding-top: 0.6em;
  }
}

/* Statement */

.statement {
  padding: var(--section) 0;
  border-top: 1px solid var(--line);
}

.statement__quote {
  margin-top: 28px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 350;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--muted);
}

.statement__quote em {
  font-style: normal;
  color: var(--ink);
}

.statement__body {
  display: grid;
  gap: 18px;
  margin-top: 48px;
  color: var(--grey);
}

.statement__body p:last-child {
  color: var(--ink);
  font-weight: 500;
}

.principles {
  margin-top: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
}

.principle {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.principle__num {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.principle h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.principle p {
  margin-top: 10px;
  max-width: 30em;
  font-size: 15px;
  color: var(--grey);
}

@media (min-width: 760px) {
  .principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gap);
  }
}

@media (min-width: 960px) {
  .statement__label {
    grid-column: 1 / 4;
    padding-top: 0.9em;
  }

  .statement__quote {
    grid-column: 4 / 13;
    margin-top: 0;
  }

  .statement__body {
    grid-column: 7 / 13;
  }
}

@media (min-width: 1080px) {
  .principles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0;
  }

  .principle {
    padding: 28px 28px 0 0;
    border-bottom: 0;
  }

  .principle + .principle {
    padding-left: 28px;
    border-left: 1px solid var(--line);
  }

  .principle h3 {
    margin-top: 48px;
  }
}

/* Clinical series */

.series {
  padding: var(--section) 0 clamp(64px, 8vw, 104px);
  color: var(--paper);
  background: var(--ink-2);
}

.series .label {
  color: var(--on-dark);
}

.series .h-lg {
  color: var(--paper);
}

.series__head {
  row-gap: 28px;
}

.series__note {
  align-self: end;
  display: grid;
  gap: 10px;
  max-width: 30em;
  font-size: 15px;
  color: var(--on-dark);
}

.series__note strong {
  font-weight: 500;
  color: var(--paper);
}

@media (min-width: 960px) {
  .series__title {
    grid-column: 1 / 8;
  }

  .series__note {
    grid-column: 9 / 13;
  }
}

.strip {
  display: flex;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-inline: max(var(--pad), calc((100% - var(--wrap)) / 2));
  scroll-padding-inline: max(var(--pad), calc((100% - var(--wrap)) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.strip::-webkit-scrollbar {
  display: none;
}

.strip:focus-visible {
  outline-offset: -2px;
}

.strip__item {
  flex: 0 0 clamp(230px, 23vw, 300px);
  scroll-snap-align: start;
}

.strip__item img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #2a2a2a;
}

.strip__item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--on-dark);
}

.series__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 48px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.series__foot p {
  max-width: 40em;
  font-size: 15px;
  color: var(--on-dark);
}

.strip-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.strip-count {
  min-width: 5em;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--on-dark);
}

.strip-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 18px;
  border: 1px solid var(--line-light);
  transition: border-color 0.3s var(--ease), opacity 0.3s;
}

.strip-btn:hover:not(:disabled) {
  border-color: var(--paper);
}

.strip-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Programs */

.programs {
  padding: var(--section) 0;
}

.programs__head {
  row-gap: 24px;
}

@media (min-width: 960px) {
  .programs__title {
    grid-column: 1 / 8;
  }

  .programs__lead {
    grid-column: 9 / 13;
    align-self: end;
    font-size: 16px;
  }
}

.program-list {
  margin-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--ink);
  isolation: isolate;
}

.program {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.program::before {
  content: "";
  position: absolute;
  inset: -1px -18px 0;
  z-index: -1;
  background: var(--paper-deep);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.program:hover::before {
  opacity: 1;
}

.program__num {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.program__name {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.program__meta {
  font-size: 14px;
  color: var(--ink);
}

.program__desc {
  max-width: 36em;
  font-size: 15px;
  color: var(--grey);
}

.program__go {
  display: none;
  font-size: 20px;
  color: var(--ink);
  transition: transform 0.3s var(--ease);
}

.program:hover .program__go {
  transform: translateX(6px);
}

.tag {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--grey);
  border: 1px solid var(--line);
}

@media (min-width: 960px) {
  .program {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: baseline;
    padding: 34px 0;
  }

  .program__num {
    grid-column: 1 / 2;
  }

  .program__name {
    grid-column: 2 / 6;
  }

  .program__meta {
    grid-column: 6 / 8;
  }

  .program__desc {
    grid-column: 8 / 12;
  }

  .program__go {
    display: block;
    grid-column: 12 / 13;
    justify-self: end;
  }
}

/* Founder */

.founder {
  padding: var(--section) 0;
  background: var(--paper-deep);
}

.founder .grid {
  row-gap: 48px;
}

.founder__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
}

.founder__quote {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.founder__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--grey);
}

.founder__byline span {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.founder__bio {
  display: grid;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  font-size: 16px;
  color: var(--grey);
  border-top: 1px solid var(--line);
}

.founder__content .link {
  margin-top: 40px;
}

@media (min-width: 760px) {
  .founder__bio {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }
}

@media (min-width: 960px) {
  .founder__figure {
    grid-column: 1 / 5;
  }

  .founder__content {
    grid-column: 6 / 13;
    align-self: center;
  }
}

/* Curriculum */

.curriculum {
  padding: var(--section) 0;
}

.curriculum .grid {
  row-gap: 48px;
}

.curriculum__aside .lead {
  margin-top: 20px;
  font-size: 16px;
}

.curriculum__count {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 40px;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.curriculum__count .label {
  padding-bottom: 0.4em;
  letter-spacing: 0.14em;
}

.curriculum__list {
  border-top: 1px solid var(--ink);
}

@media (min-width: 960px) {
  .curriculum__aside {
    grid-column: 1 / 5;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }

  .curriculum__list {
    grid-column: 6 / 13;
  }
}

.module {
  border-bottom: 1px solid var(--line);
}

.module__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  text-align: left;
}

.module__num {
  padding-top: 3px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.module__title {
  display: block;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.module__preview {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--grey);
}

.module__icon {
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: 7px;
}

.module__icon::before,
.module__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease);
}

.module__icon::after {
  transform: rotate(90deg);
}

.module.is-open .module__icon::after {
  transform: rotate(0deg);
}

.module__btn:hover .module__title {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.module__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.module.is-open .module__panel {
  grid-template-rows: 1fr;
}

.module__panel > div {
  overflow: hidden;
}

.module__panel p {
  padding: 0 36px 26px 60px;
  font-size: 15px;
  color: var(--text);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.module.is-open .module__panel p {
  opacity: 1;
  transform: none;
}

/* Experience */

.experience {
  padding: var(--section) 0;
  border-top: 1px solid var(--line);
}

.experience__head {
  row-gap: 24px;
}

@media (min-width: 960px) {
  .experience__title {
    grid-column: 1 / 8;
  }

  .experience__lead {
    grid-column: 9 / 13;
    align-self: end;
    font-size: 16px;
  }
}

.timeline {
  display: grid;
  gap: 48px;
  margin-top: clamp(56px, 7vw, 88px);
}

.step {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}

.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}

.step h3 {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.step ul {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.step li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--grey);
}

.step li::before {
  content: "–";
  position: absolute;
  left: 0;
}

@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .step {
    padding-right: 40px;
  }
}

/* Online */

.online {
  padding: var(--section) 0;
  background: var(--paper-deep);
}

.online .grid {
  row-gap: 56px;
}

.online__figure {
  max-width: 380px;
}

.online__figure img {
  width: 100%;
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
}

.online__content .lead {
  margin-top: 24px;
}

.online__list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.online__list li {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.online__list span {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.online__content .btn {
  margin-top: 40px;
}

@media (min-width: 960px) {
  .online__figure {
    grid-column: 2 / 6;
    max-width: none;
    align-self: center;
  }

  .online__content {
    grid-column: 7 / 12;
    align-self: center;
  }
}

/* Next cohort */

.cohort {
  padding: var(--section) 0 clamp(64px, 8vw, 104px);
  color: var(--paper);
  background: var(--ink);
}

.cohort .label {
  color: var(--on-dark);
}

.cohort__date {
  margin-top: 28px;
  font-size: clamp(4.25rem, 14.5vw, 13.5rem);
  font-weight: 300;
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: var(--paper);
}

.cohort__date span {
  color: rgba(243, 241, 237, 0.3);
}

.cohort__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line-light);
}

.cohort__details div {
  padding: 20px 20px 20px 0;
}

.cohort__details dd {
  margin-top: 6px;
  font-size: 16px;
  color: var(--paper);
}

.cohort__close {
  display: grid;
  gap: 32px;
  margin-top: clamp(64px, 8vw, 112px);
}

.cohort__line {
  max-width: 16em;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.15;
}

.cohort__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cohort .btn {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.cohort .btn:hover {
  color: var(--paper);
  background: transparent;
}

.cohort .btn--ghost {
  color: var(--paper);
  background: transparent;
  border-color: var(--line-light);
}

.cohort .btn--ghost:hover {
  border-color: var(--paper);
}

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

  .cohort__close {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* Footer */

.site-footer {
  padding: 72px 0 32px;
  font-size: 14px;
  color: var(--on-dark);
  background: var(--ink);
  border-top: 1px solid var(--line-light);
}

.footer__top {
  display: grid;
  gap: 40px;
}

.footer__brand img {
  width: auto;
  height: 36px;
  filter: invert(1);
}

.footer__brand p {
  max-width: 24em;
  margin-top: 20px;
}

.footer__col .label {
  color: rgba(243, 241, 237, 0.42);
}

.footer__col ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer__col a,
.footer__bottom a {
  transition: color 0.3s;
}

.footer__col a:hover,
.footer__bottom a:hover {
  color: var(--paper);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 64px;
  padding-top: 24px;
  font-size: 13px;
  border-top: 1px solid var(--line-light);
}

@media (min-width: 760px) {
  .footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1080px) {
  .footer__top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }
}

/* Reveal on scroll */

.js [data-reveal]:not([data-reveal="words"]):not([data-reveal="image"]) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js [data-reveal].is-in:not([data-reveal="words"]):not([data-reveal="image"]) {
  opacity: 1;
  transform: none;
}

.js [data-reveal="image"] {
  overflow: hidden;
}

.js [data-reveal="image"] img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.08);
  transition: clip-path 1.4s cubic-bezier(0.65, 0, 0.35, 1), transform 2s cubic-bezier(0.33, 1, 0.68, 1);
  transition-delay: var(--delay, 0ms);
}

.js [data-reveal="image"].is-in img {
  clip-path: inset(0 0 0 0);
  transform: none;
}

.js [data-reveal="image"] figcaption {
  opacity: 0;
  transition: opacity 0.8s var(--ease) calc(var(--delay, 0ms) + 700ms);
}

.js [data-reveal="image"].is-in figcaption {
  opacity: 1;
}

.word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  vertical-align: top;
}

.word > span {
  display: inline-block;
}

.js [data-reveal="words"] .word > span {
  transform: translateY(105%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--delay, 0ms) + var(--i, 0) * 70ms);
}

.js [data-reveal="words"].is-in .word > span {
  transform: none;
}

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

  .js [data-reveal],
  .js [data-reveal] img,
  .js [data-reveal] figcaption,
  .js [data-reveal="words"] .word > span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
