
/* ===================================== RESET */


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

html {
  height: 100%;
  font-size: 100%;
  scroll-behavior: smooth;
}

p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

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

button, input, select, textarea {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}


/* =============================================================================== BASE */


:root {

  --bg: #f2ece8;
  --text: #050509;
  --white: #fffaf6;
  --lt-grey: #f2ece8;
  --grey: #808080;
  --dk-grey: #322d2d;
  --ink: #171514;
  --accent: #cccccc;

  --brand-bg: var(--white);
  --brand-path: var(--ink);

  --link-hover: #808080;
  --border-color: #808080;
  --hr-color: #808080;

  --header-height: 4rem;
  --container-padding: 0.75rem;

  --z-content: 10;
  --z-fixed: 20;
  --z-modal: 50;
}

@media (min-width: 1000px) {
  :root { --container-padding: 1.25rem; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--ink);
    --text: var(--white);
    --accent: #eeff78;
    --link-hover: #867680;
    --hr-color: #867680;
    --brand-bg: var(--dk-grey);
    --brand-path: var(--white);
  }
}

body {
  height: 100%;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Timezone', 'Garamond', 'Times New Roman', serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: var(--bg);
  color: var(--text);
}

button:hover {
  opacity: 0.8;
  cursor: pointer;
}

ul, ol {
  list-style-position: inside;
}

ul {
  list-style: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--text);
  opacity: 1;
}

button,
input[type="submit"],
input,
textarea {
  color: var(--text);
  background: none;
  border: 1px solid var(--text);
}

button:hover {
  opacity: 0.8;
  cursor: pointer;
}


/* ===================================== LINKS + LINES */


a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s ease;
}

hr {
  margin: var(--container-padding) 0;
  border: none;
  border-top: 1px solid var(--hr-color);
}



/* =============================================================================== FONTS */


@font-face {
  font-family: 'PolySans';
  src: url('/assets/fonts/PolySans-neutral.woff2') format('woff2');
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Timezone';
  src: url('/assets/fonts/Timezone-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Timezone';
  src: url('/assets/fonts/Timezone-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains';
  src: url('/assets/fonts/JetBrains-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}




/* ===================================== MOBILE TEXT */


h1, h2, h3, h4 {
  font-weight: normal;
  line-height: 1.1;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 0.9rem; }
p  { font-size: 0.9rem; }

.xsmall { font-size: 0.7rem; }
.small  { font-size: 0.8rem; }
.large  { font-size: 1.75rem; }

.italic { font-style: italic; }
.white { color: var(--white); }
.grey { color: var(--grey); }

.meta {
  font-family: 'PolySans', system-ui, sans-serif;
  text-transform: uppercase;
}

.mono {
  font-family: 'JetBrains', ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}


/* ===================================== DESKTOP TEXT */


@media (min-width: 1000px) {

  body { font-size: 1.1rem; }

  h1 { font-size: 3rem; }
  h2 { font-size: 3rem; }
  h3 { font-size: 1.5rem;}
  h4 { font-size: 1.1rem; }
  p  { font-size: 1.1rem; }

  .xsmall { font-size: 0.8rem; }
  .small  { font-size: 1rem; }
  .large  { font-size: 2rem; }

}


/* =============================================================================== LAYOUT */


main {
  flex: 1;
  z-index: var(--z-content);
}

footer {
  flex-shrink: 0;
}

section {
  width: 100%;
  background: var(--bg);
}

.container {
  padding: 0 var(--container-padding);
}

.section--page-header {
  margin-top: var(--header-height);
  padding: 4rem 0 1rem;
}

.section--page-section {
  padding: 3rem 0;
}

.section--dark-section {
  background-color: var(--ink);
  color: var(--white);
  padding: 4rem 0;
}

.section--divider-section {
  padding: 1rem 0 2rem;
}

/* desktop */ @media (min-width: 1000px) {
  .section--divider-section { padding: 4rem 0; }
}



/* ===================================== GRIDS */


.grid {
  display:grid;
  grid-template-columns: repeat(1, 1fr);
}

/* desktop */ @media (min-width: 1000px) {

  .grid {
    display:grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-column {
    grid-column: 2 / 4;
  }
}


/* =============================================================================== HEADER */


header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  letter-spacing: -0.02em;
  z-index: var(--z-fixed);
  padding: var(--container-padding);
  transition: transform 0.6s ease;
}

header.hidden {
  transform: translateY(-4rem);
}

header a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s ease;
}

header a:hover,
header a:focus,
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--link-hover);
}

.desktop-nav a.active,
.mobile-nav a.active {
  color: var(--link-hover);
  pointer-events: none;
}

.gradient-header {
  background: linear-gradient(
    to bottom, 
    rgba(255, 255, 255, 0.75) 0%, 
    rgba(255, 255, 255, 0) 100%);
  color: var(--text);
}

@media (prefers-color-scheme: dark) {
  .gradient-header {
    background: linear-gradient(
      to bottom,
      rgba(5, 5, 9, 0.75) 0%,
      rgba(5, 5, 9, 0) 100%);
  }
}

.solid-header {
  background-color: var(--bg);
  color: var(--text);
}

.transparent-header {
  background-color: transparent;
  color: var(--text);
}

.difference-header {
  background: transparent;
  mix-blend-mode: difference;
  transition: background 0.4s ease, mix-blend-mode 0.4s ease;
}

.difference-header .site-title,
.difference-header li,
.difference-header .time {
  color: white;
  mix-blend-mode: difference;
}

.desktop-header {
  display: flex;
  align-items: center;
}

.header-left,
.header-right {
  flex: 1;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.icon-globe {
  height: 1.25rem;
  width: auto;
}

@media (prefers-color-scheme: dark) {
  .icon-globe {
    filter: invert(1);
  }
}

.desktop-nav ul {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

sup {
  line-height: 0;
  font-size: 0.7em;
  margin-left: 0.1em;
  vertical-align: super;
}

.mobile-nav {
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--text);
  position: fixed;
  bottom: -1px;
  width: 100%;
  height: 3rem;
  background-color: var(--bg);
  z-index: var(--z-modal);
}

.mobile-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.mobile-header {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ===================================== RESPONSIVE HEADER */


/* mobile */ @media (max-width: 999px) {

  .desktop-only {
    display:none;}

  header {
    justify-content: center;
  }
}

/* desktop */ @media (min-width: 1000px) {
  
  .mobile-only {
    display:none;
  }
}


/* =============================================================================== OVERLAY */



/* ===================================== OVERLAY CONTENT */



/* =============================================================================== MODULES */





/* ===================================== CURSOR */


.cursor-cta {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.2);
  white-space: nowrap;
  font-family: 'PolySans';
  text-transform: uppercase;
  font-size: 13px;
  color: white;
}


/* ===================================== PAGINATION */


.pagination {
  display: flex;
  justify-content: space-between;
  padding-bottom: 2rem;
}

.pagination span {
  color: var(--grey);
}


/* =============================================================================== HOME PAGE */


.section--home-header {
  margin-top: var(--header-height);
  padding: 1rem 0 2rem;
}

.home-hero {
  width: 100%;
  height: auto;
  color: transparent;
  object-fit: cover;
}

.home-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-right  { 
  padding: 2rem 0;
}

.intro-right p {
  padding-bottom: 1rem;
}

/* desktop */ @media (min-width: 1000px) {

  .section--home-header { padding: 4rem 0 3rem; }

  .big-intro  { max-width: 70vw; }
  
  .home-intro { flex-direction: revert;
                align-items: flex-start; }

  .intro-left { width: 57%; }

  .intro-right  { 
    width: 43%;
    padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 10vw, 8rem);
  }

}


/* ===================================== SLIDESHOW */


.section--slideshow-container {
  width: 100%;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.mySlides {
  position: absolute;
  inset: var(--container-padding);
  opacity: 0;
  pointer-events: none;
  background-color: var(--bg);
}

.mySlides.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-title {
  color: #fff;
  font-family: 'Timezone';
  text-transform: capitalize;
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  width: 50%;
  text-align: left;
}

.slide-number {
  color: #fff;
  font-family: 'Timezone';
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 50%;
  text-align: right;
}


/* ===================================== STICKY PROJECTS */


.grid-container {
  display: grid;
  gap: var(--container-padding);
  padding: var(--container-padding);
  margin-bottom: 0rem;
}

.grid-full,
.grid-half {
  grid-template-columns: 1fr;
}

/* desktop */ @media (min-width: 1000px) {

  .grid-half {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sticky-wrap-full,
.sticky-wrap-half {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
}

.sticky-wrap-full::after,
.sticky-wrap-half::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

/* mobile */ @media (max-width: 999px) {

  .sticky-wrap-full,
  .sticky-wrap-half {
    height: 75vh;
  }
}

.sticky-caption {
  position: sticky;
  z-index: var(--z-fixed);
  bottom: 20rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--container-padding);
  align-items: flex-start;
  color: #fff;
  
}

.sticky-title {
  padding-bottom: 0.25rem;
}


/* ===================================== HOME RELAYS */


#image-grid img {
  width: 100%;
  height: auto;
  background-color: var(--bg);
}




/* ===================================== MOBILE HOME */





/* =============================================================================== STUDIO PAGE */


.section--studio-header {
  margin-top: var(--header-height);
  padding: 3rem 0;
}

/* desktop */ @media (min-width: 1000px) {
  .section--studio-header { padding: 6.5rem 0 0; }
}

.studio-intro-one {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.studio-text-one  {
  text-indent: 10vw;
  padding-bottom: 2rem;
}

.studio-text-one h2 {
  font-size: 1.25rem;
}

.studio-intro-two {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.studio-text-two {
  padding-top: 2rem;
}


/* desktop */ @media (min-width: 1000px) {

  .studio-intro-one   { flex-direction: revert;}
  .studio-text-one h2 { font-size: 2.8rem;}
  .studio-text-one    { width: 75vw; 
                        padding-right: 4vw;}
  .studio-image-one   { width: 25vw; }

  .studio-intro-two   { flex-direction: revert;}
  .studio-text-two h3 { padding-left: 4vw;
                        width: 50vw; }
  

}

.client-types {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
  gap: 2rem;
}

.left,
.right {
  flex: 1;
}



/* =============================================================================== PROJECTS */


.section--projects-header {
  margin-top: var(--header-height);
  padding: 1rem 0;
}

/* desktop */ @media (min-width: 1000px) {
  .section--projects-header { padding: 4rem 0; }
}

.page-intro {
  text-align: center;
  padding-bottom: 4rem;
}

.filter-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.filter-toggle {
  cursor: pointer;
}

.filter-panel {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.3s ease;
}

.filter-wrapper.open .filter-panel {
  width: 25rem;
}


/* ===================================== FILTERS */


.section--filter-section {
  padding: var(--container-padding);
}

.filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0;
}

.filter a {
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.filter a:hover {
  opacity: 0.6;
}

.filter a[aria-current] {
  color: var(--grey);
  pointer-events: none;
}


/* ===================================== PROJECTS GRID */


.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--container-padding);
  row-gap: 2rem;
  padding-bottom: 4rem;
}

/* desktop */ @media (min-width: 1000px) {
  .projects-grid { row-gap: 0; }
}

.projects-name {
  margin-bottom: 0.75rem;
}

.projects-grid figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  color: transparent;
  margin-bottom: 1rem;
}

.projects-tags {
  opacity: 1;
  transition: opacity 0.2s ease;
}

figure:hover .projects-tags {
  opacity: 1;
}

.branding-name {
  margin-top: 0.75rem;
  text-transform: capitalize;
}

/* desktop */ @media (min-width: 1000px) {

  .section--projects-header {
    padding: 4rem 0 1rem;
  }

  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 6rem;
    row-gap: 6rem;
    padding-bottom: 4rem;
  }
}


/* ===================================== RELAY */


.section--relay-list {
  padding: 2rem 0 6rem;
}

/* mobile */ @media (max-width: 999px) {
  .section--relay-list { min-height: 65vh; }
}

.relay-filters {
  padding: 2rem 0;
}

.relay-list article {
  padding-bottom: 2rem;
}

.entry {
  display: flex;
  align-items: baseline;
}

.entry-title {
  flex-shrink: 0;
}

.dots {
  flex: 1;
  border-bottom: 2px dotted var(--grey);
  margin: 0 0.5rem;
  position: relative;
}

.entry-date {
  flex-shrink: 0;
}

h3.entry-title {
  color: var(--text);
}

p.entry-summary {
  padding-top: 0.25rem;
  padding-right: 6rem;
}


/* desktop */ @media (min-width: 1000px) {


  .entry-list {
    grid-column: 2 / 4;
  }

  p.entry-summary {
    padding-right: 8rem;
  }
}

/* =============================================================================== PROJECT PAGES */


.project-cover  {
  height: 100vh;
  width: 100vw;
  object-fit: cover;
}

/* mobile */ @media (max-width: 999px) {

  .project-cover  {
    height: 50vh;
    width: 100vw;
  }
}

.hero-image {
  width: 100%;
  height: auto;
  color: transparent;
  object-fit: cover;
}

.project-text {
  font-size: 1.5rem;
  justify-content: flex-start;
  text-indent: 26vw;
}

/* desktop */ @media (min-width: 1000px) {
  .project-text { font-size: 2.4rem;
                  line-height: 1.2; }
}


.project-info {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 2rem;
  padding-bottom: 3rem;
}

.project-info .title {
  padding-bottom: 0.75rem;
}


/* desktop */ @media (min-width: 1000px) {

  .project-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 6rem;
    grid-row-gap: 4rem;
  }
}


/* =============================================================================== ARTICLES */


.section--article-header {
  margin-top: var(--header-height);
  padding: 1rem var(--container-padding) 0;
}

/* desktop */ @media (min-width: 1000px) {
  .section--article-header { padding: 8rem var(--container-padding) 0; }
}

.article-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

h1.article-title {

}

h2.article-headline {
  padding: 2rem 0;
}

p.article-category {
  padding-bottom: 2rem;
}

h3.article-intro {
  padding-bottom: 3rem;
}

.section--article-text {
  padding: 0 var(--container-padding) 4rem;
}

.article-text p {
  padding-bottom: 1rem;
}

/* desktop */ @media (min-width: 1000px) {
  .article-text p { font-size: 1.3rem; }
}

.article-text h2 {
  margin: 1rem 0 2rem;
}

.article-text h3 {
  margin: 1rem 0 2rem;
}


/* --------------------------------------------- RESPONSIVE ARTICLE */




/* =============================================================================== PRIVACY POLICY */


.section--policy-header {
  margin-top: var(--header-height);
  padding: 0;
}

h1.policy-title  {
  font-size: 1.25rem;
}

.policy-text {
  padding: 0 var(--container-padding) 2rem;
}

.policy-text h3 {
  font-size: 1.25rem;
  padding: 2rem 0 1.5rem;
}

.policy-text h4 {
  padding: 1rem 0;
}

.policy-text p {
  padding: 0 0 1rem;
}

/* desktop */ @media (min-width: 1000px) {

  .section--policy-header { padding: 8rem 0 0; }

  .policy-text            { padding-bottom: 6rem;}

 
}


/* --------------------------------------------- ACCORDIONS */


.accordion {
  width: 100%;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: var(--link-hover);
}

.accordion-icon {
  font-size: 20px;
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, padding 0.6s ease;
  padding: 0;
}
.accordion-content ul {
  display: flex;
  justify-content: flex-start;
  text-transform: capitalize;
  gap: 1.25rem;
}

.accordion-item.active .accordion-content {
  max-height: 6rem;
  padding: var(--container-padding) 0 0;
}

.accordion-content a:hover {
  color: var(--link-hover);
}

/* Open state */

  .accordion-item.active .accordion-content {
    display: block;
  }

  .accordion-item.active .accordion-icon {
    transform: rotate(45deg);
  }


/* ===================================== MOBILE PRIVACY POLICY */




/* =============================================================================== NEWSLETTER */


form {
  margin: 0;
  padding: 0;
}

.newsletter-line {
  min-width: 380px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--text);
  background: var(--bg);
  font-family: 'PolySans';
  font-size: 0.9rem;
  color: var(--text);
}

.newsletter-line label {
  flex: 0 0 auto;
  margin: 0;
  color: white;
}

.newsletter-line input {
  flex: 1 1 auto;
  margin: 0;
  padding: 0.4rem 0;
  border: none;
  outline: none;
  background: transparent;

  color: var(--text);
}

.newsletter-line button {
  flex: 0 0 auto;
  margin: 0;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

.newsletter-line button:hover {
  text-decoration: none;
}

.newsletter-success,
.newsletter-error {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.newsletter-success {
  color: var(--grey);
}

.newsletter-error {
  color: red;
}


/* =============================================================================== DESKTOP FOOTER */


.wordmark {
  padding: 0 var(--container-padding) 2rem;
}

/* desktop */ @media (min-width: 1000px) {
  .wordmark {
    padding: 2rem var(--container-padding);
  }
}

@media (prefers-color-scheme: dark) {
  .wordmark {
    filter: invert(1);
  }
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 var(--container-padding) 2rem;
}

footer {
  width: 100%;
  padding: 0 var(--container-padding);
  background: var(--bg);
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
  color: var(--link-hover);
}

.footer-left,
.footer-right {
  flex: 1;
}

.footer-center {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

footer nav ul {
  display: flex;
  justify-content: flex-start;
  gap: 1.25rem;
}

.desktop-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.mobile-footer {
  border-top: 1px solid var(--text);
  padding-bottom: 5rem;
}

.footer-grid {
  padding-top: 2rem;
  display: grid;
  align-items: flex-start;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 4rem;
  padding-bottom: 2rem;
}

.column img {
  height: 3rem;
}

@media (prefers-color-scheme: dark) {
  .column img {
    filter: invert(1);
  }
}

.column h4 {
  margin-bottom: 1rem;
}

.column li {
  margin-bottom: 0.25rem;
}

.column a {
  text-decoration: none;
}

.column a:hover {
  color: var(--link-hover);
}

.mobile-policies {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  padding-top: 1rem;
}



/* ===================================== RESPONSIVE FOOTER */


/* mobile */ @media (max-width: 999px) {

  .desktop-footer,
  .footer-top.desktop-only {
    display:none;
  }
}

/* desktop */ @media (min-width: 1000px) {
  
  .mobile-footer {
    display:none;
  }
}

/* ===================================== IT'S DOABLE. KEEP GOING. */
