.cr-hero {
  position: relative;
  min-height: min(100svh, 75vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px 0 clamp(36px, 6vh, 64px);
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 80% 18%, var(--glow-a), transparent 70%),
    radial-gradient(45% 55% at 6% 96%, var(--glow-b), transparent 70%),
    var(--bg);
}

.cr-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(168, 212, 240, 0.05) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(168, 212, 240, 0.035) 0 1px, transparent 1px 120px);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 75%);
}

.cr-hero__inner {
  position: relative;
  z-index: 2;
}

.cr-hero .crumbs {
  margin-bottom: clamp(26px, 5vh, 52px);
}

.cr-hero__stage {
  --y: -200px;
  position: relative;
}

.cr-hero__title,
.cr-hero__lit {
  margin: 0 0 0 -0.05em;
  font-weight: 800;
  font-size: min(14.2vw, 28vh, 236px);
  line-height: 0.8;
  letter-spacing: -0.056em;
}

.cr-hero__title .line,
.cr-hero__lit .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.05em 0.1em;
  margin-bottom: -0.1em;
}

.cr-hero__title .line > span,
.cr-hero__lit .line > span {
  display: inline-block;
}

.cr-hero__title .serif,
.cr-hero__lit .serif {
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -0.035em;
  color: var(--ice);
}

.cr-hero__lit {
  position: absolute;
  inset: 0;
  color: var(--ice);
  text-shadow: 0 0 28px rgba(168, 212, 240, 0.75), 0 0 2px #fff;
  pointer-events: none;
  opacity: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent calc(var(--y) - 130px), rgba(0, 0, 0, 0.35) calc(var(--y) - 40px), #000 var(--y), transparent calc(var(--y) + 1px));
  mask-image: linear-gradient(180deg, transparent calc(var(--y) - 130px), rgba(0, 0, 0, 0.35) calc(var(--y) - 40px), #000 var(--y), transparent calc(var(--y) + 1px));
}

.cr-hero__lit .serif {
  color: #fff;
}

.cr-hero__scan {
  position: absolute;
  left: calc(var(--gutter) * -1);
  right: calc(var(--gutter) * -1);
  top: 0;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(var(--y));
  background: linear-gradient(90deg, transparent, rgba(168, 212, 240, 0.9) 18%, rgba(168, 212, 240, 0.9) 82%, transparent);
  box-shadow: 0 0 18px 1px rgba(168, 212, 240, 0.6);
}

.cr-hero__scan i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 90px;
  background: linear-gradient(0deg, rgba(168, 212, 240, 0.08), transparent);
}

.cr-hero.is-scanning .cr-hero__lit,
.cr-hero.is-scanning .cr-hero__scan {
  opacity: 1;
}

.cr-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-top: clamp(26px, 4.5vh, 48px);
}

.cr-hero__sub {
  max-width: 33em;
}

.cr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.cr-hero__readout {
  margin: 0;
  display: grid;
  gap: 0;
  min-width: 290px;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}

.cr-hero__readout div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.cr-hero__readout dt {
  color: var(--ink-3);
}

.cr-hero__readout dd {
  margin: 0;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.cr-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  animation: cr-pulse 2s infinite;
}

@keyframes cr-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 1020px) {
  .cr-hero__row {
    grid-template-columns: 1fr;
  }
  .cr-hero__readout {
    min-width: 0;
    max-width: 30em;
  }
}

@media (max-width: 520px) {
  .cr-hero__title,
  .cr-hero__lit {
    font-size: 17.4vw;
  }
  .cr-hero__actions .btn {
    flex: 1 1 100%;
  }
  .cr-hero__readout {
    max-width: none;
  }
}

.cr-work {
  position: relative;
  padding: var(--space-section) 0;
  background: radial-gradient(40% 50% at 78% 50%, rgba(77, 141, 255, 0.1), transparent 70%);
}

.cr-work__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
}

.cr-work__title {
  margin: 20px 0 clamp(30px, 4vh, 48px);
}

.cr-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.cr-step {
  padding: clamp(14px, 2.2vh, 22px) 0;
  border-bottom: 1px solid var(--line);
  transition: opacity var(--dur-ui) var(--ease-out);
}

.cr-step h3 {
  margin: 0;
  font-weight: 650;
  font-size: var(--t-h4);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.cr-step p {
  margin: 10px 0 0;
  max-width: 30em;
  color: var(--ink-2);
}

.cr-work--live .cr-step {
  opacity: 0.32;
}

.cr-work--live .cr-step.is-on {
  opacity: 1;
}

.cr-work__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}

.cr-phone {
  --e: 1em;
  position: relative;
  font-size: min(16px, 1.1vw, calc((100svh - 190px) / 39));
  width: 18.75em;
  height: 39em;
  perspective: 1600px;
  transform: rotateY(-8deg) rotateX(4deg) rotateZ(1.5deg);
  transform-style: preserve-3d;
}

.cr-phone__frame {
  position: absolute;
  inset: 0;
  border-radius: 3.375em;
  padding: 0.19em;
  background: linear-gradient(155deg, #5b6576 0%, #1d2330 18%, #0a0d13 48%, #1a202b 76%, #4c5667 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 3em 6em -2em rgba(0, 0, 0, 0.95),
    0 2em 8em -2.5em rgba(77, 141, 255, 0.6),
    -2em 2.5em 5em -3em rgba(168, 212, 240, 0.25);
}

.cr-phone__btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0b0e13, #4a5465 60%, #202631);
}

.cr-phone__btn--a { left: -2px; top: 9.1em; height: 2.75em; }
.cr-phone__btn--b { left: -2px; top: 12.5em; height: 2.75em; }
.cr-phone__btn--c { right: -2px; top: 10.6em; height: 4.4em; }

.cr-phone__screen {
  position: absolute;
  inset: 0.75em;
  border-radius: 2.625em;
  overflow: hidden;
  isolation: isolate;
  color: #f2f5f9;
  background:
    radial-gradient(90% 55% at 70% 8%, rgba(77, 141, 255, 0.55), transparent 70%),
    radial-gradient(80% 50% at 10% 100%, rgba(61, 90, 128, 0.7), transparent 70%),
    linear-gradient(180deg, #0b1424, #04060a 70%);
}

.cr-lock__status {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 1em 1.6em 0 1.9em;
  font-size: 0.875em;
  font-weight: 600;
}

.cr-lock__icons {
  display: inline-flex;
  gap: 0.3em;
  align-items: center;
}

.cr-lock__icons i {
  display: block;
  width: 1em;
  height: 0.62em;
  border-radius: 0.15em;
  background: #f2f5f9;
  opacity: 0.9;
}

.cr-lock__icons i:last-child {
  width: 1.5em;
  background: none;
  box-shadow: inset 0 0 0 1px rgba(242, 245, 249, 0.5), inset 0 0 0 2.5px transparent;
  position: relative;
}

.cr-lock__icons i:last-child::after {
  content: "";
  position: absolute;
  inset: 2px 5px 2px 2px;
  border-radius: 1px;
  background: #f2f5f9;
}

.cr-phone__island {
  position: absolute;
  z-index: 5;
  top: 0.62em;
  left: 50%;
  width: 5.75em;
  height: 1.7em;
  margin-left: -2.875em;
  border-radius: 1.25em;
  background: #000;
}

.cr-lock__clock {
  position: absolute;
  top: 3.4em;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cr-lock__date {
  font-size: 0.95em;
  font-weight: 600;
  color: rgba(242, 245, 249, 0.8);
}

.cr-lock__time {
  font-size: 5.3em;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 30%, var(--ice));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cr-lock__stack {
  position: absolute;
  left: 0.7em;
  right: 0.7em;
  top: 12.6em;
  bottom: 2em;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.5em;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
  mask-image: linear-gradient(180deg, #000 72%, transparent);
}

.cr-note {
  --ty: 0;
  flex: none;
  display: grid;
  grid-template-columns: 2.3em minmax(0, 1fr);
  gap: 0.65em;
  padding: 0.7em 0.8em;
  border-radius: 1.3em;
  background: rgba(22, 30, 44, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  font-size: 0.8em;
  line-height: 1.3;
}

.cr-note__av {
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bg);
  background: linear-gradient(160deg, var(--ice), var(--ice-2) 60%, var(--navy));
}

.cr-note__body b {
  display: block;
  font-weight: 650;
  font-size: 1em;
}

.cr-note__body small {
  display: block;
  font-weight: 500;
  font-size: 0.82em;
  color: rgba(242, 245, 249, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cr-note__body p {
  margin: 0.15em 0 0;
  color: rgba(242, 245, 249, 0.86);
}

.cr-note--hero {
  background: rgba(30, 44, 66, 0.78);
  box-shadow: inset 0 0 0 1px rgba(168, 212, 240, 0.5), 0 0 2.5em -0.5em rgba(168, 212, 240, 0.55);
}

.cr-note--hero p {
  font-weight: 650;
  color: #fff;
}

.cr-work--stack .cr-lock__stack {
  display: block;
}

.cr-work--stack .cr-note {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--ty) * 1em);
}

.cr-phone__home {
  position: absolute;
  z-index: 5;
  bottom: 0.45em;
  left: 50%;
  width: 6.5em;
  height: 0.25em;
  margin-left: -3.25em;
  border-radius: 3px;
  background: rgba(242, 245, 249, 0.82);
}

.cr-phone__glare {
  position: absolute;
  z-index: 6;
  inset: -20%;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0.02) 46%, rgba(255, 255, 255, 0) 52%);
  mix-blend-mode: screen;
}

.cr-phone__floor {
  position: absolute;
  left: 50%;
  bottom: -3%;
  width: 260px;
  height: 60px;
  margin-left: -130px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77, 141, 255, 0.34), transparent);
  filter: blur(18px);
  pointer-events: none;
}

.cr-proof {
  position: absolute;
  z-index: 3;
  right: -2%;
  bottom: 14%;
  width: min(360px, 30vw);
  margin: 0;
  padding: 10px;
  border-radius: 18px;
  background: rgba(8, 11, 18, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 20px 70px -30px rgba(77, 141, 255, 0.6);
  transform: rotate(-4deg);
}

.cr-proof img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.cr-proof figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px 2px;
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.cr-proof figcaption i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--ice);
  box-shadow: 0 0 10px var(--ice);
}

.cr-work--live {
  padding: 0;
}

.cr-work--live .cr-work__pin {
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: clamp(80px, 11vh, 110px) 0 clamp(20px, 4vh, 40px);
  overflow: hidden;
}

.cr-work--live .cr-work__grid {
  width: 100%;
}

@media (max-width: 1020px) {
  .cr-proof {
    right: -4%;
    width: min(300px, 36vw);
  }
}

@media (max-width: 820px) {
  .cr-work {
    overflow-x: clip;
  }
  .cr-work__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cr-phone {
    font-size: min(15px, 3.6vw);
    transform: none;
    animation: cr-idle 7s ease-in-out infinite alternate;
  }
  .cr-proof {
    right: 4%;
    bottom: 6%;
    width: min(260px, 60vw);
  }
}

@media (min-width: 821px) and (not (min-aspect-ratio: 4/5)) {
  .cr-work {
    overflow-x: clip;
  }
  .cr-phone {
    font-size: min(16px, 1.5vw);
  }
}

@media (min-width: 821px) and (max-height: 820px) {
  .cr-work__title {
    margin: 14px 0 clamp(14px, 2.4svh, 22px);
    font-size: min(var(--t-lg), 9svh);
  }
  .cr-step {
    padding: clamp(6px, 1.2svh, 10px) 0;
  }
  .cr-step h3 {
    font-size: min(var(--t-h4), 4svh);
  }
  .cr-step p {
    margin-top: 4px;
    line-height: 1.45;
  }
}

@media (min-width: 621px) and (max-width: 820px) {
  .cr-work__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
  }
  .cr-phone {
    font-size: 13px;
  }
  .cr-proof {
    right: -8%;
    width: 220px;
  }
}

@keyframes cr-idle {
  from { transform: rotateY(-4deg) rotateZ(-1deg) translateY(0); }
  to { transform: rotateY(4deg) rotateZ(1deg) translateY(-6px); }
}

.cr-crafts {
  position: relative;
  padding: var(--space-section) 0;
}

.cr-values {
  position: relative;
  padding: var(--space-section) 0 var(--space-head);
  border-top: 1px solid var(--line);
}

.cr-values__text {
  margin: 0;
  font-weight: 600;
  font-size: var(--t-scrub);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.cr-values__text .w {
  color: rgba(238, 244, 250, 0.14);
}

.cr-values__text .serif {
  font-size: 1.08em;
}

.reduced .cr-values__text .w,
.no-anim .cr-values__text .w {
  color: inherit;
}

.cr-values__sub {
  margin: clamp(24px, 3vw, 40px) 0 0;
  max-width: 36em;
}

.cr-crafts .index-row__name {
  font-size: clamp(28px, 2.8vw, 44px);
}

.cr-values__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin-top: clamp(30px, 4vw, 48px);
  font-weight: 600;
  color: var(--ice);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color var(--dur-micro) var(--ease-out);
}

.cr-values__link:hover {
  border-color: var(--ice);
}

.cr-values__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-ui) var(--ease-out);
}

.cr-values__link:hover svg {
  transform: translateX(6px);
}

.cr-apply {
  position: relative;
  padding: var(--space-section) 0;
  scroll-margin-top: 40px;
  background: radial-gradient(45% 50% at 90% 40%, rgba(77, 141, 255, 0.08), transparent 70%);
}

.cr-apply__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: start;
}

.cr-apply__side {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cr-apply__steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  width: 100%;
  border-top: 1px solid var(--line);
}

.cr-apply__steps li {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cr-apply__steps b {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  color: var(--ice);
  padding-top: 0.25em;
}

.cr-apply__frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-1);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 50px 120px -50px rgba(77, 141, 255, 0.5);
}

.cr-apply__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.cr-apply__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(168, 212, 240, 0.18);
}

.cr-apply__bar span {
  margin-left: 12px;
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cr-apply__body {
  padding: clamp(10px, 1.6vw, 20px);
  background: var(--bg-1);
}

.cr-apply__form {
  display: block;
  width: 100%;
  height: 660px;
  border: 0;
  border-radius: 14px;
  background: var(--bg-2);
}

.cr-apply__fallback {
  margin: 0;
  padding: 14px 20px 18px;
  font-size: 14px;
  color: var(--ink-3);
}

.cr-apply__fallback a {
  color: var(--ice);
  border-bottom: 1px solid var(--line-strong);
}

@media (max-width: 1020px) {
  .cr-apply__grid {
    grid-template-columns: 1fr;
  }
  .cr-apply__side {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-live,
  .cr-phone {
    animation: none;
  }
}
