/* ========================================================================
   NectarPR Stylesheet
   ========================================================================
   Table of Contents:
   1.  Custom Properties
   2.  Font Faces
   3.  Reset / Base
   4.  Typography
   5.  Layout Primitives
   6.  Utilities
   7.  Hover Rollover Effect
   8.  Click Container
   9.  Header
   10. Menu Overlay
   11. Get In Touch (shared)
   12. Footer (shared)
   13. Homepage — Hero
   14. Homepage — About Section
   15. Homepage — Careers Section
   16. Work Page
   17. Expertise Page
   18. About Page
   18b. Case Study Pages
   19. Responsive
   ======================================================================== */

/* ========================================================================
   1. Custom Properties
   ======================================================================== */

:root {
  --color-dark: #0f121a;
  --color-cream: #fbf6f0;
  --color-red: #ff0043;
  --color-orange: #ff9500;
  --color-white: #ffffff;
  --color-salmon: #ffa08f;
  --color-teal: #00beaf;
  --color-purple: #b97dbb;
  --color-blue: #7eb9e1;
  --color-gray: #777777;
  --color-tan: #f5eee5;
  --color-khaki: #b6ac90;
  --color-silver: #c6c2bd;
}

/* ========================================================================
   2. Font Faces
   ======================================================================== */

@font-face {
  font-family: "Open Sans";
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-300.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-regular.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-500.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-600.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-700.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-800.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-300italic.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-italic.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-500italic.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-600italic.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-700italic.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 800;
  font-style: italic;
  font-display: swap;
  src: url(/assets/fonts/open-sans-v35-latin-800italic.woff2) format("woff2");
}

@font-face {
  font-family: "Hind";
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/hind-v16-latin-300.woff2) format("woff2");
}

@font-face {
  font-family: "Hind";
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/hind-v16-latin-regular.woff2) format("woff2");
}

@font-face {
  font-family: "Hind";
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/hind-v16-latin-500.woff2) format("woff2");
}

@font-face {
  font-family: "Hind";
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/hind-v16-latin-600.woff2) format("woff2");
}

@font-face {
  font-family: "Hind";
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/hind-v16-latin-700.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans Condensed";
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/OpenSans-CondLight.ttf) format("truetype");
}

@font-face {
  font-family: "Open Sans Condensed";
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/OpenSans-CondBold.ttf) format("truetype");
}

@font-face {
  font-family: "Open Sans Condensed";
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  src: url(/assets/fonts/OpenSans-CondLightItalic.ttf) format("truetype");
}

/* ========================================================================
   3. Reset / Base
   ======================================================================== */

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

html {
  font-size: 62.5%; /* 1rem = 10px — all rem values in this site assume this base */
  background-color: var(--color-cream);
}

html,
body {
  overflow-x: hidden;
}

body {
  background: none;
}

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

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

figure {
  margin: 0;
}

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

a img {
  border-radius: inherit;
  transition: inherit;
}

/* ========================================================================
   4. Typography
   ======================================================================== */

body {
  font-family: "Open Sans";
  font-size: 2rem;
  font-weight: 400;
  line-height: 3.1rem;
  color: var(--color-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Hind";
  font-weight: 700;
  color: var(--color-dark);
}

h1 {
  font-size: 11rem;
  line-height: 10.5rem;
}

h2 {
  font-size: 5rem;
  line-height: 1;
  font-family: "Hind";
}

h3 {
  font-size: 2.4rem;
  line-height: 3.2rem;
  font-family: "Hind";
}

h4 {
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 2.5rem;
  text-transform: uppercase;
  font-family: "Open Sans Condensed";
}

.type-hero {
  font-size: 14rem;
  line-height: 12rem;
}

/* ========================================================================
   5. Layout Primitives
   ======================================================================== */

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  flex-wrap: nowrap;
}

.block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.inner-container {
  max-width: 1200px;
  width: 100%;
  padding: 2rem;
  align-self: center !important;
  z-index: 3;
  position: relative;
}

/* ========================================================================
   6. Utilities
   ======================================================================== */

/* --- Skip Link --- */

.skip-link {
  clip: rect(1px, 1px, 1px, 1px);
  background: #000;
  border-bottom-right-radius: 8px;
  color: #fff;
  font-weight: 700;
  height: 1px;
  left: 0;
  overflow: hidden;
  padding: 5px 10px;
  position: absolute;
  top: 0;
  transition: transform 0.1s;
  white-space: nowrap;
  width: 1px;
  z-index: 9999;
}

.skip-link:focus {
  clip: auto;
  height: auto;
  overflow: visible;
  width: auto;
}

/* --- Divider --- */

.divider {
  align-items: center;
  display: flex;
  font-size: 30px;
  gap: 30px;
}

.divider.horizontal {
  width: 100%;
}

.divider.horizontal .line {
  border-top: 1px solid;
}

.divider.vertical {
  flex-direction: column;
}

.divider.vertical .line {
  border-right: 1px solid;
  width: auto;
}

.divider .line {
  position: relative;
  width: 100%;
}

.divider .icon {
  flex-shrink: 0;
  position: relative;
}

/* --- Nectar Divider (custom divider variant) --- */

.nectar-divider .line {
  height: 3px;
}

.nectar-divider.horizontal .line {
  border-top-width: 3px;
  width: 7rem;
  border-top-style: solid;
  border-top-color: var(--color-dark);
}

.nectar-divider.vertical .line {
  border-right-width: 7rem;
  border-right-style: solid;
  border-right-color: var(--color-dark);
}

.nectar-divider .icon {
  color: var(--color-dark);
}

/* --- Text --- */

.text {
  /* base text element — no special styles needed beyond body defaults */
}

/* --- Icon --- */

.icon {
  font-size: 60px;
}

svg.icon {
  font-size: inherit;
}

/* --- Image --- */

a.image {
  display: inline-block;
}

.image.tag {
  display: inline-block;
  height: fit-content;
  position: relative;
  width: auto;
}

.image.overlay {
  position: relative;
}

.image.overlay::before {
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.image::before {
  border-radius: inherit;
}

.image a {
  border-radius: inherit;
  position: static;
  transition: inherit;
}

.image picture {
  border-radius: inherit;
  transition: inherit;
}

/* --- CSS filter utility --- */

.css-filter {
  /* applied via inline style or JS */
}

/* --- SVG utilities --- */

/* ========================================================================
   7. Hover Rollover Effect
   ======================================================================== */

.rollover-link {
  transition: all 0s 0.4s;
  padding: 0.5rem 1rem;
  z-index: 1;
  width: auto;
  position: relative;
}

.rollover-link:hover {
  color: var(--color-white);
}

.rollover-link::before {
  content: ' ';
  position: absolute;
  top: -5px;
  right: 110%;
  bottom: -5px;
  left: -5px;
  background-color: var(--color-dark);
  z-index: -1;
  transition: all 800ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
}

.rollover-link:hover::before {
  right: -5px;
}

/* ========================================================================
   8. Click Container
   ======================================================================== */

.click-container {
  cursor: pointer;
}

.click-container:hover > .rollover-link {
  color: #fff;
}

.click-container:hover > .rollover-link::before {
  right: -5px;
}

.click-container:hover > .hover-color-link--pink {
  color: #ff0043;
}

/* ========================================================================
   9. Header
   ======================================================================== */

#site-header {
  background-position: 50%;
  background-size: cover;
  position: relative;
  width: 100%;
  z-index: 998;
}

#site-header.sticky {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background-color 0.2s, transform 0.4s;
  width: 100%;
  z-index: 998;
}

#header-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  column-gap: 2rem;
  padding: 2rem 3rem;
  color: var(--color-dark);
  width: 100%;
  z-index: 20;
  position: relative;
}

#logo {
  width: auto;
  height: 2.8rem;
  font-size: 5rem;
  fill: currentColor;
  vertical-align: middle;
}

#logo .logo-letters,
#logo .logo-dot {
  transition: all 0.3s ease-in-out;
}

#logo .logo-letters {
  clip-path: inset(0 0 0 0);
}

#site-header.scrolling #logo .logo-letters {
  clip-path: inset(0 100% 0 0);
}

#site-header.scrolling #logo .logo-dot {
  transform: translateX(-71%);
}

#menu-toggle {
  height: 5rem;
  width: 4rem;
  font-size: 5rem;
  text-align: center;
  stroke: currentColor;
  cursor: pointer;
}

#menu-toggle > line {
  transition: all 0.2s;
}

#menu-toggle.toggled > line:nth-of-type(1) {
  transform-origin: center;
  transform: translateX(-15%) translateY(30%) rotate(45deg);
}

#menu-toggle.toggled > line:nth-of-type(2) {
  opacity: 0;
}

#menu-toggle.toggled > line:nth-of-type(3) {
  transform-origin: center;
  transform: translateX(-15%) translateY(-30%) rotate(-45deg);
}

.toggled {
  color: var(--color-cream);
}

/* ========================================================================
   10. Menu Overlay
   ======================================================================== */

#menu-overlay {
  display: flex;
  color: var(--color-cream);
  background-color: var(--color-dark);
  width: 100vw;
  position: fixed;
  top: 0px;
  left: -100%;
  z-index: 10;
  flex-direction: column;
  align-self: flex-start !important;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: nowrap;
  height: 100%;
  overflow: scroll;
  transition: all 800ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
  -webkit-overflow-scrolling: touch;
}

#menu-overlay.open {
  left: 0 !important;
}

#menu-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  column-gap: 0px;
  z-index: 2;
  width: 100%;
  margin-top: 9rem;
  position: relative;
}

#menu-links {
  width: 33%;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

#nav-menu {
  width: 100%;
  font-family: "Hind";
  font-weight: 700;
  font-size: 4rem;
  line-height: 1;
  align-self: flex-start;
}

#nav-menu .nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}

#nav-menu .menu-item {
  display: block;
  align-self: flex-start;
  width: auto !important;
  position: relative;
  margin-left: 2rem;
  padding: 2rem 1rem;
}

#nav-menu .menu-item:hover {
  color: #0F121A;
}

#nav-menu .menu-item::before {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  bottom: 0;
  right: 100%;
  background: #FBF6F0;
  transition: all 0.2s ease-out;
}

#nav-menu .menu-item:hover::before {
  right: 0;
}

#menu-contact {
  width: 67%;
  padding: 2rem;
}

#menu-contact-label {
  margin-bottom: 4rem;
  color: var(--color-cream);
}

#menu-contact-heading {
  color: var(--color-cream);
  margin-bottom: 6rem;
}

#menu-contact-cols {
  display: flex;
  flex-direction: row;
  column-gap: 2rem;
}

#menu-work-label {
  color: var(--color-cream);
}

#menu-work-email {
  margin-top: 1rem;
  color: var(--color-cream);
}

#menu-work-email::before {
  background-color: var(--color-orange);
}

#menu-work-email:hover {
  color: var(--color-dark);
}

#menu-join-label {
  color: var(--color-cream);
}

#menu-join-email {
  margin-top: 1rem;
  color: var(--color-cream);
}

#menu-join-email::before {
  background-color: var(--color-orange);
}

#menu-join-email:hover {
  color: var(--color-dark);
}

#menu-wordmark {
  position: absolute;
  bottom: -2rem;
  left: 0;
  right: 0;
  width: calc(100vw - 4rem);
  margin-left: 2rem;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* ========================================================================
   11. Get In Touch (shared)
   ======================================================================== */

#get-in-touch {
  background-image: url(/assets/images/get-in-touch-bg.svg);
  background-position: bottom center;
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-color: var(--color-cream);
  width: 100%;
  padding-top: 28rem;
  padding-bottom: 28rem;
  align-items: center;
  justify-content: center;
  row-gap: 2rem;
  position: relative;
  overflow: hidden;
  margin-top: 0rem;
}

.get-in-touch-content {
  width: auto;
  align-self: center !important;
  justify-content: center;
  align-items: center;
  row-gap: 2rem;
}

.get-in-touch-cta {
  z-index: 2;
  margin-top: 3rem;
  position: relative;
}

.get-in-touch-heading {
  z-index: 2;
  margin-top: 3rem;
  position: relative;
}

.get-in-touch-text {
  max-width: 530px;
  width: 100%;
  text-align: center;
  z-index: 2;
  position: relative;
}

/* ========================================================================
   12. Footer (shared)
   ======================================================================== */

#footer-section {
  width: 100%;
  align-self: center !important;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cream);
}

#footer-container {
  padding: 2rem;
}

#footer-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-dark);
}

#footer-left {
  display: flex;
  align-items: center;
  flex-direction: row;
  column-gap: 2rem;
  order: 1;
  font-size: 1.6rem;
}

#footer-copyright {
  font-family: "Open Sans Condensed";
  font-weight: 700;
  font-size: 1.6rem;
}

#footer-center {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 2;
}

#footer-center button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

#footer-logo {
  height: 5rem;
}

#footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
  column-gap: 2rem;
  order: 3;
  margin-top: 0;
  margin-bottom: 0;
}

#footer-linkedin {
  font-family: "Open Sans Condensed";
  font-weight: 700;
  font-size: 1.6rem;
}

#footer-instagram {
  font-family: "Open Sans Condensed";
  font-weight: 700;
  font-size: 1.6rem;
}

/* ========================================================================
   13. Homepage — Hero
   ======================================================================== */

#hero-spacer {
  height: 100vh;
}

#hero {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0px;
  right: 0px;
  left: 0px;
  background-color: var(--color-cream);
  background-image: url(/assets/images/home-hero.png);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  align-self: center !important;
  justify-content: center;
  align-items: center;
  z-index: -1;
}

#hero > .container,
#hero > .block {
  margin: 0;
  padding: 0;
}

#hero-title {
  text-align: center;
  font-size: 9.3rem;
  max-width: 750px;
  padding: 0 2rem;
}

#hero-scroll-down {
  color: var(--color-dark);
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

/* ========================================================================
   14. Homepage — About Section
   ======================================================================== */

#about-section {
  background-color: var(--color-cream);
  padding-top: 13rem;
  padding-bottom: 13rem;
  width: 100%;
  align-self: center !important;
  align-items: center;
  position: relative;
}

#about-section-foreground {
  max-width: 1200px;
  width: 80vw;
  padding: 2rem;
  z-index: 2;
  align-self: center !important;
  position: relative;
}

#about-section-background {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 1;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#about-blue-bg-section {
  background-color: var(--color-blue);
  z-index: 2;
  top: 0px;
  position: absolute;
  bottom: 0px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  clip-path: inset(0 0 0 80vw);
}

#about-mini-heading {
  color: var(--color-dark);
}

#about-heading {
  margin-top: 4rem;
  margin-bottom: 3rem;
  color: var(--color-dark);
}

.page-home #about-heading {
  max-width: 675px;
  width: 100%;
}

#about-text {
  color: var(--color-dark);
  margin-bottom: 10rem;
  max-width: 62rem;
  width: 100%;
  padding-right: 2rem;
}

#about-divider.horizontal {
  justify-content: flex-start;
}

#about-divider.vertical {
  align-self: flex-start;
}

#about-divider .line {
  height: 60px;
}

#about-divider.horizontal .line {
  border-top-width: 60px;
  width: 1px;
}

#about-divider.vertical .line {
  border-right-width: 1px;
}

#about-links {
  display: flex;
  flex-direction: row;
  row-gap: 2rem;
  column-gap: 2rem;
  align-items: center;
}

#about-learn {
  /* keep as-is if present in HTML */
}

#about-clients-link {
  /* keep as-is if present in HTML */
}

/* --- About shapes animation --- */

@keyframes about-shapes-loop {
  from { transform: translateX(-62rem); }
  to { transform: translateX(0rem); }
}

@keyframes about-shapes-loop-2 {
  from { transform: translateX(0rem); }
  to { transform: translateX(62rem); }
}

@keyframes about-shapes-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(45deg); }
}

.about-shapes-row {
  flex-direction: row;
  align-self: flex-start !important;
  align-items: center;
  justify-content: flex-start;
  column-gap: 2rem;
  flex-wrap: nowrap;
  display: flex;
  padding: 2rem;
  width: 824rem;
  max-width: 824rem;
}

img.home-about-shape {
  height: 60rem;
  width: auto;
  max-width: none;
}

img.asterisk {
  height: 58rem;
  width: auto;
  max-width: none;
  padding: 1rem;
  animation: about-shapes-rotate 20s linear infinite;
}

#asterisks-container {
  position: absolute;
  z-index: 1;
  flex-direction: row;
  animation: about-shapes-loop-2 20s linear infinite;
}

#circles-container {
  position: absolute;
  z-index: 1;
  flex-direction: row;
  animation: about-shapes-loop 20s linear infinite;
}

/* ========================================================================
   15. Homepage — Careers Section
   ======================================================================== */

#careers-section {
  width: 100%;
  padding-top: 13rem;
  padding-bottom: 29rem;
  align-items: center;
  z-index: 2;
  background-color: var(--color-cream);
  position: relative;
}

#careers-section-inner {
  z-index: 4;
  position: relative;
}

#careers-label {
  margin-bottom: 4rem;
}

#careers-heading {
  max-width: 650px;
  width: 100%;
  font-size: 14rem;
  line-height: 11.5rem;
  margin-bottom: 3rem;
}

#careers-text {
  max-width: 62rem;
  width: 100%;
}

#careers-cta-wrapper {
  /* wrapper for CTA button */
}

#careers-cta {
  margin-top: 7rem;
}

#careers-red-square {
  width: 30rem;
  position: absolute;
  right: 0px;
  bottom: 0px;
  background-color: var(--color-red);
  z-index: 3;
  top: 62rem;
  --before-height: auto;
}

#careers-red-square::before {
  content: ' ';
  background-color: var(--color-dark);
  width: 16rem;
  bottom: 14rem;
  top: 0rem;
  left: 0px;
  right: 14rem;
  position: absolute;
  height: var(--before-height);
}

#careers-purple-bg {
  background-color: var(--color-purple);
  z-index: 2;
  position: absolute;
  top: 0px;
  right: 14rem;
  bottom: 14rem;
  left: 0px;
  width: auto;
}

/* ========================================================================
   16. Work Page
   ======================================================================== */

.header-spacer {
  height: 9rem;
  width: 100%;
}

#work-hero {
  padding: 6rem 11rem 11rem 11rem;
  background-color: var(--color-tan);
  position: relative;
  z-index: 1;
}

#work-label {
  margin-bottom: 4rem;
}

#work-heading {
  font-size: 12.5rem;
}

/* --- Work page decorative blocks --- */

.work-decor {
  position: absolute;
  background-color: var(--color-dark);
}

.work-decor:first-of-type {
  top: 0px;
  right: 0px;
  width: 9rem;
  height: 9rem;
}

.work-decor:first-of-type::before {
  position: absolute;
  bottom: 0px;
  left: 0px;
  content: ' ';
  top: -9999px;
  right: -9999px;
  background-color: var(--color-red);
  z-index: -1;
}

.work-decor:nth-of-type(2) {
  top: 13rem;
  right: 0px;
  width: 4rem;
  height: 18rem;
}

.work-decor:nth-of-type(2)::before {
  content: ' ';
  position: absolute;
  top: 0rem;
  left: 0px;
  bottom: 0px;
  right: -9999px;
  background-color: var(--color-orange);
  z-index: -1;
}

.work-decor:last-of-type {
  right: 0px;
  bottom: 0px;
  width: 33rem;
  height: 5rem;
}

.work-decor:last-of-type::after {
  background-color: var(--color-red);
  z-index: -1;
  position: absolute;
  top: 0px;
  right: -999px;
  left: 0px;
  bottom: -24rem;
  content: ' ';
}

/* --- Clients section --- */

#clients-section {
  padding-top: 20rem;
  padding-bottom: 10rem;
  align-self: center !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#clients {
  padding: 0 2rem;
  align-items: center;
}

#clients-heading {
  /* inherits h2 styles */
}

#clients-subtitle {
  margin-top: 3rem;
  text-align: center;
}

.client-logo {
  align-items: center;
  justify-content: center;
}

.client-logo-img {
  width: 100%;
  height: auto;
}

#logo-grid {
  margin-top: 8rem;
  width: 100%;
  max-width: 1200px;
  align-self: center !important;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-row-gap: 10rem;
  grid-column-gap: 16rem;
}

/* ========================================================================
   17. Expertise Page
   ======================================================================== */

html {
  --heading-1-width: 0;
  --heading-2-width: 0;
  --heading-3-width: 0;
  --heading-4-width: 0;
  --heading-5-width: 0;
}

#expertise-hero {
  background-color: var(--color-orange);
  padding: 6rem 9rem 17rem 9rem;
}

#expertise-label {
  /* h4 styles from typography */
}

#expertise-heading {
  margin-top: 4rem;
  margin-bottom: 6rem;
  font-size: 12.5rem;
  line-height: 12rem;
}

#expertise-divider {
  /* uses .nectar-divider styles */
}

#expertise-intro {
  margin-top: 7rem;
  max-width: 62rem;
  width: 100%;
  font-weight: 400;
}

#expertise-sections {
  padding-right: 0;
  padding-bottom: 14rem;
  padding-left: 0;
  position: relative;
}

/* --- Expertise rows --- */

.expertise-row {
  z-index: 1;
  margin-top: 10rem;
  position: relative;
}

.expertise-heading {
  padding-left: 13rem;
  position: relative;
}

.expertise-heading::before {
  position: absolute;
  z-index: -1;
  top: 0px;
  bottom: 40%;
  left: -2rem;
  background-color: var(--color-red);
  content: ' ';
  width: var(--expertise-heading-width);
}

.expertise-text {
  margin-top: 1rem;
  padding-left: 14rem;
}

/* --- Expertise accent blocks / color strips --- */

#heading-1::before {
  width: var(--heading-1-width);
}

#heading-2::before {
  background-color: var(--color-purple);
  width: var(--heading-2-width);
}

#heading-3::before {
  background-color: var(--color-teal);
  width: var(--heading-3-width);
}

#heading-4::before {
  background-color: var(--color-blue);
  width: var(--heading-4-width);
}

#heading-5::before {
  background-color: var(--color-salmon);
  width: var(--heading-5-width);
}

/* --- Expertise content row (wrapper around accent + items) --- */

.expertise-content-row {
  flex-direction: row;
  align-self: center !important;
  width: 80%;
}

/* Each section's specific strip is positioned absolutely */
.expertise-accent.first {
  position: absolute;
  top: 0px;
  bottom: 0px;
  z-index: 1;
  align-items: stretch;
  flex-direction: row;
}

.expertise-accent.first::before {
  background-color: var(--color-dark);
  content: ' ';
  position: absolute;
  bottom: 100%;
  left: 0px;
  right: 0px;
  top: -6rem;
  z-index: 2;
}

/* --- Expertise items (h3 list items) --- */

.expertise-items {
  background-color: var(--color-tan);
  padding: 2rem;
}

.expertise-items h3 {
  margin-top: 2rem;
}

.expertise-items h3:first-child {
  margin-top: 0;
}

/* ========================================================================
   18. About Page
   ======================================================================== */

#about-hero {
  padding: 6rem 11rem 11rem 11rem;
  background-color: var(--color-purple);
  position: relative;
  z-index: 1;
}

#about-label {
  margin-bottom: 4rem;
}

#about-heading {
  font-size: 12.5rem;
  line-height: 1;
}

#about-page-divider {
  margin-top: 5rem;
  margin-bottom: 7rem;
}

#about-intro {
  margin-bottom: 6rem;
  max-width: 62rem;
  width: 100%;
  font-weight: 400;
}

#about-image-wrapper {
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: auto;
}

#about-image-wrapper::before {
  position: absolute;
  top: 0px;
  right: -999px;
  bottom: -36rem;
  left: 0px;
  background-color: var(--color-orange);
  content: ' ';
  z-index: -1;
}

#about-image {
  height: 41rem;
  width: auto;
}

/* --- Leadership Section --- */

#leadership-section {
  padding-top: 27rem;
  padding-bottom: 11rem;
  width: 100%;
}

#leadership-container {
  padding: 0;
  margin-top: 0;
  flex-wrap: nowrap;
}

#leadership-heading {
  margin-right: 11rem;
  margin-left: 11rem;
}

#leadership-intro {
  margin-top: 3rem;
  margin-right: 11rem;
  margin-left: 11rem;
  max-width: 62rem;
  width: 100%;
}

/* --- Team Members --- */

#team-members-container {
  margin-top: 8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-row-gap: 0;
  grid-column-gap: 0;
}

.team-member {
  position: relative;
  padding: 0;
  overflow: hidden;
  align-items: center;
}

.team-member:hover .team-overlay {
  transform: translateY(0%);
}

.team-photo {
  width: 100%;
}

.team-photo:not(.tag),
.team-photo img {
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}

.team-overlay {
  position: absolute;
  right: 0px;
  bottom: 0px;
  left: 0px;
  padding: 2rem;
  z-index: 1;
  width: 100%;
  background-color: var(--color-orange);
  transform: translateY(100%);
  transition: all 0.2s ease-in-out;
}

.team-overlay::after {
  content: ' ';
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 4rem;
  height: 4rem;
  background-color: var(--color-dark);
}

.team-name {
  margin-top: 2rem;
}

.team-title {
  margin-top: 0.5rem;
  font-size: 1.6rem;
  font-style: italic;
}

.team-location {
  /* inherits text styles */
}

.team-links {
  /* container for social links */
}

.team-linkedin {
  /* inherits link styles */
}

/* --- Values Section --- */

#values-section {
  position: relative;
  z-index: 1;
}

#values-container {
  padding: 7rem 11rem;
  color: var(--color-white);
  background-color: var(--color-dark);
  margin-top: 19rem;
  position: relative;
  z-index: auto;
}

#values-container::before {
  content: ' ';
  position: absolute;
  bottom: 0px;
  right: 0px;
  left: -999px;
  top: -72.5rem;
  background-color: var(--color-red);
  z-index: -1;
}

#values-container::after {
  z-index: -1;
  top: 0px;
  left: 0px;
  content: ' ';
  background-color: var(--color-blue);
  bottom: -11rem;
  right: -999px;
  position: absolute;
}

#values-heading {
  color: var(--color-white);
  font-size: 8rem;
}

#values-content {
  display: flex;
  flex-direction: row;
  margin-top: 3rem;
  align-items: flex-start;
  column-gap: 4rem;
}

#values-intro-wrapper {
  /* wrapper block */
}

#values-intro {
  width: 35rem;
}

#values-list {
  /* container for value items */
}

/* --- Individual Value Items --- */

.value-item:first-child {
  border-bottom: 2px solid var(--color-white);
  padding-bottom: 3rem;
}

.value-item:not(:first-child) {
  border-bottom: 2px solid var(--color-white);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.value-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  justify-self: flex-start;
  align-self: flex-start !important;
  cursor: pointer;
}

.value-name {
  color: var(--color-white);
  padding-top: 0rem;
}

.value-icon {
  width: 24px;
  stroke: var(--color-white);
  font-size: 24px;
  transition: all 0.3s ease-in-out;
}

.value-icon.value-icon-toggled {
  transform: rotate(180deg);
}

.value-text {
  display: none;
  font-size: 1.6rem;
  margin-top: 2rem;
}

/* --- Community Section --- */

#community-section {
  width: 100%;
  background-color: var(--color-cream);
  padding: 11rem;
  display: flex;
}

#community-content {
  align-self: center !important;
  padding-right: 11rem;
  padding-left: 11rem;
}

#community-label {
  /* h4 label */
}

#community-heading {
  margin-top: 4rem;
  margin-bottom: 3rem;
}

#community-text {
  max-width: 62rem;
  width: 100%;
}

#community-link {
  margin-top: 3rem;
}

/* --- Social Justice Shapes --- */

@keyframes sj-shapes-row-1 {
  from { transform: translateX(0vw); }
  to { transform: translateX(-50vw); }
}

@keyframes sj-shapes-row-2 {
  from { transform: translateX(-50vw); }
  to { transform: translateX(0vw); }
}

.shapes-row {
  width: 150vw;
  max-width: 150vw;
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  animation: sj-shapes-row-1 10s infinite linear;
}

.shapes-row:nth-child(2) {
  transform: translateX(-50vw);
  animation-name: sj-shapes-row-2;
}

.shapes-set {
  width: 50vw;
  max-width: 50vw;
  flex-direction: row;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  align-self: center !important;
}

.social-justice-shape {
  width: 33%;
  padding: 2rem;
  max-height: 28rem;
}

/* ========================================================================
   Case Study Pages
   ======================================================================== */

/* Hero */
#cs-label { margin-bottom: 4rem; }
#cs-heading { font-size: 11rem; }
#cs-divider { margin-top: 5rem; margin-bottom: 5rem; }
#cs-intro { max-width: 62rem; width: 100%; font-weight: 400; }
#cs-impact-heading { margin-top: 10rem; max-width: 56rem; width: 100%; }
#cs-decor-block {
  position: absolute;
  top: 0;
  right: 0;
  justify-content: flex-end;
  align-items: center;
  width: 10rem;
  height: 22rem;
  background-color: var(--color-dark);
}
#cs-decor-block::after {
  background-color: var(--color-red);
  position: absolute;
  bottom: 0;
  left: 0;
  top: -999px;
  right: -999px;
  content: '';
  z-index: -1;
}

/* Stats */
#cs-stats-section {
  width: 100%;
  padding-bottom: 15rem;
  z-index: 1;
  position: relative;
}
#cs-stats-outer {
  background-color: var(--color-blue);
  padding: 0 10rem 0 0;
  position: relative;
}
#cs-stats-inner {
  padding: 6rem 11rem;
  background-color: var(--color-dark);
  position: relative;
  flex-direction: column;
  row-gap: 6rem;
  width: 100%;
  z-index: auto;
}
#cs-stats-inner::before {
  content: '';
  background-color: var(--color-orange);
  position: absolute;
  top: 0;
  right: 0%;
  bottom: -5rem;
  left: -999px;
  z-index: -1;
}
#cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 12rem;
  grid-row-gap: 4rem;
}
.statistic {
  clip-path: inset(0% 100% 0% 0%);
}
.stat-value {
  color: var(--color-white);
  font-size: 5rem;
  line-height: 1;
  border-bottom: 1px solid var(--color-white);
  padding-bottom: 1rem;
  width: 100%;
}
.stat-label {
  margin-top: 1rem;
  color: var(--color-white);
}

/* Articles */
#cs-articles-section {
  width: 100%;
  padding: 0 11rem 10rem;
  position: relative;
}
#read-about-it {
  margin-bottom: 10rem;
}
#articles-container {
  width: 100%;
  row-gap: 7rem;
}
.article {
  max-width: 80rem;
  width: 100%;
}
.article-publication {
  text-transform: none;
  color: var(--color-red);
}
.article .divider {
  margin-top: 2rem;
  margin-bottom: 3rem;
}
.article-link {
  margin-top: 1rem;
  margin-left: -1rem;
}

/* Case study image (next case study link) */
/* ========================================================================
   19. Responsive
   ======================================================================== */

/* ----- Tablet (max-width: 991px) ----- */

@media (max-width: 991px) {

  /* Logo grid */
  #logo-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 8rem;
    grid-column-gap: 14rem;
  }

  /* Typography */
  h1 {
    font-size: 9rem;
  }

  /* Menu overlay */
  #menu-wordmark {
    display: none;
  }

  #menu-links {
    width: 100%;
  }

  #menu-contact {
    width: 100%;
  }

  #menu-content {
    flex-direction: column;
    align-self: flex-start !important;
    align-items: flex-start;
    justify-content: flex-start;
  }

  /* Work page */
  #work-heading {
    font-size: 8.5rem;
  }

  .work-decor:last-of-type {
    width: 20rem;
  }

  /* Expertise page */
  .expertise-heading {
    padding-left: 10rem;
  }

  .expertise-text {
    padding-left: 10rem;
  }

  #expertise-heading {
    font-size: 9rem;
    line-height: 1;
  }

  #about-heading {
    font-size: 7rem;
  }

  /* About page */
  #about-hero #about-heading {
    font-size: 8.5rem;
  }

  #about-image {
    display: none;
  }

  #about-image-wrapper::before {
    display: none;
  }

  #leadership-heading {
    /* remove side margins at tablet */
  }

  #leadership-intro {
    /* remove side margins at tablet */
  }

  #leadership-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }

  /* Careers */
  #careers-red-square {
    width: 20rem;
  }

  #careers-red-square::before {
    width: 6rem;
  }

  /* Community */
  #community-section {
    padding-right: 6rem;
    padding-left: 6rem;
  }

  #community-content {
    padding-right: 6rem;
    padding-left: 6rem;
  }

  /* Case Study */
  #cs-stats-grid { grid-template-columns: 1fr; grid-column-gap: 2rem; grid-row-gap: 2rem; }
  #cs-stats-inner { padding: 4rem 6rem; }
  #cs-articles-section { padding: 0 6rem 10rem; }
}

/* ----- Mobile landscape (max-width: 767px) ----- */

@media (max-width: 767px) {

  /* Logo grid */
  #logo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 6rem;
    grid-column-gap: 8rem;
  }

  /* Layout primitives */
  section,
  .container,
  .block {
    flex-wrap: wrap;
  }

  /* Typography */
  h1 {
    font-size: 5rem;
    line-height: 1.1;
  }

  /* Hero */
  #hero-title {
    max-width: 600px;
    font-size: 5rem;
    line-height: 1.2;
  }

  #hero-scroll-down {
    bottom: 2rem;
    width: 32px;
    height: 32px;
  }

  /* About section foreground */
  #about-section-foreground {
    width: 90vw;
  }

  /* Get in touch */
  #get-in-touch {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }

  .get-in-touch-heading {
    margin-top: 5rem;
  }

  /* Menu */
  #menu-contact-cols {
    flex-direction: column;
    row-gap: 6rem;
  }

  /* Footer */
  #footer-row {
    column-gap: 2rem;
    flex-direction: column;
    align-self: center !important;
    justify-content: center;
    align-items: center;
  }

  #footer-left {
    order: 3;
    justify-content: center;
    width: 2fr;
  }

  #footer-center {
    order: 1;
    align-items: center;
    width: 1fr;
  }

  #footer-right {
    order: 2;
    justify-content: center;
    width: 2fr;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  #footer-copyright {
    font-size: 1.4rem;
  }

  #footer-linkedin {
    font-size: 1.4rem;
  }

  #footer-instagram {
    font-size: 1.4rem;
  }

  /* Work page */
  #work-hero {
    padding-right: 6rem;
    padding-bottom: 6rem;
    padding-left: 6rem;
  }

  #work-heading {
    font-size: 6rem;
    line-height: 1.1;
  }

  .work-decor:first-of-type {
    width: 7rem;
  }

  .work-decor:nth-of-type(2) {
    width: 2rem;
  }

  .work-decor:last-of-type {
    width: 15rem;
  }

  /* Careers */
  #careers-purple-bg {
    right: 10rem;
    position: relative;
  }

  /* Expertise page */
  .expertise-heading {
    padding-left: 8rem;
  }

  .expertise-text {
    padding-left: 8rem;
  }

  #expertise-hero {
    padding-right: 6rem;
    padding-bottom: 12rem;
    padding-left: 6rem;
  }

  #expertise-heading {
    font-size: 8rem;
  }

  /* About page */
  #about-hero {
    padding-right: 6rem;
    padding-bottom: 6rem;
    padding-left: 6rem;
  }

  #about-heading {
    font-size: 5rem;
    line-height: 1.1;
  }

  #about-hero #about-heading {
    font-size: 6rem;
    line-height: 1.1;
  }

  #leadership-heading {
    margin-left: 6rem;
  }

  #leadership-intro {
    margin-right: 6rem;
    margin-left: 6rem;
  }

  .team-overlay {
    padding: 1rem;
  }

  /* Values */
  #values-container {
    padding-right: 6rem;
    padding-left: 6rem;
  }

  #values-content {
    flex-direction: column;
    row-gap: 2rem;
  }

  .value-toggle {
    flex-direction: row;
  }

  /* Community */
  #community-section {
    display: block;
  }

  #community-content {
    padding-right: 0rem;
    padding-left: 0rem;
  }

  /* Case Study */
  #cs-stats-inner { padding: 3rem; }
  #cs-articles-section { padding: 0 3rem 8rem; }
  #cs-heading { font-size: 8rem; }
}

/* ----- Mobile portrait (max-width: 478px) ----- */

@media (max-width: 478px) {

  /* Typography */
  h1 {
    font-size: 3.5rem;
    line-height: 1.15;
  }

  /* Hero */
  #hero-title {
    max-width: 400px;
    font-size: 5rem;
  }

  /* About heading */
  #about-heading {
    font-size: 3.5rem;
  }

  /* About section foreground */
  #about-section-foreground {
    padding-right: 0rem;
    padding-left: 0rem;
  }

  /* Menu */
  #menu-contact-heading {
    font-size: 7rem;
    line-height: 1;
  }

  /* Footer */
  #footer-left {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  /* Careers */
  #careers-heading {
    max-width: 100%;
    font-size: 9rem;
    line-height: 9rem;
  }

  #careers-text {
    width: 260px;
  }

  #careers-red-square {
    width: 4rem;
  }

  #careers-red-square::before {
    width: 2rem;
  }

  #careers-purple-bg {
    right: 2rem;
    position: relative;
  }

  /* Work page */
  #work-hero {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  #work-heading {
    font-size: 4rem;
  }

  .work-decor:last-of-type {
    width: 4rem;
    height: 2rem;
  }

  /* Expertise page */
  .expertise-content-row {
    width: 100%;
    flex-direction: column;
  }

  .expertise-heading {
    padding-left: 4rem;
  }

  .expertise-text {
    padding-left: 4rem;
  }

  #expertise-hero {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  #expertise-heading {
    font-size: 5rem;
  }

  /* About page */
  #about-hero {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  #about-hero #about-heading {
    font-size: 4rem;
  }

  #leadership-heading {
    margin-left: 2rem;
  }

  #leadership-intro {
    margin-left: 2rem;
  }

  /* Values */
  #values-container {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  /* Community */
  #community-section {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  /* Case Study */
  #cs-heading { font-size: 5rem; }
  #cs-articles-section { padding: 0 2rem 6rem; }
}

/* ----- Blue background clip-path (screen-based) ----- */

@media screen and (max-width: 768px) {
  #about-blue-bg-section {
    clip-path: inset(0 0 0 95vw);
  }

  /* Team members grid */
  #team-members-container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About image */
  #about-image {
    height: 30rem;
  }
}

@media screen and (max-width: 479px) {
  #team-members-container {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Expertise accent strip width */
  .expertise-accent.first {
    width: 90%;
  }
}
