/* CSS Reset to clear default padding, margin, and border */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Set box-sizing to border-box for a consistent box model */
html {
  box-sizing: border-box;
}

/* ------------------------------------------------ */
/* Color Variables */
/* ------------------------------------------------ */
:root {
  --deep-navy: #0A0552;
  --primary-blue: #1809C0;
  --cyan: #02DADA;
  --light-cream: #f6f2f3;
  --cream: #F5F1E8;
  --slate: #4A5568;
}

body {
  background-color: var(--light-cream);
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: 16px;
  margin: 0;
  padding: 0;
  line-height: 1.6em;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4em;
  line-height: 1.2em;
  margin-bottom: 1.2em;
  margin-bottom: .4em;
  color: var(--deep-navy);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8em;
  padding-bottom: 1em;
  padding-top: 1em;
  color: var(--deep-navy);
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4em;
  padding-bottom: 1.2em;
  color: var(--deep-navy);
}

h4 {
  font-family: 'Playfair Display', serif;
  display: inline-block;
  margin: 0;
  font-size: 1.2em;
  line-height: 1.2em;
  margin-right: 8px;
  font-weight: 800;
  padding-bottom: 1.2em;
  color: var(--deep-navy);
}

a {
  color:#1809C0;
}

.hero {
  width: 100%;
  padding: 0; margin: 0;
  z-index: -1;
}

ul {
  margin: 0;
  padding: 0;
}

ul, ol {
  padding-left: 1.2em;
}

ul ul,
ol ol,
ul ol,
ol ul {
  padding-top: 1em;
  padding-bottom: 0.2em;
  margin-bottom: 0.4em;
}

p,
li {
  font-family: 'Lora', serif;
  font-weight: 300;
}

ul, p {
  padding-bottom: 16px;
}

li {
  margin-bottom: 0.6em;
}

section {
  clear: both;
}

.container {
  max-width: 680px;
  margin: auto;
  padding: 20px;
  position: relative;
}

/* Index page layout */
.container--index {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.index-content {
  width: 100%;
}

.index-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
}

.index-sidebar {
  width: 100%;
}

small {
  font-size: .9em;
  line-height: 1.3em;
  font-style: italic;
}

.p--lead {
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.4em;
}


/* ------------------------------------------------ */
/* helpers */
/* ------------------------------------------------ */

.img--right {
  display: block;
  float: right;
  margin: 0 0 32px 32px;
  width: 33%;
}

.img--large {
  display: block;
  width: 100%;
  box-shadow: 4px 4px 0px 0px rgba(21, 17, 217, 0.16);
  border-radius: 4px;
  border: 1px solid #1809C0;
}

.list--no-bullet {
  list-style-type: none;
  padding-left: 0;
}

.list--no-bullet li {
  list-style-type: none;
}


.index-sidebar {
  font-size: .9em;
}

.social-links {
  list-style: none;
  padding-left: 0;
}

.social-links li {
  margin-bottom: 0.8em;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
}

.social-links a span {
  text-decoration: underline;
}

.social-links a:hover span {
  text-decoration: underline;
}

.social-links i {
  width: 20px;
  text-align: center;
  font-size: 1.1em;
  flex-shrink: 0;
}


/* ------------------------------------------------ */
/* columns */
/* ------------------------------------------------ */

.row {
  display: flex;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  padding: 18px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .column {
    flex-basis: 100%;
  }
}

/* ------------------------------------------------ */
/* Book Reviews & Other Pages */
/* ------------------------------------------------ */

.point {
  width: 26px;
  padding-right: 6px;
  display: inline-block;
  text-indent: 0;
  text-align: right;
  font-weight: 800;
  font-size: 1.2em;
  vertical-align: baseline;
}

.stars {
  display: inline-block;
  vertical-align: middle;
}

.star {
  width: 22px;
  height: 22px;
}


/* ------------------------------------------------ */
/* WeWork page specific  */
/* ------------------------------------------------ */

.body--wework-cowork .img--left {
  max-width: 320px;
  display: block;
  float: left;
  margin: 0 20px 20px 0;
}

.body--wework-cowork section {
  display: inline-block;
}

.body--wework-cowork .hero-section {
  overflow: hidden;
}

.body--wework-cowork .hero-section::after {
  content: "";
  display: table;
  clear: both;
}

.urgent-notice {
  border: 1px solid #ff00ff;
  border-radius: 4px;
  background-color: #ffccff;
  padding: 20px;
  margin-bottom: 20px;
}

.urgent-notice p {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ------------------------------------------------ */
/* Case Studies page specific  */
/* ------------------------------------------------ */

.body--case-studies .container {
  max-width: 680px;
}

.section--jumplinks {
  background-color: #F9F8FF;
  border: 1px solid #1809C0;
  box-shadow: 4px 4px 0px 0px rgba(21, 17, 217, 0.16);
  border-radius: 4px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1;
  align-items: center;
  padding: 8px;
  font-weight: 900;
  max-width: 680px;
  margin: 32px auto;
  font-size: 13px;
  line-height: 1.2em;
}


.section--tldr {
  max-width: 680px;
  margin: auto;
}

.body--case-studies .section--tldr {
  display: flex;
  gap: 20px;
  margin: 32px 0;
}

.body--case-studies .section--tldr > section {
  flex: 1;
}

.body--case-studies .section--tldr > section:last-child {
  flex: 2;
}

.section--deliverables .icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: baseline;
}

.body--case-studies .img--left {
  max-width: 320px;
  display: block;
  float: left;
  margin: 0 20px 20px 0;
}

.body--case-studies section {
  display: inline-block;
}

.body--case-studies .hero-section {
  overflow: hidden;
}

.body--case-studies .hero-section::after {
  content: "";
  display: table;
  clear: both;
}

.body--case-studies .urgent-notice {
  border: 1px solid #ff00ff;
  border-radius: 4px;
  background-color: #ffccff;
  padding: 20px;
  margin-bottom: 20px;
}

.body--case-studies .urgent-notice p {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .body--case-studies .section--tldr {
    flex-direction: column;
    gap: 24px;
  }
}

.section--tldr__stuff {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.section--tldr h3 {
  padding: 0;
  margin: 0;
}

.metadata {
  padding: 16px 0;
  max-width: 680px;
  border: 1px solid #1809C0;
  border-width: 1px 0;
  line-height: 1.4em;
  margin-top: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.metadata__timespan {
  font-weight: 16px;
  line-height: 1.4em;
  font-style: italic;
  margin-right: 16px;
  padding-right: 16px;
  border-right: 1px solid #1809C0;
}

.metadata__tags span {
  background-color: #1809C0;
  border-radius: 100px;
  padding: 4px 10px;
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  font-weight: 900;
}

.section--deliverables {
  font-weight: 900;
  display: block;
  overflow: hidden;
  clear: both;
}

.section--deliverables h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0; margin-bottom: 0;
  padding-top: 0; padding-bottom: 0;
  padding-bottom: 8px;
}

.deliverables {
  list-style-type: none;
}

.deliverables li {
  margin-bottom: 4px;
}

/* ------------------------------------------------ */
/* OOUX styles, currently not in use */
/* ------------------------------------------------ */

.inline-ooux:before {
  content: " ";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 2px;
  box-shadow: 0px 4px 23px 0px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

.inline-ooux--object {
  border-bottom: 2px solid #94E5FF;
}
.inline-ooux--object:before {
  background-color: #94E5FF;
}

.inline-ooux--cta {
  border-bottom: 2px solid #7EFFD1;
}
.inline-ooux--cta:before {
  background-color: #7EFFD1;
}

.inline-ooux--metadata {
  border-bottom: 2px solid #FFBDF8;
}
.inline-ooux--metadata:before {
  background-color: #FFBDF8;
}

.inline-ooux--core-content {
  border-bottom: 2px solid #F5FFB7;
}
.inline-ooux--core-content:before {
  background-color: #F5FFB7;
}

.icon {
  height: 16px;
  display: inline-block;
  margin-right: 4px;
  margin-bottom: -3px;
}


/* ===FIGURE=== */

.figure {
  display: block;
  padding: 0;
  margin: 0;
}

.figure img {
  width: 100%;
}

.figure__caption {
  font-size: 12px;
  line-height: 1.4em;
  color: #717171;
  margin-top: 8px;
}

.figure--wide {
  margin: 16px 0 32px 0;
  width: 100%;
}

.figure--right {
  float: right;
  margin: 0 0 32px 32px;
  width: 33%;
}

.figures--multiple {
  display: flex;
  gap: 20px;
}

.figure img {
  border: 1px solid #1809C0;
  box-shadow: 4px 4px 0px 0px rgba(21, 17, 217, 0.16);
  border-radius: 4px;
}

.figure a {
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}

.figure a:hover {
  opacity: 0.9;
}

.figure a img {
  display: block;
  width: 100%;
}

.figure--small {
  width: 25%;
}

/* TLDR section with columns */
.body--case-studies .section--tldr {
  display: flex;
  gap: 40px;
  margin: 32px 0;
}

.body--case-studies .section--tldr > section {
  flex: 1;
}

.body--case-studies .section--tldr > section:last-child {
  flex: 1.3;
}

.body--case-studies .section--deliverables .icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: baseline;
}

@media (max-width: 768px) {
  .body--case-studies .section--tldr {
    flex-direction: column;
    gap: 24px;
  }
}

/* ------------------------------------------------ */
/* Mobile, baby  */
/* ------------------------------------------------ */
@media (max-width: 540px) {
  .img--left {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
  }
}

@media (max-width: 468px) {
  .star {
    width: 12px;
    height: 12px;
  }
}
