.article-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 243, 243, 0.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.article-loading-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.article-loading-logo {
  width: clamp(48px, 8vw, 92px);
  height: auto;
  opacity: 0;
  filter: blur(3px);
}

.article-loading-overlay.is-visible .article-loading-logo {
  animation: articleLogoLoading 3s ease forwards;
}

@keyframes articleLogoLoading {
  0% {
    opacity: 0;
    filter: blur(4px);
  }

  24% {
    opacity: 1;
    filter: blur(0);
  }

  78% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

:root {
  --bg: #ffffff;
  --black: #070100;
  --text: #333333;
  --white: #ffffff;
  --muted: #787878;
  --topbar-h: 70px;
  --sticky-top: 70px;
}

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

html,
body {
  background: white;
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body {
  padding-top: var(--topbar-h);
}

.archive-body {
  padding-top: 0;
}

.home-body {
  padding-top: 0;
}

body.is-intro-playing {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

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

.archive-page {
  background: #ffffff;
}

.archive-body .topbar {
  display: none;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #000000;
  pointer-events: none;
  animation: introFade 0.75s ease 2.9s forwards;
}

.site-intro-logo {
  width: min(150px, 24vw);
  height: auto;
  overflow: visible;
}

.site-intro-outline {
  stroke-dasharray: 980;
  stroke-dashoffset: 980;
  animation: introDraw 1.8s cubic-bezier(0.65, 0, 0.15, 1) 0.25s forwards;
}

.site-intro-fill {
  opacity: 0;
  animation: introFill 0.7s ease 1.55s forwards;
}

body.intro-complete .site-intro {
  display: none;
}

@keyframes introDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes introFill {
  to {
    opacity: 1;
  }
}

@keyframes introFade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* TOPBAR */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  height: var(--topbar-h);
  background: white;
  z-index: 100;
  border-bottom: 1px solid ;
}

.topbar-inner {
  height: 100%;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-logo img {
  width: 30px;
  height: auto;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 400;
  text-transform: lowercase;
}

.topbar-nav button {
  font-size: 20px;
}

.home-body .topbar {
  background: transparent;
  border-bottom: 0;
}

.home-body .topbar-inner {
  padding: 0 32px;
  align-items: flex-start;
}

.home-body .topbar-left {
  padding-top: 34px;
}

.home-body .topbar-logo img {
  width: 84px;
}

.home-body .topbar-nav {
  width: 30%;
  min-width: 280px;
  height: var(--topbar-h);
  margin-left: auto;
  padding: 42px 34px 0 0;
  justify-content: flex-end;
  gap: 64px;
  color: #050505;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 300;
}

/* HERO */
/* HERO */
.hero-grid {
  position: relative;
  background: var(--bg);
  min-height: calc(200vh - var(--topbar-h));
  display: grid;
  grid-template-columns: 7fr 3fr;
}

.hero-left {
  min-height: calc(200vh - var(--topbar-h));
  position: relative;
  z-index: 1;
}

.hero-title-panel {
  position: relative;
  min-height: calc(100vh - var(--sticky-top));
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 40px 24px;
  overflow: hidden;
}

.hero-title-slides {
  position: absolute;
  inset: 0;
  background: var(--black);
}

.hero-title-slide {
  position: absolute;
  inset: 0;
  background-color: #111;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 4s ease;
}

.hero-title-slide::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-title-slide::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.14) 58%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.hero-title-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-text-panel {
  width: 100%;
  min-height: calc(100vh - var(--sticky-top));
  padding: 40px 40px 120px;
  background: var(--bg);
}

.hero-text-block {
  width: min(1048px, 100%);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* right logo panel */
.hero-right {
  position: fixed;
  top: var(--sticky-top);
  right: 0;
  width: 30%;
  height: calc(100vh - var(--sticky-top));
  z-index: 5;
  pointer-events: none;
}

.hero-right.is-bottom {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
}



.hero-title-panel h1 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1112px;
  color: white;
  font-size: clamp(78px, 7vw, 130px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.06em;
}


.hero-text-block p {
  color: var(--text);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.08;
  max-width: 900px;
}

/* right panel is NOT part of the scroll height */
.hero-right {
  position: fixed;
  top: var(--sticky-top);
  right: 0;
  width: 30%;
  height: calc(100vh - var(--sticky-top));
  z-index: 5;
  pointer-events: none;
}

.hero-logo-sticky {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  overflow: hidden;
  padding: 40px 36px;
}

.hero-logo {
  width: min(82%, 320px);
  height: auto;
  max-width: 100%;
  max-height: 70%;
  display: block;
}

.logo-group {
  transform-origin: center;
  transform-box: fill-box;
}

.draw-path {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-fill {
  opacity: 1;
  transition: opacity 0.35s ease;
}

/* BLACK BAR */
.micro-bar {
  min-height: 56px;
  background: black;
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  overflow: hidden;
  text-align: center;
  text-transform: lowercase;
  white-space: nowrap;
}

.brand-showcase {
  background: #ffffff;
  padding: 0 0 92px;
}

.brand-showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: 72px;
  min-height: 870px;
}

.brand-showcase-item {
  margin: 0;
}

.brand-showcase-item img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-showcase-item--magazine img {
  width: 100%;
}

.brand-showcase-item--instagram {
  display: flex;
  justify-content: center;
  padding-top: 86px;
}

.brand-showcase-item--instagram img {
  width: min(460px, 72%);
}

.favicon-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding-top: 64px;
}

.favicon-showcase-logo {
  width: min(520px, 52vw);
  height: auto;
  object-fit: contain;
  background: #ffffff;
}

/* ARCHIVE WALL */
.archive-wall {
  height: 100vh;
  min-height: 620px;
  padding: 44px 0 14px;
  background: #ffffff;
  color: var(--black);
  overflow: hidden;
}

.archive-toolbar {
  position: relative;
  z-index: 6;
  min-height: 132px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 0;
  padding: 0 48px;
}

.archive-intro {
  width: min(680px, 58vw);
  margin-left: 96px;
}

.archive-intro p {
  margin: 0;
  color: #050505;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.15;
}

.archive-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 64px;
  padding-top: 8px;
  min-width: min(520px, 38vw);
}

.archive-magazine,
.archive-link {
  color: #050505;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  text-transform: lowercase;
  white-space: nowrap;
}

.archive-search {
  position: relative;
  width: 84px;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  cursor: text;
}

.archive-search span {
  color: #050505;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  text-transform: lowercase;
  white-space: nowrap;
  transition: opacity 0.16s ease;
}

.archive-search:focus-within span {
  opacity: 0;
}

.archive-search input {
  position: absolute;
  right: 0;
  top: 8px;
  width: 0;
  border: 0;
  border-bottom: 1px solid #111;
  border-radius: 0;
  background: #ffffff;
  color: var(--black);
  font: inherit;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  opacity: 0;
  pointer-events: none;
  padding: 0 0 3px;
  transition: opacity 0.16s ease, padding 0.16s ease, width 0.16s ease;
}

.archive-search:focus-within input {
  width: 160px;
  opacity: 1;
  pointer-events: auto;
  padding: 0 0 3px;
}

.archive-search input::placeholder {
  color: #9b9b96;
}

.wall-stage {
  position: relative;
  min-height: calc(100% - 132px);
  overflow: hidden;
  overflow-y: hidden;
  background: #ffffff;
}

.archive-hover-meta {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  color: #050505;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.12;
}

.archive-hover-category {
  position: absolute;
  left: 48px;
  top: 154px;
  width: 180px;
  margin: 0;
}

.archive-hover-summary {
  position: absolute;
  right: 48px;
  top: 126px;
  width: min(300px, 20vw);
  margin: 0;
}

.wall-center {
  position: absolute;
  left: 48px;
  top: -8px;
  z-index: 7;
  width: 84px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: visible;
}

.wall-center img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0) contrast(999);
  transition: none;
}

.article-list {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  min-width: max-content;
  height: min(64vh, 460px);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 0 0 0;
  animation: articleCycle 58s linear infinite;
  will-change: transform;
}

.wall-stage:hover .article-list,
.archive-wall:focus-within .article-list,
.article-list.is-filtering {
  animation-play-state: paused;
}

.article-card {
  position: relative;
  width: auto;
  height: var(--tile-h);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  padding: 0;
  text-align: left;
  opacity: 0.94;
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

.article-card::before {
  content: none;
}

.article-card h3 {
  position: absolute;
  left: 0;
  top: -15px;
  z-index: 2;
  max-width: 96%;
  color: #111;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.article-card img {
  width: auto;
  height: 100%;
  max-width: none;
  display: block;
  background: transparent;
  filter: saturate(0.88) contrast(1);
  transition: filter 0.24s ease, transform 0.24s ease;
}

.article-card:hover,
.article-card:focus-visible {
  z-index: 5;
  background: transparent;
  opacity: 1;
  outline: 0;
  transform: translateY(-8px);
}

.article-card:hover h3,
.article-card:focus-visible h3 {
  opacity: 1;
  transform: translateY(0);
}

.article-card:hover img,
.article-card:focus-visible img {
  filter: saturate(1.06) contrast(1.04);
}

.article-card:focus-visible h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-card.is-hidden {
  display: none;
}

.article-card.is-loading {
  opacity: 0.32;
  pointer-events: none;
}

@keyframes articleCycle {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro,
  .site-intro-outline,
  .site-intro-fill,
  .article-list {
    animation: none;
  }

  .site-intro {
    display: none;
  }
}


/* DARK PROJECT STRIP */
.project-strip {
  background: var(--black);
  padding: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-image-wrap {
  background: rgba(0, 0, 0, 0.3);
  height: 860px;
  overflow: hidden;
}

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-meta {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #f9f9f9;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

/* CTA */
.projects-cta {
  background: var(--black);
  color: white;
  padding: 0 30px 40px;
  display: flex;
  align-items: center;
  gap: 134px;
}

.projects-cta h2 {
  font-size: 33px;
  font-weight: 700;
  line-height: 1.1;
}

/* CONTACT */
.contact-info {
  padding: 120px 30px 160px;
  display: flex;
  flex-direction: column;
  gap: 180px;
  background: var(--bg);
}

.contact-info p {
  max-width: 538px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.22;
}

.contact-info h2 {
  font-size: clamp(42px, 4vw, 65px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--text);
}

/* FOOTER */
.footer-green {
  background: var(--green);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 260px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links .privacy {
  color: #9b1200;
  font-weight: 400;
}

.footer-title {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.footer-title h2 {
  color: white;
  font-size: clamp(100px, 12vw, 200px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: capitalize;
}

/* TABLET */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-left,
  .hero-text-panel {
    width: 100%;
    min-height: auto;
  }

  .hero-right,
  .hero-right.is-bottom {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    pointer-events: auto;
  }

  .hero-title-panel {
    min-height: 520px;
    padding: 120px 30px 70px;
  }

  .hero-text-panel {
    padding: 60px 30px 100px;
  }

  .hero-logo-sticky {
    height: auto;
    padding: 40px 30px 100px;
    background: white;
  }

  .hero-logo {
    width: min(64%, 320px);
    max-height: none;
  }

  .archive-wall {
    height: auto;
    min-height: 100vh;
    padding-inline: 20px;
  }

  .archive-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 18px;
  }

  .archive-search {
    width: 100%;
  }

  .wall-stage {
    min-height: 680px;
  }

  .article-list {
    height: min(50vh, 340px);
  }

  .project-strip {
    grid-template-columns: 1fr;
  }

  .projects-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* MOBILE */
  @media (max-width: 768px) {
  .topbar-inner,
  .green-strip,
  .projects-cta,
  .contact-info,
  .footer-green {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-title-panel,
  .hero-text-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-title-panel h1 {
    font-size: 72px;
  }

  .hero-text-block p {
    font-size: 20px;
  }

  .micro-bar {
    height: auto;
    padding: 12px 16px;
    font-size: 12px;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .brand-showcase {
    padding-bottom: 64px;
  }

  .brand-showcase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
  }

  .brand-showcase-item--instagram {
    padding-top: 0;
  }

  .brand-showcase-item--instagram img {
    width: min(430px, 86%);
  }

  .favicon-showcase {
    padding-top: 48px;
  }

  .archive-wall {
    padding: 18px 14px 18px;
  }

  .archive-intro {
    width: calc(100% - 96px);
    margin-left: 92px;
  }

  .archive-actions {
    gap: 18px;
    min-width: 0;
  }

  .archive-magazine,
  .archive-link,
  .archive-search span,
  .archive-search input {
    font-size: 11px;
  }

  .archive-search {
    width: 96px;
    margin-right: 0;
    justify-content: flex-start;
  }

  .archive-search:focus-within input {
    width: 96px;
  }

  .archive-hover-category,
  .archive-hover-summary {
    display: none;
  }

  .wall-stage {
    min-height: 760px;
  }

  .wall-center {
    left: 14px;
    top: -8px;
    width: 64px;
  }

  .article-list {
    height: 450px;
    gap: 7px;
  }

  .article-card {
    height: min(var(--tile-h), 330px);
  }

  .article-card h3 {
    font-size: 10px;
  }

  .project-meta,
  .footer-links,
  .contact-info p {
    font-size: 16px;
  }

  .project-image-wrap {
    height: 420px;
  }

  .footer-title h2 {
    font-size: 72px;
  }

  .topbar-nav {
    gap: 16px;
    font-size: 11px;
  }
}
