/* --- NEXA FAMILY --- */

/* Thin */
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Thin Italic.woff2') format('woff2');
  font-weight: 100;
  font-style: italic;
}

/* Light */
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Light Italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
}

/* Regular / Book */
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Regular Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Bold Italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}

/* Extra Bold */
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Extra Bold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}

/* Heavy */
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Heavy.woff2') format('woff2');
  font-weight: 850;
  font-style: normal;
}
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Heavy Italic.woff2') format('woff2');
  font-weight: 850;
  font-style: italic;
}

/* Black */
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Nexa';
  src: url('../assets/fonts/Nexa Black Italic.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
}

/* --- NEXA TEXT FAMILY --- */

/* Thin */
@font-face {
  font-family: 'Nexa Text';
  src: url('../assets/fonts/NexaText-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Nexa Text';
  src: url('../assets/fonts/NexaText-ThinItalic.woff2') format('woff2');
  font-weight: 100;
  font-style: italic;
}

/* Extra Light */
@font-face {
  font-family: 'Nexa Text';
  src: url('../assets/fonts/NexaText-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
}

/* Regular */
@font-face {
  font-family: 'Nexa Text';
  src: url('../assets/fonts/NexaText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Nexa Text';
  src: url('../assets/fonts/NexaText-RegularItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: 'Nexa Text';
  src: url('../assets/fonts/NexaText-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Nexa Text';
  src: url('../assets/fonts/NexaText-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}

/* Extra Bold */
@font-face {
  font-family: 'Nexa Text';
  src: url('../assets/fonts/NexaText-ExtraBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Nexa Text';
  src: url('../assets/fonts/NexaText-ExtraBoldItalic.woff2') format('woff2');
  font-weight: 800;
  font-style: italic;
}

/* Black */
@font-face {
  font-family: 'Nexa Text';
  src: url('../assets/fonts/NexaText-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

:root {
  --watery-white: #edf8ff;
  --deep-sea-black: #00061f;
  --murky-grey: #abc1ce;
  --midnight-grey: #1c2961;
  --seans-blue: #218be9;
  --site-horizontal-padding: 10%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Nexa Text', sans-serif;
  font-weight: 400;
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
  background-color: var(--watery-white);
  color: var(--deep-sea-black);
  line-height: 1.6;
  padding-top: 80px;
}

h1, h2, h3, h4 {
  font-family: 'Nexa', sans-serif;
  font-weight: 800;
  font-feature-settings: "ss01" off, "salt" off;
  color: var(--deep-sea-black);
  margin-bottom: 1rem;
}

p {
    line-height: 18pt;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: var(--site-horizontal-padding);
    padding-right: var(--site-horizontal-padding);
}

.container.narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
  text-align: center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--watery-white);
  z-index: 1000;
  transition: transform 0.3s ease-in-out; 
  box-sizing: border-box; 
}

.header-hidden {
  transform: translateY(-100%);
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--site-horizontal-padding);
}

.logo-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); 
    transition: opacity 0.3s ease  
}

.logo-icon:hover {
    opacity: 0.6;
}

.logo-text {
  grid-column: 1;
  display: flex;
  justify-content: flex-start;
}

.logo-svg path, 
.logo-svg rect {
  fill: currentColor;
  transition: color 0.3s ease;
}

.logo-link {
  color: var(--deep-sea-black); 
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.logo-link:hover {
  color: var(--seans-blue);
}

.main-nav {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
}

.main-nav a {
    font-family: 'Nexa', sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    margin-left: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
}

.main-nav a:hover {
  color: var(--seans-blue); 
}

.main-nav a.is-active {
  color: var(--seans-blue);
  font-weight: 850; /* Extra bold */
}

.heart {
  padding: 5rem 0 3rem;
}

.heart-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.heart-icon img, 
.heart-icon svg {
  display: block;
  width: 40px; 
  height: auto;
}

.heart h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
}

.heart p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.img-container {
  position: relative;
  height: calc(100svh - 250px); 
  width: 100%;
  overflow: hidden;
}

.home-img {
  width: 100%;
  height: 100%; 
  object-fit: cover;
  object-position: center 30%;
  background-color: var(--seans-blue);
}

.other-img {
  width: 100%;
  height: 100%; 
  object-fit: cover;
  object-position: center;
  background-color: var(--seans-blue);
}

.about-snippet {
  padding: 4rem 0;
}

.about-snippet h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-snippet p {
  margin-bottom: 1rem;
}

.about-snippet h4 {
  margin-top: 1.5rem;
  color: var(--deep-sea-black);
  font-weight: 900;
}

.about-snippet a {
    transition: color 0.3s ease;
}

.about-snippet a:hover {
  color: var(--seans-blue)
}

.latest-work {
  padding-bottom: 4rem; 
}

.full-width-image img {
  width: 100%;
  display: block;
}

.zoom-container {
  width: 100%;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.zoom-container img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.zoom-container:hover img {
  transform: scale(1.05);
}

.latest-work h2, .other-websites h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.latest-work .list-item:last-child {
    border-bottom: 1px solid var(--murky-grey);
}

.project-list-full-width {
  margin-top: 3rem;
  width: 100%;
}

.project-page-list {
  margin-top: 0;
  width: 100%;
}

.project-page-list .list-item:first-child {
  border-top: 1px solid var(--murky-grey);
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--site-horizontal-padding);
    border-bottom: 1px solid var(--murky-grey);
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    transition: background-color 0.3s ease;
    min-height: 94px;
}

.list-item:hover {
  background-color: var(--deep-sea-black);
}

.list-item:hover .project-name {
  color: var(--watery-white);
}

.list-item:hover .arrow {
  color: var(--midnight-grey);
}

.list-item:hover .icon-wrapper svg,
.list-item:hover .icon-wrapper svg path,
.list-item:hover .icon-wrapper svg rect {
  fill: var(--watery-white);
}

.list-item:last-child {
    border-bottom: none;
}

.list-item.no-border {
  border-bottom: none;
}

.icon-wrapper {
  width: 60px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1.5rem;
}

.icon-wrapper svg {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  display: block;
}

.icon-wrapper.is-onion svg {
  width: 75%;
}

.icon-wrapper.is-square-icon svg {
  width: 75%;
}

.list-item-left {
  display: flex;
  align-items: center;
}

.project-name {
  font-family: 'Nexa Text', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--deep-sea-black);
  font-feature-settings: "ss01" on;
}

.arrow {
  font-family: 'Nexa Text', sans-serif;
  font-size: 1.5rem;
  color: var(--murky-grey);
}

.site-footer {
  background-color: var(--deep-sea-black);
  color: var(--watery-white);
  padding: 2rem 0;
  width: 100%;
  box-sizing: border-box;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none;
  width: 100%;
}

.footer-socials {
  display: flex;
  gap: 25px;
  align-items: center;
}

.footer-logo-svg {
  width: 120px;
  height: auto;
  display: block;
}

.footer-logo-svg path, 
.footer-logo-svg rect {
  fill: currentColor;
  transition: color 0.3s ease;
}

.footer-logo-link {
  color: var(--watery-white);
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.footer-logo-link:hover {
  color: var(--seans-blue);
}

.social-link {
  display: flex;
  align-items: center;
  color: var(--watery-white); 
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link svg {
  width: 20px; 
  height: 20px;
  fill: currentColor; 
}

.social-link:hover {
  color: var(--seans-blue); 
}

.social-link[title="Behance"] svg {
  width: 22px; 
  height: 22px;
}

.social-link[title="SoundCloud"] svg {
  width: 24px; 
  height: 24px;
}

.case-study-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.case-study-content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
  :root {
    --site-horizontal-padding: 5%;
  }

  .container.narrow {
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      padding-left: var(--site-horizontal-padding);
      padding-right: var(--site-horizontal-padding);
  }

  body {
    padding-top: 70px;
  }

  .site-header {
    height: 70px;
  }

@media (max-width: 768px) {

  .logo-text {
    display: none;
  }

.logo-icon {
    display: block;
    position: static;
    transform: none;
    width: 30px; 
    height: auto;
    margin-left: 2px; 
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    padding: 0 var(--site-horizontal-padding);
  }

  .main-nav a {
    margin-left: 1.2rem;
    font-size: 0.75rem;
  }


  .heart {
    padding: 5rem 0 3rem;
    padding-left: var(--site-horizontal-padding);
    padding-right: var(--site-horizontal-padding);
  }

  .heart h1 {

    font-size: clamp(1.75rem, 8vw, 2.5rem);
    white-space: nowrap;
  }

  .about-snippet h2, 
  .latest-work h2, 
  .other-websites h2 {

    font-size: clamp(1.4rem, 6vw, 2rem);
    white-space: nowrap;
  }

  /* --- Lists Mobile --- */
  .list-item {
    padding: 1.2rem var(--site-horizontal-padding);
    min-height: 80px;
  }

  .icon-wrapper {
    width: 45px;
    margin-right: 1rem;
  }

  .icon-wrapper.is-onion svg {
    width: 90%;
  }

  .icon-wrapper.is-square-icon svg {
    width: 90%;
  }

  .project-name {
    font-size: 1.1rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 1200px) {
  .main-nav a {
    margin-left: clamp(1rem, 2vw, 2rem);
    font-size: 0.8rem;
  }
}