/* Androbyte v2: additions kept separate from the original visual system. */
.wordmark img,
.wordmark .image-light {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
html:not(.js-ready) .theme-toggle,
html:not(.js-ready) .menu-toggle {
  display: none;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}
.hero-ctas .button {
  white-space: normal;
}
.text-link {
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.text-link:hover {
  color: var(--purple);
}
.projects {
  border-block: 1px solid var(--line-soft);
}
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.project-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
  padding: 32px;
  overflow: hidden;
  isolation: isolate;
  color: #f4f3f9;
  background: radial-gradient(
    ellipse at 50% 50%,
    #332d57 0,
    #141421 55%,
    #0c0d14 100%
  );
}
.project-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#b39afa0d 1px, transparent 1px),
    linear-gradient(90deg, #b39afa0d 1px, transparent 1px);
  background-size: 42px 42px;
}
.project-art-label,
.project-art-domain {
  font: 0.75rem/1.6 var(--mono);
  letter-spacing: 0.08em;
  color: #c1bad5;
  z-index: 1;
}
.project-art-domain {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #514667;
  padding-top: 16px;
}
.project-orbit {
  position: absolute;
  width: 330px;
  aspect-ratio: 1;
  border: 1px solid #79689c;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-30deg) scaleY(0.65);
  box-shadow:
    0 0 0 28px #b39afa08,
    0 0 0 58px #b39afa05;
}
.project-title {
  position: relative;
  align-self: center;
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 700;
}
.project-title > span {
  color: #b39afa;
}
.project-copy {
  padding: clamp(28px, 4vw, 52px);
}
.project-copy h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.2;
  margin: 18px 0;
  letter-spacing: -0.03em;
}
.project-copy > p:not(.eyebrow) {
  color: var(--muted);
}
.project-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-block: 20px;
  margin: 24px 0;
  border-block: 1px solid var(--line);
}
.project-facts dt {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}
.project-facts dd {
  margin: 0;
  font-size: 0.9rem;
}
.project-copy .project-note {
  font-size: 0.8rem;
  margin-top: 16px;
}
.process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.process-grid li {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.process-number {
  font: 0.8rem var(--mono);
  color: var(--purple);
}
.process-grid h3 {
  font-size: 1.2rem;
  margin: 22px 0 12px;
}
.process-grid p {
  color: var(--muted);
  margin: 0;
}
.contact {
  border-block: 1px solid var(--line);
  background: var(--section);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 80px;
}
.contact-intro {
  max-width: 480px;
  font-size: 1.1rem;
  color: var(--muted);
  margin: 26px 0 30px;
}
.contact-guide {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.contact-guide h3 {
  font-size: 1.5rem;
  margin: 18px 0;
}
.contact-guide ol {
  padding-left: 22px;
}
.contact-guide li {
  padding: 8px 0 8px 6px;
}
.contact-guide li::marker {
  color: var(--purple);
}
.contact-guide > p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}
.contact-address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 24px;
}
.contact-address > a {
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.copy-email,
.motion-toggle {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  font-size: 0.8rem;
  min-height: 44px;
}
.copy-email:hover,
.motion-toggle:hover {
  border-color: var(--purple);
}
.copy-status {
  min-height: 1.5em;
  font-size: 0.85rem;
  margin: 8px 0 0;
  color: var(--purple);
}
.contact-note {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 4px 0 0;
}
.motion-toggle {
  position: absolute;
  bottom: 70px;
  left: 20px;
  z-index: 2;
}
.mobile-contact {
  display: none;
}
.team-photo {
  background: radial-gradient(ellipse at center, #272339, var(--surface));
}
.team-card > p {
  overflow-wrap: anywhere;
}
.no-js-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px 0;
}
.no-js-nav a {
  text-decoration: underline;
}
.document-page {
  max-width: 800px;
  padding-block: 80px;
  min-height: 75vh;
}
.document-page h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 20px 0;
}
.document-page p {
  color: var(--muted);
}
.document-page .button {
  margin-top: 24px;
}
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 20px;
  }
  .contact-grid {
    gap: 35px;
  }
}
@media (max-width: 800px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-radius: 50%;
    padding: 10px;
  }
  .menu-toggle span {
    height: 1px;
    width: 18px;
    background: var(--text);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    padding: 10px 20px 23px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 18px 30px #0002;
  }
  .mobile-nav a {
    padding: 14px 4px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line-soft);
  }
  .mobile-nav a span {
    color: var(--purple);
    font: 0.75rem/1.8 var(--mono);
  }
  .project-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .project-art {
    min-height: 340px;
  }
  .project-title {
    font-size: 5.5rem;
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-copy {
    padding: 32px;
  }
  .contact-guide {
    max-width: none;
  }
}
@media (max-width: 620px) {
  .hero-ctas {
    gap: 22px;
  }
  .hero-ctas .button {
    justify-content: center;
    width: 100%;
    padding-inline: 16px;
  }

  .project-preview,
  .project-preview > img {
    min-height: 300px;
  }

  .project-preview-overlay {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .motion-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: auto;
    left: auto;
    z-index: 2;

    width: 44px;
    height: 44px;
    padding: 0;

    display: grid;
    place-items: center;

    border: 1px solid var(--line);
    border-radius: 50%;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    color: var(--text);

    font-size: 1rem;
    line-height: 1;
    backdrop-filter: blur(10px);
  }

  .motion-toggle {
    top: 12px;
    right: 0;
    bottom: auto;
    left: auto;
  }

  .project-preview {
    position: relative;
    display: block;
    min-height: 460px;
    overflow: hidden;
    background: var(--surface);
  }

  .project-preview > img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
  }

  .project-preview:hover > img {
    transform: scale(1.025);
  }
  .project-preview-overlay {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 14px 16px;
    border: 1px solid #ffffff2b;
    border-radius: 7px;

    color: #fff;
    background: #08090dcc;
    backdrop-filter: blur(12px);

    font: 0.75rem/1.5 var(--mono);
  }
  .project-art {
    min-height: 300px;
    padding: 22px;
  }
  .project-copy {
    padding: 24px;
  }
  .project-facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .project-card .button {
    width: 100%;
    justify-content: center;
  }
  .contact .button {
    white-space: normal;
  }
  .contact-guide {
    padding: 24px;
  }
  .mobile-contact {
    display: flex;
    position: fixed;
    z-index: 40;
    bottom: max(14px, env(safe-area-inset-bottom));
    right: 20px;
    gap: 24px;
    align-items: center;
    min-height: 48px;
    padding: 10px 20px;
    border: 1px solid var(--purple);
    border-radius: 30px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 5px 25px #0003;
    font-size: 0.9rem;
  }
  .site-footer {
    padding-bottom: 95px;
  }
}
@media (max-width: 360px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .project-copy {
    padding: 20px;
  }
}
@media print {
  .mobile-contact,
  .motion-toggle,
  .copy-email {
    display: none !important;
  }
  .project-card,
  .contact-guide,
  .process-grid li {
    break-inside: avoid;
  }
}
