* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: #faf9f6;
}
body {
  font-family: 'Poppins', sans-serif;
  color: #000;
}
.page {
  position: relative;
  width: 1440px;
  min-height: 11875px;
  margin: 0 auto;
  background: #faf9f6;
  overflow: hidden;
}
.abs { position: absolute; }
a { color: inherit; }

/* Nav */
.logo {
  position: fixed;
  left: calc(50% - 667px); top: 24px;
  z-index: 50;
  font-weight: 700; font-size: 32px; line-height: 32px;
  text-decoration: none;
}
.nav {
  position: fixed;
  left: calc(50% - 667px);
  z-index: 50;
  font-weight: 300; font-size: 16px; line-height: 24px;
  text-decoration: none;
  color: #000;
}
.nav:hover { text-decoration: underline; }
.made-with {
  right: 102px; top: 40px;
  font-weight: 300; font-size: 16px; line-height: 18px;
  white-space: nowrap;
  text-align: right;
}

/* Hero */
.hero-greet {
  top: 259px;
  font-weight: 300; font-size: 42px; line-height: 52px;
  white-space: nowrap;
}
.hero-headline {
  left: 391px; top: 311px; width: 771px;
  font-weight: 700; font-size: 82px; line-height: 92px;
}
.hand-peace { left: 634px; top: 246px; width: 51px; height: 78px; }
.lightbulb {
  left: 986px; top: 518px; width: 83px; height: 110px;
  transform: rotate(-0.17deg);
}
.lightbulb img { position: absolute; display: block; }
.lightbulb .lb-base { left: 0; top: 0; width: 100%; height: 100%; }
.lightbulb .lb-filament { left: 23px; top: 13px; width: 48px; height: 74px; }
.lightbulb .lb-glow { left: 12px; top: 13px; width: 59px; height: 84px; mix-blend-mode: hard-light; }

/* Tag row */
.tag {
  top: 685px;
  font-weight: 300; font-size: 16px; line-height: 24px;
  letter-spacing: 0.8px; white-space: nowrap;
}
.tag-dot { top: 695px; width: 4px; height: 4px; }

/* Section headers */
.section-title {
  left: 391px;
  font-weight: 700; font-size: 62px; line-height: 72px;
}

/* Work entries */
.work-title { font-weight: 700; font-size: 24px; line-height: 32px; white-space: nowrap; }
.work-date { font-weight: 400; font-size: 14px; line-height: 18px; white-space: nowrap; }
.work-desc { width: 509px; font-weight: 300; font-size: 18px; line-height: 32px; }
.work-live { font-weight: 300; font-size: 14px; line-height: 24px; white-space: nowrap; }
.work-live-link {
  font-weight: 700; font-size: 14px; line-height: 24px;
  color: #103a6e; text-decoration: none; white-space: nowrap;
}
.work-live-link:hover { text-decoration: underline; }

.meta-row { font-weight: 500; font-size: 14px; line-height: 24px; white-space: nowrap; }
.meta-dot { width: 4px; height: 4px; }

.thumb { display: block; object-fit: cover; }

/* Ticker tapes */
.ticker-wrap { overflow: hidden; height: 48px; }
.ticker-track { position: absolute; top: 0; left: 0; display: flex; height: 48px; will-change: transform; }
.ticker-item {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 14px; line-height: 24px;
  white-space: nowrap; padding: 0 16px;
}
.ticker-track .dot { width: 4px; height: 4px; flex: 0 0 auto; align-self: center; }
@keyframes scroll-main { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Story */
.story-text { left: 391px; top: 10201px; width: 884px; font-weight: 300; font-size: 18px; line-height: 32px; }

/* Footer */
.footer-cta {
  left: 357px; top: 11494px; width: 726px; text-align: center;
  font-weight: 500; font-size: 36px; line-height: 46px;
}
.footer-contact {
  left: 362px; top: 11602px; width: 716px; text-align: center;
  font-weight: 300; font-size: 20px; line-height: 32px;
}
.footer-contact a { text-decoration: underline; text-decoration-skip-ink: none; }
.footer-copy {
  left: 650px; top: 11801px; width: 138px; text-align: center;
  font-weight: 300; font-size: 14px; line-height: 32px; white-space: nowrap;
}

/* ================= MOBILE (breakpoint: HOME - Mobile 376) ================= */
.page-mobile {
  display: none;
  position: relative;
  width: 376px;
  min-height: 16044px;
  margin: 0 auto;
  background: #faf9f6;
  overflow: hidden;
}

.m-logo {
  position: fixed;
  z-index: 50;
  font-weight: 700; font-size: 22px; line-height: 24px;
  text-decoration: none;
}
.m-nav {
  position: fixed;
  z-index: 50;
  font-weight: 300; font-size: 14px; line-height: 24px;
  text-decoration: none; color: #000;
}
.m-nav:hover { text-decoration: underline; }
.m-header-glass {
  position: fixed;
  left: calc(50% - 188px);
  top: 0;
  width: 376px;
  height: 112px;
  z-index: 40;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(250, 249, 246, 0.75), rgba(250, 249, 246, 0.45));
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 8px 24px rgba(0, 0, 0, 0.05);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.m-made-with {
  left: 20px; width: 336px; text-align: center;
  font-weight: 300; font-size: 12px; line-height: 18px;
}

.m-hero-greet {
  left: 20px;
  font-weight: 300; font-size: 32px; line-height: 42px;
  white-space: nowrap;
}
.m-hero-headline {
  left: 20px; width: 336px;
  font-weight: 700; font-size: 42px; line-height: 52px;
}
.m-hand-peace { width: 31px; height: 47px; }
.m-lightbulb { transform: rotate(-0.17deg); }
.m-lightbulb img { position: absolute; display: block; }
.m-lightbulb .lb-base { left: 0; top: 0; width: 100%; height: 100%; }
.m-lightbulb .lb-filament { left: 17px; top: 10px; width: 36px; height: 56px; }
.m-lightbulb .lb-glow { left: 9px; top: 10px; width: 45px; height: 64px; mix-blend-mode: hard-light; }

.m-section-title {
  left: 20px;
  font-weight: 700; font-size: 42px; line-height: 32px;
  white-space: nowrap;
}

.m-work-title { font-weight: 700; font-size: 24px; line-height: 32px; white-space: nowrap; }
.m-work-date { font-weight: 400; font-size: 14px; line-height: 18px; white-space: nowrap; }
.m-work-desc { left: 20px; width: 336px; font-weight: 300; font-size: 18px; line-height: 32px; }
.m-work-live { left: 20px; font-weight: 300; font-size: 14px; line-height: 24px; white-space: nowrap; }
.m-work-live-link {
  font-weight: 700; font-size: 14px; line-height: 24px;
  color: #103a6e; text-decoration: none; white-space: nowrap;
}
.m-work-live-link:hover { text-decoration: underline; }

.m-meta-row { font-weight: 500; font-size: 14px; line-height: 24px; white-space: nowrap; }
.m-meta-dot { width: 4px; height: 4px; }

.m-thumb { display: block; object-fit: cover; }

.m-ticker-wrap { overflow: hidden; height: 48px; }
.m-ticker-track { position: absolute; top: 0; left: 0; display: flex; height: 48px; will-change: transform; }
.m-ticker-item {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 14px; line-height: 24px;
  white-space: nowrap; padding: 0 16px;
}
.m-ticker-item.m-tag { font-weight: 300; font-size: 16px; }
.m-ticker-track .dot { width: 4px; height: 4px; flex: 0 0 auto; align-self: center; }
@keyframes m-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.m-story-text { left: 20px; width: 336px; font-weight: 300; font-size: 18px; line-height: 32px; }

.m-footer-cta {
  left: 20px; top: 15396px; width: 336px; text-align: center;
  font-weight: 500; font-size: 36px; line-height: 46px;
}
.m-footer-contact {
  left: 15px; top: 15650px; width: 346px; text-align: center;
  font-weight: 300; font-size: 20px; line-height: 32px;
}
.m-footer-contact a { text-decoration: underline; text-decoration-skip-ink: none; }
.m-footer-contact .bold { font-weight: 700; }
.m-footer-copy {
  left: 118px; top: 15920px; width: 138px; text-align: center;
  font-weight: 300; font-size: 14px; line-height: 32px; white-space: nowrap;
}

/* Breakpoint switch */
@media (max-width: 767px) {
  .page { display: none; }
  .page-mobile { display: block; }
}
