@font-face {
  font-family: "Yekan Bakh";
  src: url("./YekanBakh-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --brand: #3db94d;
  --brand-dark: #164f2d;
  --brand-deep: #0b2d1c;
  --brand-soft: #e4f6e7;
  --yellow: #ffd449;
  --paper: #f5f3eb;
  --ink: #102019;
  --muted: #607067;
  --line: rgba(16, 32, 25, 0.13);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 82% 10%,
      rgba(61, 185, 77, 0.15),
      transparent 24rem
    ),
    radial-gradient(
      circle at 8% 88%,
      rgba(255, 212, 73, 0.18),
      transparent 22rem
    ),
    var(--paper);
  font-family: "Yekan Bakh", Tahoma, Arial, sans-serif;
}

body::selection {
  color: var(--brand-deep);
  background: var(--yellow);
}

img {
  max-width: 100%;
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px clamp(20px, 4.5vw, 72px) 24px;
}

.blueprint-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(16, 32, 25, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 25, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    rgba(0, 0, 0, 0.65) 68%,
    transparent 100%
  );
}

.ambient {
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}

.ambient--one {
  top: -170px;
  right: -100px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(61, 185, 77, 0.22);
  box-shadow:
    0 0 0 45px rgba(61, 185, 77, 0.035),
    0 0 0 95px rgba(61, 185, 77, 0.025);
}

.ambient--two {
  left: -80px;
  bottom: 3%;
  width: 180px;
  height: 180px;
  background: rgba(255, 212, 73, 0.24);
  box-shadow: 0 0 0 38px rgba(255, 212, 73, 0.06);
}

.site-header,
.site-footer {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 50px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--brand);
  box-shadow: 0 15px 34px rgba(61, 185, 77, 0.22);
}

.brand-mark img {
  width: 30px;
  height: auto;
  display: block;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.brand-copy small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
}

.build-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(16, 32, 25, 0.06);
  backdrop-filter: blur(16px);
  color: #425248;
  font-size: 13px;
  font-weight: 700;
}

.build-status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(61, 185, 77, 0.42);
  animation: status-pulse 2s infinite;
}

.hero {
  width: min(1380px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(470px, 0.86fr);
  align-items: center;
  gap: clamp(46px, 7vw, 110px);
  padding: clamp(52px, 8vh, 98px) 0;
}

.hero-copy {
  max-width: 720px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #4f6157;
  font-size: 15px;
  font-weight: 700;
}

.kicker__line {
  width: 38px;
  height: 3px;
  border-radius: 20px;
  background: var(--brand);
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(58px, 7.3vw, 108px);
  line-height: 1.04;
  letter-spacing: -5.5px;
  font-weight: 900;
}

.highlight {
  position: relative;
  display: inline-block;
  color: var(--brand-deep);
  isolation: isolate;
  white-space: nowrap;
}

.highlight::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.05em;
  left: -0.03em;
  bottom: 0.12em;
  height: 0.34em;
  border-radius: 3px 11px 4px 8px;
  background: var(--yellow);
  transform: rotate(-1.5deg) scaleX(0);
  transform-origin: right center;
  animation: marker 1.1s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.intro {
  max-width: 640px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 2;
  font-weight: 450;
}

.work-progress {
  width: min(625px, 100%);
  margin-top: 39px;
  padding: 20px 22px 18px;
  border: 1px solid rgba(16, 32, 25, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 60px rgba(16, 32, 25, 0.08);
  backdrop-filter: blur(18px);
}

.work-progress__head,
.work-progress__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.work-progress__head {
  font-size: 14px;
  font-weight: 700;
}

.work-progress__head strong {
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
}

.work-progress__track {
  position: relative;
  height: 9px;
  overflow: hidden;
  margin: 17px 0 14px;
  border-radius: 999px;
  background: #dfe8e1;
}

.work-progress__bar {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 68%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2d983f, var(--brand));
}

.work-progress__shine {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.72),
    transparent
  );
  transform: translateX(-400%);
  animation: progress-shine 2.6s ease-in-out infinite;
}

.work-progress__labels {
  color: #9aa69f;
  font-size: 12px;
  font-weight: 650;
}

.work-progress__labels .is-done {
  color: #637269;
}

.work-progress__labels .is-active {
  color: var(--brand);
  font-weight: 850;
}

.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 27px;
  color: #53645a;
  font-size: 14px;
  font-weight: 700;
}

.launch-note__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--brand-deep);
  font-size: 17px;
  transform: rotate(-90deg);
}

.construction-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.construction-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand-soft);
  filter: blur(1px);
}

.stage-card {
  position: relative;
  width: min(540px, 100%);
  aspect-ratio: 0.94;
  overflow: hidden;
  padding: 24px;
  border-radius: 34px;
  color: var(--white);
  background:
    radial-gradient(
      circle at 50% 44%,
      rgba(255, 212, 73, 0.13),
      transparent 32%
    ),
    linear-gradient(145deg, #154f2e 0%, #0b2d1c 62%, #081f15 100%);
  box-shadow:
    0 45px 100px rgba(11, 45, 28, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(1.4deg);
}

.stage-card::before,
.stage-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.stage-card::before {
  inset: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 24px;
}

.stage-card::after {
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, #000, transparent 86%);
}

.stage-card__top {
  position: relative;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 1.4px;
  direction: ltr;
}

.stage-card__badge {
  padding: 7px 9px;
  border: 1px solid rgba(255, 212, 73, 0.55);
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(255, 212, 73, 0.05);
}

.measure {
  position: absolute;
  z-index: 5;
  color: rgba(255, 255, 255, 0.32);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 1px;
}

.measure::before,
.measure::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.22);
}

.measure--vertical {
  top: 26%;
  bottom: 19%;
  left: 27px;
  width: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.measure--vertical::before,
.measure--vertical::after {
  left: -5px;
  width: 10px;
  height: 1px;
}

.measure--vertical::before {
  top: 0;
}
.measure--vertical::after {
  bottom: 0;
}

.measure--vertical span {
  position: absolute;
  top: 50%;
  left: -26px;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
}

.measure--horizontal {
  right: 25%;
  bottom: 86px;
  left: 25%;
  height: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.measure--horizontal::before,
.measure--horizontal::after {
  bottom: -5px;
  width: 1px;
  height: 10px;
}

.measure--horizontal::before {
  right: 0;
}
.measure--horizontal::after {
  left: 0;
}

.measure--horizontal span {
  position: relative;
  top: 7px;
}

.crane {
  position: absolute;
  z-index: 6;
  top: 55px;
  right: 28px;
  width: 58%;
  height: 126px;
  pointer-events: none;
}

.crane__mast,
.crane__arm,
.crane__brace,
.crane__rope {
  position: absolute;
  display: block;
  background: var(--yellow);
}

.crane__mast {
  top: 0;
  right: 0;
  width: 6px;
  height: 116px;
  border-radius: 5px;
}

.crane__arm {
  top: 0;
  right: 0;
  width: 100%;
  height: 6px;
  border-radius: 5px;
}

.crane__brace {
  top: 2px;
  right: 12px;
  width: 2px;
  height: 73px;
  transform-origin: top;
  opacity: 0.7;
}

.crane__brace--one {
  transform: rotate(52deg);
}
.crane__brace--two {
  right: 42px;
  transform: rotate(-49deg);
}

.crane__rope {
  top: 5px;
  left: 22%;
  width: 2px;
  height: 78px;
  background: rgba(255, 212, 73, 0.88);
  transform-origin: top;
  animation: crane-rope 4s ease-in-out infinite;
}

.crane__hook {
  position: absolute;
  top: 80px;
  left: calc(22% - 7px);
  width: 16px;
  height: 18px;
  border: 3px solid var(--yellow);
  border-top: 0;
  border-left-color: transparent;
  border-radius: 0 0 11px 11px;
  animation: crane-hook 4s ease-in-out infinite;
}

.scan-line {
  position: absolute;
  z-index: 4;
  top: 22%;
  right: 12%;
  left: 12%;
  height: 1px;
  opacity: 0.8;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  box-shadow: 0 0 16px rgba(255, 212, 73, 0.45);
  animation: scan 4.8s ease-in-out infinite;
}

.logo-site {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: 56%;
  transform: translate(-50%, -48%);
}

.logo-site__halo {
  position: absolute;
  inset: -28%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 212, 73, 0.18),
    transparent 68%
  );
  animation: halo 3s ease-in-out infinite;
}

.logo-site__frame {
  position: relative;
  width: 68%;
  aspect-ratio: 1;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, 0.018),
    0 20px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.logo-site__frame::before,
.logo-site__frame::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 25px;
}

.logo-site__frame::after {
  inset: -10px;
  border-style: solid;
  border-color: rgba(255, 212, 73, 0.22);
  animation: frame-breathe 3s ease-in-out infinite;
}

.logo-site__frame img {
  width: 46%;
  display: block;
  filter: drop-shadow(0 13px 20px rgba(0, 0, 0, 0.2));
  animation: logo-float 4s ease-in-out infinite;
}

.logo-site__base {
  width: 84%;
  height: 21px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--yellow);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.logo-site__base span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-deep);
  opacity: 0.55;
}

.site-label {
  position: absolute;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
}

.site-label::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

.site-label--one {
  top: 34%;
  left: 7%;
}

.site-label--two {
  top: 52%;
  right: 6%;
}

.site-label--three {
  right: 11%;
  bottom: 23%;
}

.stage-card__footer {
  position: absolute;
  z-index: 7;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  direction: ltr;
}

.stage-card__footer div {
  display: grid;
  gap: 4px;
}

.stage-card__footer small {
  color: rgba(255, 255, 255, 0.3);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 7px;
  letter-spacing: 1.2px;
}

.stage-card__footer strong {
  color: rgba(255, 255, 255, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 600;
}

.site-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #75827b;
  font-size: 12px;
  font-weight: 600;
}

.site-footer__motto {
  color: #4e6056;
}

@keyframes status-pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(61, 185, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 185, 77, 0);
  }
}

@keyframes marker {
  to {
    transform: rotate(-1.5deg) scaleX(1);
  }
}

@keyframes progress-shine {
  from {
    transform: translateX(-420%);
  }
  to {
    transform: translateX(520%);
  }
}

@keyframes crane-rope {
  0%,
  100% {
    transform: scaleY(0.68);
  }
  42%,
  62% {
    transform: scaleY(1);
  }
}

@keyframes crane-hook {
  0%,
  100% {
    transform: translateY(-25px);
  }
  42%,
  62% {
    transform: translateY(0);
  }
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.18;
  }
  50% {
    transform: translateY(260px);
    opacity: 0.95;
  }
}

@keyframes halo {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes frame-breathe {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 68px;
  }

  .hero-copy {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
  }

  .kicker,
  .launch-note {
    justify-content: center;
  }

  .intro,
  .work-progress {
    margin-inline: auto;
  }

  .construction-stage {
    margin-top: 12px;
  }

  .stage-card {
    width: min(590px, 92vw);
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 19px 17px 21px;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand-mark {
    width: 43px;
    height: 52px;
    border-radius: 14px;
  }

  .brand-mark img {
    width: 25px;
  }

  .brand-copy strong {
    font-size: 21px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .build-status {
    min-height: 37px;
    padding: 8px 11px;
    font-size: 10px;
  }

  .hero {
    padding: 51px 0 43px;
    gap: 48px;
  }

  .kicker {
    align-items: flex-start;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 70px);
    line-height: 1.07;
    letter-spacing: -3.5px;
  }

  .intro {
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.95;
  }

  .work-progress {
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .work-progress__labels {
    font-size: 10px;
  }

  .stage-card {
    padding: 18px;
    border-radius: 25px;
    transform: rotate(0.5deg);
  }

  .stage-card::before {
    inset: 9px;
    border-radius: 18px;
  }

  .stage-card__top {
    font-size: 6px;
  }

  .stage-card__badge {
    padding: 5px 7px;
  }

  .crane {
    top: 43px;
    right: 20px;
  }

  .site-label {
    min-height: 25px;
    padding: 4px 7px;
    font-size: 8px;
  }

  .stage-card__footer {
    right: 17px;
    bottom: 17px;
    left: 17px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
