:root {
  --header-height: 380px;
  --header-padding: 8px;
  --nav-height: 70px;
  --logo-width: 260px;
  --logo-height: 151px;
  --logo-left: 126px;
  --logo-top: 98px;
  --nav-right: 232px;
  --nav-gap: 116px;
  --white: #ffffff;
  --ink: #414042;
  --accent: #a3c6cb;
  --shadow: rgba(214, 216, 224, 0.25);
  --container-max: 1498px;
  --container-gutter: max(24px, calc((100vw - var(--container-max)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #f5f7f7 url("../img/Background-Blured.jpg") center top / cover fixed no-repeat;
  font-family: Barlow, Arial, Helvetica, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: relative;
  height: var(--header-height);
  padding: var(--header-padding);
  background: var(--white);
  box-shadow: 0 4px 25px var(--shadow);
  z-index: 10;
}

.logo-link {
  position: absolute;
  top: var(--logo-top);
  left: var(--logo-left);
  display: inline-flex;
  width: var(--logo-width);
  height: var(--logo-height);
}

.logo {
  display: block;
  width: 100%;
  height: 100%;
}

.mobile-menu-button {
  display: none;
  border: 0;
  padding: 0;
  background: transparent;
}

.mobile-menu-button img {
  display: block;
  width: 32px;
  height: auto;
}
.primary-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.9);
  z-index: 20;
}

.primary-nav.is-collapsed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  height: var(--nav-height);
  box-shadow: 0 4px 25px var(--shadow);
}


.back-to-top {
  position: absolute;
  left: 120px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}

.back-to-top img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--nav-gap);
  width: 100%;
  height: var(--nav-height);
  padding-right: var(--nav-right);
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  color: #000000;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--accent);
  outline: none;
}

.home-section {
  position: relative;
  min-height: 690px;
  padding: 0;
  background: transparent;
}

.home-content {
  position: absolute;
  top: 91px;
  right: 310px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 524px;
}

.home-content h1 {
  width: 524px;
  margin: 0;
  color: var(--ink);
  font-size: 90px;
  font-weight: 400;
  line-height: 80px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 271px;
  height: 56px;
  padding: 12px 24px;
  border-radius: 22px;
  color: var(--white);
  background: #76acb2;
  box-shadow: 0 4px 20px rgba(214, 216, 224, 0.25);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}

.main-button:hover,
.main-button:focus-visible {
  background: #6da3aa;
  outline: none;
  transform: translateY(-1px);
}

.about-section {
  display: grid;
  grid-template-columns: 470px 430px;
  column-gap: 120px;
  justify-content: start;
  min-height: 860px;
  padding: 64px var(--container-gutter) 80px;
  background: transparent;
}

.about-left {
  width: 470px;
}

.profile-photo {
  display: block;
  width: 390px;
  height: auto;
  margin: 0 0 38px;
}

.about-left h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.about-role {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-read-more {
  display: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}

.mobile-about-drawer {
  display: none;
}

body.about-drawer-open {
  overflow: hidden;
}
.about-copy {
  width: 410px;
  color: #000000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.22;
}

.about-copy p {
  margin: 0 0 4px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.social-links a {
  display: inline-flex;
  width: 46px;
  height: 46px;
  color: #a3c6cb;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.social-links svg {
  display: block;
  width: 46px;
  height: 46px;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #76acb2;
  outline: none;
  transform: translateY(-1px);
}
.about-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 430px;
  padding-top: 8px;
  color: #000000;
  font-size: 18px;
  font-weight: 400;
  line-height: 122%;
}

.about-panel section {
  margin: 0;
}

.about-panel h3 {
  margin: 0 0 12px;
  color: #000000;
  font-size: 24px;
  font-weight: 500;
  line-height: 122%;
}

.about-panel p {
  margin: 0;
}

.about-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 22px 10px;
  border: 1px solid rgba(0, 0, 0, 0.72);
  border-radius: 22px;
  color: rgba(0, 0, 0, 0.64);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}
.portfolio-section {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: transparent;
}

.portfolio-floral {
  position: absolute;
  left: 0;
  top: 42px;
  width: 390px;
  height: auto;
  opacity: 1;
  pointer-events: none;
}

.portfolio-inner {
  position: relative;
  display: grid;
  grid-template-columns: 360px 430px;
  column-gap: 100px;
  justify-content: start;
  align-items: center;
  min-height: 720px;
  padding: 80px var(--container-gutter);
}

.portfolio-inner h2 {
  margin: 0;
  color: var(--ink);
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.portfolio-list {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 43px;
  font-weight: 400;
  line-height: 1.25;
  list-style: none;
  counter-reset: portfolio;
}

.portfolio-list li {
  display: grid;
  grid-template-columns: 74px auto;
  align-items: baseline;
  column-gap: 10px;
  counter-increment: portfolio;
}

.portfolio-list li::before {
  content: counter(portfolio, decimal-leading-zero);
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  text-stroke: 1px var(--ink);
}

.portfolio-list a,
.portfolio-list span {
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  text-stroke: 1px var(--ink);
  text-decoration: none;
}
.logos-section {
  position: relative;
  min-height: 850px;
  padding: 56px var(--container-gutter) 76px;
  background: transparent;
}

.logos-header {
  display: grid;
  grid-template-columns: 374px 1fr;
  align-items: start;
  column-gap: 24px;
}

.logos-header h2 {
  margin: 0 0 34px;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  text-stroke: 1px var(--ink);
  font-size: 151px;
  font-weight: 300;
  line-height: 0.78;
  letter-spacing: -0.04em;
}

.logos-header p {
  width: 286px;
  margin: 0;
  color: rgba(65, 64, 66, 0.82);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

.logos-rule {
  display: block;
  height: 1px;
  margin-top: 86px;
  background: var(--ink);
}


.branding-section .logos-header {
  display: flex;
  align-items: flex-start;
  column-gap: 32px;
}

.branding-rule {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  height: 1px;
  margin-top: 86px;
  background: var(--ink);
}
.back-to-index {
  position: absolute;
  right: var(--container-gutter);
  top: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 47px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  z-index: 2;
}

.back-to-index img {
  display: block;
  width: 56px;
  height: auto;
  margin-bottom: 4px;
}

.logo-carousel {
  position: relative;
  width: 1062px;
  height: 692px;
  margin: 72px 0 28px;
}

.logo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.logo-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.logo-slide img {
  display: block;
  width: 1062px;
  height: 692px;
  object-fit: contain;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 1062px;
}

.carousel-button {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel-button:disabled {
  cursor: default;
}

.carousel-button img {
  display: block;
  width: 72px;
  height: 72px;
}

.carousel-bar {
  display: block;
  width: 288px;
  height: 19px;
}

.branding-section {
  min-height: 1080px;
}

.branding-projects {
  display: grid;
  grid-template-columns: 150px 960px;
  column-gap: 48px;
  align-items: start;
  margin-top: 78px;
}

.branding-meta {
  padding-top: 180px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
}

.branding-meta p {
  margin: 0 0 28px;
}

.branding-meta strong,
.branding-meta span {
  display: block;
}

.branding-meta strong {
  font-weight: 500;
}

.branding-swatches {
  display: flex;
  flex-direction: column;
  gap: 21px;
  margin-top: 8px;
}

.branding-swatch {
  width: 42px;
  height: 35px;
  border: 1px solid transparent;
}

.branding-swatch.is-light {
  border-color: rgba(65, 64, 66, 0.72);
}

.branding-main {
  width: 960px;
}

.branding-index {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-height: 35px;
  margin-bottom: 29px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 300;
}

.branding-index-buttons {
  display: flex;
  align-items: center;
  gap: 17px;
}

.branding-index-button {
  padding: 0;
  border: 0;
  color: #c4c4c4;
  background: transparent;
  font-family: inherit;
  font-size: 35.71px;
  font-weight: 500;
  line-height: 0.75;
  letter-spacing: -0.05em;
  cursor: pointer;
}

.branding-index-button.is-active {
  color: #a3c6cb;
}

.branding-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 960px;
  height: 560px;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.48);
}

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

.branding-frame img.is-missing {
  display: none;
}

.branding-image-fallback {
  display: none;
  color: rgba(65, 64, 66, 0.54);
  font-size: 32px;
  font-weight: 300;
  text-transform: uppercase;
}

.branding-frame img.is-missing + .branding-image-fallback {
  display: block;
}

.branding-controls {
  width: 960px;
  margin-top: 26px;
}


.branding-progress {
  --branding-steps: 6;
  --branding-active: 0;
  position: relative;
  display: block;
  flex: 0 0 288px;
  width: 288px;
  height: 16px;
}

.branding-progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 11px;
  border-radius: 999px;
  background: #d9d9d9;
  transform: translateY(-50%);
}

.branding-progress-thumb {
  position: absolute;
  top: 50%;
  left: calc((100% - 39px) * var(--branding-active) / (var(--branding-steps) - 1));
  width: 39px;
  height: 16px;
  border-radius: 999px;
  background: #a3c6cb;
  transform: translateY(-50%);
  transition: left 180ms ease;
}
.branding-description {
  width: 960px;
  margin: 28px auto 0;
  color: var(--ink);
  text-align: justify;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.35;
}

.posters-section {
  min-height: 940px;
}

.posters-section .logos-header {
  display: flex;
  align-items: flex-start;
  column-gap: 32px;
}

.posters-carousel {
  width: min(100%, 1085px);
  margin: 92px auto 0;
}

.posters-grid {
  display: grid;
  grid-template-columns: repeat(3, 335px);
  justify-content: center;
  gap: 16px;
  min-height: 451px;
}
.posters-description{
  padding-left: 65px;
}
.poster-card {
  position: relative;
  display: grid;
  place-items: center;
  width: 335px;
  height: 451px;
  overflow: hidden;
  background: linear-gradient(135deg, #168f96, #9fc4bf);
}

.poster-card:nth-child(2n) {
  background: linear-gradient(135deg, #91b7b2, #d7e1de);
}


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

.poster-card img.is-missing {
  display: none;
}

.poster-card img:not(.is-missing) + .poster-placeholder-sheet {
  display: none;
}
.poster-placeholder-sheet {
  display: grid;
  place-items: center;
  width: 136px;
  height: 205px;
  padding: 18px;
  background: #f8fbf9;
  box-shadow: 16px 14px 24px rgba(65, 64, 66, 0.18);
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.posters-controls {
  width: 100%;
  margin-top: 26px;
}

.posters-progress {
  --branding-steps: 2;
  --branding-active: 0;
}

.illustration-section {
  min-height: 940px;
}

.illustration-section .logos-header {
  display: flex;
  align-items: flex-start;
  column-gap: 32px;
}

.illustration-title-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.illustration-heading-icon {
  display: block;
  width: auto;
  height: 118px;
  object-fit: contain;
  flex: 0 0 auto;
}

.illustration-heading-icon.is-missing {
  display: none;
}

.illustration-section .logos-header p {
  width: 620px;
  margin: 16px 0 0 118px;
  font-size: 18px;
  line-height: 1.22;
}

.illustration-collage {
  width: min(100%, 1120px);
  margin: 70px auto 0;
}

.illustration-collage img {
  display: block;
  width: 100%;
  height: auto;
}

.nixie-section {
  min-height: 860px;
}

.nixie-section .logos-header {
  display: flex;
  align-items: flex-start;
  column-gap: 32px;
}

.nixie-section .logos-header p {
  width: 620px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.22;
}

.nixie-carousel {
  position: relative;
  width: min(100%, 1226px);
  margin: 90px auto 0;
  padding: 0;
}

.nixie-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 1226px;
  max-width: 100%;
  height: 597px;
  margin: 0 auto;
  overflow: visible;
  background: rgba(255, 255, 255, 0.42);
}

.nixie-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.nixie-frame img.is-missing {
  display: none;
}

.nixie-frame figcaption {
  display: none;
  color: rgba(65, 64, 66, 0.5);
  font-size: 32px;
  font-weight: 300;
  text-transform: uppercase;
}

.nixie-frame img.is-missing + figcaption {
  display: block;
}

.nixie-button {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #a3c6cb;
  transform: translateY(-50%);
  cursor: pointer;
   
}

.nixie-button:disabled {
  background: #c4c4c4;
  cursor: default;
}

.nixie-button img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  
}

.nixie-button-prev {
  left: -72px;
}

.nixie-button-next {
  right: -72px;
}

.nixie-button-prev img {
  transform: rotate(-90deg);
}

.nixie-button-next img {
  transform: rotate(90deg);
}
.nixie-mobile-caption {
  display: none;
}

.nixie-detail-image {
  display: block;
  width: min(100%, 1062px);
  height: auto;
  margin: 64px auto 0;
  padding-top: 100px;
}


.nixie-gallery-block {
  display: grid;
  grid-template-columns: 731px 260px;
  column-gap: 48px;
  align-items: start;
  width: min(100%, 1039px);
  margin: 140px auto 0;
}

.nixie-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.nixie-gallery-card {
  position: relative;
  display: grid;
  place-items: center;
  width: 238px;
  height: 300px;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.45);
}

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

.nixie-gallery-card img.is-missing {
  display: none;
}

.nixie-gallery-card figcaption {
  display: none;
  color: rgba(65, 64, 66, 0.5);
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
}

.nixie-gallery-card img.is-missing + figcaption {
  display: block;
}

.nixie-gallery-controls {
  width: 100%;
  margin-top: 18px;
}

.nixie-gallery-progress {
  --branding-steps: 2;
  --branding-active: 0;
}

.nixie-gallery-copy {
  color: var(--ink);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
}

.nixie-gallery-copy p {
  margin: 0;
}

.nixie-gallery-link {
  margin-top: 52px !important;
  color: #76acb2;
}

.contact-section {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  padding: 96px var(--container-gutter) 120px;
  background: transparent;
}


.contact-floral {
  position: absolute;
  right: 0;
  top: -56px;
  width: min(34vw, 419px);
  height: 896px;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.contact-content {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  margin: 0 auto;
  text-align: left;
}

.contact-content h2 {
  margin: 0 0 72px;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  text-stroke: 1px var(--ink);
  font-size: 151px;
  font-weight: 300;
  line-height: 0.78;
  letter-spacing: -0.04em;
  text-transform: none;
}

.contact-copy {
  width: min(100%, 620px);
  color: var(--ink);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
}

.contact-copy p {
  margin: 0;
}

.contact-email {
  display: inline-block;
  margin-top: 70px;
  color: var(--ink);
  background: transparent;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: #76acb2;
  outline: none;
}

.contact-social-links {
  justify-content: flex-start;
  gap: 28px;
  margin-top: 72px;
}
.placeholder-section {
  min-height: 72vh;
  background: transparent;
}

.placeholder-section.alt {
  background: transparent;
}

@media (max-width: 900px) {
  :root {
    --header-height: 280px;
    --logo-width: 170px;
    --logo-height: 98px;
    --logo-left: 34px;
    --logo-top: 64px;
    --nav-right: 24px;
    --nav-gap: 36px;
  }

  .back-to-top {
    left: 28px;
    width: 28px;
    height: 28px;
  }

  .back-to-top img {
    width: 28px;
    height: 28px;
  }

  .nav-menu {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-menu a {
    font-size: 14px;
  }

  .home-section {
    min-height: 560px;
    padding: 54px 24px 64px;
  }

  .home-content {
    position: static;
    width: min(100%, 524px);
    margin-left: 0;
  }

  .home-content h1 {
    width: min(100%, 524px);
    font-size: clamp(54px, 14vw, 90px);
    line-height: 0.9;
  }

  .main-button {
    width: 271px;
    max-width: 100%;
    font-size: 28px;
  }

  .about-section {
    grid-template-columns: 1fr;
    row-gap: 48px;
    padding: 56px 24px 72px;
  }

  .about-left,
  .about-copy,
  .about-panel {
    width: min(100%, 470px);
    max-width: 100%;
  }

  .profile-photo {
    width: min(100%, 390px);
  }

  .about-left h2 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .portfolio-section,
  .portfolio-inner {
    min-height: 560px;
  }

  .portfolio-floral {
    left: 18px;
    width: 320px;
    opacity: 0.28;
  }

  .portfolio-inner {
    grid-template-columns: 1fr;
    row-gap: 40px;
    justify-content: stretch;
    align-items: center;
    padding: 72px 24px;
  }

  .portfolio-inner h2 {
    font-size: clamp(44px, 12vw, 60px);
  }

  .portfolio-list {
    font-size: clamp(32px, 9vw, 43px);
  }

  .logos-section {
    min-height: 720px;
    padding: 48px 24px 64px;
  }

  .logos-header {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }



.back-to-index {
    left: auto;
    right: 24px;
    top: 164px;
  }

  .logos-header h2 {
    font-size: clamp(92px, 22vw, 151px);
  }
  .branding-section .logos-header {
    flex-wrap: wrap;
    row-gap: 28px;
  }

  .branding-rule {
    flex-basis: 100%;
    width: 100%;
    margin-top: 0;
  }

  .logo-carousel {
    width: 100%;
    height: 360px;
    margin-top: 56px;
  }

  .logo-slide img {
    width: min(100%, 620px);
    max-height: 360px;
    height: auto;
  }

  .carousel-button,
  .carousel-button img {
    width: 54px;
    height: 54px;
  }

  .carousel-bar {
    width: 216px;
    height: auto;
  }
  .branding-section {
    min-height: 760px;
  }

  .branding-projects {
    grid-template-columns: 1fr;
    row-gap: 28px;
    margin-top: 56px;
  }

  .branding-meta {
    padding-top: 0;
  }

  .branding-swatches {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .branding-main,
  .branding-frame,
  .branding-controls,
  .branding-description {
    width: 100%;
  }

  .branding-progress {
    flex-basis: 216px;
    width: 216px;
  }

  .branding-index {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .branding-index-button {
    font-size: 28px;
  }

  .branding-frame {
    height: 320px;
  }
  .posters-section .logos-header {
    flex-wrap: wrap;
    row-gap: 28px;
  }

  .posters-carousel {
    width: 100%;
    margin-top: 56px;
  }

  .posters-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
  }

  .poster-card {
    width: min(100%, 335px);
  }
  .illustration-section .logos-header {
    flex-wrap: wrap;
    row-gap: 28px;
  }

  .illustration-title-row {
    align-items: center;
  }

  .illustration-heading-icon {
    width: 62px;
    height: 76px;
  }

  .illustration-section .logos-header p {
    width: 100%;
    margin: 12px 0 0;
  }

  .illustration-collage {
    width: 100%;
    margin-top: 56px;
  }

  .nixie-section .logos-header {
    flex-wrap: wrap;
    row-gap: 28px;
  }

  .nixie-section .logos-header p {
    width: 100%;
  }

  .nixie-carousel {
    width: 100%;
    margin-top: 56px;
    padding: 0 48px;
  }

  .nixie-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 1226 / 597;
  }

  .nixie-button {
    width: 40px;
    height: 40px;
  }

  .nixie-button-prev {
    left: 0;
  }

  .nixie-button-next {
    right: 0;
  }

  .nixie-mobile-caption {
  display: none;
}

.nixie-detail-image {
    width: 100%;
    margin-top: 40px;
  }
  .nixie-gallery-block {
    grid-template-columns: 1fr;
    row-gap: 32px;
    width: 100%;
    margin-top: 72px;
  }

  .nixie-gallery-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
  }

  .nixie-gallery-card {
    width: min(100%, 320px);
    height: 360px;
  }

  .nixie-gallery-copy {
    font-size: 16px;
  }
  .contact-section {
    min-height: 520px;
    padding: 72px 24px;
  }
  .contact-floral {
    right: 0px;
    top: 0px;
    width: 250px;
    opacity: 0.22;
    position: fixed;
  }


  .contact-content {
    width: 100%;
  }

  .contact-content h2 {
    margin-bottom: 44px;
    font-size: clamp(76px, 20vw, 151px);
  }

  .contact-copy,
  .contact-email {
    font-size: 22px;
  }

  .contact-email {
    margin-top: 48px;
  }

  .contact-social-links {
    gap: 16px;
    margin-top: 48px;
  }
}






@media (max-width: 520px) {
  :root {
    --header-height: 278px;
    --logo-width: 128px;
    --logo-height: 74px;
    --logo-left: 62px;
    --logo-top: 82px;
  }

  body {
    background-attachment: scroll;
  }

  .site-header {
    box-shadow: 0 4px 18px rgba(214, 216, 224, 0.2);
  }

  .logo-link {
    width: var(--logo-width);
    height: var(--logo-height);
  }

  .mobile-menu-button {
    position: absolute;
    top: 98px;
    right: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 40px;
    z-index: 30;
  }

  .mobile-menu-button img {
    width: 28px;
  }

  .primary-nav {
    display: none;
  }

  .home-section {
    min-height: 350px;
    padding: 68px 36px 56px;
  }

  .home-content {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .home-content h1 {
    width: 100%;
    font-size: clamp(30px, 7.6vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    text-align: center;
  }

  .main-button {
    width: 218px;
    height: 45px;
    border-radius: 15px;
    font-size: 22px;
    line-height: 1;
  }

  .about-section {
    display: block;
    min-height: 430px;
    padding: 50px 24px 54px;
  }

  .about-left {
    position: relative;
    width: 100%;
    min-height: 346px;
  }

  .profile-photo {
    width: min(94vw, 404px);
    margin: 0 auto;
  }

  .about-left h2 {
    position: absolute;
    top: 4px;
    right: 10px;
    margin: 0;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
  }

  .about-role,
  .about-copy,
  .about-panel,
  .social-links:not(.contact-social-links) {
    display: none;
  }
}
/* Mobile About Drawer Overrides */
@media (max-width: 520px) {
  .about-section {
    min-height: auto;
    padding: 0 32px 58px;
  }

  .about-left {
    min-height: 360px;
    margin-bottom: 18px;
  }

  .profile-photo {
    width: min(104vw, 448px);
    max-width: none;
    margin: -4px 0 0 50%;
    transform: translateX(-50%);
  }

  .about-left h2 {
    top: 4px;
    right: 0;
    font-size: 28px;
    color: #000000;
  }

  .about-role {
    position: absolute;
    top: 72px;
    right: 0;
    display: block;
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.18;
    text-align: left;
    text-transform: uppercase;
  }

  .about-read-more {
    display: block;
    width: max-content;
    margin: -4px auto 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
  }

  .about-copy,
  .social-links:not(.contact-social-links) {
    display: none;
  }

  .about-panel {
    display: block;
    width: 100%;
    max-width: none;
    padding-top: 16px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.22;
  }

  .about-panel section {
    margin: 0 0 18px;
  }

  .about-panel h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    text-transform: none;
  }

  .about-panel section:first-child h3 {
    text-transform: uppercase;
  }

  .about-panel p {
    max-width: 260px;
    font-size: 16px;
    line-height: 1.22;
  }

  .about-panel ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 110px));
    column-gap: 2px;
    row-gap: 0;
    font-size: 16px;
    line-height: 1.22;
  }

  .pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 10px;
  }

  .pill-list span {
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 16px;
    line-height: 1;
  }

  .mobile-about-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: block;
    overflow-y: auto;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 300ms ease;
    pointer-events: none;
  }

  .mobile-about-drawer.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .mobile-about-close {
    position: absolute;
    top: 32px;
    right: 30px;
    z-index: 1002;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    padding: 0;
    color: #414042;
    background: transparent;
    font-size: 38px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-about-close span {
    display: block;
    transform: scaleX(1.08);
  }

  .mobile-about-close::before,
  .mobile-about-close::after {
    content: "";
    display: none;
    position: absolute;
    top: 21px;
    left: 6px;
    width: 32px;
    height: 4px;
    border-radius: 999px;
    background: #414042;
  }

  .mobile-about-close::before {
    transform: rotate(45deg);
  }

  .mobile-about-close::after {
    transform: rotate(-45deg);
  }

  .mobile-about-content {
    width: min(100%, 330px);
    padding: 136px 32px 44px;
    color: var(--ink);
  }

  .mobile-about-content h2 {
    margin: 0 0 16px;
    color: transparent;
    -webkit-text-stroke: 1px var(--ink);
    text-stroke: 1px var(--ink);
    font-size: 58px;
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.04em;
  }

  .mobile-about-content p {
    margin: 0 0 22px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.16;
  }
}
/* Mobile Detail Section Overrides */
@media (max-width: 520px) {
  .logos-section {
    min-height: auto;
    padding: 48px 28px 58px;
    overflow: hidden;
  }

  .logos-header,
  .branding-section .logos-header,
  .posters-section .logos-header,
  .illustration-section .logos-header,
  .nixie-section .logos-header {
    display: block;
  }

  .logos-header h2 {
    margin: 0 0 18px;
    font-size: 64px;
    line-height: 0.94;
    letter-spacing: -0.04em;
  }

  .logos-header p,
  .illustration-section .logos-header p,
  .nixie-section .logos-header p {
    width: 100%;
    max-width: 330px;
    margin: 0;
    font-size: 16px;
    line-height: 1.22;
    text-align: justify;
  }

  .logos-rule,
  .branding-rule,
  .posters-rule,
  .illustration-rule,
  .nixie-rule,
  .back-to-index {
    display: none;
  }

  .logo-carousel {
    width: 100%;
    height: 250px;
    margin: 72px 0 40px;
  }

  .logo-slide {
    background: transparent;
  }

  .logo-slide img {
    width: 100%;
    height: 250px;
    max-height: none;
    object-fit: contain;
  }

  .carousel-controls {
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 0;
  }

  .carousel-button,
  .carousel-button img {
    width: 34px;
    height: 34px;
  }

  .carousel-bar {
    display: none;
  }
}
/* Mobile Branding Order Overrides */
@media (max-width: 520px) {
  .branding-section {
    padding-top: 48px;
  }

  .branding-projects {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0;
    margin-top: 34px;
  }

  .branding-main {
    display: contents;
  }

  .branding-index {
    order: 1;
    display: block;
    margin: 0 0 22px;
    min-height: 0;
    text-align: center;
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
  }

  .branding-index span {
    display: block;
    margin-bottom: 12px;
  }

  .branding-index-buttons {
    justify-content: space-between;
    gap: 0;
    width: 100%;
  }

  .branding-index-button {
    font-size: 31px;
    line-height: 0.85;
  }

  .branding-frame {
    order: 2;
    width: 100%;
    height: 360px;
    background: rgba(255, 255, 255, 0.34);
  }

  .branding-frame img {
    object-fit: contain;
  }

  .branding-controls {
    order: 3;
    width: 100%;
    margin: 16px 0 18px;
    justify-content: space-between;
  }

  .branding-progress {
    display: none;
  }

  .branding-meta {
    order: 4;
    display: block;
    padding-top: 0;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.2;
  }

  .branding-meta p {
    margin: 0 0 8px;
  }

  .branding-meta strong,
  .branding-meta span {
    display: inline;
  }

  .branding-meta strong {
    margin-right: 4px;
  }

  .branding-swatches {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
  }

  .branding-swatch {
    width: 16px;
    height: 14px;
  }

  .branding-description {
    order: 5;
    width: 100%;
    margin: 0;
    font-size: 16px;
    line-height: 1.42;
    text-align: justify;
  }
}
/* Mobile Posters Overrides */
@media (max-width: 520px) {
  .posters-section {
    padding-top: 48px;
  }

  .posters-carousel {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 14px 0 0;
  }

  .posters-description {
    order: 1;
    width: 100%;
    max-width: 330px;
    margin: 0 0 34px;
    padding-left: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.22;
    text-align: justify;
  }

  .posters-grid {
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    min-height: 408px;
  }

  .poster-card {
    width: 100%;
    max-width: 318px;
    height: 408px;
  }

  .poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .posters-controls {
    order: 3;
    width: 100%;
    margin: 12px 0 0;
    justify-content: space-between;
  }

  .posters-progress {
    display: none;
  }
}
/* Mobile Illustration Overrides */
@media (max-width: 520px) {
  .illustration-section {
    padding-top: 48px;
  }

  .illustration-title-row {
    display: contents;
  }

  .illustration-title-row h2 {
    margin-bottom: 22px;
  }

  .illustration-section .logos-header > div {
    display: grid;
    grid-template-columns: 92px 1fr;
    column-gap: 18px;
    align-items: start;
  }

  .illustration-heading-icon {
    grid-column: 1;
    grid-row: 2;
    width: 84px;
    height: auto;
    margin-top: 4px;
  }

  .illustration-section .logos-header p {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    max-width: none;
    margin: 0;
    font-size: 16px;
    line-height: 1.18;
    text-align: left;
  }

  .illustration-collage {
    width: 100%;
    margin: 38px 0 0;
  }

  .illustration-collage img {
    width: 100%;
    height: auto;
  }
}
/* Mobile Nixie Caption Controls */
@media (max-width: 520px) {
  .nixie-carousel {
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    row-gap: 0;
    align-items: center;
    width: 100%;
    margin-top: 56px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
  }

  .nixie-frame {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    aspect-ratio: 1226 / 597;
    margin: 0;
  }

  .nixie-mobile-caption {
    grid-column: 2;
    display: block;
    margin: 0;
    padding: 18px 10px 18px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.15;
    text-align: center;
  }

  .nixie-button {
    position: static;
    grid-row: 2;
    width: 46px;
    height: 46px;
    align-self: center;
    justify-self: center;
    margin-top: 30px;
  }

  .nixie-button-prev {
    grid-column: 1;
  }

  .nixie-button-next {
    grid-column: 3;
  }
}
/* Mobile Nixie Gallery Layout */
@media (max-width: 520px) {
  .nixie-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nixie-gallery-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.28;
  }

  .nixie-gallery-controls {
    display: flex;
    width: 100%;
    margin-top: 14px;
    justify-content: space-between;
  }
}
/* Mobile About Alignment Refinement */
@media (max-width: 520px) {
  .about-section {
    padding: 0 32px 58px;
  }

  .about-left {
    max-width: 366px;
    min-height: auto;
    margin: 0 auto 22px;
  }

  .profile-picture {
    display: block;
    width: 100%;
  }

  .profile-photo {
    width: 100%;
    max-width: 346px;
    margin: 0 auto;
    transform: none;
  }

  .about-left h2,
  .about-role {
    display: none;
  }

  .about-read-more {
    margin: 8px auto 0;
  }
}

/* Mobile About Tools Pill Sizing */
@media (max-width: 520px) {
  .about-panel section:nth-of-type(4) .pill-list {
    max-width: 260px;
    gap: 11px 10px;
  }

  .about-panel section:nth-of-type(4) .pill-list span {
    flex: 0 0 calc((100% - 10px) / 2);
    min-width: 0;
    padding: 8px 10px;
  }
}

/* Mobile Nixie Gallery Copy Order */
@media (max-width: 520px) {
  .nixie-gallery-block {
    display: flex;
    flex-direction: column;
  }

  .nixie-gallery-carousel {
    order: 2;
  }

  .nixie-gallery-copy {
    display: contents;
  }

  .nixie-gallery-copy p:first-child {
    order: 1;
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.22;
    text-align: justify;
  }

  .nixie-gallery-link {
    order: 3;
    margin-top: 24px !important;
  }
}

/* Mobile Contact Heading Alignment */
@media (max-width: 520px) {
  .contact-section {
    padding: 48px 28px 58px;
  }

  .contact-content {
    width: 100%;
    margin: 0;
  }

  .contact-content h2 {
    margin: 0 0 22px;
    font-size: 64px;
    line-height: 0.94;
    letter-spacing: -0.04em;
  }

  .contact-copy,
  .contact-email {
    font-size: 16px;
    line-height: 1.22;
  }
}

/* Mobile Contact Social Icons */
@media (max-width: 520px) {
  .contact-social-links {
    width: min(100%, 342px);
    gap: 0;
    justify-content: space-between;
    margin-top: 31px;
  }

  .contact-social-links a,
  .contact-social-links svg {
    width: 63.18px;
    height: 63.18px;
  }

  .contact-social-links a {
    flex: 0 0 63.18px;
  }
}

/* Mobile Nixie Detail Picture */
.nixie-detail-picture {
  display: block;
}

@media (max-width: 520px) {
  .nixie-detail-picture {
    display: block;
    width: 100%;
    margin: 40px auto 0;
  }

  .nixie-detail-picture .nixie-detail-image {
    width: 100%;
    margin: 0;
    padding-top: 0;
  }
}

/* Nixie Social Follow Block */
.nixie-hi-image {
  display: none;
}

.nixie-gallery-link-row {
  margin-top: 52px;
}

.nixie-social-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  color: #a3c6cb;
}

.nixie-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: inherit;
  text-decoration: none;
}

.nixie-social-links svg {
  display: block;
  width: 46px;
  height: 46px;
}

.nixie-social-links span {
  color: inherit;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 520px) {
  .nixie-hi-image {
    order: 3;
    display: block;
    width: 100%;
    max-width: 344px;
    height: auto;
    margin: 58px auto 0;
  }

  .nixie-gallery-link-row {
    order: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 30px;
  }

  .nixie-gallery-link-row .nixie-gallery-link {
    margin: 0 !important;
  }

  .nixie-social-links {
    flex: 0 0 auto;
    gap: 24px;
    margin-top: 0;
  }

  .nixie-social-links a,
  .nixie-social-links svg {
    width: 46px;
    height: 46px;
  }

  .nixie-social-links span {
    font-size: 48px;
  }
}

/* Mobile Nixie Social Position */
@media (max-width: 520px) {
  .nixie-gallery-link-row .nixie-gallery-link {
    order: 1;
  }

  .nixie-social-links {
    order: 2;
  }
}

/* Mobile Nixie Follow Text */
@media (max-width: 520px) {
  .nixie-gallery-link-row .nixie-gallery-link {
    width: 203px;
    color: #76acb2;
    font-size: 16px;
    line-height: 1.1;
    white-space: nowrap;
  }
}

/* Mobile Nixie Instagram Icon Size */
@media (max-width: 520px) {
  .nixie-social-links a:first-child,
  .nixie-social-links a:first-child svg {
    width: 56px;
    height: 56px;
  }
}

/* Nixie Social Image Assets */
.nixie-social-links img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

@media (max-width: 520px) {
  .nixie-social-links a:first-child,
  .nixie-social-links a:first-child img {
    width: 56px;
    height: 56px;
  }
}

/* Mobile Navbar Figma Size */
@media (max-width: 520px) {
  :root {
    --header-height: 163px;
    --logo-width: 148px;
    --logo-height: 86px;
    --logo-left: 32px;
    --logo-top: 58px;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 163px;
    box-shadow: 0 4px 18px rgba(214, 216, 224, 0.2);
  }

  .mobile-menu-button {
    top: 76px;
    right: 39px;
    width: 42px;
    height: 55px;
  }

  .mobile-menu-button img {
    width: 36px;
  }

  main {
    padding-top: 163px;
  }
}

/* Mobile Nixie Story Carousel Size */
@media (max-width: 520px) {
  .nixie-carousel {
    width: min(100%, 346px);
    margin-left: auto;
    margin-right: auto;
  }

  .nixie-frame {
    height: 280px;
    aspect-ratio: auto;
  }

  .nixie-frame img {
    object-fit: cover;
  }
}

/* Contact Social Image Assets */
.contact-social-links img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Mobile Contact Social Even Spacing */
@media (max-width: 520px) {
  .contact-social-links {
    display: grid;
    grid-template-columns: repeat(4, 63.18px);
    justify-content: space-between;
    align-items: center;
    width: min(100%, 342px);
    gap: 0;
  }

  .contact-social-links a {
    display: grid;
    place-items: center;
    width: 63.18px;
    height: 63.18px;
  }

  .contact-social-links img {
    width: 63.18px;
    height: 63.18px;
    object-fit: contain;
  }
}


/* Mobile Menu Overlay */
@media (max-width: 520px) {
  .primary-nav.is-mobile-open {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    padding: 56px 32px 48px;
    background: var(--white);
    box-shadow: 0 12px 25px var(--shadow);
    z-index: 25;
  }

  .primary-nav.is-mobile-open .back-to-top {
    display: none;
  }

  .primary-nav.is-mobile-open .nav-menu {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 44px;
    width: 100%;
    height: auto;
    padding-right: 0;
  }

  .primary-nav.is-mobile-open .nav-menu a {
    font-size: 28px;
  }

  /* Burger morphs into an X while the menu is open */
  .mobile-menu-button[aria-expanded="true"] img {
    visibility: hidden;
  }

  .mobile-menu-button[aria-expanded="true"]::before,
  .mobile-menu-button[aria-expanded="true"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: #000000;
  }

  .mobile-menu-button[aria-expanded="true"]::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-menu-button[aria-expanded="true"]::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}
