/* Nanotom homepage V2 — playful technology studio */
.home-v2 {
  --lav: #c9b4ff;
}
.home-v2 main {
  overflow: hidden;
}
.v2-pad {
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.v2-hero {
  min-height: 100svh;
  padding: 125px var(--pad) 45px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 75px);
  align-items: center;
  position: relative;
  background:
    radial-gradient(circle at 15% 30%, rgba(217, 255, 67, 0.25), transparent 22%), var(--paper);
}
.v2-label {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid currentColor;
  border-radius: 99px;
  padding: 9px 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.v2-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.v2-hero h1 {
  font:
    700 clamp(58px, 7.5vw, 118px)/0.79 'Space Grotesk',
    Arial,
    sans-serif;
  letter-spacing: -0.075em;
  text-transform: uppercase;
  margin: 30px 0;
}
.v2-hero h1 span {
  display: block;
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.v2-hero h1 span:nth-child(2) {
  color: var(--blue);
  animation-delay: 0.08s;
}
.v2-hero h1 span:nth-child(3) {
  animation-delay: 0.16s;
}
.v2-hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  text-transform: none;
  color: var(--orange);
}
.v2-hero-copy > p {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  max-width: 610px;
}
.v2-hero .hero-actions {
  margin-top: 28px;
}
.text-link {
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
  padding: 13px 0;
}
.text-link span {
  display: inline-block;
  margin-left: 16px;
  transition: transform 0.25s;
}
.text-link:hover span {
  transform: translateX(5px);
}
.v2-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}
.v2-trust span {
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.v2-hero-scene {
  height: min(73vh, 730px);
  min-height: 570px;
}
.v2-scene-frame {
  height: 100%;
  position: relative;
  border: 1.5px solid var(--ink);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 13px 15px 0 var(--ink);
  animation: sceneIn 1s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.v2-scene-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.v2-scene-frame:hover > img {
  transform: scale(1.04);
}
.scene-index,
.scene-caption {
  position: absolute;
  top: 20px;
  z-index: 2;
  background: rgba(242, 240, 232, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--ink);
  border-radius: 99px;
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 700;
}
.scene-index {
  left: 20px;
}
.scene-caption {
  right: 20px;
  border-radius: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}
.scene-window {
  position: absolute;
  left: 6%;
  bottom: 6%;
  width: 62%;
  height: 29%;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 19px;
  padding: 14px;
  transform: rotate(-4deg);
  box-shadow: 8px 9px 0 var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.scene-window > div {
  display: flex;
  gap: 5px;
}
.scene-window > div i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.scene-window strong {
  font: 700 clamp(33px, 4vw, 60px)/0.8 'Space Grotesk';
  letter-spacing: -0.06em;
}
.scene-window strong span {
  color: var(--orange);
}
.scene-window small {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 8px;
}
.scene-badge {
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: 118px;
  aspect-ratio: 1;
  background: var(--acid);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 5px 6px 0 var(--ink);
}
.scene-badge svg {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  animation: v2spin 12s linear infinite;
}
.scene-badge text {
  font: 700 9px 'DM Sans';
  letter-spacing: 1.7px;
  fill: var(--ink);
}
.scene-badge b {
  font: 700 42px 'Space Grotesk';
  letter-spacing: -0.08em;
}
.hero-scroll {
  position: absolute;
  bottom: 16px;
  left: var(--pad);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.hero-scroll span {
  display: inline-block;
  margin-left: 10px;
  animation: down 1.6s ease-in-out infinite;
}
@keyframes sceneIn {
  from {
    opacity: 0;
    transform: translateY(50px) rotate(4deg);
    clip-path: inset(45% round 100px);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 round 40px);
  }
}
@keyframes v2spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes down {
  50% {
    transform: translateY(5px);
  }
}
.v2-ticker {
  border-block: 1px solid var(--ink);
  background: var(--acid);
  overflow: hidden;
  transform: rotate(-0.6deg);
  width: 101%;
  margin-left: -0.5%;
}
.v2-ticker > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 22px;
  padding: 13px 0;
  animation: v2ticker 24s linear infinite;
}
.v2-ticker span {
  font: 700 clamp(17px, 1.8vw, 27px) 'Space Grotesk';
  white-space: nowrap;
}
.v2-ticker i {
  font-style: normal;
  color: var(--blue);
}
@keyframes v2ticker {
  to {
    transform: translateX(-50%);
  }
}
.v2-intro {
  padding-top: clamp(100px, 12vw, 180px);
  padding-bottom: clamp(100px, 12vw, 180px);
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 40px;
}
.v2-section-id {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.v2-section-id span {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.v2-section-id b {
  margin-top: 10px;
}
.v2-intro-main h2 {
  font: 600 clamp(44px, 6.5vw, 98px)/0.96 'Space Grotesk';
  letter-spacing: -0.065em;
  margin: 0;
  max-width: 1150px;
}
.v2-intro-main h2 em,
.v2-section-head h2 em,
.v2-showcase-head h2 em,
.v2-cta h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--orange);
}
.v2-intro-main > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: end;
  max-width: 760px;
  margin: 55px 0 0 auto;
}
.v2-intro-main p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}
.v2-intro-main a {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.v2-services {
  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(100px, 11vw, 170px);
  background: #fff;
}
.v2-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 65px;
}
.v2-section-head h2,
.v2-showcase-head h2 {
  font: 600 clamp(50px, 7vw, 105px)/0.9 'Space Grotesk';
  letter-spacing: -0.065em;
  margin: 25px 0 0;
}
.round-link {
  width: 115px;
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.3s;
}
.round-link b {
  font-size: 24px;
}
.round-link:hover {
  background: var(--acid);
  transform: rotate(8deg);
}
.v2-service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.v2-service {
  position: relative;
  min-height: 400px;
  border: 1.5px solid var(--ink);
  border-radius: 28px;
  padding: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  transition:
    transform 0.4s,
    box-shadow 0.4s;
}
.v2-service:nth-child(1),
.v2-service:nth-child(4) {
  grid-column: span 7;
}
.v2-service:nth-child(2),
.v2-service:nth-child(3) {
  grid-column: span 5;
}
.v2-service:nth-child(5),
.v2-service:nth-child(6) {
  grid-column: span 6;
}
.v2-service.blue {
  background: var(--blue);
  color: #fff;
}
.v2-service.acid {
  background: var(--acid);
}
.v2-service.paper {
  background: var(--paper);
}
.v2-service.orange {
  background: var(--orange);
}
.v2-service.dark {
  background: var(--ink);
  color: #fff;
}
.v2-service.lavender {
  background: var(--lav);
}
.v2-service > span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.v2-service h3 {
  font: 600 clamp(38px, 5vw, 72px)/0.84 'Space Grotesk';
  letter-spacing: -0.065em;
  margin: auto 0 22px;
  max-width: 70%;
}
.v2-service p {
  margin: 0;
  max-width: 460px;
  line-height: 1.45;
  font-size: 14px;
  opacity: 0.8;
}
.card-arrow {
  position: absolute;
  right: 22px;
  top: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: 0.3s;
}
.v2-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 0 var(--ink);
}
.v2-service:hover .card-arrow {
  transform: rotate(45deg);
  background: #fff;
  color: var(--ink);
}
.service-glyph {
  position: absolute;
  right: 5%;
  bottom: 6%;
  z-index: -1;
  opacity: 0.18;
}
.glyph-browser {
  width: 42%;
  height: 38%;
  border: 3px solid currentColor;
  border-radius: 17px;
}
.glyph-browser i {
  display: block;
  height: 18%;
  border-bottom: 3px solid currentColor;
}
.glyph-browser strong {
  font: 700 45px 'Space Grotesk';
  display: grid;
  place-content: center;
  height: 82%;
}
.glyph-bag {
  width: 125px;
  aspect-ratio: 1;
  border: 4px solid currentColor;
  border-radius: 30px 30px 45px 45px;
  font: 500 80px/1 'Space Grotesk';
  display: grid;
  place-items: center;
}
.glyph-phone {
  width: 110px;
  height: 190px;
  border: 4px solid currentColor;
  border-radius: 27px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.glyph-phone i {
  height: 22%;
  border: 3px solid currentColor;
  border-radius: 8px;
}
.glyph-chart {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 160px;
}
.glyph-chart i {
  display: block;
  width: 35px;
  border: 3px solid currentColor;
  border-bottom: 0;
}
.glyph-chart i:nth-child(1) {
  height: 40%;
}
.glyph-chart i:nth-child(2) {
  height: 70%;
}
.glyph-chart i:nth-child(3) {
  height: 100%;
}
.glyph-nodes {
  width: 180px;
  height: 160px;
}
.glyph-nodes::before,
.glyph-nodes::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: currentColor;
  top: 50%;
  transform: rotate(25deg);
}
.glyph-nodes::after {
  transform: rotate(-25deg);
}
.glyph-nodes i {
  position: absolute;
  width: 45px;
  aspect-ratio: 1;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: var(--ink);
}
.glyph-nodes i:nth-child(2) {
  right: 0;
}
.glyph-nodes i:nth-child(3) {
  left: 40%;
  bottom: 0;
}
.glyph-loop {
  font: 400 150px/1 'Space Grotesk';
}
.v2-showcase {
  background: var(--ink);
  color: #fff;
  padding-bottom: 120px;
}
.v2-showcase-head {
  padding-top: 120px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 40px;
}
.v2-showcase-head .v2-section-id span {
  border-color: #fff;
}
.v2-showcase-head h2 {
  margin: 0;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
}
.showcase-card {
  min-height: 650px;
  border-radius: 30px;
  overflow: hidden;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.45s;
}
.showcase-card:hover {
  transform: translateY(-8px);
}
.showcase-web {
  background: var(--orange);
  color: var(--ink);
}
.showcase-app {
  background: var(--blue);
}
.showcase-meta,
.showcase-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.showcase-title {
  align-items: end;
  text-transform: none;
  letter-spacing: 0;
}
.showcase-title h3 {
  font: 600 clamp(28px, 4vw, 53px)/1 'Space Grotesk';
  letter-spacing: -0.05em;
  margin: 0;
}
.showcase-title span {
  font-weight: 700;
}
.mock-browser {
  width: 85%;
  height: 380px;
  margin: auto;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.28);
  transform: rotate(-4deg);
  overflow: hidden;
}
.mock-bar {
  height: 40px;
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
}
.mock-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.mock-bar span {
  margin-left: auto;
  font: 700 11px 'Space Grotesk';
}
.mock-content {
  height: 340px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.mock-content small {
  font-weight: 700;
  letter-spacing: 1px;
}
.mock-content strong {
  display: block;
  font: 700 55px/0.77 'Space Grotesk';
  letter-spacing: -0.06em;
  margin-top: 34px;
}
.mock-content button,
.mock-phone button {
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: var(--acid);
  padding: 10px 15px;
  font-weight: 700;
  position: absolute;
  left: 24px;
  bottom: 24px;
}
.mock-orb {
  position: absolute;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
  right: -45px;
  bottom: -30px;
}
.mock-orb::after {
  content: '✦';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--acid);
  font-size: 65px;
}
.mock-phone {
  width: 230px;
  height: 450px;
  margin: auto;
  background: var(--acid);
  color: var(--ink);
  border: 9px solid var(--ink);
  border-radius: 42px;
  padding: 35px 18px 20px;
  position: relative;
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.25);
  transform: rotate(5deg);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 15px;
  background: var(--ink);
  border-radius: 99px;
}
.mock-phone small {
  font-weight: 700;
}
.mock-phone strong {
  display: block;
  font: 700 38px/0.85 'Space Grotesk';
  letter-spacing: -0.05em;
  margin-top: 40px;
}
.mock-phone button {
  left: 18px;
  right: 18px;
  width: calc(100% - 36px);
  background: var(--orange);
}
.map-line {
  position: absolute;
  width: 230px;
  height: 160px;
  border: 4px solid var(--blue);
  border-radius: 50%;
  left: 50px;
  top: 180px;
  transform: rotate(-35deg);
}
.sample-note {
  text-align: center;
  margin-top: 25px;
  color: #999;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.v2-principles {
  padding-top: 130px;
  padding-bottom: 150px;
}
.principle-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.principle-cards article {
  min-height: 390px;
  border: 1.5px solid var(--ink);
  border-radius: 27px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: 0.35s;
}
.principle-cards article:nth-child(2) {
  background: var(--acid);
}
.principle-cards article:nth-child(3) {
  background: var(--orange);
}
.principle-cards article > span {
  font-size: 10px;
  font-weight: 700;
}
.principle-icon {
  font-size: 48px;
  margin: auto;
}
.principle-cards h3 {
  font: 600 38px 'Space Grotesk';
  letter-spacing: -0.05em;
  margin: 0 0 10px;
}
.principle-cards p {
  margin: 0;
  line-height: 1.5;
}
.principle-cards article:hover {
  transform: rotate(-2deg) translateY(-8px);
  box-shadow: 7px 8px 0 var(--ink);
}
.v2-proof {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
}
.proof-word {
  font: 700 clamp(68px, 11vw, 165px)/0.9 'Space Grotesk';
  letter-spacing: -0.07em;
  white-space: nowrap;
  padding: 45px 0;
  animation: proofMove 12s ease-in-out infinite alternate;
  width: max-content;
}
.proof-word span {
  color: var(--acid);
  margin: 0 30px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.proof-grid > div {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.proof-grid > div:last-child {
  border: 0;
}
.proof-grid strong {
  font: 600 clamp(50px, 6vw, 85px) 'Space Grotesk';
  letter-spacing: -0.07em;
}
.proof-grid span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
@keyframes proofMove {
  to {
    transform: translateX(-25%);
  }
}
.v2-cta {
  padding: 25px;
}
.v2-cta-card {
  min-height: 75vh;
  border-radius: 45px;
  background: var(--acid);
  border: 1.5px solid var(--ink);
  padding: clamp(45px, 7vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.v2-cta h2 {
  font: 600 clamp(60px, 9vw, 140px)/0.8 'Space Grotesk';
  letter-spacing: -0.075em;
  margin: 30px 0;
}
.v2-cta p {
  font-size: 18px;
  max-width: 580px;
  line-height: 1.5;
  margin: 0 0 30px;
}
.v2-cta .btn {
  background: var(--ink);
  color: #fff;
  position: relative;
  z-index: 2;
}
.cta-shape {
  position: absolute;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.shape-one {
  width: 230px;
  aspect-ratio: 1;
  background: var(--orange);
  left: -70px;
  top: -65px;
}
.shape-two {
  width: 180px;
  aspect-ratio: 1;
  background: var(--blue);
  right: -45px;
  bottom: -60px;
}
@media (max-width: 900px) {
  .v2-hero {
    grid-template-columns: 1fr;
    padding-top: 115px;
  }
  .v2-hero-scene {
    height: 65vh;
  }
  .v2-intro,
  .v2-showcase-head {
    grid-template-columns: 1fr;
  }
  .v2-intro-main > div {
    margin-left: 0;
  }
  .v2-service:nth-child(n) {
    grid-column: span 6;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .showcase-card {
    min-height: 620px;
  }
  .principle-cards {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-grid > div:nth-child(2) {
    border-right: 0;
  }
  .proof-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }
}
@media (max-width: 600px) {
  .v2-hero {
    padding-inline: 18px;
  }
  .v2-hero h1 {
    font-size: 15.5vw;
  }
  .v2-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .text-link {
    text-align: center;
  }
  .v2-hero-scene {
    height: 56vh;
    min-height: 470px;
  }
  .v2-scene-frame {
    border-radius: 27px;
    box-shadow: 7px 8px 0 var(--ink);
  }
  .scene-window {
    width: 75%;
  }
  .scene-badge {
    width: 90px;
  }
  .hero-scroll {
    display: none;
  }
  .v2-intro {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }
  .v2-intro-main > div {
    grid-template-columns: 1fr;
  }
  .v2-services,
  .v2-showcase-head,
  .showcase-grid,
  .v2-principles,
  .proof-grid {
    padding-left: 18px;
    padding-right: 18px;
  }
  .v2-section-head {
    align-items: flex-start;
  }
  .round-link {
    width: 90px;
    flex: none;
  }
  .v2-service-grid {
    grid-template-columns: 1fr;
  }
  .v2-service:nth-child(n) {
    grid-column: auto;
    min-height: 360px;
  }
  .showcase-card {
    min-height: 560px;
    padding: 18px;
  }
  .mock-browser {
    width: 95%;
    height: 340px;
  }
  .mock-content {
    height: 300px;
  }
  .mock-content strong {
    font-size: 48px;
  }
  .mock-phone {
    transform: scale(0.87) rotate(5deg);
  }
  .proof-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .proof-grid > div {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    min-height: 145px;
  }
  .v2-cta {
    padding: 12px;
  }
  .v2-cta-card {
    border-radius: 28px;
  }
  .v2-cta h2 {
    font-size: 16vw;
  }
  .shape-one {
    width: 130px;
  }
  .shape-two {
    width: 110px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene-badge svg,
  .v2-ticker > div,
  .proof-word {
    animation: none !important;
  }
}
