/* =========================================================
   DABBIES — HOW IT WORKS
   MONOGRAPH / EDITORIAL SYSTEM
========================================================= */

:root {
  --black: #080808;
  --black-soft: #0e0e0e;
  --white: #f3f3ef;
  --muted: #858580;
  --soft: #b6b6b0;
  --line: rgba(243, 243, 239, 0.14);
  --line-strong: rgba(243, 243, 239, 0.28);

  --max-width: 1440px;
}


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


html {
  scroll-behavior: smooth;
}


body {
  background: var(--black);
  color: var(--white);

  font-family:
    Inter,
    Helvetica Neue,
    Helvetica,
    Arial,
    sans-serif;

  overflow-x: hidden;
}


body.menu-open {
  overflow: hidden;
}


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


button {
  font: inherit;
}


/* =========================================================
   LOADER
========================================================= */

.page-loader {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--black);

  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}


.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}


.loader-mark {
  display: flex;
  gap: 5px;
}


.loader-mark span {
  width: 5px;
  height: 5px;

  background: var(--white);

  border-radius: 50%;

  animation:
    loaderPulse 1s infinite ease-in-out;
}


.loader-mark span:nth-child(2) {
  animation-delay: 0.15s;
}


.loader-mark span:nth-child(3) {
  animation-delay: 0.3s;
}


@keyframes loaderPulse {

  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px);
  }

}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  max-width: var(--max-width);

  margin: auto;

  padding:
    28px clamp(20px, 4vw, 64px);

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid var(--line);
}


.brand {
  display: flex;
  align-items: center;

  gap: 11px;
}


.brand-symbol {
  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  border: 1px solid var(--line-strong);

  font-size: 12px;
  font-weight: 700;
}


.brand-name {
  font-size: 15px;
  font-weight: 600;

  letter-spacing: -0.03em;
}


.header-right {
  display: flex;
  align-items: center;

  gap: 28px;
}


.header-section {
  color: var(--muted);

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.16em;
}


.menu-button {
  width: 44px;
  height: 44px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 6px;

  border: 1px solid var(--line);

  background: transparent;

  cursor: pointer;
}


.menu-button span {
  width: 17px;
  height: 1px;

  background: var(--white);

  transition:
    transform 0.3s ease;
}


.menu-button.open span:first-child {
  transform:
    translateY(3.5px)
    rotate(45deg);
}


.menu-button.open span:last-child {
  transform:
    translateY(-3.5px)
    rotate(-45deg);
}


/* =========================================================
   MENU
========================================================= */

.menu-overlay {
  position: fixed;
  inset: 0;

  z-index: 5000;

  background: #0a0a0a;

  opacity: 0;
  visibility: hidden;

  transform: translateY(-10px);

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease;

  overflow-y: auto;
}


.menu-overlay.open {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}


.menu-inner {
  max-width: var(--max-width);

  min-height: 100%;

  margin: auto;

  padding:
    32px clamp(20px, 5vw, 70px);

  display: flex;
  flex-direction: column;
}


.menu-top,
.menu-bottom {
  display: flex;
  justify-content: space-between;

  color: var(--muted);

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.15em;
}


.main-navigation {
  margin: auto 0;

  padding: 60px 0;
}


.main-navigation a {
  display: grid;

  grid-template-columns:
    55px
    1fr;

  align-items: baseline;

  padding: 18px 0;

  border-bottom: 1px solid var(--line);

  transition:
    padding-left 0.3s ease;
}


.main-navigation a:first-child {
  border-top: 1px solid var(--line);
}


.main-navigation a:hover,
.main-navigation a.active {
  padding-left: 15px;
}


.main-navigation a span {
  color: var(--muted);

  font-size: 10px;
}


.main-navigation a strong {
  font-size:
    clamp(30px, 5vw, 65px);

  font-weight: 400;

  letter-spacing: -0.055em;
}


/* =========================================================
   GENERAL
========================================================= */

.section-label {
  color: var(--muted);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 0.17em;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  max-width: var(--max-width);

  min-height: 760px;

  margin: auto;

  padding:
    70px clamp(20px, 5vw, 70px)
    40px;

  display: grid;

  grid-template-columns:
    minmax(90px, 0.35fr)
    minmax(0, 2fr);

  grid-template-rows:
    1fr
    auto;
}


.hero-index {
  display: flex;
  flex-direction: column;

  gap: 7px;

  color: var(--muted);

  font-size: 9px;

  letter-spacing: 0.15em;
}


.hero-content {
  align-self: center;

  max-width: 1100px;
}


.eyebrow {
  margin-bottom: 35px;

  color: var(--muted);

  font-size: 10px;

  letter-spacing: 0.16em;
}


.hero h1 {
  max-width: 1050px;

  font-size:
    clamp(
      60px,
      9vw,
      145px
    );

  line-height: 0.87;

  font-weight: 400;

  letter-spacing: -0.078em;
}


.hero-description {
  max-width: 650px;

  margin-top: 50px;

  color: var(--soft);

  font-size:
    clamp(16px, 1.5vw, 21px);

  line-height: 1.6;
}


.hero-meta {
  grid-column: 2;

  display: flex;
  justify-content: space-between;

  color: var(--muted);

  font-size: 9px;

  letter-spacing: 0.15em;
}


/* =========================================================
   SIGNAL
========================================================= */

.signal-strip {
  overflow: hidden;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.signal-track {
  width: max-content;

  display: flex;
  align-items: center;

  gap: 28px;

  padding: 17px 0;

  color: var(--muted);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 0.17em;

  animation:
    signalMove 35s linear infinite;
}


.signal-track i {
  color: var(--white);

  font-style: normal;
}


@keyframes signalMove {

  from {
    transform: translateX(0);
  }

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

}


/* =========================================================
   INTRO
========================================================= */

.intro-section {
  max-width: var(--max-width);

  margin: auto;

  padding:
    150px clamp(20px, 5vw, 70px);

  display: grid;

  grid-template-columns:
    minmax(90px, 0.35fr)
    minmax(0, 2fr);

  border-bottom: 1px solid var(--line);
}


.section-number {
  color: var(--muted);

  font-size: 9px;

  letter-spacing: 0.15em;
}


.intro-content {
  max-width: 900px;
}


.intro-content h2 {
  margin:
    18px 0 45px;

  font-size:
    clamp(42px, 6vw, 85px);

  line-height: 0.94;

  font-weight: 400;

  letter-spacing: -0.065em;
}


.intro-content p:not(.section-label) {
  max-width: 700px;

  margin-bottom: 22px;

  color: var(--soft);

  font-size:
    clamp(16px, 1.4vw, 19px);

  line-height: 1.75;
}


/* =========================================================
   PROCESS
========================================================= */

.process-section {
  max-width: var(--max-width);

  margin: auto;

  padding:
    130px clamp(20px, 5vw, 70px);
}


.process-heading {
  margin-bottom: 100px;
}


.process-heading h2 {
  margin-top: 15px;

  font-size:
    clamp(45px, 7vw, 95px);

  line-height: 0.9;

  font-weight: 400;

  letter-spacing: -0.07em;
}


.process-step {
  position: relative;

  display: grid;

  grid-template-columns:
    55px
    minmax(0, 1.15fr)
    minmax(280px, 0.85fr);

  gap: 45px;

  align-items: center;

  min-height: 620px;

  padding:
    80px 0;

  border-top: 1px solid var(--line);
}


.process-step:last-child {
  border-bottom: 1px solid var(--line);
}


.process-step.reverse {
  grid-template-columns:
    55px
    minmax(280px, 0.85fr)
    minmax(0, 1.15fr);
}


.step-number {
  align-self: start;

  color: var(--muted);

  font-size: 9px;

  letter-spacing: 0.15em;
}


.step-visual {
  width: 100%;
}


.visual-frame {
  position: relative;

  width: 100%;

  aspect-ratio: 1 / 0.82;

  overflow: hidden;

  border: 1px solid var(--line);

  background:
    #0d0d0d;
}


/* =========================================================
   VISUAL 01
========================================================= */

.people-frame {
  display: grid;
  place-items: center;
}


.visual-grid,
.statement-grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      var(--line) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      var(--line) 1px,
      transparent 1px
    );

  background-size:
    45px 45px;

  opacity: 0.35;
}


.visual-center {
  position: relative;

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 18px;

  font-size: 9px;

  letter-spacing: 0.17em;
}


.visual-symbol {
  width: 85px;
  height: 85px;

  display: grid;
  place-items: center;

  border: 1px solid var(--line-strong);

  font-size: 25px;

  font-weight: 300;
}


.visual-coordinate {
  position: absolute;

  left: 20px;
  bottom: 18px;

  color: var(--muted);

  font-size: 8px;

  letter-spacing: 0.13em;
}


/* =========================================================
   VISUAL 02
========================================================= */

.task-frame {
  padding: 35px;

  display: flex;
  align-items: center;
  justify-content: center;
}


.task-lines {
  position: absolute;

  inset: 25px;

  display: flex;
  flex-direction: column;

  justify-content: space-around;
}


.task-lines span {
  display: block;

  height: 1px;

  width: 100%;

  background: var(--line);
}


.task-card {
  position: relative;

  width: min(80%, 370px);

  padding: 30px;

  background: #141414;

  border: 1px solid var(--line-strong);

  display: flex;
  flex-direction: column;

  gap: 15px;
}


.task-card small,
.task-card span {
  color: var(--muted);

  font-size: 8px;

  letter-spacing: 0.14em;
}


.task-card strong {
  font-size: 20px;

  font-weight: 500;

  letter-spacing: -0.03em;
}


/* =========================================================
   VISUAL 03
========================================================= */

.data-frame {
  display: flex;

  align-items: center;
  justify-content: center;
}


.data-wave {
  width: 75%;

  height: 150px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 8px;
}


.data-wave span {
  width: 4px;

  background: var(--white);

  opacity: 0.65;

  animation:
    wave 1.8s infinite ease-in-out;
}


.data-wave span:nth-child(1) {
  height: 20%;
}


.data-wave span:nth-child(2) {
  height: 45%;
  animation-delay: 0.1s;
}


.data-wave span:nth-child(3) {
  height: 70%;
  animation-delay: 0.2s;
}


.data-wave span:nth-child(4) {
  height: 40%;
  animation-delay: 0.3s;
}


.data-wave span:nth-child(5) {
  height: 90%;
  animation-delay: 0.4s;
}


.data-wave span:nth-child(6) {
  height: 60%;
  animation-delay: 0.5s;
}


.data-wave span:nth-child(7) {
  height: 35%;
  animation-delay: 0.6s;
}


.data-wave span:nth-child(8) {
  height: 75%;
  animation-delay: 0.7s;
}


.data-wave span:nth-child(9) {
  height: 50%;
  animation-delay: 0.8s;
}


.data-wave span:nth-child(10) {
  height: 25%;
  animation-delay: 0.9s;
}


@keyframes wave {

  50% {
    transform: scaleY(0.55);
    opacity: 0.25;
  }

}


.data-label {
  position: absolute;

  top: 20px;
  left: 20px;

  color: var(--muted);

  font-size: 8px;

  letter-spacing: 0.15em;
}


/* =========================================================
   VISUAL 04
========================================================= */

.quality-frame {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  align-items: center;

  padding: 45px;
}


.quality-ring {
  width: 160px;
  height: 160px;

  margin: auto;

  display: grid;
  place-items: center;

  border:
    1px solid var(--line-strong);

  border-radius: 50%;

  position: relative;
}


.quality-ring::before,
.quality-ring::after {
  content: "";

  position: absolute;

  border: 1px solid var(--line);

  border-radius: 50%;
}


.quality-ring::before {
  inset: 18px;
}


.quality-ring::after {
  inset: 38px;
}


.quality-ring span {
  position: relative;
  z-index: 2;

  font-size: 20px;

  letter-spacing: 0.05em;
}


.quality-lines {
  display: flex;
  flex-direction: column;

  gap: 14px;
}


.quality-lines span {
  padding-bottom: 12px;

  border-bottom: 1px solid var(--line);

  color: var(--muted);

  font-size: 9px;

  letter-spacing: 0.15em;
}


/* =========================================================
   VISUAL 05
========================================================= */

.technology-frame {
  display: grid;
  place-items: center;
}


.tech-core {
  position: relative;
  z-index: 5;

  width: 70px;
  height: 70px;

  display: grid;
  place-items: center;

  border: 1px solid var(--line-strong);

  background: var(--black);

  font-weight: 600;
}


.tech-orbit {
  position: absolute;

  border: 1px solid var(--line-strong);

  border-radius: 50%;

  animation:
    orbitSpin 12s linear infinite;
}


.orbit-one {
  width: 150px;
  height: 150px;
}


.orbit-two {
  width: 260px;
  height: 120px;

  transform: rotate(45deg);

  animation-duration: 16s;
}


.orbit-three {
  width: 320px;
  height: 190px;

  transform: rotate(-35deg);

  animation-duration: 20s;
}


@keyframes orbitSpin {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}


.step-copy {
  max-width: 500px;
}


.step-label {
  color: var(--muted);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 0.16em;
}


.step-copy h3 {
  margin:
    18px 0 30px;

  font-size:
    clamp(34px, 4vw, 58px);

  line-height: 0.95;

  font-weight: 400;

  letter-spacing: -0.06em;
}


.step-copy > p:last-child {
  color: var(--soft);

  font-size: 16px;

  line-height: 1.75;
}


/* =========================================================
   STATEMENT
========================================================= */

.statement-section {
  max-width: var(--max-width);

  margin: auto;

  padding:
    120px clamp(20px, 5vw, 70px);

  display: grid;

  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(280px, 0.75fr);

  gap: 80px;

  border-top: 1px solid var(--line);
}


.statement-visual {
  position: relative;

  min-height: 500px;

  display: grid;

  place-items: center;

  overflow: hidden;

  border: 1px solid var(--line);
}


.statement-coordinate {
  position: absolute;

  top: 20px;
  left: 20px;

  color: var(--muted);

  font-size: 8px;

  letter-spacing: 0.13em;
}


.statement-center {
  position: relative;

  display: flex;
  align-items: center;

  gap: 30px;

  font-size: 10px;

  letter-spacing: 0.16em;
}


.statement-center strong {
  font-size: 28px;

  font-weight: 300;
}


.statement-copy {
  align-self: center;
}


.statement-copy h2 {
  margin:
    18px 0 25px;

  font-size:
    clamp(40px, 5vw, 70px);

  line-height: 0.94;

  font-weight: 400;

  letter-spacing: -0.065em;
}


.statement-copy > p:last-child {
  color: var(--muted);

  font-size: 18px;
}


/* =========================================================
   PARTICIPATION
========================================================= */

.participation-section {
  max-width: var(--max-width);

  margin: auto;

  padding:
    120px clamp(20px, 5vw, 70px);

  border-top: 1px solid var(--line);
}


.participation-intro {
  max-width: 850px;

  margin-bottom: 75px;
}


.participation-intro h2 {
  margin-top: 18px;

  font-size:
    clamp(42px, 6vw, 82px);

  line-height: 0.94;

  font-weight: 400;

  letter-spacing: -0.065em;
}


.participation-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 1px;

  background: var(--line);
}


.participation-card {
  min-height: 300px;

  padding: 30px;

  background: var(--black);

  display: flex;
  flex-direction: column;
}


.card-number {
  color: var(--muted);

  font-size: 9px;

  letter-spacing: 0.15em;
}


.participation-card h3 {
  margin-top: auto;

  font-size: 30px;

  font-weight: 400;

  letter-spacing: -0.05em;
}


.participation-card p {
  margin-top: 15px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.6;
}


/* =========================================================
   FINAL
========================================================= */

.final-section {
  max-width: var(--max-width);

  margin: auto;

  padding:
    180px clamp(20px, 5vw, 70px);

  text-align: center;

  border-top: 1px solid var(--line);
}


.final-section h2 {
  max-width: 1050px;

  margin:
    20px auto 45px;

  font-size:
    clamp(
      48px,
      8vw,
      115px
    );

  line-height: 0.88;

  font-weight: 400;

  letter-spacing: -0.075em;
}


.final-link {
  display: inline-block;

  padding-bottom: 7px;

  border-bottom: 1px solid var(--line-strong);

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.15em;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  max-width: var(--max-width);

  margin: auto;

  padding:
    70px
    clamp(20px, 5vw, 70px)
    30px;

  border-top: 1px solid var(--line);
}


.footer-top {
  display: grid;

  grid-template-columns:
    1fr
    2fr;

  gap: 70px;
}


.footer-symbol {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  border: 1px solid var(--line-strong);

  font-size: 13px;
  font-weight: 600;
}


.footer-brand h2 {
  margin-top: 22px;

  font-size: 28px;

  font-weight: 500;

  letter-spacing: -0.05em;
}


.footer-brand p {
  margin-top: 7px;

  color: var(--muted);

  font-size: 12px;
}


.footer-links {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 30px;
}


.footer-column {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}


.footer-column > span {
  margin-bottom: 20px;

  color: var(--muted);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 0.15em;
}


.footer-column a {
  margin-bottom: 9px;

  color: #c8c8c3;

  font-size: 12px;
}


.footer-column a:hover {
  color: var(--white);
}


.footer-bottom {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  margin-top: 100px;

  padding-top: 20px;

  border-top: 1px solid var(--line);

  color: var(--muted);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 0.13em;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .process-step,
  .process-step.reverse {
    grid-template-columns:
      45px
      minmax(0, 1fr)
      minmax(250px, 0.8fr);

    gap: 30px;
  }


  .participation-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .statement-section {
    gap: 45px;
  }


  .footer-top {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .site-header {
    padding: 18px 20px;
  }


  .header-section {
    display: none;
  }


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


  .hero {
    min-height: 680px;

    padding:
      45px 20px
      35px;

    display: flex;

    flex-direction: column;
  }


  .hero-content {
    margin-top: auto;

    margin-bottom: 70px;
  }


  .hero h1 {
    font-size:
      clamp(
        50px,
        15vw,
        82px
      );
  }


  .hero-description {
    margin-top: 35px;

    font-size: 15px;
  }


  .hero-meta {
    display: flex;

    gap: 20px;

    flex-direction: column;
  }


  .intro-section {
    display: block;

    padding:
      90px 20px;
  }


  .section-number {
    margin-bottom: 40px;
  }


  .intro-content h2 {
    margin-bottom: 35px;

    font-size:
      clamp(40px, 13vw, 60px);
  }


  .process-section {
    padding:
      85px 20px;
  }


  .process-heading {
    margin-bottom: 60px;
  }


  .process-heading h2 {
    font-size:
      clamp(43px, 13vw, 62px);
  }


  .process-step,
  .process-step.reverse {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 25px;

    min-height: auto;

    padding:
      60px 0;
  }


  .step-number {
    order: 0;
  }


  .step-visual {
    order: 1;
  }


  .step-copy {
    order: 2;
  }


  .visual-frame {
    aspect-ratio: 1 / 0.85;
  }


  .step-copy h3 {
    font-size:
      clamp(35px, 11vw, 52px);
  }


  .quality-frame {
    padding: 25px;
  }


  .quality-ring {
    width: 120px;
    height: 120px;
  }


  .statement-section {
    display: flex;

    flex-direction: column;

    padding:
      85px 20px;

    gap: 45px;
  }


  .statement-visual {
    min-height: 360px;
  }


  .statement-center {
    flex-direction: column;

    gap: 15px;
  }


  .statement-center strong {
    transform: rotate(90deg);
  }


  .statement-copy h2 {
    font-size:
      clamp(40px, 12vw, 58px);
  }


  .participation-section {
    padding:
      85px 20px;
  }


  .participation-intro {
    margin-bottom: 50px;
  }


  .participation-intro h2 {
    font-size:
      clamp(40px, 12vw, 60px);
  }


  .participation-grid {
    grid-template-columns: 1fr;
  }


  .participation-card {
    min-height: 250px;
  }


  .final-section {
    padding:
      120px 20px;
  }


  .final-section h2 {
    font-size:
      clamp(47px, 14vw, 72px);
  }


  .footer-links {
    grid-template-columns:
      repeat(2, 1fr);

    row-gap: 45px;
  }


  .footer-bottom {
    flex-direction: column;

    margin-top: 70px;

    gap: 8px;
  }


  .main-navigation a {
    grid-template-columns:
      40px 1fr;
  }


  .main-navigation a strong {
    font-size:
      clamp(31px, 10vw, 52px);
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

  .footer-links {
    grid-template-columns: 1fr;
  }


  .hero h1 {
    font-size: 48px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

}