@font-face {
  font-family: "Bitcount Single";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/bitcount-single-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --bg: #060d09;
  --surface: rgba(246, 242, 234, 0.045);
  --line: rgba(246, 242, 234, 0.14);
  --ink: #f6f2ea;
  --muted: rgba(246, 242, 234, 0.68);
  --ember: #e8590c;
  --radius: 0;
  --maxw: 1280px;
  --display-tracking: 0.01em;
  --display-word-spacing: 0.05em;
  --label-tracking: 0.06em;
  --section-space: clamp(64px, 8vw, 112px);
  --font-body-brand: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-display-brand: "Bitcount Single", "Plus Jakarta Sans", sans-serif;
  --font-fallback: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --font-body: var(--font-body-brand);
  --font-display: var(--font-display-brand);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[id] {
  scroll-margin-top: 92px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 0;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

main:focus {
  outline: none;
}

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

h1,
h2,
.logo-word {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  word-spacing: var(--display-word-spacing);
  text-transform: uppercase;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-body);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 18px);
  width: 100%;
  text-align: center;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 0 0 clamp(22px, 3vw, 34px);
  height: 2px;
  background: var(--ember);
}

.section-title span {
  min-width: 0;
}

.container {
  width: min(calc(100% - 48px), var(--maxw));
  margin-inline: auto;
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 0;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes heroRise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes phoneFloat {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(0, -8px, 0);
    }
  }

  @keyframes heroForgeGlow {
    0% {
      opacity: 0.88;
      transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
      opacity: 1;
      transform: translate3d(-2%, -1.5%, 0) scale(1.04);
    }
  }

  @keyframes heroBar {
    from {
      opacity: 0;
      transform: scaleX(0);
    }
    to {
      opacity: 1;
      transform: scaleX(1);
    }
  }

  @keyframes heroArrowPulse {
    0%,
    65%,
    100% {
      transform: translate3d(0, 0, 0);
    }
    80% {
      transform: translate3d(0, 3px, 0);
    }
  }

  .hero-content::before {
    transform-origin: left center;
    animation: heroBar 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero h1,
  .hero-lead,
  .hero-actions {
    animation: heroRise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-primary-arrow {
    animation: heroArrowPulse 2.8s ease-in-out 1s infinite;
  }

  .hero-primary:hover .hero-primary-arrow {
    animation: none;
  }

  .hero h1 {
    animation-delay: 60ms;
  }

  .hero-lead {
    animation-delay: 140ms;
  }

  .hero-actions {
    animation-delay: 220ms;
  }

  .detail-back,
  .detail-head,
  .detail-meta-line,
  .detail-intro-visual {
    animation: heroRise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .detail-back {
    animation-delay: 0ms;
  }

  .detail-head {
    animation-delay: 60ms;
  }

  .detail-meta-line {
    animation-delay: 200ms;
  }

  .detail-intro-visual {
    animation-delay: 140ms;
  }

  .detail-phone {
    animation: phoneFloat 5.5s ease-in-out infinite alternate;
  }

  .detail-intro-visual:hover .detail-phone {
    animation-play-state: paused;
  }

  html.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  html.js .member.reveal,
  html.js .project-card.reveal,
  html.js .app-feature.reveal,
  html.js .policy-item.reveal,
  html.js .screen-gallery.reveal,
  html.js .contact-inner.reveal {
    transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  html.js .section-title.reveal::before,
  html.js .section-title.reveal::after {
    transform: scaleX(0);
    transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) 120ms;
  }

  html.js .section-title.reveal::before {
    transform-origin: right center;
  }

  html.js .section-title.reveal::after {
    transform-origin: left center;
  }

  html.js .section-title.reveal.is-visible::before,
  html.js .section-title.reveal.is-visible::after {
    transform: scaleX(1);
  }

  html.js .reveal.reveal-delay-1 {
    transition-delay: 70ms;
  }

  html.js .reveal.reveal-delay-2 {
    transition-delay: 140ms;
  }

  html.js .reveal.reveal-delay-3 {
    transition-delay: 210ms;
  }

  html.js .reveal.reveal-delay-4 {
    transition-delay: 280ms;
  }

  html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  html.js .member.reveal.is-visible,
  html.js .project-card.reveal.is-visible {
    transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
      box-shadow 0.28s ease,
      background-color 0.2s ease;
  }

  html.js .member.reveal.is-visible:hover,
  html.js .member.reveal.is-visible:focus-within,
  html.js .project-card.reveal.is-visible:hover,
  html.js .project-card.reveal.is-visible:focus-visible {
    transition-delay: 0ms;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 13, 9, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-word {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
}

.logo-word span {
  color: var(--ember);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(246, 242, 234, 0.72);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-link:hover,
.header-link[aria-current="page"] {
  color: var(--ink);
}

.header-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 0;
  background: var(--ember);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 0;
  background: var(--ember);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--label-tracking);
  color: var(--bg);
  white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: #f16a20;
  box-shadow: 0 8px 20px rgba(232, 89, 12, 0.34);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--label-tracking);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-solid {
  background: var(--ember);
  color: var(--bg);
}

.btn-solid:hover {
  background: #f16a20;
  box-shadow: 0 10px 24px rgba(232, 89, 12, 0.32);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(246, 242, 234, 0.09);
  color: var(--ink);
}

.btn-outline:hover {
  background: rgba(246, 242, 234, 0.17);
}

.store-btn {
  gap: 10px;
  font-weight: 600;
}

.store-btn svg {
  display: block;
  flex: none;
}

.coming-soon {
  cursor: default;
  pointer-events: none;
}

/* Hero */
.hero {
  width: 100%;
  padding: 0;
  background: var(--bg);
}

.hero-header {
  position: relative;
  z-index: 3;
  background: transparent;
  box-shadow: none;
}

.hero-header .header-actions {
  gap: 24px;
  padding: 0;
  background: transparent;
}

.hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(460px, 50vw, 590px);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  contain: layout paint;
  background-color: #0e1610;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0) 0 8px,
      rgba(232, 89, 12, 0.24) 9px 10px,
      rgba(246, 242, 234, 0.04) 10px 11px,
      rgba(0, 0, 0, 0) 12px 24px),
    repeating-linear-gradient(90deg,
      rgba(24, 22, 18, 0.35) 0 28px,
      rgba(232, 89, 12, 0.14) 30px 40px,
      rgba(12, 20, 15, 0.4) 42px 72px),
    linear-gradient(180deg, #162118 0%, #101912 65%, #0e1610 100%);
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 70% at 76% 44%, rgba(232, 89, 12, 0.44), transparent 72%),
    radial-gradient(ellipse 34% 56% at 58% 28%, rgba(245, 134, 62, 0.22), transparent 74%),
    radial-gradient(ellipse 30% 48% at 88% 76%, rgba(246, 242, 234, 0.09), transparent 74%);
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(96deg, rgba(6, 13, 9, 0.56) 0%, rgba(6, 13, 9, 0.26) 36%, transparent 68%);
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(40px, 5.5vw, 68px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-content::before {
  content: "";
  width: 42px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--ember);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.6vw, 4.85rem);
  line-height: 1.04;
  font-weight: 500;
  max-width: 15ch;
  text-shadow: 0 2px 12px rgba(6, 13, 9, 0.65), 0 10px 32px rgba(6, 13, 9, 0.5);
}

.hero h1 span {
  color: var(--ember);
}

.hero-lead {
  margin: 18px 0 0;
  max-width: 44ch;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.55;
  color: rgba(246, 242, 234, 0.74);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 0;
  background: var(--ember);
  box-shadow: 0 10px 24px rgba(232, 89, 12, 0.22);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-primary-label {
  display: inline-flex;
  align-items: center;
}

.hero-primary-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: transform 0.2s ease;
}

.hero-primary:hover {
  background: #f16a20;
  box-shadow: 0 14px 30px rgba(232, 89, 12, 0.3);
  transform: translateY(-2px);
}

.hero-primary:hover .hero-primary-arrow {
  transform: translateY(2px);
}

/* Team */
.team {
  position: relative;
  padding-block: var(--section-space);
  padding-bottom: calc(var(--section-space) * 1.5);
  background:
    radial-gradient(ellipse 56% 48% at 50% 0%, rgba(232, 89, 12, 0.06), transparent 70%),
    #0a110c;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.member {
  position: relative;
  aspect-ratio: 10 / 11;
  border-radius: 0;
  background: #101812;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease;
}

.member::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 0;
  background: radial-gradient(circle at 50% 100%, rgba(232, 89, 12, 0.24), transparent 64%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.member:hover,
.member:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.46);
}

.member:hover::after,
.member:focus-within::after {
  opacity: 1;
}

.member-photo {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  background: #101812;
}

.member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(16, 24, 18, 0.06) 34%,
    rgba(16, 24, 18, 0.44) 56%,
    rgba(16, 24, 18, 0.84) 78%,
    #101812 100%
  );
  pointer-events: none;
}

.member-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.member:hover .member-photo img,
.member:focus-within .member-photo img {
  transform: scale(1.03);
}

.member:nth-child(1) .member-photo img,
.member:nth-child(3) .member-photo img {
  object-position: 62% 20%;
}

.member-info {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
}

.member-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.member-heading::before {
  content: "";
  width: 24px;
  height: 2px;
  margin-bottom: 6px;
  background: var(--ember);
}

.member h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.96rem, 1.2vw, 1.18rem);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  word-spacing: var(--display-word-spacing);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.member-role {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: rgba(246, 242, 234, 0.78);
}

.member-links {
  display: flex;
  flex: none;
  gap: 8px;
}

.member-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: rgba(6, 13, 9, 0.72);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.36);
  color: var(--ink);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.member-link:hover {
  background: var(--ember);
  box-shadow: 0 10px 22px rgba(232, 89, 12, 0.34);
  color: var(--bg);
  transform: translateY(-2px);
}

.member-link svg {
  display: block;
  flex: none;
}

/* Work */
.projects {
  position: relative;
  padding-block: var(--section-space);
}

.projects::before,
.team::before {
  content: "";
  position: absolute;
  top: clamp(16px, 2.5vw, 32px);
  left: 50%;
  z-index: 0;
  width: min(920px, 100%);
  height: 220px;
  transform: translateX(-50%);
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(246, 242, 234, 0.14) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 68% 72% at 50% 38%, #000 12%, transparent 74%);
  mask-image: radial-gradient(ellipse 68% 72% at 50% 38%, #000 12%, transparent 74%);
}

.projects > *,
.team > * {
  position: relative;
  z-index: 1;
}

.projects-heading,
.team-heading {
  margin: 0 0 34px;
  font-size: clamp(1.8rem, 3.3vw, 2.75rem);
  line-height: 1.12;
  font-weight: 500;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  --project-accent-rgb: 232, 89, 12;
  --project-accent-bright: var(--ember);
  --project-body-bg: #101812;
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-radius: 0;
  background: var(--project-body-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease, background-color 0.28s ease;
}

.project-card--fairshare {
  --project-accent-rgb: 63, 140, 86;
  --project-accent-bright: #5ec27c;
}

.project-card--flint {
  --project-accent-rgb: 108, 86, 214;
  --project-accent-bright: #a392ff;
}

.project-card--fyle {
  --project-accent-rgb: 255, 110, 20;
  --project-accent-bright: #ff8533;
}

.project-card:hover,
.project-card:focus-visible {
  --project-body-bg: #141e17;
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.46);
}

.project-stage {
  --phone-width: 210px;
  --phone-height: 252px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 288px;
  flex: none;
  padding: 28px 24px 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse 74% 72% at 50% 62%, rgba(var(--project-accent-rgb), 0.24), transparent 68%),
    #0b120d;
  overflow: hidden;
}

.project-stage::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  height: 52px;
  background: linear-gradient(180deg, transparent 0%, var(--project-body-bg) 100%);
  pointer-events: none;
}

.project-number {
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1;
  font-weight: 500;
  color: rgba(246, 242, 234, 0.14);
  pointer-events: none;
  user-select: none;
  transition: color 0.3s ease;
}

.project-card:hover .project-number,
.project-card:focus-visible .project-number {
  color: var(--project-accent-bright);
}

.project-phone {
  position: relative;
  z-index: 1;
  width: var(--phone-width);
  height: var(--phone-height);
  padding: 8px 8px 0;
  border-radius: 0;
  background: #1a231c;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.56);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}

.project-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
}

.project-card:hover .project-phone,
.project-card:focus-visible .project-phone {
  transform: translateY(-6px);
  box-shadow: 0 30px 58px rgba(0, 0, 0, 0.66);
}

.project-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px 22px;
  border-radius: 0;
  background: var(--project-body-bg);
  transition: background-color 0.28s ease;
}

.project-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.project-icon {
  display: block;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-icon,
.project-card:focus-visible .project-icon {
  transform: translateY(-2px) scale(1.04);
}

.project-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.project-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.48rem;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  word-spacing: var(--display-word-spacing);
  text-transform: uppercase;
}

.project-meta {
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: rgba(246, 242, 234, 0.56);
}

.project-soon {
  color: rgba(255, 196, 150, 0.92);
}

.project-desc {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.dot-arrow {
  display: block;
  flex: none;
}

.project-cta-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  margin-left: auto;
  border-radius: 0;
  background: rgba(246, 242, 234, 0.06);
  color: var(--ember);
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-cta-arrow,
.project-card:focus-visible .project-cta-arrow {
  background: rgb(var(--project-accent-rgb));
  color: var(--bg);
  transform: translateX(3px);
}

/* Contact */
.contact {
  position: relative;
  display: grid;
  align-content: center;
  padding-block: clamp(16px, 2.5vw, 28px);
  overflow: hidden;
  contain: layout paint;
  background-color: #0e1610;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0) 0 8px,
      rgba(232, 89, 12, 0.24) 9px 10px,
      rgba(246, 242, 234, 0.04) 10px 11px,
      rgba(0, 0, 0, 0) 12px 24px),
    repeating-linear-gradient(90deg,
      rgba(24, 22, 18, 0.35) 0 28px,
      rgba(232, 89, 12, 0.14) 30px 40px,
      rgba(12, 20, 15, 0.4) 42px 72px),
    linear-gradient(180deg, #162118 0%, #101912 65%, #0e1610 100%);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 72% at 78% 48%, rgba(232, 89, 12, 0.42), transparent 72%),
    radial-gradient(ellipse 34% 56% at 24% 80%, rgba(63, 140, 86, 0.16), transparent 72%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 56px);
}

.contact-copy,
.contact-email {
  position: relative;
  z-index: 1;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.contact-copy::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 6px;
  background: var(--ember);
}

.contact h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.06;
  font-weight: 500;
  text-align: left;
  text-shadow: 0 2px 12px rgba(6, 13, 9, 0.65);
}

.contact h2 span {
  color: var(--ember);
}

.contact-lead {
  margin: 0;
  color: rgba(246, 242, 234, 0.82);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.5;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  padding: 15px 24px;
  border-radius: 0;
  background: var(--ember);
  color: var(--bg);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-email svg {
  display: block;
  flex: none;
}

.contact-email-arrow {
  display: inline-flex;
  align-items: center;
  flex: none;
  transition: transform 0.2s ease;
}

.contact-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232, 89, 12, 0.32);
}

.contact-email:hover .contact-email-arrow {
  transform: translate(2px, -2px);
}

.site-footer {
  position: relative;
  padding-block: clamp(44px, 6vw, 68px) clamp(26px, 4vw, 36px);
  background:
    radial-gradient(ellipse 42% 90% at 12% 0%, rgba(232, 89, 12, 0.11), transparent 65%),
    #080e0a;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-brand .logo-word {
  font-size: 1.35rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(246, 242, 234, 0.62);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, auto));
  gap: clamp(28px, 5vw, 64px);
}

.footer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-group-title {
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember);
}

.footer-group a {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(246, 242, 234, 0.74);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-group a:hover {
  color: var(--ink);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
}

.footer-copy {
  font-size: 0.76rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: rgba(246, 242, 234, 0.56);
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 0;
  background: rgba(232, 89, 12, 0.14);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-top-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--ember);
  transition: transform 0.2s ease;
}

.footer-top:hover {
  background: rgba(232, 89, 12, 0.26);
}

.footer-top:hover .footer-top-arrow {
  transform: translateY(-2px);
}

/* Project & privacy detail pages */
.hero--detail {
  --detail-accent-rgb: 232, 89, 12;
  --detail-accent-bright: var(--ember);
}

.hero--fairshare {
  --detail-accent-rgb: 63, 140, 86;
  --detail-accent-bright: #5ec27c;
}

.hero--flint {
  --detail-accent-rgb: 108, 86, 214;
  --detail-accent-bright: #a392ff;
}

.hero--fyle {
  --detail-accent-rgb: 255, 110, 20;
  --detail-accent-bright: #ff8533;
}

.hero--privacy {
  --detail-accent-rgb: 232, 89, 12;
  --detail-accent-bright: var(--ember);
}

.hero-banner--detail {
  min-height: clamp(410px, 44vw, 520px);
}

.hero-banner--privacy {
  min-height: clamp(320px, 34vw, 410px);
}

.hero-banner--detail::before {
  background:
    radial-gradient(ellipse 46% 74% at 78% 48%, rgba(var(--detail-accent-rgb), 0.36), transparent 72%),
    radial-gradient(ellipse 36% 58% at 54% 26%, rgba(232, 89, 12, 0.16), transparent 74%),
    radial-gradient(ellipse 30% 48% at 88% 76%, rgba(246, 242, 234, 0.08), transparent 74%);
}

.detail-hero-stage {
  flex: 1;
  align-items: center;
  padding: clamp(24px, 4vw, 48px) 0 clamp(44px, 5.5vw, 68px);
}

.hero-banner--privacy .detail-hero-stage {
  align-items: flex-end;
}

.detail-hero-inner {
  width: 100%;
}

.hero--detail h1 {
  max-width: none;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
}

.detail-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  width: 100%;
}

.detail-intro-copy {
  min-width: 0;
}

.detail-intro-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding-block: 6px;
}

.detail-intro-visual::before {
  content: "";
  position: absolute;
  width: min(360px, 100%);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(var(--detail-accent-rgb), 0.34) 0%, rgba(var(--detail-accent-rgb), 0.09) 42%, transparent 72%);
  pointer-events: none;
}

.detail-phone {
  position: relative;
  z-index: 1;
  width: min(256px, 100%);
  padding: 9px;
  border-radius: 0;
  background: #1a231c;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.58);
}

.detail-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: #060d09;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(246, 242, 234, 0.72);
  transition: color 0.2s ease;
}

.detail-back span {
  display: inline-flex;
  align-items: center;
  color: var(--ember);
  transition: transform 0.2s ease;
}

.detail-back:hover {
  color: var(--ink);
}

.detail-back:hover span {
  transform: translateX(-3px);
}

.detail-head {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 24px);
}

.detail-app-icon {
  width: clamp(64px, 7.5vw, 84px);
  height: clamp(64px, 7.5vw, 84px);
  flex: none;
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.detail-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.detail-meta {
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.64);
}

.detail-meta--privacy {
  margin: 18px 0 0;
}

.detail-tagline {
  margin-top: 20px;
  max-width: 46ch;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 0;
  background: rgba(246, 242, 234, 0.08);
  color: rgba(246, 242, 234, 0.88);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
}

.hero-status svg {
  display: block;
  flex: none;
  color: var(--ember);
}

.detail-section {
  position: relative;
  padding-block: var(--section-space);
}

.detail-section::before {
  content: "";
  position: absolute;
  top: clamp(16px, 2.5vw, 32px);
  left: 50%;
  z-index: 0;
  width: min(920px, 100%);
  height: 220px;
  transform: translateX(-50%);
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(246, 242, 234, 0.14) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 68% 72% at 50% 38%, #000 12%, transparent 74%);
  mask-image: radial-gradient(ellipse 68% 72% at 50% 38%, #000 12%, transparent 74%);
}

.detail-section > .container {
  position: relative;
  z-index: 1;
}

.detail-section--alt {
  background:
    radial-gradient(ellipse 56% 48% at 50% 0%, rgba(232, 89, 12, 0.06), transparent 70%),
    #0a110c;
}

.detail-screens--fairshare {
  --detail-accent-rgb: 63, 140, 86;
  background:
    radial-gradient(ellipse 56% 48% at 50% 0%, rgba(63, 140, 86, 0.09), transparent 70%),
    #0a110c;
}

.detail-screens--flint {
  --detail-accent-rgb: 108, 86, 214;
  background:
    radial-gradient(ellipse 56% 48% at 50% 0%, rgba(108, 86, 214, 0.11), transparent 70%),
    #0a110c;
}

.detail-screens--fyle {
  --detail-accent-rgb: 255, 110, 20;
  background:
    radial-gradient(ellipse 56% 48% at 50% 0%, rgba(255, 110, 20, 0.09), transparent 70%),
    #0a110c;
}

.detail-section h2 {
  margin: 0 0 clamp(32px, 4.5vw, 44px);
  font-size: clamp(1.8rem, 3.3vw, 2.75rem);
  line-height: 1.12;
  font-weight: 500;
}

.detail-columns {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(26px, 3.8vw, 40px);
  border-radius: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 89, 12, 0.12), transparent 48%),
    #101812;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.detail-summary,
.detail-copy {
  min-width: 0;
}

.detail-summary::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--ember);
}

.detail-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.detail-summary > p {
  color: var(--ink);
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
}

.policy-item p a,
.detail-columns p a {
  color: var(--ember);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.policy-item p a:hover,
.detail-columns p a:hover {
  color: #f16a20;
}

.app-features {
  --detail-accent-rgb: 232, 89, 12;
  --detail-accent-bright: var(--ember);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.app-features--fairshare {
  --detail-accent-rgb: 63, 140, 86;
  --detail-accent-bright: #5ec27c;
}

.app-features--flint {
  --detail-accent-rgb: 108, 86, 214;
  --detail-accent-bright: #a392ff;
}

.app-features--fyle {
  --detail-accent-rgb: 255, 110, 20;
  --detail-accent-bright: #ff8533;
}

.app-feature {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--detail-accent-rgb), 0.14), transparent 52%),
    #101812;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.app-feature::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--detail-accent-bright);
}

.app-feature-number {
  display: block;
  margin-bottom: 14px;
  color: var(--detail-accent-bright);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0;
}

.app-feature h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-item {
  display: grid;
  grid-template-columns: 76px minmax(200px, 0.36fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 12px 32px;
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3.5vw, 36px);
  border-radius: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 89, 12, 0.1), transparent 36%),
    #101812;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.policy-number {
  color: var(--ember);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.policy-item h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.policy-item p {
  margin: 0;
  max-width: 66ch;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--muted);
  text-wrap: pretty;
}

.screen-gallery {
  position: relative;
  border-radius: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--detail-accent-rgb), 0.12), transparent 46%),
    #0e1611;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.screen-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.screen-controls:not([hidden]) {
  display: block;
}

.screen-controls button,
.screen-viewer button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 0;
  background: #18231b;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.screen-controls button[aria-disabled="true"] {
  opacity: 0.42;
  cursor: default;
}

.screen-controls button:hover:not([aria-disabled="true"]) {
  background: var(--ember);
  color: var(--bg);
}

.screen-controls button {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  background: #141e17;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.52);
  pointer-events: auto;
  transform: translateY(-50%);
}

.screen-controls button:first-child {
  left: 12px;
}

.screen-controls button:last-child {
  right: 12px;
}

.screen-controls button:hover:not([aria-disabled="true"]) {
  transform: translateY(-50%) scale(1.05);
}

.screen-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 24px 62px 28px;
  scroll-padding-inline: 62px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.screen-scroll::-webkit-scrollbar {
  height: 6px;
}

.screen-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 0;
}

.screen-link {
  display: block;
  flex: 0 0 226px;
  align-self: flex-start;
  scroll-snap-align: start;
  cursor: zoom-in;
}

.screen-frame {
  position: relative;
  display: block;
  padding: 8px;
  border-radius: 0;
  background: #1a231c;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.48);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}

.screen-link:hover .screen-frame,
.screen-link:focus-visible .screen-frame {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.62);
}

.screen-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: #060d09;
}

.screen-link::after {
  content: attr(data-caption);
  display: block;
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  transition: color 0.2s ease;
}

.screen-link:hover::after,
.screen-link:focus-visible::after {
  color: var(--ink);
}

.screen-viewer {
  width: min(calc(100vw - 32px), 560px);
  padding: 16px;
  border-radius: 0;
  background: #0e1611;
  color: var(--ink);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.78);
}

.screen-viewer::backdrop {
  background: rgba(6, 13, 9, 0.88);
}

.screen-viewer form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.screen-viewer-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.screen-viewer-caption {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.screen-viewer-count {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.screen-viewer-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-viewer .screen-viewer-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
  background: #141e17;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.56);
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.screen-viewer .screen-viewer-nav--prev {
  left: 4px;
}

.screen-viewer .screen-viewer-nav--next {
  right: 4px;
}

.screen-viewer .screen-viewer-nav[aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
}

.screen-viewer .screen-viewer-nav:hover:not([aria-disabled="true"]),
.screen-viewer form button:hover {
  background: var(--ember);
  color: var(--bg);
}

.screen-viewer-phone {
  position: relative;
  z-index: 1;
  padding: 9px;
  border-radius: 0;
  background: #1a231c;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.65);
}

.screen-viewer img {
  display: block;
  margin-inline: auto;
  width: auto;
  max-width: min(320px, calc(100vw - 188px));
  max-height: calc(100dvh - 170px);
  border-radius: 0;
  background: #060d09;
}

/* Responsive */
@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card--fyle {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .project-card--fyle .project-stage {
    height: 100%;
    min-height: 270px;
  }

  .project-card--fyle .project-body {
    justify-content: center;
    padding: 28px 32px;
  }

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

  .member:nth-child(3) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .member:nth-child(3) .member-photo img {
    object-position: 62% 24%;
  }

  .detail-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-phone {
    width: min(230px, 100%);
  }

  .detail-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .policy-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px 20px;
  }

  .policy-item p {
    grid-column: 2;
  }

  .screen-link {
    flex-basis: 180px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 32px), var(--maxw));
  }

  .header-inner {
    height: 64px;
  }

  .header-actions {
    gap: 14px;
  }

  .header-link {
    display: none;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 0.64rem;
  }

  .logo-word {
    font-size: 1.3rem;
  }

  .footer-inner {
    gap: 28px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand .logo-word {
    font-size: 1.4rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-bottom {
    padding-top: 18px;
  }

  .hero-header .header-actions {
    gap: 14px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-stage {
    padding-bottom: 32px;
  }

  .hero-banner {
    min-height: 410px;
  }

  .hero-banner--privacy {
    min-height: 300px;
  }

  .detail-head {
    gap: 16px;
  }

  .policy-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .policy-item p {
    grid-column: auto;
  }

  .screen-scroll {
    gap: 16px;
    padding: 20px 50px 26px;
    scroll-padding-inline: 50px;
  }

  .screen-controls button:first-child {
    left: 6px;
  }

  .screen-controls button:last-child {
    right: 6px;
  }

  .screen-link {
    padding: 0;
  }

  .team-grid,
  .project-grid,
  .app-features {
    grid-template-columns: 1fr;
  }

  .member:nth-child(3) {
    grid-column: auto;
    aspect-ratio: 10 / 11;
  }

  .project-card--fyle {
    display: flex;
    grid-column: auto;
  }

  .project-card--fyle .project-stage {
    height: 268px;
    min-height: 0;
  }

  .project-card--fyle .project-body {
    padding: 20px 22px 22px;
  }

  .project-stage {
    --phone-width: 186px;
    --phone-height: 226px;
    height: 268px;
    padding: 24px 22px 0;
  }
}

@media (max-width: 480px) {
  .screen-link {
    flex-basis: 160px;
  }
}

@media (max-width: 420px) {
  .project-stage {
    --phone-width: 172px;
    --phone-height: 208px;
    height: 248px;
    padding: 20px 20px 0;
  }

  .project-card--fyle .project-stage {
    height: 248px;
  }
}

@media (hover: none) {
  html.js .member.reveal.is-visible:hover,
  html.js .member.reveal.is-visible:focus-within,
  html.js .project-card.reveal.is-visible:hover,
  .member:hover,
  .member:focus-within,
  .project-card:hover,
  .screen-link:hover {
    transform: none;
  }

  .project-card:hover .project-icon,
  .project-card:hover .project-phone,
  .project-card:hover .project-cta-arrow,
  .screen-link:hover .screen-frame {
    transform: none;
  }

  .project-card:hover,
  .project-card:focus-visible {
    --project-body-bg: #101812;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  }

  .member:hover,
  .member:focus-within {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  .member:hover::after,
  .member:focus-within::after {
    opacity: 0;
  }

  .member:hover .member-photo img,
  .member:focus-within .member-photo img {
    transform: none;
  }

  .contact-email:hover {
    transform: none;
    box-shadow: none;
  }

  .contact-email:hover .contact-email-arrow,
  .member-link:hover,
  .footer-group a:hover,
  .footer-top:hover .footer-top-arrow,
  .detail-back:hover span {
    transform: none;
  }

  .screen-controls button:hover:not([aria-disabled="true"]) {
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .member:hover,
  .member:focus-within,
  .project-card:hover,
  .project-card:focus-visible,
  .btn-solid:hover,
  .nav-cta:hover,
  .member:hover .member-photo img,
  .member:focus-within .member-photo img,
  .project-card:hover .project-phone,
  .project-card:focus-visible .project-phone,
  .project-card:hover .project-icon,
  .project-card:focus-visible .project-icon,
  .project-card:hover .project-cta-arrow,
  .project-card:focus-visible .project-cta-arrow,
  .screen-link:hover .screen-frame,
  .screen-link:focus-visible .screen-frame,
  .member-link:hover,
  .footer-group a:hover,
  .footer-top:hover .footer-top-arrow,
  .detail-back:hover span {
    transform: none;
  }

}

/* No visible borders: hierarchy comes from surface contrast, spacing and depth. */
*,
*::before,
*::after {
  border: 0 !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-color: transparent !important;
}
