@import url("https://fonts.googleapis.com/css2?family=Anton&family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,600;1,700;1,800&family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --blue: #4b70d8;
  --black: #0a0a0a;
  --paper: #f9f7f4;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--black);
  color: #fff;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 56px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  color: #fff;
  border-bottom: 1px solid #2a2a2a;
}

.logo-mark {
  display: flex;
  gap: 4px;
  align-items: center;
}

.logo-mark span {
  width: 13px;
  height: 13px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
}

.top-nav {
  display: flex;
  gap: 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.top-nav .is-active {
  outline: 1px solid #fff;
  padding: 4px 6px;
}

.cta {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border: 1px solid #fff;
}

/* ===== WORK HERO ===== */
.work-hero {
  padding: 100px 28px 80px;
  position: relative;
}

.work-hero h1 {
  margin: 0 0 36px;
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(72px, 14vw, 180px);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.work-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 38ch) minmax(0, 40ch);
  gap: clamp(24px, 8vw, 120px);
  margin-bottom: 56px;
}

.work-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  color: #e8e8ea;
}

.work-aside {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25;
  color: #fff;
}

.work-main {
  position: relative;
  min-height: 620px;
}

.work-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 58%;
}

.work-item {
  position: relative;
  padding: 6px 0;
  overflow: hidden;
}

.work-name {
  margin: 0;
  position: relative;
  z-index: 2;
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
}

.work-marquee {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--m-color, #fe4f2a);
  color: var(--m-ink, #111);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.work-item.is-active .work-marquee,
.work-item:hover .work-marquee {
  opacity: 1;
}

.work-item.is-active .work-name,
.work-item:hover .work-name {
  color: transparent;
}

.work-marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: work-x 14s linear infinite;
  will-change: transform;
}

.work-marquee-track span {
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: none;
}

@keyframes work-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.work-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.work-preview {
  position: absolute;
  right: 0;
  top: 2em;
  width: min(28vw, 420px);
  aspect-ratio: 446 / 628;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111;
  padding: 48px 28px 20px;
  margin-top: 40px;
  border-top: 1px solid #2a2a2a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand h6 {
  margin: 0 0 8px;
  font-family: "Barlow Condensed", Anton, Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.85;
  letter-spacing: -0.03em;
}

.footer-tag {
  margin: 0 0 14px !important;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 18px !important;
  color: #bbb !important;
}

.footer-brand p {
  margin: 0;
  max-width: 32ch;
  color: #cfcfd4;
  font-size: 14px;
  line-height: 1.5;
}

.newsletter-title {
  margin-top: 34px !important;
  font-size: clamp(28px, 3vw, 40px) !important;
}

.newsletter-input {
  margin-top: 16px !important;
  padding-bottom: 8px;
  border-bottom: 1px solid #4a4a4f;
}

.footer-grid > div:not(.footer-brand) h6 {
  margin: 0 0 14px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
}

.footer-grid a,
.footer-grid > div:not(.footer-brand) p {
  margin: 0;
  display: block;
  color: #d0d0d5;
  font-size: 14px;
  line-height: 1.55;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid #2c2c30;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: #9f9fa5;
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  gap: 14px;
}

@media (max-width: 980px) {
  .top-nav {
    display: none;
  }

  .work-hero-copy,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .work-list {
    max-width: 100%;
  }

  .work-preview {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 360px;
    margin: 28px auto 0;
    aspect-ratio: 3 / 4;
  }

  .work-main {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-marquee-track {
    animation: none;
  }
}
