:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #0b0b0b;
  color: #f4f1ea;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }

:root {
  --inset: clamp(1.25rem, 4.2vw, 5rem);
}

.edition {
  min-height: 100svh;
  padding: 0 var(--inset);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.masthead, .colophon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.375rem;
  font-size: .875rem;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.masthead { border-bottom: 1px solid #41403e; }
.masthead-brand {
  display: inline-grid;
  place-items: center start;
  min-width: 44px;
  min-height: 48px;
}
.masthead-brand .plaque-mark { width: 1.0625rem; }
.colophon { border-top: 1px solid #41403e; color: #b5b1a8; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }
a:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.identity {
  align-self: center;
  padding: clamp(2.5rem, 7vh, 6rem) 1.5rem clamp(2.5rem, 7vh, 6rem) 0;
  mix-blend-mode: screen;
  animation: arrival 900ms ease-out both;
}

h1 { margin: 0; }

h1 img {
  width: min(91%, 29rem, 64vh);
  height: auto;
  filter: contrast(1.32);
}

.identity p {
  margin: clamp(1.5rem, 5vh, 3rem) 0 0 .125rem;
  font-size: clamp(.875rem, 1.15vw, 1.125rem);
  line-height: 1.2;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: #c7c3ba;
}

.object {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  border-left: 1px solid #272725;
  background: radial-gradient(ellipse at 54% 47%, #1e1e1c, transparent 62%);
  padding: 2rem;
}

.plaque {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-content: center;
  width: min(70%, 16rem, 34vh);
  aspect-ratio: 3 / 4;
  mix-blend-mode: screen;
  animation: arrival 1200ms 120ms ease-out both;
}

.plaque-mark {
  width: 29%;
  aspect-ratio: 1 / 2;
  color: #d0cec7;
  transition: color 650ms ease, filter 650ms ease;
}

.plaque-mark::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  mask: url("./assets/monogram.png") center / contain no-repeat luminance;
}

.object.is-lit .plaque-mark {
  color: #fff9ec;
  filter: drop-shadow(0 0 4px #fff2d6b3) drop-shadow(0 0 18px #fff2d675);
}

.light-control {
  color: #eeeae0;
  border: 0;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: .75rem 0 .75rem .75rem;
  cursor: pointer;
}

.light-control[hidden] { display: none; }
.light-control:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.light-icon {
  display: inline-block;
  vertical-align: .05em;
  width: .625rem;
  height: .625rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  margin-right: .625rem;
}

.light-control[aria-pressed="true"] .light-icon {
  background: currentColor;
  box-shadow: 0 0 .65rem #fff8;
}

.perspective {
  min-height: 94svh;
  padding: clamp(5rem, 17vh, 12rem) var(--inset) clamp(6rem, 19vh, 14rem);
}

.perspective-inner {
  position: relative;
  padding-top: clamp(2.5rem, 8vh, 6rem);
  display: grid;
  grid-template-columns: 1fr minmax(13rem, 25%);
  align-items: end;
  gap: 2rem;
}

.perspective-inner::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 62%;
  border-top: 1px solid #6f6a60;
}

.perspective h2 {
  margin: 0;
  font-size: clamp(2.75rem, 6.2vw, 7rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.perspective p {
  max-width: 21ch;
  margin: 0 0 .2rem;
  color: #c7c3ba;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.4;
}

.perspective .about-purpose {
  margin: clamp(2.5rem, 9vh, 6rem) 0 0 auto;
  width: max(13rem, 25%);
  max-width: none;
}

.principles, .site-footer {
  margin-inline: var(--inset);
  border-top: 1px solid #41403e;
}

.principles { padding-block: clamp(5rem, 13vw, 12rem); }

.principles-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 2rem;
}

.principles-intro h2 { grid-column: 2; grid-row: 1; }
.principles-copy {
  grid-column: 1;
  grid-row: 1;
  border-left: 1px solid #6f6a60;
  padding-left: 1.5rem;
}

.principles h2 {
  margin: 0;
  font-size: clamp(2.75rem, 6.2vw, 7rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.principles-copy { align-self: end; }
.principles-copy p {
  max-width: 38ch;
  margin: 0;
  color: #c7c3ba;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.45;
}
.principles-copy p + p { margin-top: 1rem; }

.values {
  margin-inline: var(--inset);
  padding-bottom: clamp(6rem, 15vw, 14rem);
}

.philosophy { margin: 0; }

.philosophy > div {
  --rule-width: 78%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(1rem, 4vw, 4rem);
  padding-block: clamp(2.75rem, 5.5vw, 5.5rem);
}

.philosophy > div:nth-child(even) {
  --rule-width: 64%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  text-align: right;
}

.philosophy > div:nth-child(3) { --rule-width: 91%; }
.philosophy > div:nth-child(4) { --rule-width: 74%; }

.philosophy > div::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: var(--rule-width);
  height: 1px;
  background: #6f6a60;
  transform-origin: left;
}

.philosophy > div:nth-child(even)::before {
  inset-inline: auto 0;
  transform-origin: right;
}

.philosophy dt {
  font-size: clamp(2.65rem, 7vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.philosophy dd {
  margin: 0;
  color: #c7c3ba;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.45;
}

.philosophy > div:nth-child(even) dt { grid-column: 2; grid-row: 1; }
.philosophy > div:nth-child(even) dd { grid-column: 1; grid-row: 1; }

.recognition {
  margin-inline: var(--inset);
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.3fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-bottom: clamp(5rem, 13vw, 12rem);
}

.recognition-caption {
  align-self: end;
  border-top: 1px solid #6f6a60;
  padding-top: 1.25rem;
}

.recognition-caption h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 2.65rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.recognition-stage {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: clamp(26rem, 65vw, 52rem);
  overflow: hidden;
  border-block: 1px solid #34312e;
  background: radial-gradient(ellipse at 54% 48%, #272523, #101010 48%, #0b0b0b 77%);
}

.recognition-map { display: none; }

.recognition-plaque {
  position: relative;
  left: clamp(.75rem, 3.6vw, 3rem);
  isolation: isolate;
  width: min(54%, 22rem);
  overflow: hidden;
  border: 1px solid #514f4b;
  border-radius: clamp(.5rem, 1vw, .875rem);
  box-shadow:
    1px 2px #313130,
    2px 4px #242423,
    3px 6px #1b1b1a,
    4px 8px #131313,
    5px 10px 0 1px #080808,
    8px 29px 62px #000c;
}

.recognition-plaque::after {
  content: "";
  position: absolute;
  inset: -25% -90%;
  pointer-events: none;
  background: linear-gradient(106deg, transparent 39%, #ffffff0c 47%, #ffffff25 51%, transparent 58%);
  transform: translateX(var(--plaque-light-position, -54%));
}

.recognition-plaque img { width: 100%; height: auto; }

.reveal-ready [data-reveal]:not(.philosophy > div):not(.is-visible) {
  opacity: 0;
  transform: translateY(1.5rem);
}

.reveal-ready [data-reveal] {
  transition: opacity 900ms ease, transform 900ms cubic-bezier(.2, .75, .25, 1);
}

.reveal-ready .philosophy > div::before {
  transition: transform 760ms cubic-bezier(.2, .75, .25, 1);
}

.reveal-ready .philosophy > div:not(.is-visible)::before { transform: scaleX(0); }

.reveal-ready .philosophy :is(dt, dd) {
  transition: opacity 650ms ease 210ms, transform 650ms ease 210ms;
}

.reveal-ready .philosophy > div:not(.is-visible) :is(dt, dd) {
  opacity: 0;
  transform: translateY(.75rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.625rem;
}

.footer-logo {
  flex: 0 0 1.125rem;
  mix-blend-mode: screen;
}

.footer-logo img { width: 100%; height: auto; }
.site-footer small { color: #c7c3ba; font-size: .75rem; text-align: right; }

@keyframes arrival {
  from { opacity: 0; transform: translateY(.45rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (width > 640px) {
  h1 img { width: min(75%, 24rem, 54vh); }

  .perspective h2, .principles h2 {
    font-size: clamp(2.25rem, 5vw, 5.75rem);
  }

  .perspective-inner, .principles-intro {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 25%);
    align-items: end;
  }

  .principles { padding-block: clamp(4.5rem, 9vw, 8rem); }
  .principles-intro h2 { grid-column: 1; }
  .principles-copy {
    grid-column: 2;
    border-left: 0;
    padding-left: 0;
  }

  .philosophy dt { font-size: clamp(2.2rem, 5.6vw, 6rem); }
  .recognition-caption h2 { font-size: clamp(1.125rem, 2.1vw, 2.125rem); }

  .recognition {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .recognition-stage {
    grid-row: 1;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(1rem, 5vw, 5rem);
    min-height: clamp(24rem, 39vw, 39rem);
    padding: clamp(2.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
    background: radial-gradient(ellipse at 80% 49%, #272523, #101010 38%, #0b0b0b 72%);
  }

  .recognition-map {
    display: block;
    width: 100%;
    height: auto;
    justify-self: start;
  }

  .recognition-plaque {
    left: auto;
    justify-self: end;
    width: min(100%, 15.4rem, 19.25vw);
  }

  .recognition-caption {
    grid-row: 2;
    justify-self: start;
    width: min(37%, 25rem);
  }
}

@media (max-width: 640px) {
  :root { --inset: clamp(1.25rem, 5.8vw, 2rem); }

  .masthead, .colophon { min-height: 3.5rem; font-size: .75rem; }
  .colophon { gap: .75rem; }
  .colophon > span { max-width: 19ch; line-height: 1.25; }
  .light-control:not([hidden]) {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding-left: 0;
    white-space: nowrap;
  }
  .light-icon { margin: 0; }

  .masthead-brand .plaque-mark { width: 1.25rem; }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    padding-top: clamp(2rem, 8svh, 4rem);
  }
  .identity { padding: 0; }
  h1 img { width: min(68vw, 17rem, 40svh); }
  .identity p { margin-top: 1.125rem; }
  .object {
    justify-items: end;
    border-left: 0;
    padding-block: clamp(1.25rem, 4svh, 2rem);
    padding-inline: 0;
    background: none;
  }
  .plaque { width: clamp(4.5rem, 20vw, 6rem); aspect-ratio: 1 / 2; }
  .plaque-mark { width: 100%; }

  .perspective {
    min-height: 0;
    padding-block: clamp(4.5rem, 16vw, 7rem);
  }
  .perspective-inner, .principles-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .perspective-inner { padding-top: 2rem; }
  .perspective-break { display: none; }
  .perspective h2, .principles h2 { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .perspective p { max-width: 31ch; }
  .perspective .about-purpose {
    width: auto;
    margin: 1.25rem 0 0;
    max-width: 34ch;
  }

  .principles { padding-block: 3.5rem 4.5rem; }
  .principles-intro h2, .principles-copy { grid-column: auto; grid-row: auto; }
  .principles-copy { padding-left: 1rem; }

  .values { padding-bottom: 4.5rem; }
  .philosophy > div:nth-child(n) {
    grid-template-columns: 1fr;
    text-align: left;
    padding-block: 2rem 2.5rem;
    gap: .625rem;
  }
  .philosophy > div:nth-child(even) :is(dt, dd) { grid-column: auto; grid-row: auto; }
  .philosophy dt { font-size: clamp(2.2rem, 10vw, 3.5rem); }

  .recognition { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 4.75rem; }
  .recognition-caption { width: 75%; }
  .recognition-caption h2 { font-size: clamp(1.3rem, 5.5vw, 2rem); }
  .recognition-stage {
    min-height: 0;
    gap: 1.25rem;
    padding: 1.75rem .75rem 2.75rem;
    background: radial-gradient(ellipse at 68% 72%, #23211f, #0b0b0b 65%);
  }
  .recognition-map { display: block; width: min(100%, 26rem); height: auto; }
  .recognition-plaque {
    left: auto;
    justify-self: end;
    margin-right: 9%;
    width: min(39.2%, 8.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .recognition-plaque::after { display: none; }
  .reveal-ready .philosophy > div:not(.is-visible)::before { transform: none; }
  .reveal-ready .philosophy > div:not(.is-visible) :is(dt, dd) { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready [data-reveal]:not(.philosophy > div):not(.is-visible) { opacity: 1; transform: none; }
}
